/**
 * SECTION LIST (ordered as in file, without 'End' entries):
 * General rules - used in all website
 * LIQUID GLASS STYLES
 * Single Page Gutenberg Elements
 * HERO SECTION
 * Header
 * Mobile Menu Button
 * Show mobile menu after scrolling past hero
 * Menu Open State
 * Menu Open Body State
 * Responsive positioning for mobile menu
 * Homepage
 * About Section
 * Use Cases Section
 * Case Studies Section
 * Blog Page
 * Singe Post Page Styles
 * Single Case Study Page
 * Case Studies Page
 * Pricing Page
 * Contact Page
 * Prefooter
 * Footer
 * Copyright
 * 404 Page
 * Mini Cart
 */

/**
 * General rules - used in all website
 */

body {
  overflow-x: hidden;
  background: #000;
}

/* LIQUID GLASS STYLES */

.liquidGlass-wrapper {
  position: relative;
  display: flex;
  font-weight: 600;
  overflow: hidden;
  color: black;
  cursor: pointer;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  border-radius: 3rem;
}

.liquidGlass-wrapper>div {
  border-radius: inherit;
}

.liquidGlass-effect {
  position: absolute;
  z-index: 0;
  inset: 0;
  backdrop-filter: blur(3px);
  filter: url(#glass-distortion);
  overflow: hidden;
  isolation: isolate;
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 90%);
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: inherit;
  pointer-events: none;
}

.liquidGlass-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  /* border: 1px solid rgba(255, 255, 255, 0.3); */
  border-radius: inherit;
  /* box-shadow:
    inset 2px 2px 4px rgba(255, 255, 255, 0.25),
    inset -2px -2px 6px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.45),
    0 0 8px rgba(255, 255, 255, 0.08); */
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.7));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquidGlass-text {
  z-index: 3;
  color: black;
  padding: 1rem 2rem;
  line-height: 1;
  width: 100%;
}

.liquidGlass-text span {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.liquidGlass-wrapper:hover .liquidGlass-tint {
  opacity: 1;
}

.wp-block-button:has(.liquidGlass-wrapper) .wp-block-button__link.wp-element-button {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}

@media (max-width: 768px) {
  .liquidGlass-text {
    padding: 0.7rem 1.75rem;
  }

  .liquidGlass-text span {
    font-size: 10px;
  }
}

/* END LIQUID GLASS STYLES */

/* Single Page Gutenberg Elements */

/* About */
.entry-title {
  display: none
}

.inner-page-first-group {
  position: relative;
}

.inner-page-first-group>.wp-block-group {
  grid-column: auto;
}

.inner-page-first-group>.wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.text-c-red {
  color: #D26157;
  font-weight: 800
}

.text-c-blue {
  color: #0083BF;
  font-weight: 800;
  font-family: inherit;
}

.inner-page-first-group h1 {
  font-size: 40px
}

.inner-page-first-group p {
  font-size: 14px
}

.inner-page-first-group-text {
  display: flex;
  height: 540px;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.inner-page-first-group-vid {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;

  &::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    background: linear-gradient(0deg, rgba(0, 0, 2, 1) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 2, 1) 100%);
  }

  &::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    background: linear-gradient(90deg, rgba(0, 0, 2, 1) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 2, 1) 100%);
  }

  >.wp-block-group__inner-container {
    overflow: hidden;
  }

  .wp-block-video {
    margin: 0;
  }
}

.inner-page-first-group-vid video {
  max-width: 1090px;
  max-height: 540px;
}

@media (max-width: 1024px) {

  .inner-page-first-group>.wp-block-group__inner-container {
    grid-template-columns: 70% auto;
  }

  .inner-page-first-group h2 {
    font-size: 35px;
  }

  .inner-page-first-group-vid {
    &::after {
      background: linear-gradient(90deg, rgba(0, 0, 2, 1) 35%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 2, 1) 100%);
    }
  }
}

@media (max-width: 768px) {

  .inner-page-first-group>.wp-block-group__inner-container {
    grid-template-columns: 80% auto;
  }

  .inner-page-first-group h2 {
    font-size: 35px;
  }

  .inner-page-first-group-vid {
    video {
      height: 100%;
      width: auto;
    }

    &::after {
      background: linear-gradient(90deg, rgba(0, 0, 2, 1) 65%, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 2, 1) 100%);
    }
  }
}

@media (max-width: 425px) {

  .inner-page-first-group>.wp-block-group__inner-container {
    grid-template-columns: 90% auto;
  }

  .inner-page-first-group-vid {
    &::after {
      background: linear-gradient(90deg, rgba(0, 0, 2, 1) 80%, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 2, 1) 100%);
    }
  }
}


.white-bg,
.white-bg-2,
.about-values-bg {
  max-width: 100vw;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  background: white;
  padding: 0;
}

.white-bg.black-offset {
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 350px, rgba(255, 255, 255, 1) 350px);
}

.inner-page-card {
  position: relative;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.inner-page-card-background {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--main-black);
    opacity: 0.4;
  }

}

.inner-page-card-details {
  position: relative;
  padding: 100px 160px;
  margin: 0;
}

.inner-page-card-details h3 {
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
}

.inner-page-card-details p {
  font-size: 14px;
  text-align: left;
}

.inner-page-details-img {
  display: flex;
  justify-content: center;
}

.inner-page-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1024px) {
  .inner-page-card-details {
    padding: 100px 80px;
  }
}

@media (max-width: 768px) {
  .inner-page-card-details {
    padding: 100px 50px;
  }
  .inner-page-card-details h3 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 30px;
  }
}

.white-bg .wp-block-group__inner-container .wp-block-group:first-child {
  /* height: 250px; */
}

.white-bg .wp-block-group__inner-container .wp-block-group:nth-child(2) {
  height: 150px;
}

.inner-page-gallery {
  display: flex !important;
  flex-wrap: wrap !important;
  height: 100px;
  max-width: 1700px;
  width: 100%;
}

.inner-page-gallery .wp-block-image {
  width: auto !important;
  margin-right: 40px !important;
}

.inner-page-gallery .wp-block-image img {
  width: auto !important;
  object-fit: contain;
  overflow: visible !important;
  max-height: 20px;
}

.about-values-bg {
  background: #fff;
  margin-top: 0;
}

.white-bg * {
  margin-top: 0;

}

.about-values-bg * {
  margin-top: 0;
  margin-bottom: 0;
}

.values-bubble {
  background: #FFFFFF26;
  backdrop-filter: blur(5px);
  border: 1px solid #FFFFFF26;
  padding: 20px;
  gap: 10px;
  max-width: 410px;
  display: flex;
  overflow: hidden;
}

.wp-block-group .values-bubble {
  border-radius: 30px;
}

.about-values-bg {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #1a1a1a;
  padding: 60px 160px;
  box-sizing: border-box;
  overflow: hidden;
}

.about-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;

  &::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #54C5D0;
    mix-blend-mode: color;
  }

  video {
    height: 100%;
  }
}

.vertical-header {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-lr;
  z-index: 50;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  text-transform: uppercase;

  &.orange {
    color: var(--main-orange) !important;
  }

  &.cyan {
    color: var(--main-cyan) !important;
  }

  &.black {
    color: var(--main-black) !important;
  }
}

.page:not(.home) .vertical-header {
  left: -120px;
}

.values-group {
  position: relative;
  z-index: 10;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
}

.values-group h4 {
  font-size: 26px;
  font-weight: 700;
  text-transform: none
}

.values-group p {
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}

.values-bubble .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

