/* =========================================================================
   NAV & SIDEBAR STYLES (SANA Premium)
   ========================================================================= */
:root {
  interpolate-size: allow-keywords;
  --nav-bg: rgb(var(--panel-rgb) / calc(0.2 * var(--panel-boost)));
  --nav-border: rgb(var(--veil-rgb) / 0.2);
  --nav-glow: rgb(var(--accent-rgb) / calc(0.15 * var(--glow-boost)));
  --cyan-primary: var(--accent);
}


/* 2. Hide Tooltip Layer (Deleted as requested) */
.nav-hide-tooltip {
  display: none;
}

/* 3. Main Glass Navbar - Replaced by Tailwind Navbar */
#top-navbar {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 95%;
  margin: 0 auto;
  z-index: 1400;
  transition: all 0.3s ease;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  #top-navbar {
    max-width: 80rem;
  }
}

.nav-inner-wrap {
  position: relative;
  padding: 0.875rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(var(--deep-rgb) / calc(0.4 * var(--panel-boost)));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgb(var(--accent-deep-rgb) / 0.2);
  border-radius: 1rem;
  box-shadow: 0 0 30px rgb(var(--accent-deep-rgb) / calc(0.15 * var(--glow-boost)));
}

.nav-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(var(--accent-deep-rgb) / 0.05), transparent, rgba(37, 99, 235, 0.05));
  pointer-events: none;
  border-radius: 1rem;
}

.nav-menu-desktop {
  display: none;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-menu-desktop {
    display: flex;
  }
}

.nav-item-wrapper {
  position: relative;
}

.nav-link-anchor {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  transition: all 0.2s ease;
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--ink-3);
  font-weight: 600;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.nav-link-anchor:hover, .nav-link-anchor.active {
  color: var(--accent);
}

.nav-link-content {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-chevron {
  transition: transform 0.2s ease;
}

.nav-item-wrapper:hover .nav-chevron {
  transform: translateY(2px);
}

.nav-underline {
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  transition: opacity 0.2s ease;
  opacity: 0;
}

.nav-item-wrapper:hover .nav-underline,
.nav-link-anchor.active .nav-underline {
  opacity: 1;
}

/* Dropdown */
.nav-dropdown-modal {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  width: 320px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s ease;
  z-index: 50;

}

.nav-item-wrapper:hover .nav-dropdown-modal {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown-inner {
  background: rgb(var(--panel-rgb) / calc(0.98 * var(--panel-boost))); /* Match the exact dark navy backdrop */
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgb(var(--accent-deep-rgb) / 0.4); /* Elegant cyan glowing border */
  border-radius: 1.25rem; /* Curve matching screenshot */
  padding: 1rem; /* Compact inside padding */
  box-shadow: 0 20px 40px rgb(var(--shadow-rgb) / calc(0.5 * var(--shadow-boost))), 0 0 25px rgb(var(--accent-deep-rgb) / calc(0.15 * var(--glow-boost))); /* Sleek external glow */
  position: relative;
  overflow: hidden;
  text-align: left;
}

.nav-dropdown-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgb(var(--accent-deep-rgb) / 0.08), transparent);
  pointer-events: none;
}

.nav-dropdown-list {
  position: relative;
  z-index: 10;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem; /* Compact gap to fit capsule padding */
  align-items: flex-start;
  width: 100%;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink-2);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.025em;
  text-transform: none !important; /* Keep original Title Case from HTML */
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem; /* Rounded capsule hover overlay */
  background: transparent;
}

.nav-dropdown-item:hover {
  color: rgb(var(--ink-rgb)) !important;
  background: rgb(var(--accent-deep-rgb) / 0.08); /* Perfect translucent cyan hover capsule */
}

.nav-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-strong); /* Default solid cyan dot */
  border-radius: 50%;
  box-shadow: 0 0 6px rgb(var(--accent-deep-rgb) / calc(0.8 * var(--glow-boost)));
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover .nav-dot {
  background-color: var(--accent); /* Glowing cyan dot on hover */
  box-shadow: 0 0 10px var(--accent);
}

/* CTA Button */
.nav-cta-btn {
  display: none;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  width: fit-content;
  text-shadow: 0px 0px 2px rgb(var(--shadow-rgb) / calc(1 * var(--shadow-boost)));
  font-weight: bold;
  border-radius: 0.75rem;
  background-color: var(--cyan-primary);

  color: rgb(var(--ink-rgb));
  border: 1px solid rgb(var(--accent-rgb) / 0.3);
  box-shadow: 0 0 20px rgb(var(--accent-deep-rgb) / calc(0.3 * var(--glow-boost)));
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-transform: uppercase !important;
  &:hover{
    color: rgb(var(--ink-rgb)) !important;
  }
}

@media (min-width: 1024px) {
  .nav-cta-btn {
    display: block;
  }
}

.nav-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--accent-strong), #3b82f6);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.nav-cta-btn:hover::after {
  opacity: 1;
}

.nav-cta-btn span {
  position: relative;
  z-index: 10;
}

/* Mobile Trigger */
.nav-mobile-trigger {
  display: block;
  padding: 0.625rem;
  color: rgb(var(--ink-rgb));
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: all 0.2s ease;
}


@media (min-width: 1024px) {
  .nav-mobile-trigger {
    display: none;
  }
}

.nav-mobile-trigger:hover {
  background: rgb(var(--accent-deep-rgb) / 0.1);
  border-color: rgb(var(--accent-deep-rgb) / 0.3);
}

.nav-logo-img {
  height: 40px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .nav-logo-img {
    height: 3rem;
  }
}

/* 4. Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 2200;
  visibility: hidden;
  pointer-events: none;
}


.mobile-sidebar.state-active {
  visibility: visible;
  pointer-events: auto;
}

.sidebar-shade {
  position: absolute;
  inset: 0;
  background: rgb(var(--deep-rgb) / calc(0.8 * var(--panel-boost)));
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.sidebar-panel-wrap {
  position: absolute;
  top: 0;
  left: -100%;
  width: 380px;
  max-width: 85%;
  height: 100%;
  background: rgb(var(--panel-rgb) / calc(0.4 * var(--panel-boost)));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1.5px solid rgb(var(--veil-rgb) / 0.1);
  display: flex;
  flex-direction: column;
  padding: 3rem 2rem;
  transition: left 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 20px 0 50px rgb(var(--shadow-rgb) / calc(0.3 * var(--shadow-boost)));
  overflow-y: auto;
}


#mobile-services-dropdown{
  a{
    border-radius: 1rem;
    color: rgb(var(--ink-rgb)) !important;
    &:hover{
      background-color: var(--cyan-primary) !important;
      
    }
  }
}

.mobile-sidebar.state-active .sidebar-panel-wrap {
  left: 0;
}

.mobile-sidebar.state-active .sidebar-shade {
  opacity: 1;
}

.sidebar-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.sidebar-brand-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.sidebar-dismiss {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(var(--veil-rgb) / calc(0.03 * var(--veil-boost)));
  border: 1px solid rgb(var(--veil-rgb) / 0.05);
  border-radius: 50%;
  color: rgb(var(--ink-rgb));
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-dismiss:hover {
  background: rgb(var(--ink-rgb));
  color: #020617;
}

.sidebar-nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-nav-item {
  color: rgb(var(--ink-rgb));
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase !important;
  display: inline-block;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  letter-spacing: 0.05em;
  position: relative;
  span{
    white-space: nowrap;
  }
}

.sidebar-nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-primary);
  transition: width 0.3s ease;
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
  color: var(--cyan-primary);
}

.sidebar-nav-item:hover::after,
.sidebar-nav-item.active::after {
  width: 100%;
}

.mobile-sidebar.state-active .sidebar-nav-item {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered Entrance */
.mobile-sidebar.state-active .sidebar-nav-links li:nth-child(1) .sidebar-nav-item { transition-delay: 0.2s; }
.mobile-sidebar.state-active .sidebar-nav-links li:nth-child(2) .sidebar-nav-item { transition-delay: 0.3s; }
.mobile-sidebar.state-active .sidebar-nav-links li:nth-child(3) .sidebar-nav-item { transition-delay: 0.4s; }
.mobile-sidebar.state-active .sidebar-nav-links li:nth-child(4) .sidebar-nav-item { transition-delay: 0.5s; }
.mobile-sidebar.state-active .sidebar-nav-links li:nth-child(5) .sidebar-nav-item { transition-delay: 0.6s; }
.mobile-sidebar.state-active .sidebar-nav-links li:nth-child(6) .sidebar-nav-item { transition-delay: 0.7s; }
.sidebar-main-nav{
  height: 100%;
}
.sidebar-main-nav .nav-cta-action::after {
  display: none !important;
}

.sidebar-main-nav .nav-cta-action {
  opacity: 0;
  background-color: var(--cyan-primary);
  border-radius: 1rem;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  justify-content: center;
  width: fit-content;
}

.sidebar-main-nav .nav-cta-action:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgb(var(--shadow-rgb) / calc(0.25 * var(--shadow-boost)));
  border: none;
}

.mobile-sidebar.state-active .sidebar-main-nav .nav-cta-action {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.sidebar-bottom-bar {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgb(var(--veil-rgb) / 0.1);
  color: rgb(var(--ink-rgb) / 0.7);
  font-size: 0.7rem;
  text-transform: uppercase !important;
  letter-spacing: 0.1em;
}

@media (max-width: 480px) {
  .sidebar-panel-wrap,
  aside#sideLinks {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Ensure ALL links in navbar and aside are uppercase */
.top-navbar a,
.mobile-sidebar a,
nav a,
aside a,
.sidebar-nav-item,
.nav-item {
  text-transform: capitalize !important;
}

@media (max-width: 1024px) {
  .nav-links-container,
  .nav-primary-cta {
    display: none;
  }
  .nav-burger-btn {
    display: flex;
  }
  .top-navbar {
    width: calc(100% - 1.5rem);
    height: 56px;
  }
}

:root {
  --font: "Cairo";
  --font_main:'Urbanist';
  --darker-secondary-color: #2783A1;
  --primary-color: #272727;
  --secondary-color: #40ADD0;
  --whatsApp-color: #29a71a;
  --offWhite-color: #e0f6ff;
  --gray: rgba(255, 255, 255, 0.2);
  --navGray: var(--gray);
  --transition: 0.3s all ease;
  --shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
  --border: 1px solid rgba(0, 0, 0, 0.125);
  --easing_overShoot: linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1);
}

/*! KEYFRAMES */
@keyframes topRight {
  from {
    transform: translate(100%, -100%);
    opacity: 0;
  }

  to {
    transform: translateY(50%);
    opacity: 1;
  }

}

@keyframes topLeft {
  from {
    transform: translate(-100%, -100%);
    opacity: 0;
  }

  to {
    transform: translateY(60%) scale(75%);
    opacity: 1;
  }

}

@keyframes bottomLeft {
  from {
    transform: translate(-100%, 100%);
    opacity: 0;
  }

  to {
    transform: translateY(-25%);
    opacity: 1;
  }

}

@keyframes activeSlide {
  from {
    translate: 0 -25%;
    opacity: 0;
  }

  to {
    translate: 0 0;
    opacity: 1;
  }
}



html{
  overflow-x: clip;
}
/* !EN */
html[dir="ltr"] {
  *:not(i) {
    font-family: var(--font_main), sans-serif;
  }

  #active_lang svg {
    rotate: 180deg;
  }

  section {
    direction: ltr;
  }

  .showAllCategories:hover,
  .contact:hover {
    i {
      translate: 2px;
    }
  }

  .contact {
    padding-block: 0.5rem;
    font-size: 1.125rem !important;
  }

  .showAllCategories i,
  .contact i {
    scale: 1.05;
  }

  .whoWe p {
    font-size: 1rem;
  }

  p {
    line-height: 1.5;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.1;
  }



  #lang_changer .langs {
    font-size: 1.125rem;
  }


  input,
  textarea,
  select {
    direction: ltr;
  }

  ::placeholder {
    transform-origin: left;
  }

  .headerIntro {
    text-wrap: balance;
  }

  .whatsApp {
    padding-block: 0.5rem !important;
  }

  @media (max-width: 480px) {
    #lang_changer {
      left: -60px;
    }
  }
}


/* !INTRO */
.intro {
  padding-inline: 1rem;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  width: fit-content;
  margin-inline: auto;
  text-align: center;
position: relative;
isolation: isolate;
text-wrap: balance;
  margin-bottom: 5rem;
  text-transform: uppercase;
}

.intro::after{
content: '';
position: absolute;
bottom: -16px;
left: 0;
right: 0;
width: 70%;
max-width: 350px;
margin: auto;
height: 6px;
background-color: var(--secondary-color);

}

/* nav {

  position: fixed;
  z-index: 999;
  display: flex;
  flex-direction: column;
  left: 0;
  width: 100%;
  right: 0;
  top: 0;
  margin: auto;
  justify-content: space-between;
  background-color: var(--primary-color);
  box-shadow: var(--shadow);
  color: rgb(var(--ink-rgb));
  border-bottom: 3px solid var(--navGray);
  max-height: fit-content;

  a {
    text-transform: uppercase !important;
  }

  li {
    border-bottom: 3px solid transparent;
  }
} */

.dropInsideDrop {
  transform: translateX(100%) !important;
  top: 0;
}

.sideMenuDropDown {
  flex-direction: column;
  display: flex;
  transition: all 500ms linear(0,
      0.012 0.9%,
      0.05 2%,
      0.411 9.2%,
      0.517 11.8%,
      0.611 14.6%,
      0.694 17.7%,
      0.765 21.1%,
      0.824 24.8%,
      0.872 28.9%,
      0.91 33.4%,
      0.939 38.4%,
      0.977 50.9%,
      0.994 68.4%,
      1);
  transform-origin: bottom;
  width: 100%;
  overflow: hidden;
  interpolate-size: allow-keywords;
  height: 0;
  display: flex;
  flex-direction: column;

  a,
  .sideDropInsideDrop {
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    scale: 0.9;
    transform-origin: top;
    color: var(--primary-color);
    justify-content: center;
    text-transform: uppercase;
    padding: 1rem;
    border-bottom: var(--border);

    &:last-child {
      border: none;
    }

    &:first-child {
      border: none;
      border-top: var(--border);
      border-bottom: var(--border);


    }

    &:hover {
      background-color: var(--primary-color);
      color: rgb(var(--ink-rgb));
    }
  }
}

.sideDropInsideDrop figure>a {
  border: 0 !important;
  font-size: 1.1rem;
  padding-left: 0 !important;

  &:hover {
    background: initial !important;
  }
}

.sideMenuDropDown.show_dropdown {
  height: auto;
  margin-block: 0.5rem;

}

#asideOverlay {
  position: fixed;
  background-color: rgb(var(--scrim-rgb) / calc(0.5 * var(--scrim-boost)));
  backdrop-filter: blur(6px);
  width: 100%;
  height: 100%;
  inset: 0;
  margin: auto;
  overscroll-behavior: contain;
  z-index: 10000;
  opacity: 0;
  display: none;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: 0.5s all ease;
}

#asideOverlay.show_overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  #sideLinks {
    transform: translateX(0);

  }
}

aside#sideLinks {
  background-color: var(--primary-color);
  height: 100%;
  width: 100%;
  overscroll-behavior: contain;
  max-height: 100vh;
  html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 350px;
  overscroll-behavior: contain;
  transition: 0.5s all ease;
  transform: translateX(-100%);

  ul {
    height: 100%;

    li {
      display: flex;
      justify-content: space-between;
      align-items: start;
      text-transform: uppercase !important;
      flex-direction: column;
      color: var(--secondary-color);
      transition: var(--transition);
      border-bottom: var(--border);

      &:last-child {
        border-bottom: 0;
      }

      figure {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 1rem;
        transition: var(--transition);
        width: 100%;

        &:hover {
          background-color: var(--secondary-color);
          color: rgb(var(--ink-rgb));

          button,
          a {
            color: rgb(var(--ink-rgb));
            background-color: var(--darker-secondary-color) !important;

          }
        }
      }

      a {
        color: var(--secondary-color);
        padding: 1rem;
        text-transform: uppercase !important;

        &:hover {
          color: rgb(var(--ink-rgb)) !important;
          background-color: var(--secondary-color);

        }
      }




    }

  }

  li:not(:has(figure)).active {
    background-color: var(--secondary-color);
    color: rgb(var(--ink-rgb));

    a,
    button {
      color: rgb(var(--ink-rgb)) !important;
    }

  }


  li:has(figure).active figure {
    background-color: var(--secondary-color);
    color: rgb(var(--ink-rgb));

    a,
    button {
      color: rgb(var(--ink-rgb));
    }

  }

  button {
    background-color: transparent;
    color: rgb(var(--ink-inv-rgb));
    font-size: 1.25rem;
    padding: 1rem;
    color: var(--secondary-color);
  }
}

#sideLinks li:not(:has(figure)) {
  a {
    width: 100%;
  }

  &:hover {
    background-color: var(--secondary-color);

    a {
      color: rgb(var(--ink-rgb));
    }
  }
}

li:has(.sideMenuDropDown).active a.active {
  background-color: var(--secondary-color);
  color: rgb(var(--ink-rgb)) !important;
}

.sideDropInsideDrop:hover {
  background-color: rgb(var(--ink-rgb)) !important;
  color: var(--secondary-color) !important;
}

.sideDropInsideDrop {
  padding: 0 !important;
}

.sideDropInsideDrop figure {
  cursor: auto;
  padding-left: 1rem;
}

.sideDropInsideDrop figure:hover {
  color: rgb(var(--ink-rgb));
}

#closeSidebar {
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;

  &:hover {
    color: rgb(var(--ink-rgb));
  }
}

li.show_dropdown {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

#dropdownPopup {
  position: fixed;
  inset: 0;
  margin: auto;
  background-color: rgb(var(--scrim-rgb) / calc(0.5 * var(--scrim-boost)));
  backdrop-filter: blur(6px);
  z-index: 100;
  padding-top: 88px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: 0.3s all ease;
}

#dropdownPopup.show_dropdown {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.dropDown {
  transition: all 700ms linear(0,
      0.012 0.9%,
      0.05 2%,
      0.411 9.2%,
      0.517 11.8%,
      0.611 14.6%,
      0.694 17.7%,
      0.765 21.1%,
      0.824 24.8%,
      0.872 28.9%,
      0.91 33.4%,
      0.939 38.4%,
      0.977 50.9%,
      0.994 68.4%,
      1);
  transform-origin: bottom;
  overflow: hidden;
  interpolate-size: allow-keywords;
  height: 0;
  background-color: var(--primary-color);
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  position: absolute;
  z-index: 100;
  top: 88px;
  will-change: height, scale, opacity;
  border-bottom: 3px solid var(--gray);

  .container {
    padding-block: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
  }

  img {
    width: 90px;
    height: 100%;
    object-fit: contain;
  }

  h3 {
    color: var(--secondary-color);
  }

  a {
    font-weight: bold;
    color: rgb(var(--ink-rgb));
    font-size: 1.125rem;
    transition: var(--transition);
    border-bottom: 3px solid transparent;

    /* padding-bottom: 6px; */
    &:hover {
      color: var(--secondary-color);
    }
  }
}

.dropDown.show_dropdown {
  height: fit-content;
}

.dropDown a.active {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

#nav-burger-btn{
  padding: 0 !important;
}
.navIcons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  img {
    width: 24px;
    height: 24px;
  }

  figure , a{
    transition: var(--transition);
    cursor: pointer;

    &:hover {
      color: var(--secondary-color);
      scale: 1.1;

    }
  }
}

#menu {
  cursor: pointer;
}


nav .contact.active {
  background-color: var(--secondary-color);
}

nav .contact a {
  color: rgb(var(--ink-rgb));

}

nav .container {
  display: flex;
  align-items: center;
  padding-block: 2rem;
  border-radius: 0.75rem;
  position: relative;
  justify-content: space-between;
}

#navigation_dropdown {
  border: inherit;
  border-color: transparent;
  position: absolute;
  left: 0;
  display: none;
  width: 100%;
  transform: translateY(70px);

  transition: all 700ms linear(0,
      0.012 0.9%,
      0.05 2%,
      0.411 9.2%,
      0.517 11.8%,
      0.611 14.6%,
      0.694 17.7%,
      0.765 21.1%,
      0.824 24.8%,
      0.872 28.9%,
      0.91 33.4%,
      0.939 38.4%,
      0.977 50.9%,
      0.994 68.4%,
      1);
  transform-origin: bottom;
  overflow: hidden;
  interpolate-size: allow-keywords;
  margin: auto;
  right: 0;
  height: 0;

  z-index: -1;

  .main_Links {
    gap: 1.5rem !important;
  }
}

#navigation_dropdown.show_dropdown {
  height: auto;
  border-color: inherit;
}

#navigation_dropdown .container {
  background-color: var(--primary-color);
  border-radius: 0;
  color: rgb(var(--ink-inv-rgb));
  width: 100%;
  padding-bottom: 2rem !important;
  padding-top: 3rem !important;

  justify-content: center;

  .main_Links {
    flex-direction: column;
  }

  li:hover {
    a {
      color: var(--secondary-color);
    }
  }

  a {
    color: rgb(var(--ink-rgb));
  }
}

nav .logo {
  width: 100%;
  min-width: 140px;
  height: 64px;
  padding-block: 4px;
  object-fit: contain;
}

a:has(.logo) {
  width: 104px;
}

nav ul,
.main_Links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-height: fit-content;
}

nav li,
.contact {
  font-size: 1rem;
  font-weight: 500;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
  align-items: center;
  color: rgb(var(--ink-rgb));

  a {
    color: rgb(var(--ink-rgb));
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

nav button {
  color: var(--primary-color);

  &:hover {
    color: rgb(var(--ink-rgb));
  }
}

nav li:hover {
  color: var(--secondary-color);

  a {
    color: var(--secondary-color);
  }
}

#menu {
  font-size: 1.5rem;
  display: none;
}

li.active {
  color: var(--secondary-color) !important;

  a {
    color: var(--secondary-color) !important;

  }
}

nav button {
  padding-inline: 1.5rem !important;
}

.contact {
  background: var(--secondary-color);
  padding: 0.25rem 1rem;
  /* max-width: 200px !important; */
  min-width: fit-content;
  width: 90%;
  font-size: 0.9rem !important;
  gap: 0.5rem;
  text-transform: uppercase !important;
  font-size: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: fit-content;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 6px rgb(var(--shadow-rgb) / calc(0.075 * var(--shadow-boost)));

  border: 2px solid var(--secondary-color);

  &:hover {
    background-color: transparent;
    color: var(--secondary-color);

    a {
      color: var(--secondary-color);
    }

    i {
      transform: translateX(-2px) scale(1.2);
    }
  }
}

li#lang {
  position: relative;
}

#lang_changer {
  position: absolute;
  z-index: 100;
  left: 0;
  top: 60px;
  transition: var(--transition);
  border-radius: 8px;
  width: 140px;
  background-color: rgb(var(--ink-rgb));
  border-radius: 12px;
  color: rgb(var(--ink-inv-rgb));
  box-shadow: 0px 0px 6px rgb(var(--shadow-rgb) / calc(0.3 * var(--shadow-boost)));

  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  overflow: hidden;
}

#active_lang img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.hide_lang_changer {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

#lang_changer .langs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding: 0.75rem;
  transition: var(--transition);
  width: 100%;
  color: rgb(var(--ink-inv-rgb));

  &:not(:last-child) {
    border-bottom: 1px solid rgb(var(--veil-rgb) / 0.2);
  }

  &:hover {
    background: linear-gradient(90deg,
        var(--secondary-color),
        var(--primary-color));
    color: rgb(var(--ink-rgb)) !important;
  }
}

.langs img {
  width: 30px;
  object-fit: contain;
  height: auto;
}

body {
  background-color: var(--page-bg);
  color: rgb(var(--ink-rgb));
}

section#intro{
  background-color: transparent !important;
  color: rgb(var(--ink-rgb));
}


/* !INTRO SECTION */
.intro-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent !important;
}


.intro-titles-wrapper {
  position: relative;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  user-select: none;
  align-items: center;
}

.intro-title-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 2rem;
}

.intro-centered-logo {
  max-width: clamp(200px, 40vw, 450px);
  height: auto;
  object-fit: contain;
}

/* Base state for GSAP to animate from */
.intro-title-slide .small-title {
  font-size: clamp(1rem, 2vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 0.5rem;
}
.small-title{
  color: rgb(var(--ink-rgb)) !important;
}

.main-title{
  text-wrap: balance;
}

.intro-title-slide .main-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
  text-shadow: 0 0 20px rgba(64, 173, 208, 0.4);
  line-height: 1;
}

/* rising stars/sparkle particles */
.intro-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.sparkle-particle {
  position: absolute;
  background-color: rgb(var(--ink-rgb));
  border-radius: 50%;
  opacity: 0.5;
  box-shadow: 0 0 5px rgb(var(--veil-rgb));
}

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* Scroll Down Button & Text Container
   Fixed to the viewport so it stays visible on every section while
   scrolling; it is faded out at the last section via JS. */
.scroll-down-container {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 120;
  pointer-events: none;
}

.scroll-text {
  color: rgb(var(--ink-rgb) / 0.4);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 700;
  white-space: nowrap;
  transform: translateY(-30px);
}

.scroll-down {
  position: relative; /* Changed from absolute */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  border: 2px solid rgb(var(--veil-rgb) / 0.9);
  border-radius: 50%;
  color: rgb(var(--ink-rgb));
  font-size: 1.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
}

.scroll-down-fixed {
  position: fixed !important;
  z-index: 100 !important;
}

.scroll-down-absolute {
  position: absolute !important;
  z-index: 100 !important;
}

.scroll-down:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: rgb(var(--ink-rgb));
  transform: translateY(5px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

/* Particles */
.intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sparkle-particle {
  position: absolute;
  background-color: var(--secondary-color);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--secondary-color);
  left: var(--p-left);
  top: var(--p-top);
  width: var(--p-size);
  height: var(--p-size);
  opacity: var(--p-opacity);
  animation: floatUp var(--p-duration) linear infinite;
  animation-delay: var(--p-delay);
}

@keyframes floatUp {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

/* --------------------------------------------------------------------------
   UTILITY CLASS REPLACEMENTS
   -------------------------------------------------------------------------- */
.u-abs-full-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.u-margin-b-medium {
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   MOBILE RESPONSIVE STATES (Applied via JS)
   -------------------------------------------------------------------------- */
.intro-slide-mobile-base {
  margin-bottom: 4rem;
  height: auto !important;
  position: relative !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.intro-wrapper-mobile-layout {
  position: relative !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5vh !important;
  padding-top: 10vh !important;
}

.intro-section-mobile-flow {
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
}

/*! HERO SECTION */

.mySwiper {
  flex-grow: 1;
}

.swiper-wrapper {
  display: flex;
  flex-grow: 1;
  align-items: stretch;
}

.swiper-slide {
  height: auto;


}

/* header {
  position: relative;
  isolation: isolate;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 75dvh;
  background-color: var(--primary-color);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
} */

.heroSwiper::before {
  width: 500px;
  height: 500px;
  background-color: rgba(85, 83, 83, 0.25);
  position: absolute;
  inset: 0;
  top: 50px;
  z-index: -1;
  pointer-events: none;
  margin: auto;
  content: '';
  filter: blur(60px);
  border-radius: 50%;
}

.circleOverlay {
  /* background-color: #3333338a; */
  background-color: #73c3dd1c;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  opacity: 0;
  position: absolute;
  z-index: -1;
  pointer-events: none;

}

.circleOverlay.topRight {
  top: -50%;
  right: -5%;
  transform: translateY(50%);
  animation: topRight 1s var(--easing_overShoot) 0.3s forwards;
}

.circleOverlay.topLeft {
  top: -50%;
  left: -5%;
  transform: translateY(60%) scale(75%);
  transform-origin: top left;
  animation: topLeft 1s var(--easing_overShoot) 0.5s forwards;

}


.circleOverlay.bottomLeft {
  bottom: -50%;
  left: -5%;
  transform: translateY(-25%);
  animation: bottomLeft 0.7s var(--easing_overShoot) 0.7s forwards;

}

/*
header::after {
  width: 100%;
  height: 8px;
  background-color: var(--secondary-color);
  z-index: 10;
  left: 0;
  bottom: 0;
  content: "";
  position: absolute;
} */

header .container{
  padding-top: 50px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  article{
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    h1{
      text-wrap: pretty;
      font-size: 3rem;
      color: var(--secondary-color);
    }
    p{
      color: rgb(var(--ink-rgb));
      font-weight: 400;
    }
  }
}

.heroSwiper {
  padding-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
  flex: 1 1 500px;
  padding-inline: 1rem;
}


.heroSwiperSlide {
  display: flex;
  width: fit-content;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px;
  }

  img {
    transition: var(--transition);
  }

  .HeroSwiperContent{
    position: absolute;
    border-radius: 2.5rem;
    inset: 0;
    margin: auto;
    background: linear-gradient(to bottom,transparent, rgb(var(--scrim-rgb) / calc(0.75 * var(--scrim-boost))));
    z-index: 10;
    display: flex;
    padding: 2rem 1rem;
    text-wrap: balance;
    justify-content: end;
    opacity: 0;
    transform: translateY(-50px);
    transition: 0.5s all 0.25s ease;
    align-items: center;
    color: rgb(var(--ink-rgb));
    gap: 1rem;
    flex-direction: column;
    .contact{
      width: 100%;
    }
    .slideName{
      font-size: 1.25rem;
    }
  }

  .productDesc {
    transition: var(--transition);
    color: rgb(var(--ink-rgb));
    text-wrap: balance;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    h2 {
      transition: var(--transition);
      font-size: 2rem;
      text-shadow: 0px 0px 2px black;
      font-weight: 600;
    }

    p {
      transition: var(--transition);
      max-width: 65ch;
      text-shadow: 0px 0px 2px black;
      line-height: 1.1;
    }
  }

  &:hover {
    rotate: 2deg;
    img {
      filter: brightness(1.1);
    }


    .productDesc {
      color: var(--secondary-color);
    }
  }
}

.heroSwiperSlide {
  /* default transitions for snapping */
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* while dragging, remove transition
.heroSwiperSlide.dragging {
  transition: none !important;
} */

#swiperPrev,
#swiperNext {
  background-color: var(--secondary-color);
  border-radius: 50%;
  position: absolute;
  z-index: 100;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 40px;
  color: rgb(var(--ink-rgb));
  font-size: 1.25rem;
  height: 40px;
  transition: 0.7s all ease;
}

#swiperPrev {
  left: 150px;

  &:hover {
    translate: -8px;
  }
}

#swiperNext {
  right: 150px;

  &:hover {
    translate: 8px;
  }
}

.heroSwiperWrapper {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: pan-y;
  user-select: none;
  /* prevent text/image selection while dragging */
  -webkit-user-drag: none;
}

.heroSwiperSlide {
  position: absolute;
  transition:
    all 0.6s ease;
  opacity: 0;
  pointer-events: none;
  cursor: grab;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 2.5rem ;
  will-change: transform,filter, opacity;
}

.heroSwiperSlide:active {
  cursor: grabbing;

  rotate: 2deg;
  .productDesc {
    color: var(--secondary-color);
  }


  img {
    filter: brightness(1.125);
  }

}

.heroSwiperSlide img {
  height: 400px;
  object-fit: contain;
  border-radius: 2.5rem;

}

.heroSwiperSlide .productDesc {
  transition: opacity 0.4s ease;
}

/* ACTIVE SLIDE */
.heroSwiperSlide.active {
  transform: translateX(0) scale(1);
  filter: blur(0);
  opacity: 0;
  z-index: 3;
    .HeroSwiperContent{
    opacity: 1;
    transform: translateY(0px);

  }
  pointer-events: auto;
}

.loadSwipeAnim {
  animation: activeSlide 0.7s ease-in-out 0.25s forwards;

}

.heroSwiperSlide.active .productDesc {
  opacity: 1;
}

/* LEFT SLIDE */
.heroSwiperSlide.left {
  transform: translateX(-150px) translateY(0px) scale(0.75);
  opacity: 0.5 !important;
  filter: brightness(0.35);
  z-index: 2;
  rotate: -5deg;

}