.values-bubbles-row1 {
  margin-bottom: 40px;
}

.values-bubbles-row1>.wp-block-column,
.values-bubbles-row2>.wp-block-column {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.values-bubbles-row2>.wp-block-column:first-child {
  display: flex;
  justify-content: flex-end;
}

.values-bubbles-row2>.wp-block-column:nth-child(2) {
  display: flex;
  justify-content: flex-start;
}

.about-gallery-2nd-group {
  position: relative;
  z-index: 10;
  max-width: 1380px;
  width: 100%;
  margin: 82px auto;
}

.wp-block-gallery.wp-block-gallery-2 {
  gap: 40px !important;
}

.about-gallery-2nd {
  display: flex !important;
  flex-wrap: wrap !important;
  max-width: 1300px;
  width: 100%;
  align-items: center;
  margin: 0 auto;
}

.about-gallery-2nd .wp-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  margin: 0 auto;
}

.about-gallery-2nd .wp-block-image img {
  width: auto !important;
  object-fit: contain !important;
  max-height: 180px;
  display: block;
}

.inner-page-first-group-vid .h-invert video {
  transform: scaleX(-1);
}

.vid-right-overlay {
  position: relative;
}

.vid-right-overlay::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0;
  width: 50vw;
  height: 100%;
  background: #000;
  background: linear-gradient(180deg, rgba(0, 0, 2, 1) 0%, rgba(0, 0, 2, 0.8) 15%, rgba(0, 0, 0, 0) 100%);
  ;
}

@media (max-width: 1440px) {
  .page:not(.home) .vertical-header {
    display: none;
  }
}

@media (max-width: 1024px) {
  .about-values-bg {
    padding: 60px 70px;
  }
}

@media (max-width: 781px) {

  .values-bubbles-row2>.wp-block-column:first-child,
  .values-bubbles-row2>.wp-block-column:nth-child(2) {
    justify-content: center;
  }

  .values-group h4 {
    font-size: 16px;
    line-height: 1;
    margin-bottom: 15px;
  }
}

.color-white-titles h1,
.color-white-titles h2,
.color-white-titles h3,
.color-white-titles h4 {
  color: #fff !important;
}

.color-black-all * {
  color: #000 !important;
}

.color-white-all * {
  color: #fff !important;
}

.color-red-all * {
  color: #D26157 !important;
}

.color-strong-purple strong {
  color: #7651A1 !important;
}

.color-strong-blue strong {
  color: #0083BF !important;
}

.color-strong-lightblue strong {
  color: #54C5D0 !important;
}

.color-strong-red strong {
  color: #D26157 !important;
}

.purple-overlay>div,
.blue-overlay>div {
  position: relative;
}

.blue-overlay>div::before,
.purple-overlay>div::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.purple-overlay>div::before {
  background: linear-gradient(180deg, rgba(118, 81, 161, 0) 0%, #7651A1 100%), linear-gradient(0deg, rgba(118, 81, 161, 0.5), rgba(118, 81, 161, 0.5));
}

.blue-overlay>div::before {
  background: linear-gradient(180deg, rgba(0, 131, 191, 0) 0%, #0083BF 100%), linear-gradient(0deg, rgba(0, 131, 191, 0.5), rgba(0, 131, 191, 0.5));
}

/* Communication */
.comm-contact-group {
  position: relative;
  width: 100vw;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  padding: 0;
  z-index: 0;
}

.comm-contact-group .wp-block-image {
  margin: 0;
}

.comm-contact-group img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.comm-contact-group .inner-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.comm-contact-group>*:not(img) {
  position: relative;
  z-index: 2;
}

.comm-contact-group * {
  margin-top: 0;
}

.comm-contact-center {
  position: relative;
  z-index: 10;
  padding: 150px 0;
}

.comm-contact-center-heading {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-lr;
  z-index: 50;
  font-size: 14px;
  font-weight: 700;
  color: #383A4D;
}

.comm-contact-center-text {
  max-width: 680px;
  margin: 0;
}

.comm-contact-center h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  text-transform: uppercase;
  color: #383A4D;
}

.comm-contact-center p {
  color: #383A4D;
  font-weight: 400;
  font-size: 14px
}

.page-id-1350 .prefooter-section,
.page-id-569 .prefooter-section {
  padding-top: 100px;
}

.bg-white-screen {
  position: relative;
  z-index: 10;
  padding: 10px 0;
}

.bg-white-screen::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  background: #fff;
}

.partners-wrapper>div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 20px;
}

.page-id-1350 .partners-wrapper,
.page-id-569 .partners-wrapper {
  margin-top: 50px;
}

.theme-grid article:not(.news-card) {
  margin: 0 20px;
}

.wp-block-video.fw-vid {
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  overflow: hidden;
  margin: 0;

  video {
    object-fit: cover;
    height: 100%;
  }
}

.wp-block-video.fw-vid::after,
.wp-block-video.fw-vid::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.wp-block-video.fw-vid::before {
  background: linear-gradient(0deg, rgba(0, 0, 2, 1) 0%, rgba(0, 0, 2, .6) 20%, rgba(0, 0, 2, 0) 100%);
}

.wp-block-video.fw-vid::after {
  background: linear-gradient(180deg, rgba(0, 0, 2, 1) 0%, rgba(0, 0, 2, 0) 20%, rgba(0, 0, 2, 0) 100%);
}

.title-style {
  font-size: 40px;
  line-height: 52px;
  letter-spacing: 1px;
  margin: 0 0 10px;
}

.p-style p {
  font-size: 14px;
  line-height: 1.4;
}

.fancy-list {
  margin: 0;
  padding: 0;
}

.fancy-list * {
  font-size: 14px;
  list-style: 1.4;
}

.fancy-list li {
  list-style: none;
  padding-left: 24px;
  position: relative;
}

.fancy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #54C5D0;
  font-weight: bold;
}

.link-style a {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  border-bottom: 1px solid #54C5D0;
  text-transform: uppercase;
}

.half-white-fw-bg {
  position: relative;
}

.half-white-fw-bg::before {
  content: "";
  display: block;
  width: 100vw;
  height: 50%;
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  transform: translateX(-50%);
  background: #fff;
}

.half-white-fw-bg .wp-block-columns {
  margin: 0;
}

.half-white-fw-bg>div {
  position: relative;
  z-index: 10;
}

.wp-block-image.abs-center {
  margin: 0;
}

.wp-block-image.abs-center img {
  position: relative;
}

.has-line {

  &::after {
    content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjciIHZpZXdCb3g9IjAgMCAyNyAyNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ0NDcgMjYuODg5NEMyMC44NyAyNi44ODk0IDI2Ljg4OTQgMjAuODcgMjYuODg5NCAxMy40NDQ3QzI2Ljg4OTQgNi4wMTk0IDIwLjg3IDAgMTMuNDQ0NyAwQzYuMDE5NDEgMCAwIDYuMDE5NCAwIDEzLjQ0NDdDMCAyMC44NyA2LjAxOTQxIDI2Ljg4OTQgMTMuNDQ0NyAyNi44ODk0WiIgZmlsbD0idXJsKCNwYWludDBfcmFkaWFsXzkyM18xNDAzKSIvPgo8cGF0aCBkPSJNMTMuNDQ0MyAyMC4xNDkyQzE3LjE0NzMgMjAuMTQ5MiAyMC4xNDkzIDE3LjE0NzMgMjAuMTQ5MyAxMy40NDQyQzIwLjE0OTMgOS43NDExOCAxNy4xNDczIDYuNzM5MjYgMTMuNDQ0MyA2LjczOTI2QzkuNzQxMiA2LjczOTI2IDYuNzM5MjYgOS43NDExOCA2LjczOTI2IDEzLjQ0NDJDNi43MzkyNiAxNy4xNDczIDkuNzQxMiAyMC4xNDkyIDEzLjQ0NDMgMjAuMTQ5MloiIGZpbGw9InVybCgjcGFpbnQxX2xpbmVhcl85MjNfMTQwMykiLz4KPGRlZnM+CjxyYWRpYWxHcmFkaWVudCBpZD0icGFpbnQwX3JhZGlhbF85MjNfMTQwMyIgY3g9IjAiIGN5PSIwIiByPSIxIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgZ3JhZGllbnRUcmFuc2Zvcm09InRyYW5zbGF0ZSg4LjQ5NjI3IDcuMzY5NjMpIHNjYWxlKDIwLjA0OSkiPgo8c3RvcCBvZmZzZXQ9IjAuMTA3MSIgc3RvcC1jb2xvcj0iIzM4NDg1RSIvPgo8c3RvcCBvZmZzZXQ9IjAuMzI2NyIgc3RvcC1jb2xvcj0iIzM0NDI1NyIvPgo8c3RvcCBvZmZzZXQ9IjAuNjUwNiIgc3RvcC1jb2xvcj0iIzI4MzM0MyIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMxNzFEMjYiLz4KPC9yYWRpYWxHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDFfbGluZWFyXzkyM18xNDAzIiB4MT0iNi43MzkyNiIgeTE9IjIwLjE0OTIiIHgyPSIyMC45ODM3IiB5Mj0iMTkuMTk1IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiMwMDgzQkYiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjNzc1MUExIi8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg==);
    position: absolute;
    width: 27px;
    height: 27px;
    left: 50%;
    transform: translateX(-50%);
  }

  &::before {
    content: '';
    width: 3px;
    height: 100px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--main-purple);
    z-index: -1;
  }

  &.above::before {
    top: -90px;
  }

  &.above::after {
    top: -100px
  }

  &.below::before {
    bottom: -90px;
  }

  &.below::after {
    bottom: -100px
  }
}

.spheres-mob {
  display: none;
}

@media (max-width: 781px) {
  .spheres-desk {
    display: none;
  }

  .spheres-mob {
    display: block;
  }
}

/* END Single Page Gutenberg Elements */

/* HERO SECTION */

.hero-section {
  background: #000;
  position: relative;
}

.hero-section::before {
  background: radial-gradient(circle, rgb(27 30 47) 40%, rgba(255, 255, 255, 0) 75%);
  content: '';
  width: 100%;
  height: 240%;
  position: absolute;
  top: -120%;
  left: 0;
  z-index: 0;
}

.hero-wrapper {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;

  .theme-grid {
    position: relative;
    width: 100%;
    height: 100%;
  }
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: 90%;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: contain;
  mix-blend-mode: color-dodge;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.hero-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: color-dodge;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-nav {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  .menu {
    margin: 0;
    padding: 0;
    list-style: none;

    .menu-item {
      margin: 0;
      position: relative;
      padding: 8px 0;

      a {
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 1px;
        line-height: 1;
        color: var(--main-white);
        transition: color 0.3s ease;
        display: block;

        &:hover {
          color: #54C5D0;
        }
      }

      /* Sub-menu dropdown styles */
      .sub-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        margin-left: 0.75em;

        .menu-item {
          a {
            display: block;
            padding: 2px 0;
            white-space: nowrap;
            transition: all 0.3s ease;

            &:hover {
              padding-left: 5px;
            }
          }
        }
      }

      /* Parent item with children - arrow indicator */
      &.menu-item-has-children>a {
        display: flex;
        align-items: center;
        gap: 8px;

        &::after {
          content: '↓';
          font-size: 16px;
          opacity: 0.7;
          transition: transform 0.3s ease;
        }
      }

      /* Show dropdown when active */
      &.menu-item-has-children.dropdown-open>.sub-menu {
        max-height: 500px;
        padding: 5px 0;
      }

      &.menu-item-has-children.dropdown-open>a::after {
        transform: rotate(180deg);
      }
    }
  }
}

body:not(.page-template-homepage) {
  .hero-nav {
    li.current-menu-item a {
      color: var(--main-cyan);
    }
  }
}

.hero-content {
  width: 70%;
  text-align: center;
  z-index: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-title-wrapper {
  margin-bottom: 3rem;
}

.hero-title {
  font-size: 3.75rem;
  font-family: var(--montserrat-black); font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 3px;
}

.archive .hero-title {
  font-size: 2.5rem;
  font-family: var(--main-title-fam); font-weight: 700;
  display: flex;
  flex-direction: column;

  span {
    font-family: var(--montserrat-black); font-weight: 900;
    font-size: 3.75rem;
    color: var(--main-cyan);
  }
}

.hero-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin: 2rem auto;
  width: 70%;
}

.hero-actions {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-bottom {
  position: absolute;
  bottom: 2rem;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 10;

  &.left {
    left: 2rem;
  }

  &.right {
    right: 2rem;
  }

  &.center {
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
    align-items: center;
  }
}

.hero-scroll-indicator {
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero-post-meta {
  display: flex;
  gap: 40px;

  span {
    color: var(--main-cyan);
    font-size: 0.813rem;
    text-transform: none;
  }
}

.single-blog-hero {
  &::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 20%, rgba(255, 255, 255, 0) 100%);
    height: 100%;
    top: 0;
    z-index: 1;
  }

  .hero-video {
    height: auto;
    mix-blend-mode: unset;
    z-index: 0;
  }
}

@media (max-width: 1440px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .archive .hero-title {
    font-size: 1.75rem;

    span {
      font-size: 2.75rem;
    }
  }

  .hero-actions {
    bottom: 7rem;
  }
}

@media (max-width: 1340px) {
  .hero-content {
    width: 50%;
  }
}

@media (max-width: 1024px) {
  .hero-nav {
    left: 1rem;
  }
}

@media (max-width: 900px) {
  .hero-nav {
    display: none;
  }

  .hero-content {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .glass-lava-container {
    width: 90%;
    height: 300px;
  }

  .bubble-effect-block {
    width: 100%;
    height: 300px;
  }

  .hero-bottom {
    width: 100%;
    text-align: center;

    &.left {
      left: 50%;
      transform: translateX(-50%);
      bottom: 2rem;
    }

    &.right {
      right: 50%;
      transform: translateX(50%);
      bottom: 0;
    }
  }
}

@media (max-width: 550px) {
  .hero-title {
    font-size: 2rem;
  }

  .archive .hero-title {
    font-size: 1.25rem;

    span {
      font-size: 2rem;
    }
  }
}

/* END HERO SECTION */

.side-title {
  position: absolute;
  top: calc(50% + 130px);
  left: 35px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  font-size: 0.875rem;
  font-family: var(--main-title-fam); font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--main-text-color);
}

.side-title.white {
  color: var(--main-white);
  top: 50%;
}

#breadcrumb {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

#breadcrumb a {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--main-text-color);
  transition: color 0.3s ease;

  &:hover {
    color: var(--main-cyan);
  }
}

#breadcrumb a[aria-current="page"] {
  color: var(--main-white);
  pointer-events: none;
  /* optional: make it non-clickable */
}

#breadcrumb .separator {
  font-size: 0.75rem;
  color: var(--main-text-color);
}

@media (max-width: 1700px) {
  .side-title {
    position: relative;
    left: unset;
    display: block;
    transform: none;
    margin-bottom: 50px;
    padding-left: 50px;
  }
}