.heroSwiperSlide.left .productDesc {
  opacity: 0;
}

/* RIGHT SLIDE */
.heroSwiperSlide.right {
    transform: translateX(150px) translateY(0px) scale(0.75);
  opacity: 0.5 !important;
  filter: brightness(0.35);
  z-index: 2;
  rotate: 5deg;
}

.heroSwiperSlide.right .productDesc {
  opacity: 0;
}

/* Hidden */
.heroSwiperSlide.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-200px) scale(0.05) !important;
  z-index: 0 !important;
}

.heroSwiperPagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  position: absolute;
  z-index: 100;
  bottom: 80px;
}

.heroSwiper {
  position: relative;
  isolation: isolate;
  padding-bottom: 50px;
}

.heroSwiperBullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.heroSwiperBullet.active {
  background-color: var(--secondary-color);
  transform: scale(1.25);
}



.swiper:not(.mainSwiper,.thumbSwiper ) {
  padding-block: 3rem !important;
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  scale: 1.25;
}

.swiper-pagination-bullet-active {
  background-color: var(--secondary-color) !important;
}

.heroOverlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: -1;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75%;
    transition: 0.5s all ease;
  }

  &:hover {
    img {
      scale: 1.125;
      filter: brightness(1.2);
    }
  }
}

.heroOverlay.backaldrin {
  img {
    object-position: 10% !important;
  }
}

.eventSwiper .contact{
  margin: 0 !important;
align-self: self-start;
}

.showAllCategories {
  max-width: fit-content;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-top: 2rem;
  font-size: 1.5rem;
  color: var(--secondary-color);
  transition: var(--transition);
  i{
    rotate: 180deg;
  }

  &:hover {
    i {
      translate: -8px;
    }
  }
}






.inputHolder {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 700px;

  input {
    width: 100%;
    height: 100%;
    border-radius: 1rem !important;
    background-color: rgb(var(--ink-rgb)) !important;
    direction: ltr !important;
    border-color: rgb(var(--veil-rgb) / 0.125) !important;
    padding-block: 0.5rem;
    padding-right: 13rem !important;
    padding-left: 3.5rem !important;

  }

  label {
    position: absolute;
    z-index: 10;
    left: 1rem;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;

    img {
      width: 24px;
      height: 24px;
    }
  }
}

.innerInputs {
  display: flex;
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap;

  article {
    flex: 1 1 250px !important;

    .inputHolder {
      max-width: 100%;
    }
  }

}


.arrow {
  position: absolute;
  z-index: 10;
  cursor: pointer;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: translateY(-4px);
  right: 1.5rem;
  width: 14px;
  height: 14px;
}

/* ! WHO WE SECTION */

section.whoWe .container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  column-gap: 4rem;
  row-gap: 2rem;

  article {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 2;
    text-wrap: balance;
    justify-content: center;
    border-radius: 1.5rem;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    h2 {
      font-size: 2.5rem;
      text-transform: uppercase;
      color: var(--secondary-color);
    }

    .contact {
      font-size: 1rem !important;
      text-transform: uppercase !important;
      font-weight: bold;
    }
  }
}

.whoWeBanner {
  border-radius: 1.5rem;
  overflow: hidden;

  img {
    min-height: 350px;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.whoWe .container article:has(img) {
  flex: 1;
  overflow: hidden;

  img {
    transition: 0.5s all ease;
  }

  &:hover {
    img {
      scale: 1.125;
      filter: brightness(1.125);
      rotate: -5deg;
    }
  }
}

.whoWeImg {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
}

/* ! CATEGORIES SECTION */
section.categories {
  padding-block: 0;
}



section.categories .container  a,
section.events .container > a,
section.productGrid #allProducts  a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  font-size: 1.5rem;

  i{
    rotate: 0;
  }

  img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1.25rem;
    border: 1px solid var(--secondary-color);
    height: 250px;
    object-position: center;
    transition: 0.5s all ease;
    /* max-width: 250px; */
  }

  svg {
    width: 24px;
    height: 24px;
  }

  p {
    font-size: 0.85rem;
    line-height: 1.1;
    color: rgb(var(--ink-inv-rgb)) ;

  }

  a {
    font-weight: bold;
    font-size: 1rem;
    padding-inline: 1rem;
    width: 100% !important;
  }

  .productDesc {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .productPrice {
    text-align: end;
    font-weight: bold;
    font-size: 1.1rem;
  }

  .productInfo {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: fit-content;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    line-clamp: 5;

  }

  .productName {
    color: var(--secondary-color);
    font-size: 1.125rem;
  }
  .contact{
    width: 100%;
    font-weight: bold;
  }
  &:hover{
    img{
      scale: 1.05;
      filter: brightness(1.05);
    }
  }
}


section.skills .container{
  display: grid;
  grid-template-columns: repeat(10,1fr);
  gap: 2rem;
  article{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(var(--ink-rgb));
    background: var(--secondary-color);
    flex-direction: column;
    gap: 1rem;
    padding:  2rem;
    border-radius: 2.5rem;
 grid-column: span 4;
    box-shadow: var(--shadow);
  img{
    width: 100px;
    height: 100px;
    object-fit: contain;
  }
  path{
    fill: rgb(var(--ink-rgb));
  }
  h2{
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 600 !important;
  }
  p{
    font-size: 0.9rem;
    line-height: 1.25;
    text-wrap: balance;
  }
   &:hover{
      transform: scale(1.05) translateY(-10px);
    }
  }



}

/* ! SERVICES PINNED SECTION */
.services-section-v2 {
  position: relative;
  width: 100%;
  background-color: transparent !important;
  display: block; /* Removed flex forcing */
  padding-top: 10vh;
  overflow: visible;
  z-index: 5;
}


.services-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.services-header-v2 {
  text-align: center;
  padding-inline: 2rem;
  flex-shrink: 0;
}

.services-header-v2 .sub-label {
  display: block;
  font-size: 1.1rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.services-header-v2 h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: rgb(var(--ink-inv-rgb));
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.services-horizontal-wrapper {
  width: 100%;
  overflow: visible;
  display: flex;
  align-items: center;
  height: 100vh; /* Pinned area height */
}

.services-cards-track {
  display: flex;
  padding-inline: 10vw;
  gap: 2rem;
  width: fit-content;
  align-items: center;
  height: 100%;
  padding-top: 40px; /* Space for hover lift */
  padding-bottom: 40px;
}

.service-card-v2 {
  flex: 0 0 420px;
  flex-shrink: 0;
  position: relative;
  height: 480px; /* Shorter cards */
  max-height: 70vh;
}

.card-inner-v2 {
  background: rgb(var(--scrim-rgb) / calc(0.03 * var(--scrim-boost)));
  border: 1px solid rgb(var(--veil-rgb) / 0.08);
  border-radius: 2.5rem;
  padding: 3.5rem 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(15px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.card-inner-v2:hover {
  background: rgb(var(--veil-rgb) / calc(0.04 * var(--veil-boost)));
  border-color: var(--secondary-color);
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgb(var(--shadow-rgb) / calc(0.4 * var(--shadow-boost)));
}

.card-inner-v2 img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2rem;
  margin-bottom: 2.5rem;
  filter: grayscale(0.5) contrast(1.1);
  transition: filter 0.5s ease;
}

.card-inner-v2:hover img {
  filter: grayscale(0) contrast(1);
}

.card-inner-v2 h1 {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  position: absolute;
  top: 1rem;
  right: 2rem;
  line-height: 1;
  pointer-events: none;
}

.card-inner-v2 h2 {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.card-inner-v2 p {
  color: rgba(0, 0, 0, 0.65);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: rgb(var(--ink-inv-rgb));
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  transition: gap 0.3s ease, color 0.3s ease;
}

.view-more-btn i {
  font-size: 0.8rem;
  color: var(--secondary-color);
}

.view-more-btn:hover {
  gap: 1.2rem;
  color: var(--secondary-color);
}

.navigationBtn {
  display: none !important;
}


section#companies{
  .intro{
    display: flex;
    flex-direction: column;

    span{
      font-size: 2rem;
      text-transform: uppercase;
      font-weight: 500;
    }
  }
  padding-bottom: 50px;
  .container{
    padding-top: 0 !important;
  }
  .swiper-slide{
    border-radius: 1.25rem;
    overflow: hidden;

  }
  .swiper-slide img{
    width: 90%;
    height: 90%;
    background-color: transparent;
    object-fit: contain;
    border: 1rem;
  }
}

section#projects{
  background-color: var(--primary-color);
  padding-bottom: 50px;
  .intro{
    color: rgb(var(--ink-rgb));
  }
  .swiper-pagination-bullet:not(.swiper-pagination-bullet-active){
    opacity: 1 !important;
    background-color: rgb(var(--ink-rgb));
  }
  .swiper-slide{
    gap: 1rem;
  }
  .productName{
    color: rgb(var(--ink-rgb)) !important;
    text-transform: uppercase !important;
  }

  .productInfo{
    color: rgb(var(--ink-rgb)) !important;
    line-height: 1.5 !important;
  }
  .contact{
    max-width: 200px;
  }
  img{
    border: none !important;
    border-radius: 3rem !important;
  }

}

/* --- Refined Contact Section UI --- */
.contact-slide {
  background: transparent !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.contact-container {
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-main-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: rgb(var(--ink-rgb));
  margin-bottom: 0.5rem;
  text-align: center;
}

.contact-subtitle {
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.glass-card {
  background: rgb(var(--panel-rgb) / calc(0.4 * var(--panel-boost)));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgb(var(--veil-rgb) / 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgb(var(--shadow-rgb) / calc(0.5 * var(--shadow-boost)));
}

.card-title {
  color: rgb(var(--ink-rgb));
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-title i {
  color: var(--cyan-primary);
}

.info-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgb(var(--accent-rgb) / 0.1);
  border: 1px solid rgb(var(--accent-rgb) / 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  flex-shrink: 0;
}

.info-text {
  display: flex;
  flex-direction: column;
  color: rgb(var(--ink-rgb) / 0.8);
}

.info-text strong {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(var(--ink-rgb) / 0.4);
  margin-bottom: 0.25rem;
}

.info-text span {
  font-size: 1rem;
  font-weight: 500;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: rgb(var(--deep-rgb) / calc(0.4 * var(--panel-boost)));
  border: 1px solid rgb(var(--veil-rgb) / 0.05);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  color: rgb(var(--ink-rgb));
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--cyan-primary);
  background: rgb(var(--deep-rgb) / calc(0.6 * var(--panel-boost)));
  outline: none;
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / calc(0.1 * var(--glow-boost)));
}

.btn-submit-contact {
  margin-top: 1rem;
  background: var(--cyan-primary);
  color: #020617;
  border: none;
  border-radius: 0.75rem;
  padding: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit-contact:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgb(var(--accent-rgb) / calc(0.3 * var(--glow-boost)));
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

section#contactSection .container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;

  .contact {
    background-color: var(--primary-color);
    color: rgb(var(--ink-rgb));
    border: 2px solid var(--primary-color);

    &:hover {
      background-color: transparent;


      color: var(--primary-color);


      border-color: var(--primary-color);
    }

  }
}

::placeholder {
  transform-origin: right;
  transition: var(--transition);
}


input:focus,
textarea:focus,
select:focus {
  background-color: #f9f8f3 !important;
}

input:focus::placeholder,
textarea:focus::placeholder {
  scale: 0.85;
  transform: translateY(-12px);
}

#contactSection .container form,
#contactSection .container .contactInfo {
  flex: 1 1 400px;
}

#contactSection .container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  .contact {
    min-width: 200px;
    font-weight: bold;
    font-size: 1rem;

    a {
      padding-block: 0.25rem;
      justify-content: center;
      align-items: center;

    }
  }
}


.inputHolder {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;

  input,
  textarea,
  select {
    padding: 1rem 2rem;
    border-radius: 6px;
    resize: none;
    border: 1px solid var(--primary-color);
    direction: rtl;
    background-color: rgb(var(--ink-rgb));
    font-size: 1.125rem;
    overflow: hidden;
    /* block internal scrollbar flash */
  }






  textarea {
    height: 200px;
  }
}

::placeholder {
  color: var(--primary-color);
  opacity: 0.75;
  min-height: 24px;
}

.contactInfo {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.contactHandle {
  background-color: var(--primary-color);
  padding: 1rem 2rem;
  color: rgb(var(--ink-rgb));
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  white-space: nowrap;
  font-weight: bold;
  font-size: 1.125rem;
  display: flex;
  gap: 1rem !important;
  text-transform: uppercase !important;
  border: 2px solid transparent;
  transition: var(--transition);


  > div{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
  }

  > div:has(ul){
    flex-direction: column;
    align-items: start;
    ul{
      list-style-type: disc;
      list-style-position: inside;
      display: flex;
      flex-direction: column;
      li,span{
      text-transform: uppercase ;
      }
      li{
        line-height: 1.5;
        display: list-item;
        font-weight: 400;
      }
      span{
        font-weight: bold;
      }
    }
  }

  h3{
    color: var(--secondary-color);
    text-transform: uppercase;
  }


  i.fa-whatsapp {
    scale: 125%;
  }

  &:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);

    .contactIcon {
      background-color: var(--primary-color);
      color: rgb(var(--ink-rgb));
    }
  }
}


div.socials{
  margin: 0;
  .contactIcon{
    background-color: var(--primary-color) !important;
    color: rgb(var(--ink-rgb));
    font-size: 1.5rem;
    border: 2px solid transparent;
    min-width: 45px;
    transition: var(--transition);
    min-height: 45px;
    &:hover{
      background-color: transparent !important;
      border-color: var(--secondary-color) !important;
      color: var(--secondary-color) !important;
    }
  }
}


.map {
  height: 250px;
  border-radius: 1.125rem;
  border: 2px solid var(--primary-color);
  overflow: hidden;

  iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}






section.newsletter {
  padding-inline: 1rem;
}

Section.newsletter .container {
  background-color: var(--primary-color);
  border: 1px solid rgb(var(--veil-rgb) / 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  display: flex;
  justify-content: space-between;
  column-gap: 2rem;
  padding: 3rem;
  row-gap: 2rem;
  align-items: center;
  color: rgb(var(--ink-rgb));

  h2 {
    font-size: 2rem;
    font-weight: 600;
    text-wrap: pretty;
  }

  input {
    padding-right: 13.5rem;
  }

  form {
    position: relative;
    isolation: isolate;
    width: 100%;
  }

  form,
  h2 {
    flex: 1;
  }

  .contact {
    position: absolute;
    border-radius: 1rem;
    z-index: 10;
    padding-block: 0.35rem;
    padding-inline: 0.75rem;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 1rem;
    height: fit-content;
  }
}


section#contact .container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 1.5rem !important;

  .readMore {
    background-color: var(--secondary-color);

    &:hover {
      background-color: transparent;

      a {
        color: var(--secondary-color);
      }

      border-color: var(--secondary-color);
    }
  }


}

::placeholder {
  transform-origin: right;
  transition: var(--transition);
}

input:focus::placeholder,
textarea:focus::placeholder {
  scale: 0.85;
  transform: translateY(-12px);
}

#contact .container form,
#contact .container .contactInfo {
  flex: 1 1 400px;
}

#contact .container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  .readMore {
    min-width: 200px;
    font-weight: bold;
    font-size: 1rem;

    a {
      padding-block: 0.25rem;
      justify-content: center;
      align-items: center;
    }
  }
}

.inputHolder {
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  gap: 0.65rem;

  input,
  select,
  textarea {
    padding: 0.75rem 2rem;
    border-radius: 6px;
    resize: none;
    font-size: 1rem;
    border: var(--border);
    direction: rtl;
  }

  textarea {
    height: 200px;
  }

  select {
    color: var(--secondary-color);
  }
  select option:not(:checked) {
    color: var(--primary-color) !important;
  }
}

.selectArrow {
  position: absolute;
  z-index: 10;
  cursor: pointer;
  top: 2.75rem;
  width: 16px;
  height: 16px;
  left: 1rem;
}

::placeholder {
  opacity: 0.75;
  min-height: 24px;
}