/* End General rules - used in all website */

/* Header */

.header-row {
  justify-content: space-between;
  margin-top: 2rem;
}

.main-navigation {
  width: max-content;

  ul {
    gap: 40px;
  }

  .menu-item a {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--main-white);
    align-items: center;
    transition: color 0.3s ease;

    &:hover {
      color: #54C5D0;
    }
  }
}

span.menu-icon-wrapper {
  line-height: 1;
}

/* Mobile Menu Button */

.mobile-menu {
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: fixed;
  top: 50px;
  right: 140px;
  z-index: 999;
  display: none;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show mobile menu after scrolling past hero */
.scrolled-past-hero .mobile-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-wrapper {
  display: flex;
  align-items: center;
}

.mobile-menu-wrapper span {
  font-size: 0.75rem;
  font-family: var(--main-title-fam); font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--main-cyan);
  transition: color 0.3s ease;
}

/* .mobile-menu:hover .mobile-menu-wrapper span {
  color: rgba(255, 255, 255, 0.8);
} */

.header-menu-button__svg {
  width: 40px;
  height: 12px;
  cursor: pointer;
  transform: scaleX(-1);
  transition: transform 0.3s ease;
}

.mobile-menu:hover .header-menu-button__svg {
  transform: scaleX(-1) scale(1.1);
}

.header-menu-button__svg line {
  stroke: var(--main-cyan);
  stroke-dasharray: 100%;
  stroke-dashoffset: 0%;
  transition: transform 0.3s ease, stroke-dashoffset 0.4s ease, opacity 0.3s ease;
  transform-origin: center;
  stroke-width: 2px;
}

.header-menu-button__svg .top {
  transform: translateY(-35%);
}

.header-menu-button__svg .middle {
  transform: scaleX(1);
  transition: opacity 0.3s ease, transform 0.3s ease, stroke-dashoffset 0.8s ease;
  stroke-dasharray: 100%;
  stroke-dashoffset: 10px;
}

.header-menu-button__svg:hover .middle {
  stroke-dashoffset: 0%;
}

.header-menu-button__svg .bottom {
  transform: translateY(35%);
  stroke-dasharray: 100%;
  stroke-dashoffset: 19px;
}

.header-menu-button__svg:hover .bottom {
  stroke-dashoffset: 0%;
}

/* Menu Open State */
.menu-open .header-menu-button__svg {
  transform: scaleX(-1);
}

.menu-open .header-menu-button__svg .top {
  transform: translateY(0%) rotate(45deg);
  stroke-linecap: round;
}

.menu-open .header-menu-button__svg .middle {
  transform: scaleX(0);
  opacity: 0;
}

.menu-open .header-menu-button__svg .bottom {
  transform: translateY(0%) rotate(-45deg);
  stroke-dashoffset: 0%;
  stroke-linecap: round;
}

/* Menu Open Body State */
.menu-open {
  overflow: hidden;
  /* Prevent scrolling when menu is open */
}

.mobile-menu__content {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: black;
  padding: 35px 140px;
  overflow-x: hidden;

  .mobile-navigation {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    ul {
      /* display: grid;
      grid-template-columns: repeat(2, 1fr); */
      column-count: 3;
      gap: 0 90px;
      margin: 0;
      padding: 0;
      list-style: none;

      li {
        justify-self: start;
        break-inside: avoid;
        margin-bottom: 20px;

        a {
          color: var(--main-white);
          font-size: 2rem;
          text-transform: uppercase;
          font-family: var(--main-title-fam); font-weight: 700;
          transition: color 0.3s ease;

          &:hover {
            color: #54C5D0;
          }
        }

        .sub-menu {
          column-count: 1;
          margin-left: 20px;

          li {
            margin-bottom: 10px;
          }

          a {
            font-size: 1rem;
          }
        }
      }
    }
  }
}

.mobile-navigation__right {
  min-width: 200px;

  div {
    margin-bottom: 40px;
    opacity: 0.5;
  }

  h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
    font-family: var(--main-title-fam); font-weight: 700;
  }

  p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
  }
}