.contactInfo {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.contactHandle {
  background-color: var(--primary-color);
  padding: 1rem 2rem;
  color: rgb(var(--ink-rgb));
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  align-items: start !important;
  overflow-x: auto;
  gap: 1rem !important;
  text-transform: none;
  border: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;

  i.fa-whatsapp {
    scale: 125%;
  }

  svg {
    width: 36px;
  }
  .jobName {
    font-size: 1.25rem;
    font-weight: bold;
  }

  &:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);

    .contactIcon {
      background-color: var(--secondary-color);
      color: rgb(var(--ink-rgb));
    }
  }
}

.contactIcon {
  min-width: 35px;
  min-height: 35px;
  background-color: rgb(var(--ink-rgb));
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: inherit;

}

.map {
  height: 250px;
  border-radius: 1.125rem;
  border: 2px solid var(--secondary-color);
  overflow: hidden;

  iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* !FOOTER */
footer {
  background-color: var(--primary-color);
  padding-bottom: 0;
}

.copyright {
  color: rgb(var(--ink-rgb));
  text-align: center;
  margin-block: 50px;

}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 5rem;
  color: rgb(var(--ink-rgb));

  h3 {
    padding-bottom: 0.25rem;
    width: fit-content;
    font-weight: 600 ;
    border-bottom: 4px solid var(--secondary-color);
    text-transform: uppercase;
  }
}

footer .container article {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: auto;
  height: 100%;
  max-width: 400px;

  img {
    width: 100%;
    height: 100%;
    max-width: 250px;
    object-fit: contain;
  }
}



footer .container article:has(img) {
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 150px;

  button {
    width: 100%;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--primary-color);

    &:hover {
      color: rgb(var(--ink-rgb));
    }
  }
}

footer li:not(.socials) .contactIcon {
  font-size: 0.8rem;
  min-height: 24px;
  min-width: 24px;
}

footer .contactIcon {
  color: var(--primary-color);
  transition: inherit;
}

footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  width: 295px;

  p {
    font-weight: 300;
  }

  span {
    margin-top: 0.5rem;
    font-weight: bold;
  }
}

footer ul li {
  cursor: pointer;
  line-height: 1.5;
  font-weight: 600;
  max-width: fit-content;
  transition: var(--transition);
  font-size: 1rem;

  a {
    display: flex;
    align-items: center;
    font-weight: 600;
    max-width: fit-content;
    gap: 8px;
    color: rgb(var(--ink-rgb));
  }
}

.bullet {
  width: 6px;
  height: 6px;
  background-color: rgb(var(--ink-rgb));
  border-radius: 50%;
}

footer ul li:not(.socials):hover {
  a {
    color: var(--secondary-color);
  }

  .contactIcon {
    background-color: var(--secondary-color);
    color: rgb(var(--ink-rgb));
  }
}

.socials {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;

  .contactIcon:hover {
    background-color: var(--secondary-color);
    color: rgb(var(--ink-rgb));
  }
}

/* ! INNER PAGES HERO*/

/* header .container {
  min-height: calc(100vh);
  min-height: calc(100vh);
} */

.headerIntro {
  display: flex;
  flex-direction: column;
  margin-bottom: -5rem;
  gap: 1rem;
  text-wrap: balance;

  h2 {
    color: rgb(var(--ink-rgb));
    font-size: 3rem;
  }

  p {
    color: var(--primary-color);
    font-size: 1.75rem;
  }
}

/* INNER PAGES */
main.innerPage {
  background-color: #f9f8f3;

  header .intro {
    color: rgb(var(--ink-rgb));
    margin: 0;
    margin-top: 6rem;
    font-size: Clamp(2.5rem, calc(4vw + 1rem), 4rem);
    line-height: 1;
    text-wrap: balance;
  }

  header {
    min-height: calc(60vh);
    min-height: calc(60dvh);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  header::before {
    background: linear-gradient(to right, transparent, rgb(var(--scrim-rgb) / calc(0.5 * var(--scrim-boost))));
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -0;
    content: "";
  }

  .headerIntro {
    width: fit-content;
    max-width: 600px;
  }

  .headerIntro h2 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-color);

    span {
      font-weight: bold;
    }
  }
}



section.events,
section.productGrid{
  overflow: initial;
}

section.events .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  column-gap: 1.5rem;
  row-gap: 3rem;
  justify-items: center;

  a {
    width: 100%;
    max-width: 500px;

    .contact {
      max-width: 250px;
      align-self: flex-start;
    }

    img {
      max-height: 300px;
    }
  }
}

.robo {
  transform-style: preserve-3d;
  transition:
    transform 0.1s,
    border 0.3s,
    box-shadow 0.3s ease-in-out;
  will-change: transform, scale;
}

.robo-wrapper {
  perspective: 600px;
   width: 100%;
}

section.applicationForm {
  padding-bottom: 0;
}

section.applicationForm .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;

  button[type='submit'] {
    margin-right: auto;
    width: 100%;
    max-width: 150px;
    text-transform: uppercase !important;
    font-weight: bold;
    font-size: 1.125rem !important;
  }

  article {
    width: 100%;
    display: flex;
    gap: 0.25rem;
    overflow: visible !important;
    flex-direction: column;

    h4 {
      font-size: 1.25rem;
      display: flex;
      gap: 2px;
      margin-bottom: 0.25rem;
      align-items: center;
      font-weight: 500 !important;

      span {
        color: var(--secondary-color);
        font-weight: 600;
      }

    }

    .inputHolder {
      position: relative;
      overflow: visible !important;
      isolation: initial !important;
      width: 100%;

      input,
      select,
      textarea {
        width: 100%;
        border-radius: 0.5rem !important;
        background-color: rgb(var(--ink-rgb)) !important;
        padding-right: 1rem !important;
      }

      select {
        border-color: rgb(var(--veil-rgb) / 0.125);
        padding-left: 4rem;
        cursor: pointer;
      }

      label {
        font-size: 1.25rem;
        opacity: 0.25;
      }

      label.arrow {
        left: initial !important;
        right: 1.5rem;
        top: 0.5rem;
        opacity: 1;
      }
    }
  }
}

section#ceo {
  padding-top: 0;
  padding-inline: 1rem;
}
section#ceo .container{
  background-color: rgb(var(--ink-rgb));
  box-shadow: var(--shadow);
  border-radius: 2rem;
  display: flex;
  flex-wrap: wrap;
  padding: 2rem 4rem;
  align-items: center;
  justify-content: center;
  gap: 2rem 4rem;
  article{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  article.ceoDesc{
    flex: 3;
    min-width: 400px;
  }
  article.ceoImage{
    border-radius: 100%;
    border: 2px solid var(--secondary-color);
    overflow: hidden;
    height: 250px;
    width: 250px;

    aspect-ratio: 1/1;
    img{
      width: 100%;
      height: 100%;
      object-position: center top;
      object-fit: cover;
    }
  }
}

.ceoDesc{
  font-size: 1.125rem;
  span{
    color: var(--darker-secondary-color);
  }
}

.ceoIdentity{
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  h2{
    text-transform: uppercase;
    color: var(--secondary-color);
  }
  p{
    text-transform: uppercase;
    font-weight: 400;
  }
}


section#coreValues{
  background-color: var(--primary-color);
  padding-block: 100px;
  .intro{
    color: rgb(var(--ink-rgb));
  }
}
section#coreValues .container{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
  gap: 1rem;
  article{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(var(--ink-rgb));
    padding: 2rem;
    transition:0.7s transform ,0.7s opacity,0.3s background,0.3s color ease ;
    background-color: var(--secondary-color);
    border-radius: 2rem;
    border: 3px solid var(--secondary-color);
    svg{
     height: 80px;
      width: 80px;
    }
    h2{
      text-transform: uppercase;
    }
    &:hover{
      background-color: rgb(var(--ink-rgb));
      color: var(--secondary-color);
    }
  }
}

section.description .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  article {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    ul{
      list-style-type: disc;
      list-style-position: inside;
      padding-left: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      li{
        display: list-item;
      }
    }

    a{
      color: var(--secondary-color);
      font-weight: bold;
      font-size: 1.25rem;
      &:hover{
        text-decoration: underline;
      }
    }
    h2 {
      margin-bottom: 0.5rem;
      font-size: 2rem;
      color: var(--secondary-color);
      text-transform: uppercase;
    }
    h4{
      font-size: 1.25rem;
    }

    p {
      font-size: 1.125rem;
      margin-top: 0.5rem;
    }

  }
}

/* ?MEDIA QUERIES */
/* ! WIDTH */
@media (min-width: 1024px) {
  #side_menu {
    display: none;
  }

  .showSideFilters,
  #closeSidebarIcon {
    display: none;
  }
  section.skills .container article.longer{
    background-color: rgb(var(--ink-rgb));
    color: var(--secondary-color);
    grid-column: span 6;
    p{
      color: rgb(var(--ink-inv-rgb));
    }


  }
}

@media (max-width: 1280px) {

  section.productFilter .container {
    grid-template-columns: 30% 68%;
  }

  #checkoutGrid{
    width: 100%;
        grid-template-columns: 60% 37.5%;

  }

  #placeOrder{
     .container{
    width: 100%;
  }
  }

  #swiperPrev {
  left: 50px;

}

#swiperNext {
  right: 50px;

}
section.whoWe .container{
  column-gap: 2.5rem !important;
}

.cardContent
{
  h2{
  font-size: 2rem;
}
p{
  font-size: 1.125rem ;
}
}
}


@media (max-width: 1024px) {
  .stats-slide{
    margin-top: 50px;
    padding-block: 50px !important;
  }

  section#cards .container {
    min-height: 400px;
    article{
      padding-inline: 4rem !important;
    }
  }
.svgMask{
  scale: 1.25 !important;
}
.cardBanner img{
  max-height: 250px !important;
  border-radius: 1.5rem !important;
}
  .cardContent{
    scale: 0.8 !important;
    padding-top: 1rem;

  }

section.skills .container{
  grid-template-columns: repeat(auto-fit,minmax(325px,1fr));
  article{
      grid-column: initial;
  }
  article.longer{
    background-color: rgb(var(--ink-rgb));
    color: rgb(var(--ink-inv-rgb));
    h2{
      color: var(--secondary-color);
    }
  }
}


  section.whoWe .container article{
    flex: 1 !important;

}

.intro{
  font-size: 2rem !important;
  span{
    font-size: 1.5rem !important;
  }
}

  .heroSwiper,header .container{
    padding-top: 0;
  }
  .heroSwiperWrapper{
    height: 500px;
  }
  .heroSwiperPagination{
    bottom: 50px;
  }
  .circleOverlay.topLeft {
    top: -30%;
  }
  .circleOverlay.topRight {
    top: -40%;
  }
  .circleOverlay.bottomLeft {
    bottom: -33%;
  }



.checkoutCartItem  .productName{
  font-size: 1rem !important;
}


  #checkoutGrid{
    width: 100%;
        grid-template-columns: 50% 47.5%;

  }


  section#cartCrud .container{
    width: 100%;
  }
  .cartCrudLabels, .cartItem{
grid-template-columns: repeat(5,1fr);
  }
  #productCrudLabel, .itemProfile{
    grid-column: span 2;
  }
  .itemProfile{
    gap: 1rem !important;
    img{
      width: 100px;
      height: 100px;
    }
    .productName{
      font-size: 1rem !important;
    }
    .contact{
      scale: 0.8;
      transform-origin:top left;
    }
  }
  section#productPreview .container{
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }
  .myThumbsSwiper{
    margin-top: 0rem !important;
  }

  .filter {
    position: fixed !important;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    height: 100% !important;
    inset: 0;
    top: 0 !important;
    background-color: rgb(var(--scrim-rgb) / calc(0.5 * var(--scrim-boost)));
    backdrop-filter: blur(6px);
    margin: auto;
  }

  .filterOptions,
  .filterWrapper {
    transition: 0.5s all ease;
    height: 100%;
    max-width: 400px;
    border-radius: 0 !important;
    width: 100%;
  }

  .filterOptions {
    transform: translateX(-100%);
  }

  .filter.showSidebar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    .filterOptions {
      transform: none;
    }
  }

  .productGrid {
    isolation: initial !important;
  }

  .applicationForm .container,
  .innerInputs {
    gap: 1.5rem 1rem !important;
  }

  *[data-aos-delay] {
    transition-delay: 0s !important;
  }

  #navigation_dropdown {
    display: flex;
  }


  nav ul {
    gap: 0.5rem;
  }

  .whoWe .container {
    column-gap: 2rem !important;

    article {
      p {
        font-size: 1rem;
      }
    }
  }


  nav ul {
    flex-direction: row-reverse;
  }

  #categoryProducts .container {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  }

  .newsletter .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }


  /* .heroSwiperSlide.right {
    transform: translateX(300px) translateY(100px) scale(0.6);
  }

  .heroSwiperSlide.left {
    transform: translateX(-300px) translateY(100px) scale(0.6);
  } */


  #allTours,
  .mightLikeProducts {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

  }

  #swiperNext {
    right: 100px;
  }

  #swiperPrev {
    left: 100px;
  }

  .main_Links {
    gap: 1rem !important;

    li {
      font-size: 0.9rem !important;
    }
  }

  .dropDown {
    font-size: 0.9rem;

    a {
      font-size: 0.9rem;
    }

    img {
      width: 80px;
    }
  }

  a:has(.logo) {
    width: fit-content;
  }

  .productFilter .container {
    grid-template-columns: 1fr !important;
  }

  #productPreview .container {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, 1fr);
  }

  .thumbnails {
    flex-direction: row;
  }

  .mainTourImage {
    grid-row: span 2;
    grid-column: span 1 !important;
  }

.tourPreview .container {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, 1fr);
    column-gap: 0 !important;
    row-gap: 0.5rem !important;
  }

  .orderGridLabels,article.order{
    font-size: 0.9rem;
    .contact{
      font-size: 0.75rem !important;
    }
  }

  div:has(#menu){
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .logo{
    min-width: 0px !important;
    max-width: 140px;
  }
  #menu,
  #side_menu {
    display: block;
  }
   nav>.container .main_Links,
  #dropdownPopup {
    display: none;
  }
   #asideOverlay {
    display: flex !important;
  }

  .stats-slide{
    background:transparent !important;
  }
  .projects-pagination{
    margin-top: 15rem !important;
  }
  .projects-slide{
    margin-bottom: 0 !important;
  }
}




@media (max-width: 768px) {
  #closeCart{
    display: block !important;
  }
  #mobileCartShower{
    display: flex !important;
  }
      #checkoutGrid {
        grid-template-columns: 1fr !important;
      }
      .checkoutCartItem{
        grid-template-columns: repeat(3,1fr);
      }
      .checkoutCartItem .productName{
        grid-column: span 1;
      }

      .checkoutCart{
        position: fixed;
        inset: 0;
        transition: 0.35s all ease !important;
        transform: translateY(100%) !important;
        opacity:0 !important;
        max-height: 100%;
        min-height: 100%;
        padding-inline: 3rem;
        width: 100%;
        pointer-events: none;
        visibility: visible;
        z-index: 1000;
        border-radius: 0;
      }
      .checkoutCart.showCart{
    transform:none !important;
        opacity:1 !important;

}


  .cartCrudLabels, .cartItem{
    font-size: 1rem !important;
    p{
    font-size: 1rem !important;
    }
  }

  .itemProfile{
    gap: 0.5rem !important;
    .productName{
      font-size: 0.9rem !important;
    }
  }
  .itemDesc{
    gap: 0.5rem !important;
  }

  .itemPrice{
    justify-content: center;
  }



  nav>.container .main_Links,
  #dropdownPopup {
    display: none;
  }



  nav .container {
    width: 95%;
  }

  .circleOverlay.topRight {
    display: none;
  }

  .circleOverlay.topLeft {
    left: initial !important;
    right: -25%;
  }

  .whoWe .container {
    flex-direction: column;
  }


  .whoWe .container article {
    justify-content: center;
    align-items: center;
    text-align: center;

    h2 {
      font-size: 2rem !important;
    }

    p {
      font-size: 0.9rem;
    }
  }


  #imagePopup {
    padding-inline: 1rem;
  }

  #categoryProducts article {
    .contact {
      font-size: 0.9rem;
      max-width: 90% !important;
    }
  }
  section#orderDetails .container {
    padding-inline: 1rem !important;
  }


  .categories .productName {
    font-size: 1rem !important;
  }

  .categories .productPrice {
    font-size: 1rem !important;
  }
  .heroRoute {
    font-size: 1.25rem;
  }
  .accountData .container{

    article{
      min-width: 100%;
  }
}