.menu-open .mobile-menu__content {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__footer {
  ul {
    display: flex;
    gap: 50px;
    margin: 0;
    padding: 0;
    list-style: none;

    li {
      margin: 0;

      a {
        font-size: 1.5rem;
        text-transform: uppercase;
        color: var(--main-white);
        transition: color 0.3s ease;
        display: flex;
        flex-direction: row-reverse;
        gap: 10px;
        align-items: center;

        &:hover {
          color: #54C5D0;
        }

        span img {
          height: 25px;
          width: 25px;
        }
      }
    }
  }
}

/* Responsive positioning for mobile menu */
@media (max-width: 1440px) {
  .mobile-menu__content {
    & .mobile-navigation {
      ul {
        column-count: 2;
      }
    }
  }

  .mobile-menu__content {
    padding: 35px 70px;
  }
}

@media (max-width: 1200px) {
  .mobile-menu {
    right: 80px;
  }

  .mobile-menu__content {
    & .mobile-navigation {
      gap: 50px;
      flex-direction: column;

      ul {
        column-count: 3;

        li {
          a {
            font-size: 1.25rem;
          }
        }
      }
    }
  }

  .mobile-navigation__right {
    display: flex;
    justify-content: center;
    gap: 50px;
  }

  .liquidGlass-text {
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 900px) {

  .header-row .center-button,
  .header-row .main-navigation {
    display: none;
  }

  .site-branding img {
    max-width: 90%;
  }

  .mobile-menu {
    top: 50px;
    right: 50px;
  }
}

@media (max-width: 768px) {
  .mobile-menu__content .custom-logo-link {
    margin-bottom: 50px;
    width: 60%;
  }

  .mobile-menu__content {
    overflow-y: scroll;

    & .mobile-navigation {
      ul {
        column-count: 2;

        li {
          margin-bottom: 10px;
        }
      }
    }
  }

  .mobile-navigation__right {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 550px) {
  .site-branding img {
    max-width: 75%;
  }

  .mobile-menu__content {
    padding: 30px;

    & .mobile-navigation {
      ul {
        column-count: 1;
      }
    }
  }

  .mobile-menu__footer {
    ul {
      flex-direction: column;
      align-items: center;
      gap: 20px;

      li {
        a {
          font-size: 1rem;
        }
      }
    }
  }

  .mobile-menu {
    top: 42px;
    right: 30px;
  }
}

/* End Mobile Menu Button */

/* End of Header */

/* Homepage */

.homepage-slideshow {
  overflow: hidden;
}

.slide--layout-1 {
  --color-slide-title: #0083BF;
}

.slide--layout-2 {
  --color-slide-title: #7651A1;
}

.slide--layout-3 {
  --color-slide-title: #D06056;
}

.slide--layout-4 {
  --color-slide-title: #56C5D0;
}

.slide--layout-5 {
  --color-slide-title: #0083BF;
}

.slide__title .slide__title-inner .uniloud-on-title {
  width: 100%;
  font-size: 2.5rem;
}

@media (max-width: 53em) {
  .homepage-slideshow {
    padding: 60px 0;
    background: var(--main-white);
  }
}

/* About Section */

.about-section-wrapper {
  display: flex;
  align-items: center;
}

.about-section__content {
  padding: 0 90px;
  max-width: 800px;

  h2 {
    font-size: 2.5rem;
    font-family: var(--main-title-fam); font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 1px;

    span {
      font-family: var(--main-title-fam); font-weight: 700;
      text-transform: uppercase;
    }
  }

  p {
    font-size: 0.875rem;
  }

  a {
    text-transform: uppercase;
    color: var(--main-white);
    font-size: 1rem;
    border-bottom: 1px solid var(--main-white);
    margin-top: 35px;
    transition: all 0.3s ease;

    &:hover {
      color: #54C5D0;
      border-color: #54C5D0;
    }
  }
}

.about-section__video video {
  width: 100%;
  height: 700px;
}

@media (max-width: 1440px) {
  .about-section__content {
    padding: 0 50px;

    h2 {
      font-size: 1.75rem;
    }
  }
}

@media (max-width: 768px) {
  .about-section-wrapper {
    flex-direction: column;
    padding: 60px 0;
  }

  .about-section__content {
    padding: 0 20px;

    a {
      font-size: 0.875rem;
    }
  }

  .about-section__video video {
    height: 450px;
  }
}

@media (max-width: 425px) {
  .about-section__content {
    h2 {
      font-size: 1.25rem;
    }
  }

  .about-section__video video {
    height: 350px;
  }
}

/* End About Section */

/* Use Cases Section */

.homepage-clients {
  background: var(--main-white);
  padding: 150px 0 100px;
}

.who-we-serve-wrapper {
  display: flex;
  align-items: center;
  gap: 70px;
}

.use-cases {
  display: flex;
  gap: 70px;
}

.use-case {
  display: flex;
  align-items: center;
}

.use-case__icon img {
  position: relative;
  z-index: 1;
}

.use-case__icon::before {
  content: '';
  background: linear-gradient(45deg, rgba(0, 131, 191, 1) 0%, rgba(119, 81, 161, 1) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  mix-blend-mode: color;
  z-index: 2;
}

.use-case__icon::after {
  content: '';
  background: radial-gradient(circle, rgba(137, 152, 232, 1) 0%, rgba(137, 152, 232, 0) 65%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -9%;
  z-index: 0;
}

.use-case__content {
  max-width: 250px;
}

.use-case__title {
  max-width: 220px;
  font-size: 1.5rem;
  color: var(--main-text-color);
  font-family: var(--main-title-fam);
  margin: 0 0 5px;
  line-height: 1.3;
}

.use-case__description {
  color: var(--main-text-color);
  font-size: 0.93rem;
}

.use-cases-link {
  text-transform: uppercase;
  color: var(--main-text-color);
  font-size: 1rem;
  border-bottom: 1px solid var(--main-text-color);
  line-height: 1.2;
  transition: all 0.3s ease;

  &:hover {
    color: #54C5D0;
    border-color: #54C5D0;
  }
}

.partners-wrapper {
  margin-top: 130px;
}

.home .partners-wrapper img {
  margin: 1em 0;
}

.partners-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1440px) {
  .who-we-serve-wrapper {
    flex-direction: column;
  }

  .partners-list {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .use-cases {
    gap: 20px;
  }

  .use-case__title {
    font-size: 0.875rem;
  }

  .use-case__description {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .use-cases {
    flex-direction: column;
    gap: 50px;
  }

  .homepage-clients {
    padding: 0 0 60px;
  }
}

/* End Use Cases Section */

/* Case Studies Section */

.homepage-case-studies .theme-grid {
  position: relative;
  z-index: 2;
}

.hcs-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: 90%;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: contain;
  opacity: 0.75;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.hcs__top {
  display: grid;
  grid-template-columns: 260px auto 210px;
  justify-content: space-between;
  align-items: center;
  color: white;
  height: 100vh;
}

.hcs__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hcs__bottom-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin: 0;
}

.hcs__categories {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hcs__category {
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
}

.hcs__category.active,
.hcs__category:hover {
  opacity: 1;
  color: #54C5D0;
}

.hcs__descr {
  flex: 2;
  text-align: center;
  font-family: var(--montserrat-black); font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hcs__link {
  flex: 1;
  text-align: right;
  align-self: end;
}

.hcs__link a {
  color: #54C5D0;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid #54C5D0;
  transition: all 0.3s ease;
}

.hcs__link a:hover {
  color: var(--main-white);
  border-color: var(--main-white);
}

@media (max-width: 1440px) {
  .hcs-video {
    width: 100%;
    min-width: unset;
    top: 60%;
  }

  .hcs__top {
    grid-template-columns: 260px auto 150px;
  }

  .hcs__descr {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .hcs__top {
    grid-template-columns: unset;
    align-items: start;
  }

  .hcs__categories {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 30px;
  }
}

@media (max-width: 768px) {
  .homepage-case-studies {
    padding: 60px 0;
  }
}

@media (max-width: 550px) {
  .hcs__top {
    height: 80vh;
  }

  .hcs__bottom {
    flex-direction: column-reverse;
    gap: 20px;

    .hcs__link {
      margin: 0 auto;
    }
  }
}

/* End Case Studies Section */

/* News & Articles Section */

.homepage-news {
  padding: 170px 0;
}

.homepage-news__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.case-studies-loop .case-study,
.news-card,
.post-card {
  border-radius: 16px;
  background: rgba(155, 155, 155, 0.15);
  padding: 20px;
  min-width: 230px;
  position: relative;
  transition: background 0.3s ease;

  &:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}

.case-studies-loop .case-study::before,
.news-card::before,
.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.7));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.news-card__meta {
  display: flex;
  justify-content: space-between;
}

.case-studies-loop .case-study .wp-block-post-date,
.news-card__author,
.news-card__date {
  color: #54C5D0;
  font-size: 0.813rem;
}

.case-studies-loop .case-study .wp-block-post-title,
.news-card__title {
  color: var(--main-white);
  font-family: var(--main-title-fam); font-weight: 700;
  font-size: 1.3rem;
  margin: 10px 0;
  line-height: 1.2;
}

.case-studies-loop .case-study p,
.news-card__excerpt,
.news-card__excerpt p {
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card__image {
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.naa-button {
  display: block;
  text-transform: uppercase;
  color: var(--main-white);
  font-size: 1rem;
  border-bottom: 1px solid var(--main-white);
  line-height: 1.2;
  margin: 40px auto;
  width: max-content;
  letter-spacing: 1px;
  transition: all 0.3s ease;

  &:hover {
    color: #54C5D0;
    border-color: #54C5D0;
  }
}

@media (max-width: 1440px) {
  .news-card__title {
    font-size: 1rem;
  }

  .news-card__image {
    height: 180px;
  }

  .news-card__excerpt,
  .news-card__excerpt p {
    font-size: 0.75rem;
  }
}

@media (max-width: 1240px) {
  .homepage-news__wrapper {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .homepage-news {
    padding: 0 0 170px;
  }
}

@media (max-width: 600px) {
  .homepage-news__wrapper {
    grid-template-columns: repeat(1, auto);
  }
}

/* End News & Articles Section */

/* End Homepage */

/* Archive Pages */

.archive .site-main {
  margin-bottom: 100px;
}

.archive .page-header {
  margin: 100px 0;
}

.archive .page-title {
  font-size: 1.2rem;
  color: var(--main-cyan);
  display: flex;
  flex-direction: column;
  justify-content: start;
  text-transform: uppercase;
  letter-spacing: 1px;

  span {
    font-size: 3rem;
    color: var(--main-white);
    line-height: 1;
  }
}

.archive .no-results {
  .page-header {
    margin: 100px 0 50px;

    .page-title {
      font-size: 2rem;
    }
  }

  .back-to-home-btn {
    margin-top: 40px;
    display: block;
  }

  .liquidGlass-wrapper {
    width: fit-content;
  }
}

.archive #breadcrumb,
.archive .post-grid {
  margin-top: 100px;
}

/* End Archive Pages */

/* Blog Page */

.editors-picks-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-family: var(--main-text-fam);
  letter-spacing: 1px;
  margin: 40px 0;
}

.category-filters {
  margin: 60px 0;
  display: flex;
  justify-content: end;
  gap: 50px;
  align-items: center;

  .filters-label {
    margin: 0;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    font-family: var(--main-text-fam);

    &::after {
      content: '';
      width: 80px;
      height: 1px;
      background: var(--main-white);
      opacity: 0.5;
    }
  }

  .filter-btn {
    background: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 75px;
    padding: 6px 12px;
    border: none;
    position: relative;

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 75px;
      padding: 1px;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.7));
      -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      opacity: 0;
      transition: all 0.3s ease;
    }

    &.active,
    &:hover {
      background: rgba(0, 131, 190, 0.30);

      &::before {
        opacity: 1;
      }
    }
  }
}

.hero-posts {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;

  .news-card__link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .news-card__author,
  .news-card__date {
    font-size: 0.625rem;
  }

  .news-card__title {
    font-size: 1rem;
    text-align: left;
  }
}

.hero-post-footer {
  display: flex;

  .quick-read {
    display: flex;
    text-align: center;
    gap: 5px;
    font-size: 0.75rem;
  }
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.load-more {
  margin: 60px auto 250px;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--main-white);
  width: max-content;
}

@media (max-width: 1240px) {
  .post-grid {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .category-filters {
    gap: 20px;
  }

  .hero-posts {
    .news-card {
      padding: 10px;
      min-width: 180px;

      .news-card__title {
        font-size: 0.75rem;
      }
    }
  }
}

@media (max-width: 768px) {
  .category-filters {
    flex-wrap: wrap;
  }
}

@media (max-width: 650px) {
  .hero-title-wrapper {
    margin-bottom: 1rem;
  }

  .hero-posts {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
  }

  .quick-read {
    font-size: 0.6rem;
  }
}

@media (max-width: 600px) {
  .post-grid {
    grid-template-columns: repeat(1, auto);
  }
}

/* End Blog Page */

/* Singe Post Page Styles */

.single-post {
  .entry-content {
    display: grid;
    grid-template-columns: auto 420px;
    gap: 7.5rem;
    margin: 5rem 0 0;

    .entry-content__main {
      padding-left: 120px;
    }
  }

  h2 {
    font-size: 1.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--main-title-fam); font-weight: 700;
    margin: 35px 0 15px;

    &:nth-child(1) {
      margin-top: 0;
    }
  }

  article {

    p,
    li {
      font-size: 0.875rem;
      margin: 0 0 5px;

      strong {
        font-size: 1.125rem;
      }
    }
  }

  ul {
    margin: 0;
  }

  .post-thumbnail {
    width: 100%;
    height: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .post-navigation {
    margin: 100px 0;

    .nav-links {
      width: 100%;
      margin: 0 auto;
      padding: 0 50px;

      a {
        font-size: 1rem;
        text-transform: uppercase;
        transition: color 0.3s ease;

        &:hover {
          color: var(--main-cyan);
        }
      }
    }
  }
}

@media (max-width: 1440px) {
  .single-post {
    .entry-content {
      .entry-content__main {
        padding-left: 50px;
      }
    }
  }
}

@media (max-width: 1024px) {
  .single-post {
    .entry-content {
      grid-template-columns: unset;
      gap: 3.5rem;

      .entry-content__image {
        grid-row: 1;
        max-height: 350px;
        border-radius: 16px;
        overflow: hidden;
      }
    }
  }

  .post-navigation {

    .nav-links {
      flex-direction: column;
      gap: 30px;

      .nav-previous,
      .nav-next {
        text-align: center;
      }

      a {
        font-size: 0.75rem;
      }
    }
  }
}

@media (max-width: 425px) {
  .single-post {
    .entry-content {
      .entry-content__main {
        padding-left: 0;
      }
    }
  }
}

/* End Singe Post Page Styles */

/* Single Case Study Page */

.single-case-study {
  .hero-section {

    &::before {
      background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
      top: 0;
      height: 100%;
      z-index: 2;
    }

    .hero-video {
      mix-blend-mode: unset;
    }
  }

  article {
    position: relative;
  }

  .entry-content {
    width: 40%;

    h2,
    h3 {
      text-transform: uppercase;
      letter-spacing: 1px;
      font-family: var(--main-title-fam); font-weight: 700;
    }

    h2 {
      font-size: 2.5rem;
    }

    h3 {
      font-size: 1.875rem;
    }

    ul {
      margin: 0 0 0 20px;
      padding: 0;
    }

    p,
    li {
      font-size: 0.875rem;
    }
  }
}

.cs-main-video-wrapper {
  position: absolute;
  top: 50%;
  right: 0;
  width: 60%;
  height: 100%;
  transform: translateY(-50%);
  z-index: -1;
  overflow: hidden;

  video {
    object-fit: cover;
    height: 100%;
    width: auto;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &::before {
    content: '';
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }

  &::after {
    content: '';
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 1) 100%);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
}

.case-study-video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: color-dodge;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.tabbed-section-wrapper {
  padding: 100px 0 200px;
  position: relative;
}

.tabbed-section-background {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: auto;
  z-index: -1;
  mix-blend-mode: hard-light;

  img {
    height: 100%;
    width: auto;
    object-fit: cover;
  }
}

.tabbed-section {
  background: #0083BF;
  color: #fff;
  padding: 30px 70px 70px;
  border-radius: 16px;
  margin: 0 140px;
}

.tabs-nav {
  display: flex;
  gap: 80px;
  justify-content: center;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.tabs-nav a {
  color: #002a79;
  text-decoration: none;
  padding: 2px 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  font-size: 0.75rem;
  border-bottom: 1px solid transparent;

  &:hover,
  &.active {
    color: var(--main-white);
    border-color: var(--main-white);
  }
}

.tab-pane {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 100px;
  align-items: center;

  &.active {
    display: grid;
    animation: fadeIn 0.4s ease;
  }

  .block-upper-title {
    color: var(--main-cyan);
    font-size: 0.75rem;
    text-transform: uppercase;
  }

  .block-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-family: var(--main-title-fam); font-weight: 700;
  }

  .block-content {

    ul,
    ol {
      padding-left: 20px;
      margin: 0;
    }

    p,
    li {
      font-size: 0.875rem;
      margin: 0 0 5px;
    }
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.training-handover-wrapper {
  background: var(--main-white);
}

.training-handover {
  padding: 65px 0;
}

.training-handover-title {
  color: var(--main-text-color);
  font-size: 2.5rem;
  text-transform: uppercase;
  font-family: var(--main-title-fam); font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

.training-content {
  display: flex;
  gap: 30px 40px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;

  .training-content-item {
    max-width: 350px;
  }

  p {
    font-size: 1rem;
    margin: 0;
    color: var(--main-text-color);
    text-align: center;
  }
}

.handover-content {
  display: grid;
  grid-template-columns: auto 530px;
  gap: 140px;
  align-items: center;
}

.handover-image {
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 16px;

  img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.handover-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 25px 0;
}

.handover-item-title {
  color: var(--main-text-color);
  font-size: 1.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--main-title-fam); font-weight: 700;
  margin: 0 0 10px;
}

.handover-item-text {

  ul,
  ol {
    padding-left: 20px;
    margin: 0;
  }

  p,
  li {
    font-size: 0.875rem;
    margin: 0 0 5px;
    color: var(--main-text-color);
  }
}

.case-study-prefooter {
  background: var(--main-white);
  padding: 65px 20px;
}

.case-study-prefooter-title {
  font-family: var(--main-title-fam); font-weight: 700;
  font-size: 2.5rem;
  line-height: 52px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--main-text-color);
  text-align: center;
}

.case-study-prefooter-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  margin: 5px 0 0;
  justify-content: center;
  list-style: none;

  li {
    font-size: 0.75rem;
    text-transform: uppercase;
    display: flex;
    gap: 25px;

    &:not(:last-child)::after {
      content: '-';
      color: var(--main-text-color);
    }
  }
}

.case-study-prefooter-text {
  margin: 20px 0 0;
  text-align: center;
  font-size: 1rem;
  color: var(--main-text-color);
  text-transform: uppercase;
  font-weight: 700;
}

.case-study-prefooter-button {
  display: block;
  width: max-content;
  margin: 35px auto 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--main-text-color);
  font-size: 1rem;
  border-bottom: 1px solid var(--main-text-color);
  font-weight: 700;
}

@media (max-width: 1440px) {
  .cs-main-video-wrapper {
    width: 40%;
  }

  .single-case-study {
    .entry-content {
      width: 80%;
    }
  }

  .tabbed-section {
    margin: 0 60px;
  }

  .tabs-nav {
    flex-wrap: wrap;
    gap: 0 80px;
  }

  .tab-pane {
    gap: 30px 50px;

    .block-title {
      font-size: 2rem;
    }
  }

  .handover-content {
    grid-template-columns: auto 480px;
    gap: 70px;
  }
}

@media (max-width: 1024px) {
  .tabbed-section {
    padding: 30px 40px 70px;
  }

  .tabs-nav {
    gap: 0 30px;
  }

  .tab-pane {
    .block-title {
      font-size: 1.5rem;
    }
  }

  .handover-content {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 60px;

    .handover-image {
      height: 400px;
    }
  }
}

@media (max-width: 768px) {
  .cs-main-video-wrapper {
    width: 30%;
  }

  .single-case-study {
    .entry-content {
      width: 90%;

      h2 {
        font-size: 2rem;
      }

      h3 {
        font-size: 1.2rem;
      }
    }
  }

  .tabbed-section {
    margin: 0 30px;
  }

  .tabs-nav {
    gap: 0 15px;
  }

  .tab-pane {
    grid-template-columns: repeat(1, 1fr);
  }

  .handover-content {
    padding: 0 30px;
  }

  .training-handover-title,
  .case-study-prefooter-title {
    font-size: 1.75rem;
  }

  .handover-item-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 425px) {
  .tabbed-section {
    padding: 30px 20px 70px;
    margin: 0 20px;
  }
}

/* End Single Case Study Page */

/* Case Studies Page */

.case-studies-categories {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 50px;

  >p {
    font-size: 0.625rem;
    margin: 0;
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 30px;
    margin: 0;

    li {
      margin: 0;

      p {
        margin: 0;
      }

      a {
        font-size: 0.75rem;

        &:hover {
          color: var(--main-cyan);
        }
      }
    }
  }
}

.all-cs-title {
  font-size: 2.5rem;
}

.case-studies-loop {
  ul {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .case-study {}
}

@media (max-width: 1024px) {
  .case-studies-loop {
    ul {
      grid-template-columns: repeat(2, auto);
      justify-content: space-around;
    }
  }
}

@media (max-width: 768px) {
  .case-studies-categories {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }


  .all-cs-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 550px) {
  .case-studies-loop {
    ul {
      grid-template-columns: repeat(1, auto);
    }
  }
}

/* End Case Studies Page */

/* Pricing Page */

.pricing-goals {
  overflow-y: clip;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    background: linear-gradient(86deg, #0083BF 0%, #7751A1 100%);
    z-index: 0;
    transform: translateX(-50%);
  }

  >div {
    position: relative;
    z-index: 1;
  }

  .wp-block-columns {
    margin: 0;
    gap: 20px;
  }

  .wp-block-column {
    display: flex;
    gap: 20px;
    align-items: center;

    &:not(:last-child)::after {
      content: '';
      width: 1px;
      height: 25px;
      background: #0e2573;
    }
  }
}

/* End Pricing Page */

/* Contact Page */

.page-id-581 .top-pad {
  padding-top: 0;
}

.contact-form {
  border-radius: 30px;
  padding: 30px 100px;

  >.wp-block-group__inner-container {
    border-radius: 30px;
  }

  p {
    margin: 0;
  }

  h2 {
    font-size: 1.875rem;
    text-transform: uppercase;
    font-family: var(--main-title-fam); font-weight: 700;
    letter-spacing: 1px;
  }

  .wp-block-columns {
    margin: 0 0 10px;
  }

  .wpforms-container {
    margin-top: 10px !important;

    .wpforms-field {
      padding: 5px 0 !important;
    }
  }
}

.contact-form-footer {
  p {
    margin: 0;
  }

  .wp-block-columns {
    justify-content: center;
    margin: 0;
  }

  a {
    font-size: 0.75rem;
  }

  .flag-telephone {
    gap: 0;
  }
}

div.wpforms-container-full input[type=email],
div.wpforms-container-full input[type=tel],
div.wpforms-container-full select,
div.wpforms-container-full textarea,
div.wpforms-container-full input[type=text] {
  background-color: transparent;
  border: 1px solid var(--main-white);
  color: var(--main-white);
}

div.wpforms-container-full input::placeholder,
div.wpforms-container-full select::placeholder,
div.wpforms-container-full textarea::placeholder {
  color: var(--main-white) !important;
}

div.wpforms-container-full select {
  background-image: linear-gradient(45deg, #ffffff00 50%, rgb(255 255 255 / 75%) 50%), linear-gradient(135deg, rgb(255 255 255 / 75%) 50%, transparent 50%);
}

div.wpforms-container-full .wpforms-form .iti__arrow {
  border-top: var(--iti-arrow-height) solid rgb(255 255 255 / 75%) !important;
}

div.wpforms-container-full button[type=submit] {
  display: block;
  margin: 0 auto;
  background: transparent !important;
  border: none;
  text-transform: uppercase;
}

.map-group {
  position: relative;

  iframe {
    filter: grayscale(1);
    width: 100vw;
    max-width: unset;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    display: block;
  }
}

.map-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: #141b31;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: color-dodge;
}

@media (max-width: 782px) {
  .contact-form {
    padding: 30px;
  }

  .pre-contact {
    gap: 0;
    margin: 0 0 50px;
  }

  .contact-form-footer {

    .has-text-align-right,
    .has-text-align-left {
      text-align: center;
    }

    svg {
      margin: 10px auto;
      display: block;
    }
  }
}

/* End Contact Page */

/* Prefooter */

.prefooter-section {
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0) 70%);
}

.page-template-default:not(.page-id-415) .prefooter-section {
  background: var(--main-white);
}

.prefooter {
  border-radius: 40px;
  overflow: hidden;
  margin-top: -70px;
  z-index: 999;

  &::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    opacity: 1;
    z-index: 1;
  }
}

.prefooter-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: 100%;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.prefooter-content {
  position: relative;
  z-index: 1;
  padding: 180px 140px 90px;
}

.prefooter-title {
  max-width: 960px;
  font-size: 3.75rem;
  font-family: var(--montserrat-black); font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1;
}

.prefooter-text {
  max-width: 700px;
}

.prefooter-text p {
  font-size: 0.875rem;
}

.prefooter-text p strong {
  font-size: 1.25rem;
}

.prefooter-button {
  display: block;
  width: max-content;
  margin: 0 auto 100px;
}

@media (max-width: 768px) {
  .prefooter-content {
    padding: 60px 60px 30px;
  }

  .prefooter-title {
    font-size: 1.75rem;
  }

  .prefooter-text p {
    font-size: 0.75rem;
  }

  .prefooter-text p strong {
    font-size: 0.875rem;
  }

  .prefooter-button {
    margin: 0px auto 60px;
  }
}

/* End Prefooter */

/* Footer */

.site-footer {
  background: #fff;
  overflow: hidden;
}

.site-footer>svg {
  width: 100%;
  position: absolute;
  top: 20%;
  z-index: 0;
}

.site-footer>div {
  position: relative;
  z-index: 1;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 130px 0 100px;
}

.footer-cols h2 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 5px 0;
  color: var(--main-cyan);
}

.footer-cols p,
.footer-cols a {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--main-text-color);
  margin: 0;
  transition: color 0.3s ease;
}

.footer-cols a:hover {
  color: #54C5D0;
}

.footer-menu {
  width: max-content;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu ul li {
  line-height: 1;
  margin: 0 0 5px 0;
}

.footer-cols.col-3,
.footer-cols.col-4 {
  display: flex;
  flex-direction: column;
}

.footer-cols.col-3 {
  gap: 60px;
}

.footer-cols.col-4 {
  gap: 40px;
}

.footer-social,
.social-items {
  display: flex;
  gap: 25px;
  align-items: center;
}

.footer-social p {
  text-transform: none;
  font-size: 10px;
  line-height: 1;
}

.newsletter-field .input-wrapper {
  border: 1px solid var(--main-text-color);
  border-radius: 4px;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newsletter-field .news-button,
.newsletter-field input[type="email"] {
  background: transparent;
  color: var(--main-text-color);
  border: none;
  font-size: 12px;
}

.terms-text {
  padding-left: 5px;
  margin-top: 5px;
}

.terms-text label {
  font-size: 10px;
  color: var(--main-text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1340px) {
  .footer-wrapper {
    grid-template-columns: 170px 1fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-wrapper {
    grid-template-columns: repeat(2, 50%);
    gap: 50px 10px;
    padding: 130px 0 50px;
  }

  .footer-cols.col-3 {
    flex-direction: row;
    grid-column: 1 / 3;
  }

  .footer-cols.col-4 {
    grid-column: 1 / 3;
  }
}

@media (max-width: 550px) {
  .site-footer>svg {
    left: 50%;
    transform: translateX(-50%);
    width: 250%;
    top: 56%;
  }

  .footer-wrapper {
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    padding: 80px 0 50px;
  }

  .footer-logo {
    max-width: 170px;
  }

  .footer-cols.col-2 ul {
    column-count: 2;
  }

  .footer-cols.col-3 {
    flex-direction: column;
    grid-column: unset
  }

  .footer-cols.col-4 {
    grid-column: unset;
  }
}

/* End Footer */

/* Copyright */

.copyright-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 15px 0;
  gap: 30px;
  align-items: center;
}

.copyright-wrapper p,
.copyright-wrapper a {
  font-size: 14px;
  color: var(--main-text-color);
  margin: 0;
  text-transform: uppercase;
}

.copyright-menu {

  flex-grow: 1;

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
  }

  li {
    margin: 0;
  }

}

/* End Copyright */

/* 404 Page */

.error-404-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgb(27 30 47) 10%, rgba(255, 255, 255, 0) 100%);
  padding: 20px;
}

.error-404-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.error-404-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.error-404-text {
  color: #ffffff;
}

.error-404-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 10px 0;
  letter-spacing: 10px;
}