section.container{
  width: 100%;
}
#profileOrders{

  .orderGridLabels, article.order{
    padding-inline: 1rem !important;
    font-size: 0.85rem;
    margin: auto;
    white-space: nowrap;
    min-width: 600px;
  }
  .allOrders .container{
    overflow-x: auto;
  }
}
}

@media (max-width: 640px) {

  .itemProfile{
    flex-direction: column;
    img{
      width: 75px;
      height: 75px;
      border-radius: 0.5rem;
    }
    .itemDesc{
      text-align: center;
      justify-content: center;
      align-items: center;
      .contact{
        transform-origin: top center;
      }
    }
  }
  main.innerPage header {
    min-height: 60vh !important;
  }

  .newsletter .container {
    padding-inline: 1rem !important;

    input {
      padding-right: 1rem !important;
    }

    h2 {
      font-size: 1.5rem !important;
    }
  }

  .newsletter .container .newsletterField .contact {
    position: static !important;
    border-radius: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    font-size: 1.125rem !important;
  }

  .CategoryName {
    font-size: 1.5rem;
  }

  .contact {
    font-size: 0.9rem !important;

    svg {
      width: 1.125rem !important;
      height: 1.125rem !important;
    }
  }
  .popupPrev,.popupNext{
    font-size: 1rem;
    height: 70px;
    padding: 0.25rem;
  }

  .previewNavigation {
    scale: 0.8;
    transform-origin: bottom;
  }


#productPagination{
  justify-content: center !important;
  #productAmount{
    text-align: center;
  }
}

  #searchCategory .container {
    margin-top: 0 !important;

    .inputHolder {
      flex-direction: column-reverse;
    }
  }

  #searchCategory .inputHolder label {
    margin: 0 !important;
    top: 3.5rem !important;
    height: fit-content;
    scale: 0.8;
    transform-origin: top left;
  }

  #searchCategory input {
    padding-right: 3rem !important;
    padding-left: 2.5rem !important;
    font-size: 0.8rem;
  }

  .FAQhead{
    font-size: 1.125rem !important;
    svg{
      width: 20px !important;
    }
  }

  .FAQanswer,.FAQarrow{
    font-size: 1rem !important;
  }

  .FAQtag{
    padding-inline: 1rem !important;
  }




  #confirmSearch {
    margin: 0 !important;
    top: 3rem;
    scale: 0.8;
    transform-origin: top right;
  }



  .searchOptions {
    position: relative !important;
    right: 0;
    width: 100%;


    select {
      width: 100%;
    }

  }


  #ourProducts {
    article {
      flex: 1;
    }

    .contact {
      font-size: 0.9rem;
      padding-inline: 0.75rem;
    }
  }

  /* .heroSwiperSlide {
    img {
      max-width: 250px;
    }
  } */



  /* .heroSwiperSlide.right {
    transform: translateX(200px) translateY(100px) scale(0.7);
  }

  .heroSwiperSlide.left {
    transform: translateX(-200px) translateY(100px) scale(0.7);
  } */

  #swiperNext,
  #swiperPrev {
    top: 0;
  }

  #swiperPrev {
    left: 50px;
  }

  #swiperNext {
    right: 50px;
  }

  .intro {
    font-size: 2rem;
  }

  .circleOverlay {
    display: none;
  }


  .container,.projects-slide{
    padding-inline: 1rem !important;
  }



  #allCategories .container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  }

  .heroRoute {
    font-size: 0.9rem;
  }
  section.registration .container{
    padding-inline: 1rem !important;
  }
  section.registration {
    padding-block: 50px;
  }

      section#cards .container .card{
    flex-direction: column-reverse;
    align-items: center !important;
    padding-inline: 1rem !important;
  }

  .svgMask{
    scale: 2.25 !important;
  }
  .cardContent{
    justify-content: center;
    align-items: center;
    text-align: center;
    scale: 0.9;
  }

  .cardBanner img{
    max-height: 300px !important;
    transform: none;
  }

section#cards{
  padding-top: 200px;
}

section#ceo .container{
  padding-inline: 1rem !important;
}
.contact-slide{
  padding: 0 !important;
}
}

@media (max-width: 540px){
  .card-title{
    justify-content: center;
    flex-wrap: wrap;
  }
  .info-list{
    justify-content: center;
    align-items: center;
    li{
      flex-direction: column;
      align-items: center !important;
    }
  }
}

@media (max-width: 480px) {
  section#cards{
    padding-top: 75px;
  }
   .cardBanner img{
    max-height: 225px !important;
  }
  .cardContent{
    scale: 0.8;
    transform-origin: top;
  }
  .svgMask{
    scale: 3 !important;
  }
section.skills .container{
grid-template-columns: 1fr !important;
}
  .intro{
  font-size: 1.5rem !important;
  span{
    font-size: 1.25rem !important;
  }
}
  header{
    h1{
      font-size: 2.25rem !important;
    }
  }
  #downloadPDF{
    scale: 0.9;
    transform-origin: left top;
  }
  .checkoutCartItemAdjust {
  scale: 0.9;
  }
  .checkoutCartItem .productName{
    font-size: 0.9rem !important;
  }
  .checkoutCartItem  img{
    width: 60px;
    height: 60px;
    border-radius: 0.35rem;
  }
  #checkOutCartItemsHolder{
    overflow-x: auto;
    padding-right: 1rem;
  }
  .checkoutCart{
    padding-inline: 1rem ;
  }
  #mobileCartShower .container{
    gap: 1rem !important;
    p{
font-size: 0.9rem !important;
white-space: nowrap;
  }
  .contact{
    font-size: 0.8rem !important;
    padding-inline: 0.5rem;
  }
}
.cartCrudTotal{
  text-align: start;
  justify-content: start;

}
  section#cartCrud{
    overflow-x: auto !important;
     .container{
    min-width: 460px;
  }
}
section#coreValues .container{
  grid-template-columns: 1fr !important;
}
  .categoryHead {
    justify-content: center;
    align-items: center;

    .contact {
      font-size: 0.8rem !important;
    }
  }

  .description h2,.categories .intro {
    font-size: 1.5rem !important;
  }
  .description h4{
    font-size: 1.125rem !important;
  }
  .description a{
    font-size: 0.9rem !important;
  }
  .description li{
    font-size: 0.8rem;
  }


  .step h2 {
    font-size: 1.25rem;
  }

  .step::after {
    border-width: 4px !important;
  }

  .infoIcon {
    width: 24px !important;
    height: 24px !important;
    font-size: 1.25rem;
  }


  .contactHandle{
    padding-inline: 1rem !important;
  }



  .intro {
    margin-bottom: 3rem;
  }

  .showAllCategories {
    font-size: 1.25rem;
  }

  section.statis .container h2 {
    font-size: 3rem !important;
  }


  #blogPopupMainSwiper{
    height: 400px;
  }


  .heroSwiperWrapper {
    height: 420px !important;
  }

  #navigation_dropdown {
    transform: translateY(60px);
  }

  .contact a {
    font-size: 0.75rem;
  }

  .heroIntro h1 {
    width: 100%;
  }

  .headerIntro {
    h2 {
      font-size: 2.25rem;
    }

    p {
      font-size: 1.5rem;
    }

    justify-content: center;
    align-items: center;
    text-align: center;
  }

  #duration,
  .previewNavigation {
    scale: 0.6;
  }

  .heroIntro {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .myThumbsSwiper{
    min-height: 90px;
  }

  section#productPreview .container article {
    min-width: initial !important;
    flex: 1 !important;
    .productName{
      font-size: 1.5rem;
    }
    .myMainSwiper,.swiper-wrapper,.swiper-slide {
    max-height: 300px !important;
    }

  }

  .mainTourImage .swiper-slide img{
      min-height: 300px;
    }


  .whatsApp {
    bottom: 2rem;
  }

  footer .container {
    display: flex;
    flex-direction: column;
  }

  main.innerHeader .heroIntro h2 {
    font-size: 1.5rem;
  }

  main.innerPage header {
    min-height: 320px !important;

    .headerIntro {
      display: none;
    }
  }

  .whoWe .container article {
    min-width: 250px !important;
  }

  .categories:not(.categoryOption) .container article img {
    height: 150px;
    max-width: 100%;
  }

  .CategoryName {
    font-size: 1.25rem;
  }

  .swiper .contact {
    font-size: 0.75rem !important;
    padding-inline: 0.5rem !important;
  }

  #categoryProducts .container {
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)) !important;
    gap: 1rem !important;

    article img {
      height: 200px;
    }
  }

  section.events .container {
    grid-template-columns: 1fr !important;
  }

  .heroSwiperSlide {
    h2 {
      font-size: 1.75rem !important;
    }

    p {
      font-size: 1rem;
    }
  }

  nav .contact {
    display: none;
  }

  /* .heroSwiperSlide.right {
    transform: translateX(130px) translateY(130px) scale(0.6);
  }

  .heroSwiperSlide.left {
    transform: translateX(-130px) translateY(130px) scale(0.6);
  } */


  /* .heroSwiperPagination{
    bottom: 80px;
  } */

  .heroSwiper{
    height: 400px;
  }
.heroSwiperWrapper{
  scale: 0.65;
}

  .navIcons {
    figure {
      scale: 0.9;
    }
  }

  .FAQhead{
    font-size: 1rem !important;
  }

  #swiperNext,
  #swiperPrev {
    width: 40px;
  }

  .heroSwiperSlide img{
    height: 100%;
  }

  nav .container {
    padding-block: 0.3rem !important;
  }

  .logo {
    height: 50px !important;
  }

  section#searchCategory .container .intro {
    font-size: 1.25rem !important;
  }

  .whoWe .container article h2 {
    font-size: 1.5rem !important;
  }

  p {
    font-size: 0.8rem !important;
  }

  nav .container .logo {
    max-width: 100px;
  }

  .success img {
    max-width: 100px;
  }

  #zoomedImage {
    max-height: 500px;
  }

  #closeBtn {
    font-size: 1.5rem;
  }

  .route{
    padding-top: 100px !important;
  }
  .introRoute{
    font-size: 0.9rem;
  }
  #productPreview{
    padding-top: 25px;
  }

  .heroRoute {
    font-size: 0.75rem;
  }
  section.registration {
    .logo{
      height: auto !important;
      width: 100px !important;
    }
    .contact{
      scale: 0.9;
    }
  }

  .accountData
  {
    .innerInputs article{
      min-width: 100% !important;
    }
    .contact{
    scale: 0.9;
    margin: auto;
  }}


#profileOptions .container a{
  width: 100%;
  max-width: 250px;
  margin: auto;
  padding-inline: 0;
  text-align: center;
}

.formFooter{
  justify-content: center;
}

.goBack{
  display: none;
}

.otp-inputs{
  gap: 0.5rem;
}
.otp-inputs input{
  width: 3rem;
  height: 3rem;
}

.heroFeedback{
  h2{
    font-size: 1.75rem !important;
  }
}
 input[type='password']::placeholder{
    font-size: 0.9rem !important;
  }

::placeholder{
  font-size: 0.9rem !important;
}
#creditCardPopup{
  padding: 0;
}
#orderDetails{
  max-height: 100%;
  form{
    border-radius: 0 !important;
  }
}
#closeCreditCard{
  scale: 0.85;
  transform-origin: top right;
}
#searchEnginePopup.show_popup{
  form#searchEngineForm{
    transform: translateY(62px) !important;
  }
}
#searchSubmit{
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 2rem;
}
article.ceoDesc{
  min-width: 100% !important;
}
.ceoIdentity{
  h2{
    font-size: 1.125rem;
  }
}
.ceoImage{
  width: 100% !important;
  height: 100% !important;
  max-width: 150px;
}
}


@media (max-width: 380px) {
  .heroRoute,.introRoute {
    font-size: 0.65rem;
  }

  #swiperNext{
    right: 20px;
  }
    #swiperPrev{
    left: 20px;
  }
}
/* --- GLOBAL TUNNEL BACKGROUND --- */
.grid-scan-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -10;
  pointer-events: none;
}

.intro-section, main, body {
  background-color: transparent !important;
  background: transparent !important;
}

.intro-titles-wrapper {
  z-index: 10;
  pointer-events: none;
}
.intro-title-slide {
  pointer-events: auto;
}

/* --- SIGNATURE GRADIENT --- */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text {
  font-size: clamp(2.75rem, 10vw, 8rem) !important;
  font-weight: 900 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.04em !important;
  color: rgb(var(--ink-rgb)) !important;
}

.gradient-text span {
  display: inline-block;
  /* background: linear-gradient(to right, var(--accent), #3b82f6, var(--accent)); */
  /* background-size: 200% auto; */
  /* -webkit-background-clip: text; */
  /* background-clip: text; */
  /* color: transparent; */
  color: var(--cyan-primary);
  animation: gradientMove 5s ease-in-out infinite;
}

/* --- ABOUT SECTION --- */
.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: transparent !important;
}

@media (max-width: 1024px) {
  .about-slide {
    position: relative;
    height: auto;
    padding: 0;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns:0.9fr 1.1fr ;
    gap: 1rem !important;
    text-align: left;
  }
}

.about-content, .about-image-wrapper {
  will-change: transform, opacity;
}

.container-large {
  max-width: 1540px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  height: fit-content;
}


.section-label {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  gap: 1rem;
  margin-bottom: 2rem;
}

.label-line {
  height: 3px;
  width: 3rem;
  background: var(--accent-strong);
  box-shadow: 0 0 10px rgb(var(--accent-deep-rgb) / calc(0.8 * var(--glow-boost)));
}

.label-text {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.125rem;
  font-weight: 700;
  filter: drop-shadow(0 0 5px rgb(var(--accent-deep-rgb) / calc(0.2 * var(--glow-boost))));
}

.about-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: rgb(var(--ink-rgb));
  margin-bottom: 2rem;
  line-height: 1.1;
}

.title-accent {
  background: linear-gradient(to right, var(--surface-3), var(--surface-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-description {
  color: var(--ink-3);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 34rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--secondary-color);
  font-weight: 300;
}

.about-features {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-item {
  position: relative;
}

.feature-name {
  color: rgb(var(--ink-rgb));
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.feature-item:hover .feature-name {
  color: var(--accent);
}

.feature-underline {
  height: 4px;
  width: 0;
  background: var(--accent-strong);
  transition: width 0.5s ease;
  margin-bottom: 0.5rem;
}

.feature-item:hover .feature-underline {
  width: 100%;
}

.feature-desc {
  color: var(--cyan-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Image Wrapper Styling */
.about-image-wrapper {
  position: relative;
  perspective: 1000px;
}

.image-inner {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(var(--shadow-rgb) / calc(0.5 * var(--shadow-boost)));
  border: 1px solid rgb(var(--veil-rgb) / 0.1);
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
  z-index: 1;
}

.about-image-wrapper:hover .image-inner {
  transform: rotateY(5deg) rotateX(-2deg) translateZ(20px);
  box-shadow: 0 35px 60px -15px rgb(var(--accent-deep-rgb) / calc(0.3 * var(--glow-boost)));
}

.image-glow {
  position: absolute;
  inset: 0;
  background: rgb(var(--accent-deep-rgb) / 0.1);
  mix-blend-mode: overlay;
  z-index: 1;
}

.about-img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  display: block;
  scale: 1.1; /* Larger to allow magnetic shift without showing edges */
  will-change: transform;
}

@media (min-width: 768px) {
  .about-img {
    height: 70vh;
  }
}

.circle-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.decoration-top {
  top: -2rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
  border: 2px solid rgb(var(--accent-deep-rgb) / 0.15);
  backdrop-filter: blur(6px);
  animation: floatCircle1 12s ease-in-out infinite;
}

.decoration-bottom {
  display: none;
  bottom: -3rem;
  left: -3rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgb(var(--veil-rgb) / 0.1);
  background: rgb(var(--panel-rgb) / calc(0.1 * var(--panel-boost)));
  backdrop-filter: blur(8px);
  z-index: 2; /* ABOVE the image */
  animation: floatCircle2 15s ease-in-out infinite;
}

@keyframes floatCircle1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(15px, -25px) rotate(10deg); }
  66% { transform: translate(-10px, 15px) rotate(-5deg); }
}

@keyframes floatCircle2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, 20px) rotate(-15deg); }
  66% { transform: translate(15px, -15px) rotate(8deg); }
}

/* --- SERVICES SECTION (SLIDE 4) --- */
.services-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: transparent !important;
}

@media (max-width: 1024px) {
  .services-slide {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding: 3rem 0;
  }
  .about-description{
    margin: auto;
  }
  .section-label{
    justify-content: center;
  }
}

.services-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.services-main-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: rgb(var(--ink-rgb));
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.services-divider {
  height: 4px;
  width: 100px;
  background-color: var(--cyan-primary);
  margin: 0 auto;
  border-radius: 99px;
}

.services-modern-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .services-modern-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .services-modern-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.service-card-modern {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgb(var(--panel-rgb) / calc(0.95 * var(--panel-boost))), rgb(var(--panel-rgb) / calc(0.85 * var(--panel-boost))), rgb(var(--panel-rgb) / calc(0.95 * var(--panel-boost))));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgb(var(--veil-rgb) / 0.1);
  transition: all 0.5s ease !important;
  cursor: pointer;
  box-shadow: 0 8px 32px rgb(var(--shadow-rgb) / calc(0.4 * var(--shadow-boost)));
}

@media (min-width: 768px) {
  .service-card-modern:hover {
    border-color: rgb(var(--accent-deep-rgb) / 0.5);
    box-shadow: 0 20px 60px rgb(var(--accent-deep-rgb) / calc(0.3 * var(--glow-boost)));
    transform: scale(1.03) translateY(-0.75rem);
  }
}

.card-glow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0) 0%, rgba(6, 182, 212, 0) 50%, rgb(var(--accent-deep-rgb) / 0.05) 100%);
  transition: all 0.7s ease;
  pointer-events: none;
}

@media (min-width: 768px) {
  .service-card-modern:hover .card-glow-overlay {
    background: linear-gradient(135deg, rgb(var(--accent-deep-rgb) / 0.1) 0%, rgb(var(--accent-deep-rgb) / 0.05) 50%, rgb(var(--accent-deep-rgb) / 0.1) 100%);
  }
}

.card-border-glow {
  position: absolute;
  inset: -1px;
  background: linear-gradient(to right, transparent, rgb(var(--accent-deep-rgb) / 0.2), transparent);
  opacity: 1;
  filter: blur(20px);
  pointer-events: none;
}


.card-image-box {
  position: relative;
  width: 100%;
  height: 6.5rem; /* h-26 approx */
  overflow: hidden;
}

@media (min-width: 640px) {
  .card-image-box { height: 7.5rem; }
}
@media (min-width: 768px) {
  .card-image-box { height: 8.5rem; }
}
@media (min-width: 1024px) {
  .card-image-box { height: 9.5rem; }
}

.card-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .service-card-modern:hover .card-main-img {
    transform: scale(1.1);
  }
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgb(var(--panel-rgb) / calc(0.4 * var(--panel-boost))) 50%, rgb(var(--panel-rgb) / calc(0.95 * var(--panel-boost))) 100%);
  transition: all 0.5s ease;
}

@media (min-width: 768px) {
  .service-card-modern:hover .card-image-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgb(var(--panel-rgb) / calc(0.2 * var(--panel-boost))) 50%, rgb(var(--panel-rgb) / calc(0.9 * var(--panel-boost))) 100%);
  }
}

.card-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--accent-strong), transparent);
  width: 0%;
  transition: width 0.7s ease;
}

.service-card-modern:hover .card-progress-bar {
  width: 100%;
}

.card-content-box {
  position: relative;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .card-content-box { padding: 0.875rem; }
}

@media (min-width: 768px) {
  .card-content-box {
    padding: 1rem;
    gap: 0.5rem;
  }
}

.card-title-modern {
  font-size: 1rem;
  font-weight: 700;
  color: rgb(var(--ink-rgb));
  line-height: 1.2;
  transition: color 0.3s ease;
  margin: 0;
}

@media (min-width: 640px) {
  .card-title-modern { font-size: 1.125rem; }
}
@media (min-width: 768px) {
  .card-title-modern { font-size: 1.25rem; }
}

@media (min-width: 768px) {
  .service-card-modern:hover .card-title-modern {
    color: var(--accent-strong);
  }
}

.card-description-modern {
  font-size: 0.75rem;
  color: rgb(var(--ink-rgb));
  line-height: 1.6;
  transition: color 0.3s ease;
  margin: 0;
}

@media (min-width: 640px) {
  .card-description-modern { font-size: 0.875rem; }
}

@media (min-width: 768px) {
  .service-card-modern:hover .card-description-modern {
    color: var(--ink-2);
  }
}



/* --- CLIENTS MARQUEE (Phase 5) --- */
.clients-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: transparent !important;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .clients-slide {
    position: relative;
    height: auto;
    padding: 0;
  }
}

.clients-header {
  text-align: center;
  margin-bottom: 2rem;
}

.clients-main-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  color: rgb(var(--ink-rgb));
  letter-spacing: -2px;
  margin-bottom: 1rem;
}

.clients-desc {
  color: var(--ink-3);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  max-width: 600px;
  margin-inline: auto;
  margin-top: 1rem;
}

.clients-slide .service-divider {
  height: 2px;
  width: 10rem;
  background: linear-gradient(90deg, transparent, var(--accent), #3b82f6, var(--accent), transparent);
  box-shadow: 0 0 15px rgb(var(--accent-rgb) / calc(0.4 * var(--glow-boost)));
  margin-top: 1rem;
  margin-inline: 0;
}

/* =========================================================================
   LOGO LOOP (MARQUEE) STYLES
   ========================================================================= */
.logo-loop-container {
  --logoloop-gap: 120px;
  --logoloop-logoHeight: 120px;
  --logoloop-fadeColorAuto: transparent; /* Changed from white to transparent to look better with the blur background */

  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 4rem;
  padding: 3rem 0;
  background: rgb(var(--panel-rgb) / calc(0.4 * var(--panel-boost)));
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: inset 0 0 50px rgb(var(--shadow-rgb) / calc(0.5 * var(--shadow-boost)));
  transform: skewY(-3deg);
  display: flex;
  align-items: center;

  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-loop-container::before,
.logo-loop-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), #3b82f6, var(--accent), transparent);
  opacity: 0.6;
  z-index: 20;
}

.logo-loop-container::before { top: 0; }
.logo-loop-container::after { bottom: 0; }

.logo-loop-fade {
  display: none;
}

.logo-loop-track-wrapper {
  display: flex;
  flex-direction: row;
  width: max-content;
  will-change: transform;
  user-select: none;
  position: relative;
  z-index: 0;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .logo-loop-track-wrapper {
    transform: none;
  }
}

.logo-loop-seq {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-loop-item {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: var(--logoloop-gap);
  white-space: nowrap;
  gap: 1rem;
  cursor: default;
}

.logo-loop-item-img {
  height: clamp(30px, 6vw, 50px);
  width: auto;
  object-fit: contain;
  opacity: 0.4;
  filter: grayscale(1) brightness(2);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo-loop-item:hover .logo-loop-item-img {
  opacity: 1;
  filter: grayscale(0) brightness(1);
  transform: scale(1.2);
}

.logo-loop-item-text {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: transparent;
  -webkit-text-stroke: 1px rgb(var(--ink-rgb) / 0.15);
  background: linear-gradient(to bottom, var(--surface-3), rgb(var(--panel-rgb) / calc(1 * var(--panel-boost))));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.5;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
}

.logo-loop-item:hover .logo-loop-item-text {
  opacity: 1;
  transform: scale(1.1);
  background: linear-gradient(to bottom, var(--accent), #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0px;
  filter: drop-shadow(0 0 15px rgb(var(--accent-rgb) / calc(0.5 * var(--glow-boost))));
}

/* =========================================================================
   ICONIC PROJECTS SLIDE (Step 6)
   ========================================================================= */
.projects-slide {
  z-index: 10;
  background: transparent !important;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  overflow: visible;
  padding-bottom: 0;
  margin-bottom: 2.5rem;
}
.projects-header .services-divider{
  margin: 0;
}

.projects-main-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: rgb(var(--ink-rgb));
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.title-underline {
  height: 4px;
  width: 80px;
  background: var(--accent-strong);
  border-radius: 99px;
}

.projects-controls {
  display: flex;
  gap: 1rem;
}

.project-ctrl-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid rgb(var(--veil-rgb) / 0.1);
  background: transparent;
  color: rgb(var(--ink-rgb));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
}

.project-ctrl-btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgb(var(--accent-deep-rgb) / calc(0.4 * var(--glow-boost)));
}

.project-ctrl-btn:active {
  transform: scale(0.95);
}

/* 3D Viewport */
.projects-viewport {
  position: relative;
  height: 60vh;
  width: 100%;
  perspective: 1200px; /* Stronger perspective for high-end feel */
  transform-style: preserve-3d;
}

.projects-slider-list {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.project-card-spread {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  /* Removed CSS transition to allow GSAP full control over springy motion */
}

/* 3D "Folding" States handled by GSAP in projectsSlider.js */
.project-card-spread.active {
  z-index: 5;
}

/* Image Side (3/4) */
.project-image-view {
  flex: 3;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgb(var(--veil-rgb) / 0.05);
  box-shadow: 0 30px 60px -12px rgb(var(--shadow-rgb) / calc(0.8 * var(--shadow-boost)));
}

.project-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card-spread:hover .project-main-img {
  transform: scale(1.05);
}

.image-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(var(--panel-rgb) / calc(1 * var(--panel-boost))) 0%, rgb(var(--panel-rgb) / calc(0.2 * var(--panel-boost))) 60%, transparent 100%);
  opacity: 0.9;
}

.project-heading {
  position: absolute;
  bottom: 3.5rem;
  left: 3.5rem;
  max-width: 80%;
  text-align: left;
  z-index: 10;
}

.project-geo-label {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.geo-bracket {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.project-display-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: rgb(var(--ink-rgb));
  line-height: 0.9;
}

/* Info Side (1/4) */
.project-info-hub {
  flex: 1;
  background: rgb(var(--panel-rgb) / calc(0.15 * var(--panel-boost)));
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgb(var(--veil-rgb) / 0.08);
  display: flex;
  text-align: left;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hub-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgb(var(--accent-deep-rgb) / 0.15), transparent 70%);
  pointer-events: none;
}

.hub-content {
  position: relative;
  z-index: 10;
}

.hub-label {
  font-size: 1.25rem;
  font-weight: 800;
  color: rgb(var(--ink-rgb));
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(var(--veil-rgb) / 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hub-summary {
  color: var(--ink-2);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hub-case-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: transparent;
  border: none;
  color: rgb(var(--ink-rgb));
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hub-case-link:hover {
  color: var(--accent);
}

.link-icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgb(var(--veil-rgb) / calc(0.05 * var(--veil-boost)));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hub-case-link:hover .link-icon-circle {
  background: var(--accent-strong);
  color: rgb(var(--ink-rgb));
  transform: scale(1.1) rotate(45deg);
}

/* Pagination */
.projects-pagination {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 3.5rem;
}

.pagination-dot {
  height: 4px;
  width: 1.5rem;
  background: rgb(var(--veil-rgb) / calc(0.15 * var(--veil-boost)));
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.pagination-dot:hover {
  background: rgb(var(--veil-rgb) / calc(0.3 * var(--veil-boost)));
}

.pagination-dot.active {
  width: 4rem;
  background: var(--accent);
  box-shadow: 0 0 15px rgb(var(--accent-rgb) / calc(0.5 * var(--glow-boost)));
}

/* Responsiveness */
@media (max-width: 1024px) {
  .project-card-spread {
    flex-direction: column;
    gap: 1.5rem;
  }
  .project-image-view {
    flex: none;
    height: 45vh;
    width: 100%;
  }
  .project-info-hub {
    flex: none;
    width: 100%;
    padding: 2rem;
  }
  .project-display-title {
    font-size: 2.25rem;
  }
  .project-heading {
    bottom: 2rem;
    left: 2rem;
  }
}

@media (max-width: 640px) {
  .project-heading{
    left: 1rem;
    bottom: 1rem;
  }
  .project-display-title{
    font-size: 2rem;
  }
      .projects-pagination {
        margin-top: 8.5rem !important;
      }

  .contact-main-title{
    font-size: 2.5rem !important;
  }
  .project-image-view {
    height: 35vh;
  }
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* =========================================================================
   7. STATS SLIDE (Step 6)
   ========================================================================= */
.stats-slide {
  z-index: 15;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: radial-gradient(circle at center, rgb(var(--panel-rgb) / calc(0.1 * var(--panel-boost))) 0%, rgb(var(--deep-rgb) / calc(1 * var(--panel-boost))) 100%);
}

#intro{
  padding-block: 0 !important;
}

.stats-container {
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 10;
}

.stats-hero-section {
  text-align: center;
  position: relative;
  margin-bottom: 5rem;
}

.hero-glow-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(30, 58, 138, 0.15);
  filter: blur(100px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.big-number-display {
  font-size: clamp(7.5rem, 18vw, 14rem);
  font-weight: 900;
  padding-inline: 0.25rem;
  line-height: 0.8;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgb(var(--ink-rgb)), var(--surface-3), var(--surface-3));
  -webkit-background-clip: text;
  background-clip: text; /* Standard property */
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgb(var(--veil-rgb) / 0.15));
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.stats-main-label {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: rgb(var(--ink-rgb));
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.stats-sub-label {
  font-size: clamp(1rem, 2.5vw, 1.75rem);
  font-weight: 300;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.4em;
}

.stats-grid-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  width: 100%;
  max-width: 1100px;
  padding-top: 4rem;
  border-top: 1px solid rgb(var(--veil-rgb) / 0.1);
}

@media (min-width: 768px) {
  .stats-grid-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.stat-box:hover {
  transform: translateY(-8px);
}

.stat-number {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: rgb(var(--ink-rgb));
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.stat-box:hover .stat-number {
  color: var(--accent);
}

.stat-meta {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--ink-4);
  letter-spacing: 0.15em;
  font-weight: 500;
}

.stat-box:hover .stat-meta {
  color: rgb(var(--ink-rgb));
}

/* Background Particles for Stats Slide */
.stats-particles-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.stat-particle {
  position: absolute;
  background: var(--accent-strong);
  border-radius: 50%;
  filter: blur(5px);
  opacity: 0.2;
}

/* =========================================================================
   8. INTRO SIDE NAVIGATION
   ========================================================================= */
.intro-side-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.nav-progress-line {
  position: absolute;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: rgb(var(--veil-rgb) / calc(0.08 * var(--veil-boost))); /* Background track */
  z-index: -1;
  border-radius: 4px;
  overflow: hidden;
}

.nav-progress-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px rgb(var(--accent-rgb) / calc(0.4 * var(--glow-boost)));
  transform-origin: top;
  transform: scaleY(0); /* Controlled by GSAP */
  will-change: transform;
}

.nav-dots-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

.intro-nav-dot-wrapper {
  position: relative;
  width: 14px;
  height: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-nav-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  aspect-ratio: 1;
  background: transparent;
  border: 2px solid rgb(var(--veil-rgb) / 0.25);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
}

.intro-nav-dot-wrapper:hover .intro-nav-dot {
  border-color: rgb(var(--accent-rgb) / 0.8);
  transform: scale(1.2);
}

.intro-nav-dot-wrapper.active .intro-nav-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgb(var(--accent-rgb) / calc(0.7 * var(--glow-boost)));
  transform: scale(1.1);
  animation: dotPulse 2s infinite ease-in-out;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1.1); box-shadow: 0 0 15px rgb(var(--accent-rgb) / calc(0.6 * var(--glow-boost))); }
  50% { transform: scale(1.3); box-shadow: 0 0 25px rgb(var(--accent-rgb) / calc(0.9 * var(--glow-boost))); }
}

.intro-nav-dot-wrapper.active .intro-nav-dot::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0.3;
}