.error-404-subtitle {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
}

.error-404-description {
  font-size: 16px;
  font-weight: 400;
  color: #b0b0b0;
  margin: 0 0 40px 0;
  line-height: 1.6;
}

.error-404-btn {
  display: inline-block;
}

.error-404-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-404-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .error-404-page {
    min-height: auto;
    padding: 200px 20px;
  }

  .error-404-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .error-404-title {
    font-size: 48px;
  }

  .error-404-subtitle {
    font-size: 24px;
  }

  .error-404-description {
    font-size: 15px;
  }

  .error-404-image {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .error-404-page {
    padding: 200px 15px;
  }

  .error-404-content {
    gap: 30px;
  }

  .error-404-title {
    font-size: 36px;
  }

  .error-404-subtitle {
    font-size: 18px;
  }

  .error-404-description {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .error-404-image {
    min-height: 250px;
  }
}

/* End of 404 Page */

/* Mini Cart */

.cart-icon img {
  width: 48px;
  height: 48px;
}

.mini-cart-wrapper {
  position: relative;
  display: inline-block;
  padding-inline-end: 1rem;

  &.opened {
    .cart_content {
      display: block;
    }
  }

  .mini-cart-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    .cart-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.5rem;
      border-radius: 4px;
      background: transparent;
      transition: background 0.2s;
      text-decoration: none;

      svg {
        display: block;
        width: 32px;
        height: 32px;
      }
    }

    .cart-count-container {
      position: relative;
      margin-left: 0.25rem;

      .cart-count-badge {
        position: absolute;
        top: -24px;
        right: 2px;
        background: var(--mini-cart-amount-bg-color);
        color: var(--mini-cart-amount-color);
        border-radius: 50%;
        min-width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: bold;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        z-index: 2;
        transition: transform 0.2s;

        &.badgePulse {
          animation: badgePulseAnim 0.3s;
        }
      }
    }
  }

  .cart_content {
    display: none;
    position: absolute;
    top: 100%;
    right: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 400px;
    max-width: 400px;
    z-index: 1000;
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;

    .woocommerce-mini-cart {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .cart_content_header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-block-end: 1.25rem;

      h3 {
        font-size: 1.25rem;
        margin: 0;
      }

      .mini-cart-closer {
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        padding: 0;
        display: flex;
        justify-self: end;
      }
    }

    .woocommerce-mini-cart-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 0;
      border-bottom: 1px solid #eee;
      justify-content: space-between;

      &:last-child {
        border-bottom: none;
      }

      img {
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 4px;
      }

      a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: inherit;
        flex: 1;

        &.remove.remove_from_cart_button {
          flex: 0;
        }

        &:hover {
          color: #0073aa;
        }
      }

      span.quantity {
        display: inline-flex;
        font-size: 1rem;
        align-items: center;
      }
    }

    .woocommerce-mini-cart__total {
      padding: 1rem 0 0;
      margin-top: 1rem;
      border-top: 1px solid #eee;
      font-weight: bold;
    }

    .woocommerce-mini-cart__buttons {
      margin-top: 1rem;
      display: flex;
      gap: 0.5rem;

      a {
        flex: 1;
        text-align: center;
        padding: 0.25rem;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
      }

      .button.wc-forward {
        background: var(--mini-cart-cart-bg-color);
        color: var(--mini-cart-cart-color);

        &:hover {
          background: var(--mini-cart-cart-bg-color--hover);
        }
      }

      .button.checkout {
        background: var(--mini-cart-checkout-bg-color);
        color: var(--mini-cart-checkout-color);

        &:hover {
          background: var(--mini-cart-checkout-bg-color--hover);
        }
      }
    }
  }

  @media (max-width: 768px) {
    .cart_content {
      right: 20px;
    }
  }
}

/* End Mini Cart */