/* Label support */
.nav-dot-label {
  position: absolute;
  right: 2.5rem;
  background: rgb(var(--panel-rgb) / calc(0.85 * var(--panel-boost)));
  backdrop-filter: blur(12px);
  color: rgb(var(--ink-rgb));
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  pointer-events: none;
  transform: translateX(15px);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  white-space: nowrap;
  border: 1px solid rgb(var(--veil-rgb) / 0.08);
}

.intro-nav-dot-wrapper:hover .nav-dot-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .intro-side-nav {
    display: none; /* Hide on small mobile to stay clean */
  }
}

/* =========================================================================
   9. CONTACT SLIDE (Step 8)
   ========================================================================= */
.contact-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent !important;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.contact-backdrop iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(1) brightness(0.3) contrast(1.1); /* Engineering Dark Theme Map */
  opacity: 0.5;
  pointer-events: none;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0) 0%, rgb(var(--deep-rgb) / calc(1 * var(--panel-boost))) 90%);
  z-index: 1;
  backdrop-filter: blur(4px);
}

.contact-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-header {
  display: flex;
  padding: 0;
  flex-direction: column;
  margin-bottom: 1rem;
}

.contact-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgb(var(--ink-rgb));
  margin-bottom: 1rem;
  line-height: 0.9;
}

.contact-subtitle {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 500;
}


/* =========================================================================
   GLOBAL PRESENCE MAP
   Built by js/map.js from js/worldMapData.js — a dotted world backdrop with the
   real outline of every country SANA operates in. Everything shares one
   equirectangular projection, so pins sit on their true coordinates.
   ========================================================================= */
#map-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.world-map-host {
  pointer-events: auto;
}

.world-map {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* land backdrop -------------------------------------------------------- */
/* Colour sits on the pattern's own rect: currentColor inside <defs> resolves
   against the pattern, not the shape that references it. */
.world-map-dot-land {
  fill: rgb(var(--accent-deep-rgb) / 0.42);
}

.world-map-dot-office {
  fill: rgb(var(--accent-rgb) / 0.85);
}

.world-map-dot-hot {
  fill: var(--accent-bright);
}

.world-map-land {
  fill: url(#world-map-dots);
  transition: opacity 0.4s ease;
}

.world-map-host.has-active .world-map-land {
  opacity: 0.45;
}

/* office countries ------------------------------------------------------ */
.world-map-country {
  cursor: pointer;
  transition: opacity 0.35s ease;
}

.world-map-country-fill {
  fill: url(#world-map-dots-office);
}

.world-map-country-line {
  fill: none;
  stroke: rgb(var(--accent-rgb) / 0.55);
  stroke-width: 1.6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.35s ease, stroke-width 0.35s ease, filter 0.35s ease;
}

.world-map-country.is-active .world-map-country-fill {
  fill: url(#world-map-dots-hot);
}

.world-map-country.is-active .world-map-country-line {
  stroke: var(--accent-bright);
  stroke-width: 2.4;
  filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / calc(0.9 * var(--glow-boost))));
}

/* pins ------------------------------------------------------------------ */
.world-map-pin {
  cursor: pointer;
  outline: none;
}

.world-map-pin-hit {
  fill: transparent;
}

.world-map-pin-dot {
  fill: var(--accent-bright);
  filter: drop-shadow(0 0 5px rgb(var(--accent-rgb) / calc(0.9 * var(--glow-boost))));
  transition: r 0.3s ease;
}

.world-map-pin-ping {
  fill: rgb(var(--accent-rgb) / 0.55);
  transform-origin: center;
  transform-box: fill-box;
  animation: world-map-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes world-map-ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  75%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.world-map-pin-label {
  fill: rgb(var(--ink-rgb) / 0.92);
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  paint-order: stroke;
  stroke: rgb(var(--deep-rgb) / 0.75);
  stroke-width: 3px;
  transition: fill 0.3s ease;
  pointer-events: none;
}

.world-map-pin.is-active .world-map-pin-dot {
  r: 6;
}

.world-map-pin.is-active .world-map-pin-label {
  fill: var(--accent-bright);
}

.world-map-pin:focus-visible .world-map-pin-dot {
  r: 6.5;
}

/* the zoomed view scales everything up, so hold the chrome at a usable size */
.world-map.is-zoomed .world-map-pin,
.world-map.is-zoomed .world-map-pin-label {
  font-size: 5px;
}

.world-map.is-zoomed .world-map-pin-dot {
  r: 1.6;
}

.world-map.is-zoomed .world-map-pin-ping {
  r: 1.8;
}

.world-map.is-zoomed .world-map-pin-label {
  transform: translate(-7px, -1px);
  stroke-width: 1px;
}

/* tooltip ---------------------------------------------------------------- */
.world-map-tip {
  position: absolute;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 232px;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  background: rgb(var(--panel-rgb) / calc(0.96 * var(--panel-boost)));
  border: 1px solid rgb(var(--accent-deep-rgb) / 0.4);
  box-shadow: 0 18px 40px rgb(var(--shadow-rgb) / calc(0.55 * var(--shadow-boost))),
    0 0 22px rgb(var(--accent-rgb) / calc(0.18 * var(--glow-boost)));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  text-align: left;
}

.world-map-tip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.world-map-tip-map {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  background: rgb(var(--accent-deep-rgb) / 0.12);
  border: 1px solid rgb(var(--accent-deep-rgb) / 0.25);
}

.world-map-mini {
  width: 34px;
  height: 34px;
}

.world-map-mini path {
  fill: rgb(var(--accent-rgb) / 0.35);
  stroke: var(--accent-bright);
  stroke-width: 2.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.world-map-tip-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.world-map-tip-branch {
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.world-map-tip-city {
  color: rgb(var(--ink-rgb));
  font-size: 12.5px;
  font-weight: 500;
}

.world-map-tip-country {
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* legend ----------------------------------------------------------------- */
.world-map-legend {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  pointer-events: auto;
}

.world-map-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.7rem 0.28rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--veil-rgb) / 0.12);
  background: rgb(var(--panel-rgb) / calc(0.55 * var(--panel-boost)));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.world-map-chip:hover,
.world-map-chip.is-active {
  border-color: rgb(var(--accent-deep-rgb) / 0.6);
  background: rgb(var(--panel-rgb) / calc(0.8 * var(--panel-boost)));
  transform: translateY(-2px);
}

.world-map-chip-map {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.world-map-chip-map path {
  fill: rgb(var(--accent-rgb) / 0.25);
  stroke: rgb(var(--accent-rgb) / 0.8);
  stroke-width: 3;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.world-map-chip:hover .world-map-chip-map path,
.world-map-chip.is-active .world-map-chip-map path {
  fill: rgb(var(--accent-rgb) / 0.5);
  stroke: var(--accent-bright);
}

.world-map-chip-text {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1.1;
  text-align: left;
}

.world-map-chip-name {
  color: rgb(var(--ink-rgb) / 0.92);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.world-map-chip-city {
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.world-map-chip-city::before {
  content: '·';
  margin-right: 0.35rem;
}

@media (max-width: 900px) {
  .world-map-pin-label {
    font-size: 20px;
  }

  .world-map-chip-city {
    display: none;
  }

  .world-map-chip {
    padding: 0.35rem 0.6rem 0.35rem 0.4rem;
  }

  .world-map-chip-map {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 560px) {
  .world-map-legend {
    bottom: 0.5rem;
    gap: 0.35rem;
  }

  .world-map-tip {
    min-width: 190px;
    padding: 0.6rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-map-pin-ping {
    animation: none;
    opacity: 0.35;
  }
}

/* Content Grid */
.contact-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}

.glass-card {
  background: rgb(var(--panel-rgb) / calc(0.4 * var(--panel-boost)));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgb(var(--veil-rgb) / 0.08);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgb(var(--shadow-rgb) / calc(0.5 * var(--shadow-boost)));
}

.card-title {
  font-size: 1.5rem;
  color: rgb(var(--ink-rgb));
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
}

.card-title i {
  color: var(--accent);
}

.contact-info-card {
  display: flex !important;
  padding-bottom:1rem !important;
  flex-direction: column !important;
}

.contact-socials {
  margin-top: auto;
  display: flex;
  gap: 1.25rem;
  padding-top: 1.5rem;
}

.contact-socials a {
  width: 48px;
  height: 48px;
  background: rgb(var(--veil-rgb) / calc(0.03 * var(--veil-boost)));
  border: 1px solid rgb(var(--veil-rgb) / 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--ink-rgb));
  font-size: 1.5rem;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.contact-socials a:hover {
  background: var(--accent);
  color: #020617;
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgb(var(--accent-rgb) / calc(0.35 * var(--glow-boost)));
}

/* Info List */
.info-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.info-list li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: rgb(var(--accent-rgb) / 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgb(var(--accent-rgb) / 0.2);
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-text strong {
  width: fit-content;
  display: block;
  font-size: 0.75rem;
  color: rgb(var(--ink-rgb) / 0.4);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.info-text span {
  font-size: 1.15rem;
  color: rgb(var(--ink-rgb));
  font-weight: 500;
  line-height: 1.4;
}

/* Lead Form */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.header-title-box{
  margin-block: 2rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: rgb(var(--panel-rgb) / calc(0.4 * var(--panel-boost)));
  border: 1px solid rgb(var(--veil-rgb) / 0.15);
  padding: 0.85rem 1.25rem;
  border-radius: 1rem;
  color: rgb(var(--ink-rgb)); /* Changed from black for contrast */
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgb(var(--ink-rgb) / 0.4);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgb(var(--panel-rgb) / calc(0.9 * var(--panel-boost)));
  color: rgb(var(--ink-inv-rgb));
  box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / calc(0.15 * var(--glow-boost)));
}

.btn-submit-contact {
  background: var(--accent);
  color: #020617;
  padding: 1.25rem;
  border: none;
  border-radius: 1.1rem;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-submit-contact:hover {
  background: rgb(var(--ink-rgb));
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgb(var(--accent-rgb) / calc(0.5 * var(--glow-boost)));
}

/* Social Footer */
.contact-social-footer {
  border-top: 1px solid rgb(var(--veil-rgb) / 0.05);
  padding: 2.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.follow-text {
  color: rgb(var(--ink-rgb) / 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 2rem;
}

.social-btn {
  width: 55px;
  height: 55px;
  background: rgb(var(--veil-rgb) / calc(0.03 * var(--veil-boost)));
  border: 1px solid rgb(var(--veil-rgb) / 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--ink-rgb));
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.social-btn:hover {
  background: var(--accent);
  color: #020617;
  transform: translateY(-8px) rotate(8deg);
  border-color: var(--accent);
  box-shadow: 0 15px 30px -5px rgb(var(--accent-rgb) / calc(0.3 * var(--glow-boost)));
}

.copyright-bar {
  margin-top: 2rem;
  text-align: center;
}

.copyright-bar p {
  font-size: 0.75rem;
  color: rgb(var(--ink-rgb) / 0.2);
  letter-spacing: 0.05em;
}

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-main-title {
    font-size: 3.5rem;
  }
  .glass-card {
    padding: 2.5rem;
  }
}




@keyframes logo {
  from{
    opacity: 0;
    filter: blur(10px);
    scale: 0.9;
  }
  to{
    opacity: 1;
    filter: blur(0px);
    scale: 1.2;
  }
}

.logo-entrance {
  animation: logo 1.5s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-delay: 0.5s;
}

/* =========================================================================
   PREMIUM LANDING HERO SLIDER SECTION
   ========================================================================= */
.home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: rgb(var(--deep-rgb) / calc(1 * var(--panel-boost))); /* Matches theme dark color */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-family: 'Urbanist', sans-serif;
  transform-origin: center center;
}

.hero-slides-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide.fading-out {
  opacity: 0;
  visibility: hidden;
  z-index: 3; /* Keep it above others while fading out */
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

/* Zoom-in for Odd slides (1st, 3rd...) */
.hero-slide:nth-child(odd).active .hero-slide-img,
.hero-slide:nth-child(odd).fading-out .hero-slide-img {
  animation: zoomInAnim 6.5s ease-in-out forwards;
}

/* Zoom-out for Even slides (2nd, 4th...) */
.hero-slide:nth-child(even).active .hero-slide-img,
.hero-slide:nth-child(even).fading-out .hero-slide-img {
  animation: zoomOutAnim 6.5s ease-in-out forwards;
}

@keyframes zoomInAnim {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.18);
  }
}

@keyframes zoomOutAnim {
  from {
    transform: scale(1.18);
  }
  to {
    transform: scale(1);
  }
}

/* Premium Dark Vignette Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgb(var(--deep-rgb) / calc(0.125 * var(--panel-boost))) 0%, rgb(var(--deep-rgb) / calc(0.75 * var(--panel-boost))) 100%),
              linear-gradient(to bottom, rgb(var(--deep-rgb) / calc(0.1 * var(--panel-boost))) 0%, rgb(var(--deep-rgb) / calc(0.2 * var(--panel-boost))) 100%);
   z-index: 3;
  pointer-events: none;
}

/* Keyframes for Entrance Animations */
@keyframes fadetop {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Read More & Bouncing Arrow Styles */
.rm {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink-3);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transition: all 0.3s ease;
}

.rm:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgb(var(--accent-rgb) / calc(0.4 * var(--glow-boost)));
}

.rm img.arrow-icon {
  width: 20px;
  height: auto;
  margin-top: 0.25rem;
  filter: drop-shadow(0 0 8px rgb(var(--accent-rgb) / calc(0.5 * var(--glow-boost))));
  animation: arrowBounce 1.8s infinite ease-in-out;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* Flicker Prevention for Intro Centered Logo */
.intro-centered-logo {
  opacity: 0; /* Animated smoothly via synced GSAP */
}

/* =========================================================================
   SANA PREMIUM VANILLA FOOTER STYLING
   ========================================================================= */
.sana-footer {
  position: relative;
  background: rgb(var(--deep-rgb) / calc(1 * var(--panel-boost))); /* bg-slate-950 */
  color: rgb(var(--ink-rgb));
  font-family: 'Urbanist', sans-serif;
  overflow: hidden;
  border-top: 1px solid rgb(var(--veil-rgb) / 0.105);
}

.sana-footer-top-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--accent-deep-rgb) / 0.5), transparent);
}

.sana-footer-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(var(--accent-deep-rgb) / 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--accent-deep-rgb) / 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.sana-footer-content {
  position: relative;
  z-index: 10;
}

.sana-footer-container {
  max-width: 80rem; /* max-w-7xl */
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem 1.5rem; /* pt-20, px-6, pb-12 */
}

.sana-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; /* gap-12 */
}

@media (min-width: 768px) {
  .sana-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sana-footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  }
}

.sana-footer-col-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sana-footer-logo {
  height: 3rem; /* h-12 */
  width: auto;
  margin-bottom: 1.5rem; /* mb-6 */
  filter: drop-shadow(0 0 8px rgb(var(--accent-deep-rgb) / calc(0.3 * var(--glow-boost))));
  transition: filter 0.3s ease;
}

.sana-footer-logo:hover {
  filter: drop-shadow(0 0 15px rgb(var(--accent-deep-rgb) / calc(0.5 * var(--glow-boost))));
}

.sana-footer-title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  margin-bottom: 1rem; /* mb-4 */
  background: linear-gradient(90deg, rgb(var(--ink-rgb)), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-family: 'Urbanist', sans-serif;
}

.sana-footer-text {
  color: var(--ink-3); /* text-slate-400 */
  margin-bottom: 1.5rem; /* mb-6 */
  line-height: 1.625; /* leading-relaxed */
  font-size: 0.95rem;
}

.sana-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem; /* px-6, py-3 */
  background: linear-gradient(90deg, var(--accent-strong), #2563eb); /* bg-gradient-to-r from-cyan-600 to-blue-600 */
  border: 1px solid rgb(var(--accent-rgb) / 0.3);
  border-radius: 0.75rem; /* rounded-xl */
  color: rgb(var(--ink-rgb));
  font-weight: 500;
  box-shadow: 0 0 20px rgb(var(--accent-deep-rgb) / calc(0.3 * var(--glow-boost)));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

.sana-footer-btn:hover {
  box-shadow: 0 0 30px rgb(var(--accent-deep-rgb) / calc(0.5 * var(--glow-boost)));
  transform: translateY(-2px);
  border-color: rgb(var(--accent-rgb) / 0.5);
}

.sana-footer-col-header {
  font-size: 1.125rem; /* text-lg */
  font-weight: 700;
  margin-bottom: 1.5rem; /* mb-6 */
  color: var(--accent); /* text-cyan-400 */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sana-footer-list {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.sana-footer-office-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem; /* gap-2 */
  margin-bottom: 0.5rem; /* mb-2 */
}

.sana-footer-icon {
  width: 1rem; /* w-4 */
  height: 1rem; /* h-4 */
  color: var(--accent); /* text-cyan-400 */
  margin-top: 0.25rem; /* mt-1 */
  flex-shrink: 0;
}

.sana-footer-office-title {
  font-weight: 500;
  color: rgb(var(--ink-rgb));
  margin-bottom: 0.25rem; /* mb-1 */
}

.sana-footer-office-subs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem; /* space-y-1 */
}

.sana-footer-link {
  font-size: 0.875rem; /* text-sm */
  color: var(--ink-3); /* text-slate-400 */
  transition: color 0.2s ease;
  cursor: pointer;
  margin: 0;
}

.sana-footer-link:hover {
  color: var(--accent); /* hover:text-cyan-400 */
}

.sana-footer-contact-card {
  background: rgb(var(--panel-rgb) / calc(0.4 * var(--panel-boost))); /* bg-slate-900/40 */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 0.75rem; /* rounded-xl */
  border: 1px solid rgb(var(--veil-rgb) / 0.175); /* border-slate-700/50 */
  padding: 1rem; /* p-4 */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
}

.sana-footer-contact-card:hover {
  border-color: rgb(var(--accent-deep-rgb) / 0.5); /* hover:border-cyan-500/50 */
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

.sana-footer-contact-icon-wrapper {
  width: 2.5rem; /* w-10 */
  height: 2.5rem; /* h-10 */
  border-radius: 0.5rem; /* rounded-lg */
  background: rgb(var(--accent-deep-rgb) / 0.1); /* bg-cyan-500/10 */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.sana-footer-contact-card:hover .sana-footer-contact-icon-wrapper {
  background: rgb(var(--accent-deep-rgb) / 0.2); /* group-hover:bg-cyan-500/20 */
}

.sana-footer-contact-label {
  font-size: 0.75rem; /* text-xs */
  color: var(--ink-4); /* text-slate-500 */
  margin-bottom: 0.25rem; /* mb-1 */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sana-footer-contact-value {
  color: rgb(var(--ink-rgb));
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
  font-size: 0.935rem;
}

.sana-footer-contact-value:hover {
  color: var(--accent);
}

.sana-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem; /* gap-3 */
}

.sana-footer-social-btn {
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  border-radius: 50%;
  background: rgb(var(--panel-rgb) / calc(0.4 * var(--panel-boost)));
  backdrop-filter: blur(24px);
  border: 1px solid rgb(var(--veil-rgb) / 0.175);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--ink-3); /* text-slate-400 */
}

.sana-footer-social-btn:hover {
  border-color: rgb(var(--accent-deep-rgb) / 0.5);
  box-shadow: 0 0 20px rgb(var(--accent-deep-rgb) / calc(0.3 * var(--glow-boost)));
  color: var(--accent);
  transform: translateY(-3px);
}

.sana-footer-social-btn svg {
  width: 1.25rem; /* w-5 */
  height: 1.25rem; /* h-5 */
  color: currentColor;
}

.sana-footer-quick-links {
  margin-top: 2rem; /* mt-8 */
}

.sana-footer-quick-links-title {
  font-size: 0.875rem; /* text-sm */
  color: var(--ink-4); /* text-slate-500 */
  margin-bottom: 0.75rem; /* mb-3 */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sana-footer-quick-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space-y-2 */
}

.sana-footer-quick-links-list a {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-3);
  transition: color 0.2s ease;
  text-decoration: none;
}

.sana-footer-quick-links-list a:hover {
  color: var(--accent);
}

.sana-footer-bottom {
  border-top: 1px solid rgb(var(--veil-rgb) / 0.105); /* border-slate-800/50 */
  padding: 1.5rem 0;
}

.sana-footer-bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* gap-4 */
}

@media (min-width: 768px) {
  .sana-footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.sana-footer-copy {
  font-size: 0.875rem; /* text-sm */
  color: var(--ink-4); /* text-slate-500 */
  margin: 0;
}

.sana-footer-bottom-links {
  display: flex;
  gap: 1.5rem; /* gap-6 */
}

.sana-footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--ink-4);
  transition: color 0.2s ease;
  text-decoration: none;
}

.sana-footer-bottom-links a:hover {
  color: var(--accent);
}


/* Lenis base styles */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Active state for dropdown links */
.dropdown-link.active {
  background-color: rgb(var(--accent-deep-rgb) / 0.2); /* bg-cyan-500/20 */
  color: rgb(var(--ink-rgb));
  box-shadow: inset 0 0 12px rgb(var(--accent-deep-rgb) / calc(0.1 * var(--glow-boost)));
}
.dropdown-link.active > span > span {
  background-color: var(--accent); /* bg-cyan-400 */
  box-shadow: 0 0 6px rgb(var(--accent-deep-rgb) / calc(0.8 * var(--glow-boost)));
}


/* Global Mobile Centering and Resizing */
@media (max-width: 768px) {
  /* Center typography in main sections */
  section h1, section h2, section h3, section h4, section h5, section h6, section p {
    text-align: center !important;
  }
  
  /* Scale down typography on mobile */
  section h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1.2 !important;
  }
  section h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem) !important;
    line-height: 1.3 !important;
  }
  section h3 {
    font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
  }
  section p {
    font-size: clamp(0.9rem, 3.5vw, 1rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Force main content wrappers to center items */
  section .max-w-7xl, section .max-w-6xl, section .max-w-5xl, section .max-w-4xl {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  /* Center inline elements like badges/tags */
  section .inline-flex, section .inline-block {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  /* Center grid content */
  section .grid > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  /* Fix lists alignment */
  section ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  section ul li {
    justify-content: center !important;
    text-align: center !important;
  }
  
  /* Button groups */
  section .flex-wrap {
    justify-content: center !important;
  }
  
  /* Protect specific components from breaking */
  .mobile-sidebar * {
    text-align: left !important;
  }
  .mobile-sidebar .sidebar-top-bar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
  }
  .mobile-sidebar .sidebar-nav-item {
    display: block !important;
  }
  
  nav, nav * {
    text-align: left !important;
  }
  nav .flex {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

/* Global Mobile Centering and Resizing */
@media (max-width: 768px) {
  /* Center typography globally (exclude nav and sidebar) */
  h1:not(nav h1, .mobile-sidebar h1), 
  h2:not(nav h2, .mobile-sidebar h2), 
  h3:not(nav h3, .mobile-sidebar h3), 
  h4:not(nav h4, .mobile-sidebar h4), 
  h5:not(nav h5, .mobile-sidebar h5), 
  h6:not(nav h6, .mobile-sidebar h6), 
  p:not(nav p, .mobile-sidebar p, .sidebar-bottom-bar p) {
    text-align: center !important;
  }
  
  /* Scale down typography on mobile */
  h1:not(nav h1, .mobile-sidebar h1) {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    line-height: 1.2 !important;
  }
  h2:not(nav h2, .mobile-sidebar h2) {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    line-height: 1.3 !important;
  }
  h3:not(nav h3, .mobile-sidebar h3) {
    font-size: clamp(1.2rem, 5vw, 1.5rem) !important;
  }
  p:not(nav p, .mobile-sidebar p) {
    font-size: clamp(0.9rem, 3.5vw, 1rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Force main content wrappers to center items */
  .max-w-7xl:not(nav .max-w-7xl), 
  .max-w-6xl:not(nav .max-w-6xl), 
  .max-w-5xl:not(nav .max-w-5xl), 
  .max-w-4xl:not(nav .max-w-4xl),
  .container:not(nav .container) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  /* Center inline elements like badges/tags */
  .inline-flex:not(nav .inline-flex, .mobile-sidebar .inline-flex), 
  .inline-block:not(nav .inline-block, .mobile-sidebar .inline-block) {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  /* Center grid content */
  .grid:not(nav .grid, .mobile-sidebar .grid) > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  /* Fix lists alignment */
  ul:not(nav ul, .mobile-sidebar ul) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  ul:not(nav ul, .mobile-sidebar ul) li {
    justify-content: center !important;
    text-align: center !important;
  }
  
  /* Button groups */
  .flex-wrap:not(nav .flex-wrap, .mobile-sidebar .flex-wrap) {
    justify-content: center !important;
  }
  
  /* Protect specific components from breaking */
  .mobile-sidebar * {
    text-align: left !important;
  }
  .mobile-sidebar .sidebar-top-bar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
  }
  .mobile-sidebar .sidebar-nav-item {
    display: block !important;
  }
  
  nav, nav * {
    text-align: left !important;
  }
  nav .flex {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

/* =========================================================================
   SEQUENTIAL FLOW OVERRIDES
   The homepage now scrolls as one continuous page: the intro "slides"
   are stacked sections in normal flow on ALL screen sizes (no pinning,
   no crossfade overlay). These rules neutralize the overlay positioning
   defined earlier for the slide-deck layout.
   ========================================================================= */
.intro-section {
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
  display: block !important;
}

.intro-titles-wrapper {
  position: relative !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

.intro-title-slide,
.about-slide,
.services-slide,
.clients-slide,
.projects-slide,
.stats-slide,
.contact-slide {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100vh;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Comfortable vertical rhythm between stacked sections */
.intro-title-slide {
  padding-top: clamp(3rem, 8vh, 6rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

/* First two intro moments are short "moments", not full pages */
.intro-logo-slide {
  min-height: 90vh;
}

/* Sections keep their internal centering */
.intro-title-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* =========================================================================
   SERVICES CARDS — 6-card layout + image motion
   ========================================================================= */
/* 6 cards sit best as 3 columns on large screens (2 balanced rows) */
@media (min-width: 1024px) {
  .services-modern-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .card-image-box {
    height: 12rem;
  }
}

/* Image motion (slow drift + flip-slideshow) is driven by GSAP in
   js/cardImageFlip.js so drift and 3D flips compose on the same element.
   The images of each card are stacked; the flip cycles through them. */
.card-image-box {
  perspective: 900px;
}

.card-image-box .card-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  will-change: transform;
  backface-visibility: hidden;
}

/* First image of each card stays visible before JS takes over */
.card-image-box .card-main-img[data-card-slideshow] {
  opacity: 1;
}

/* Hover: brighten the photo (the transform is owned by GSAP) */
@media (min-width: 768px) {
  .service-card-modern:hover .card-main-img {
    filter: brightness(1.18) saturate(1.12);
  }
}
.card-main-img {
  transition: filter 0.5s ease;
}

/* Diagonal shine sweep across the image on hover */
.card-image-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgb(var(--veil-rgb) / calc(0.16 * var(--veil-boost))), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

@media (min-width: 768px) {
  .service-card-modern:hover .card-image-box::after {
    animation: shineSweep 0.9s ease forwards;
  }
}

@keyframes shineSweep {
  to { left: 130%; }
}

/* =========================================================================
   CLIENTS "TRUSTED BY GIANTS" — dual glass-chip marquee
   ========================================================================= */
.clients-marquee-stack {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: skewY(-2deg);
}

/* Each row reuses the LogoLoop engine but with a lighter band look */
.logo-loop-container.clients-row {
  width: 100%;
  margin-left: 0;
  margin-top: 0;
  padding: 1.4rem 0;
  transform: none;
  background: rgb(var(--panel-rgb) / calc(0.35 * var(--panel-boost)));
  box-shadow: inset 0 0 40px rgb(var(--shadow-rgb) / calc(0.35 * var(--shadow-boost)));
}

.logo-loop-container.clients-row::before,
.logo-loop-container.clients-row::after {
  opacity: 0.3;
}

.clients-row .logo-loop-item {
  flex-direction: row;
  gap: 0;
}

/* Bare transparent client logos — no plate behind them and no circular crop,
   so each mark reads as itself. A fixed height box plus max-width keeps a very
   wide lockup (Ministry of Investment) from dwarfing a compact one (SNB).

   Idle state is the same monochrome lift the other marquee uses: the source
   marks range from near-black navy to near-white, and full colour would leave
   the dark ones invisible on the near-black panel. Hover restores brand colour.
   `.theme-exempt` in the markup opts these out of the global light-theme
   img brightness filter so the rules below own the treatment in both themes. */
.client-logo {
  height: clamp(34px, 4.6vw, var(--logoloop-logoHeight));
  width: auto;
  max-width: clamp(116px, 17vw, 200px);
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1) brightness(1.9) contrast(0.85);
  transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo-loop-item:hover .client-logo {
  opacity: 1;
  filter: none;
  transform: scale(1.12);
}

/* On the light page the same marks have to go darker, not brighter */
:root[data-theme="light"] .client-logo {
  opacity: 0.78;
  filter: grayscale(1) brightness(0.5) contrast(1.2);
}

:root[data-theme="light"] .logo-loop-item:hover .client-logo {
  opacity: 1;
  filter: none;
}

/* The generic mobile rule `ul:not(...) { flex-direction: column }` must not
   stack the marquee sequences — they stay horizontal at every width */
.clients-row .logo-loop-seq {
  flex-direction: row !important;
}

/* =========================================================================
   PROJECTS — bottom navigation bar (prev / dots / next)
   The prev-next controls moved from the top header to a clear, centered
   bar under the slider.
   ========================================================================= */
.projects-bottom-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.projects-bottom-controls .projects-pagination {
  margin-top: 0;
}

/* Clearer, high-visibility buttons */
.projects-bottom-controls .project-ctrl-btn {
  width: 3.75rem;
  height: 3.75rem;
  border: 1px solid rgb(var(--accent-rgb) / 0.5);
  background: rgb(var(--deep-rgb) / calc(0.55 * var(--panel-boost)));
  color: var(--accent-soft);
  box-shadow: 0 6px 24px rgb(var(--shadow-rgb) / calc(0.45 * var(--shadow-boost))), 0 0 18px rgb(var(--accent-rgb) / calc(0.18 * var(--glow-boost)));
  flex: none;
}

.projects-bottom-controls .project-ctrl-btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: rgb(var(--ink-rgb));
  box-shadow: 0 0 26px rgb(var(--accent-deep-rgb) / calc(0.55 * var(--glow-boost)));
}

@media (max-width: 640px) {
  .projects-bottom-controls {
    gap: 1rem;
  }
  .projects-bottom-controls .project-ctrl-btn {
    width: 3.25rem;
    height: 3.25rem;
  }
}

/* Side navigation arrows, vertically centred on either side of the slide.
   .projects-stage is a plain 2D wrapper around .projects-viewport — keeping
   the arrows out of the viewport's perspective context stops the 3D
   projection from scaling them and shoving them past the edges. The hover /
   active rules re-state the centring translate because the base
   .project-ctrl-btn:hover would otherwise drop it. */
.projects-stage {
  position: relative;
}

.projects-stage > .project-ctrl-btn {
  position: absolute;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  width: 3.75rem;
  height: 3.75rem;
  border: 1px solid rgb(var(--accent-rgb) / 0.5);
  background: rgb(var(--deep-rgb) / calc(0.55 * var(--panel-boost)));
  color: var(--accent-soft);
  box-shadow: 0 6px 24px rgb(var(--shadow-rgb) / calc(0.45 * var(--shadow-boost))), 0 0 18px rgb(var(--accent-rgb) / calc(0.18 * var(--glow-boost)));
}

.projects-stage > .prev-btn {
  left: -1.25rem;
}

.projects-stage > .next-btn {
  right: -1.25rem;
}

.projects-stage > .project-ctrl-btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: rgb(var(--ink-rgb));
  box-shadow: 0 0 26px rgb(var(--accent-deep-rgb) / calc(0.55 * var(--glow-boost)));
  transform: translateY(-50%) scale(1.1);
}

.projects-stage > .project-ctrl-btn:active {
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 900px) {
  .projects-stage > .project-ctrl-btn {
    width: 3rem;
    height: 3rem;
  }

  .projects-stage > .prev-btn {
    left: 0.25rem;
  }

  .projects-stage > .next-btn {
    right: 0.25rem;
  }
}
