/* Core Styling Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --font-heading: "Public Sans", sans-serif;
    --font-mono: "DM Mono", monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* Page wrapper overlays fixed footer */
.content-wrapper {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ================================================
     HERO ENTRANCE ANIMATION
=================================================== */

/* NavBar initial fade & slide down */
.navbar {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  /* Intro Animation */
  animation: navbarReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navbarReveal {
  0% { 
    opacity: 0; 
    transform: translateY(-20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }  
}

.logo-img { 
  height: 45px; 
  width: auto;
  display: block; 
}

.menu-container { 
  position: relative; 
}

.menu-btn {
  background: transparent;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Dropdown Panel */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  background-color: #111111;
  color: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px) scale(0.95);
  transform-origin: top right;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Navigation Links Inside Dropdown */
.nav-links { 
  list-style: none; 
  padding: 0;
  margin: 0 0 20px 0; 
}

.nav-links li { 
  margin-bottom: 12px; 
}

.nav-links li:last-child {
  margin-bottom: 0;
}

.nav-links a { 
  color: #ffffff; 
  text-decoration: none; 
  font-size: 15px; 
  font-weight: 800; 
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
  display: block;
}

.nav-links a:hover {
  opacity: 0.6;
}

.menu-divider { 
  height: 1px; 
  background-color: rgba(255, 255, 255, 0.15); 
  margin-bottom: 18px; 
}

.menu-footer .section-title { 
  display: block;
  font-size: 10px; 
  color: #777777; 
  font-weight: 700;
  letter-spacing: 1.5px; 
  margin-bottom: 10px; 
}

.menu-footer a { 
  display: block; 
  color: #cccccc; 
  text-decoration: none; 
  font-size: 12px; 
  margin-bottom: 8px; 
  transition: color 0.2s ease;
}

.menu-footer a:hover {
  color: #ffffff;
}

.menu-footer .location-time { 
  font-size: 11px; 
  color: #555555; 
  margin-top: 12px; 
  font-weight: 600;
}



/* SECTION 1: HERO */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  overflow: hidden;
  perspective: 1200px;
  background-color: #ffffff;
}

.header-wrap {
  margin-top: 1.5rem;
  text-align: center;
  z-index: 10;
  will-change: transform, opacity;
}

.hero-title {
  font-family: "Public Sans", sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 9rem);
  line-height: 0.9;
  margin: 0;
  color: #111111;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.hero-subtitle {
  font-family: "DM Mono", monospace;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.5vw, 1.25rem);
  letter-spacing: 0.25em;
  color: #666666;
  text-transform: uppercase;
  margin-top: 0.75rem;
}

/* Metadata Layout (Split Left & Right) */
.hero-meta {
  position: absolute;
  bottom: 3rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 4rem;
  z-index: 20;
}

.meta-left,
.meta-right {
  max-width: 380px;
  will-change: transform;
}

.meta-left p,
.meta-right p {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #111111;
  margin: 0;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  pointer-events: auto;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #111111;
  color: #ffffff;
  border: 1px solid #111111;
}

.btn-primary:hover {
  background-color: #333333;
}

.btn-secondary {
  background-color: transparent;
  color: #111111;
  border: 1px solid #111111;
}

.btn-secondary:hover {
  background-color: #111111;
  color: #ffffff;
}

/* 3D Flipper Layer & Animated Cards Container */
.flipper-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform-style: preserve-3d;
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.cards-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  height: 280px;
  transform-style: preserve-3d;
}

.card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
  opacity: 0; /* Prevents visual flash before GSAP initial positions render */
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card Layer Depth Stacking */
.card-2 { z-index: 1; }
.card-3 { z-index: 2; }
.card-1 { z-index: 3; }
.card-4 { z-index: 4; }
.card-5 { z-index: 5; }
.card-6 { z-index: 6; }

/* ==========================================================================
    Section 2 : TRUSTED BY / CLIENT LOGOS SECTION
   ========================================================================== */
.trusted-by-section {
    width: 100%;
    padding: 80px 40px;
    background-color: #0c0d10;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trusted-by-section .section-label {
    font-family: "Public Sans", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 40px;
    text-align: center;
}

.logo-grid {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-grid img {
    height: 38px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(1) invert(0); /* Converts dark logos to crisp white */
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.logo-grid img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* SECTION 2: COMBINED ABOUT & DARK STUDIO */
.about-studio-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  color: #111111;
  overflow: hidden;
  z-index: 10;
}

.about-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.about-title-large {
  font-size: 18vw;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-align: center;
  line-height: 1;
  transition: color 0.3s ease;
  will-change: transform, color;
}

/* Sliding White Panel */
.about-white-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  color: #000000;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
  box-sizing: border-box;
}

.panel-header {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.arrow-icon {
  display: inline-block;
  font-size: 1.2rem;
  animation: bounceUpDown 1.5s infinite ease-in-out;
}

@keyframes bounceUpDown {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(6px); }
}

.cards-layout-grid {
  position: relative;
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.plus-icon-container {
  position: absolute;
  left: 43%;
  right: 57%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}

.plus-icon {
  font-size: 18vw;
  font-weight: 700;
  animation: rotateCross 8s linear infinite;
  will-change: transform;
}

@keyframes rotateCross {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.panel-card {
  width: 420px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.panel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-card.card-left-expand {
  z-index: 100 !important;
  will-change: transform, width, height, border-radius, top, left;
}

.panel-card.card-right {
  margin-left: auto;
  z-index: 10;
}

/* BLUR OVERLAY LAYER */
.image-blur-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  background-color: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  will-change: opacity;
}

/* FIT-TO-VIEWPORT DARK STUDIO OVERLAY */
.client-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  padding: 3rem 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  background: transparent;
  z-index: 90;
  pointer-events: none;
  box-sizing: border-box;
}

.client-wrap.active {
  pointer-events: auto;
}

.client-content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.client-content-top-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.client-content-top-left-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 65%;
}

.idle-tagline-about .text-s {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.text-l {
  font-size: 3.8vw;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.text-white {
  color: #ffffff;
}

.client-content-img-wrap {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  margin-top: 1rem;
}

/* Ensure video elements fit cleanly in image wrappers */
.client-image-wrap {
    position: relative;
    width: 180px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #000000; /* Dark background before video renders */
}

.client-image-wrap.right {
    width: 400px;
    height: 250px;
}

.client-image-wrap.left {
  width: 400px;
  height: 250px;
}

.outer-wrapp-img, 
.inner-wrapp-img {
    width: 100%;
    height: 100%;
}

/* Updated Video Display Logic */
.client-image,
.client-image-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

.client-content-smalltext {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.focus-about-title .text-s {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.client-content-smalltext-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.client-content-smalltext-group .text-s {
  font-size: 1.05rem;
  font-weight: 700;
  opacity: 1;
}

/* INFINITE MARQUEE STYLING */
.client-marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: auto;
  display: flex;
  user-select: none;
}

.client-marquee {
  display: flex;
  width: max-content;
  will-change: transform;
}

.client-marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
  flex-shrink: 0;
  animation: marqueeTrackScroll 30s linear infinite;
  will-change: transform;
}

.client-marquee:hover .client-marquee-track {
  animation-play-state: paused;
}

.marquee-logo-wrap {
  width: 110px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-logo .logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1) invert(0);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.marquee-logo-wrap:hover .logo {
  opacity: 1;
}

@keyframes marqueeTrackScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ANIMATION REVEAL INITIAL STATES */
.reveal-studio,
.reveal-marquee {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}


/* ==========================================================================
   SECTION: OUR TEAM (WHITE THEME - #ffffff)
   ========================================================================== */
.team-section {
    background-color: #ffffff;
    color: #111111;
    padding: 100px 5vw;
    position: relative;
    z-index: 2;
}

.team-header {
    margin-bottom: 60px;
}

.team-header .section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #555555;
    display: block;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.team-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    margin: 0;
    color: #111111;
}

.team-sub-tittle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #555555;
    display: block;
    margin-bottom: 16px;
}


/* Team Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-img-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-color: #f4f4f4; /* Subtle fallback background while image loads */
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05); /* Interactive Zoom */
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
    color: #111111;
}

.team-role {
    font-size: 13px;
    font-weight: 600;
    color: #666666;
}

/* Scroll Animation Reveal States */
.reveal-team {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.team-section.is-in-view .reveal-team {
    opacity: 1;
    transform: translateY(0);
}

.team-section.is-in-view .reveal-team:nth-child(1) { transition-delay: 0.1s; }
.team-section.is-in-view .reveal-team:nth-child(2) { transition-delay: 0.25s; }
.team-section.is-in-view .reveal-team:nth-child(3) { transition-delay: 0.4s; }
/* ==========================================================================
   SECTION 4: SERVICES (THE EXPERTISE)
   ========================================================================== */
.expertise-section {
  padding: 0 40px 120px;
  background-color: #ebebeb;
  position: relative;
}

.expertise-layout {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.expertise-col-top {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 40px 0 20px 0;
  background-color: #ebebeb; /* Prevents text overlap on scroll */
}

.expertise-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
}

.expertise-col-left {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
  padding-top: 5vh;
  padding-bottom: 25vh;
}

/* IMAGE CARD STYLES */
.exp-card {
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  transform: scale(0.88);
  opacity: 0.35;
  filter: blur(4px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

.exp-card.is-active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0px);
}

.exp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expertise-col-right {
  width: 35%;
  position: sticky;
  top: 140px;
  height: fit-content;
  z-index: 10;
}

.expertise-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.expertise-nav li {
  position: relative;
  display: flex;
  gap: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #a0a0a0;
  padding-bottom: 12px;
  transition: color 0.4s ease;
  cursor: pointer;
  user-select: none;
}

.expertise-nav li::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #d0d0d0;
}

.expertise-nav li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-nav li.active {
  color: #000000;
}

.expertise-nav li.active::after {
  transform: scaleX(1);
}




/* ================================================
   SECTION 4: WORKS SECTION (ALIGNMENT & STICKY FIX)
=================================================== */
.works-section {
      padding: 120px 40px;
      background-color: #ebebeb;
      position: relative;
    }

    .works-header-large {
      text-align: center;
      margin-bottom: 80px;
    }

    .works-header-large h1 {
      font-size: 12vw;
      font-weight: 900;
      letter-spacing: -0.04em;
    }

    .works-header-large h1 sup {
        font-size: 8vw;
        font-weight: 500;
        letter-spacing: -0.01em;
    }

    .works-layout {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      max-width: 1300px;
      margin: 0 auto;
    }

    .works-col-left {
      width: 20%;
      position: sticky;
      top: 140px;
      height: fit-content;
    }

    .year-label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      color: #333;
    }

    .works-col-center {
      width: 60%;
      display: flex;
      flex-direction: column;
      gap: 60px;
      perspective: 1200px;
      perspective-origin: 50% 50%;
      padding-bottom: 25vh;
      padding-right: 50px;
    }

    /* REDUCED IMAGE CARD HEIGHT (380px) & BLUR EFFECT FOR PREV/NEXT */
    .work-card {
      height: 380px;
      border-radius: 16px;
      overflow: hidden;
      display: block;
      text-decoration: none;
      
      /* Inactive State: Y-Axis Tilt + Gaussian Blur Filter */
      transform: rotateY(-22deg) scale(0.85) translateY(10px);
      opacity: 0.4;
      filter: blur(6px); /* Blurs peeking images above and below */
      
      transform-style: preserve-3d;
      transform-origin: center center;
      transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                  opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                  filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform, opacity, filter;
    }

    /* ACTIVE CARD: SHARP, CLEAR, UNTILTED */
    .work-card.is-active {
      transform: rotateY(0deg) scale(1) translateY(0px);
      opacity: 1;
      filter: blur(0px); /* Removes blur when centered */
    }

.work-card video {
  width: 100%;
  height: 100%;
  object-fit:inherit;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover video {
  transform: scale(1.08);
}

    .works-col-right {
      width: 20%;
      position: sticky;
      top: 140px;
      height: fit-content;
    }

    .client-nav {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .client-nav li {
      position: relative;
      padding-bottom: 8px;
    }

.client-nav li span {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #999;
  transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.client-nav li.active span {
  color: #000;
  transform: translateX(-12px);
}

    .client-nav li::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background-color: #d0d0d0;
    }

    .client-nav li::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #000;
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }


    .client-nav li.active::after {
      transform: scaleX(1);
    }


/* ==========================================================================
   SECTION 6 & 7: HIGH-END AGENCY CASE STUDIES & RESULTS
   ========================================================================== */

.case-studies-section,
.agency-results-section {
    position: relative;
    width: 100%;
    padding: 140px 60px;
    background-color: #08090a;
    color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

/* Subtle background lighting effect */
.case-studies-section::before,
.agency-results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.section-header {
    margin-bottom: 70px;
}

.section-header h2,
.agency-results-section h2 {
    font-size: clamp(1.3rem, 4.0vw, 3.0rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    background: linear-gradient(180deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666666;
    font-weight: 600;
}

/* --- Glassmorphic Case Grid --- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
}

.case-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    background: rgba(255, 255, 255, 0.04);
}

.case-client {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dot indicator beside client name */
.case-client::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}

.case-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 30px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.case-metrics {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.case-metrics li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0a0a0;
}

.case-metrics li strong {
    color: #ffffff;
    font-weight: 700;
}

/* --- High-Impact Agency Results Grid --- */
.agency-results-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.agency-results-section h2 {
    max-width: 950px;
    margin: 0 auto 80px auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.stat-item:hover {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.25);
}

.stat-number {
    font-size: clamp(3.8rem, 6.5vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #777777;
}


/* SECTION 8: WHY CHOOSE US */
.why-choose-us {
    background-color: transparent;
    padding: 100px 5vw 80px;
    color: #111111;
}

.why-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 70px;
}

.section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111111;
    display: block;
    margin-bottom: 30px;
}

.why-title {
    font-size: clamp(3rem, 6.5vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin: 0;
}


/* Why Choose Us Grid Layout */
.why-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.why-card {
    height: 420px;
    width: 100%;
    overflow: hidden; /* Clips rounded corners for video elements */
    border-radius: 16px;
}

.why-img-1,
.why-img-2 {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    background-color: #0c0d10; /* Fallback background while video loads */
}

.why-img-1 {
    height: 100%;
}

.why-img-2 {
    height: 75%;
    margin-top: 100px;
}

/* Feature List Agency Hierarchy */
.why-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.why-features li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.15);
    padding-bottom: 12px;
}

.why-features li strong {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #111111;
    text-transform: uppercase;
}

.why-features li p {
    font-size: 13px;
    font-weight: 500;
    color: #555555;
    line-height: 1.4;
    margin: 0;
}

/* Why Choose Us Reveal Animation */
.why-header, .reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.reveal-section.is-in-view .why-header,
.reveal-section.is-in-view .reveal-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal-section.is-in-view .reveal-card:nth-child(1) { transition-delay: 0.1s; }
.reveal-section.is-in-view .reveal-card:nth-child(2) { transition-delay: 0.25s; }
.reveal-section.is-in-view .reveal-card:nth-child(3) { transition-delay: 0.4s; }



/* Section 6 : Testimonial */
.testimonials-section {
    background-color: transparent;
    padding: 60px 5vw 160px;
    color: #111111;
    position: relative;
}

.testimonial-stack-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40vh; /* Spacing so you scroll through each quote naturally */
}

/* 
   Each card sticks at an increasing top offset.
   Higher z-index allows new cards to slide OVER previous card bodies.
*/
.testimonial-card {
    position: sticky;
    top: calc(10px + (var(--i) * 52px)); /* Stacks headers: 10px, 62px, 114px, 166px */
    z-index: calc(1 + var(--i));
    background-color: #ffffff; /* Solid background hides card content underneath */
    border-top: 1px solid #111111;
    padding-top: 20px;
    padding-bottom: 60px;
}

.t-author {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    height: 32px; /* Fixed height for clean stacked alignment */
}

.t-author h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.t-role {
    font-size: 11px;
    font-weight: 700;
    color: #111111;
    letter-spacing: 1px;
}

.t-body {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.t-quote p {
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    font-weight: 600;
    line-height: 1.4;
    color: #111111;
    max-width: 650px;
    margin: 0;
}

.t-image img {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    object-fit: cover;
    justify-self: end;
}

/* ==========================================================================
   SECTION 10: OUR PROCESS
   ========================================================================== */
.process-section {
    padding: 100px 60px;
    background-color: #0c0d10;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.process-section h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-steps li {
    font-size: 1.15rem;
    line-height: 1.6;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #d1d1d1;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.process-steps li:hover {
    padding-left: 12px;
    color: #ffffff;
}

.process-steps li strong {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

/* ==========================================================================
   SECTION 11: 50/50  OUTCOME CTA & MARQUEE
   ========================================================================== */

.contact-section {
    background-color: #ffffff; /* Main light background */
    padding: 60px 5%;
    position: relative;
    z-index: 2;
    color: #0c0d10;            /* Dark primary text */
}

.contact-top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #4a4d52;
}

/* Flex Container for 50/50 Layout */
.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.contact-left, 
.contact-right {
    flex: 1;
    width: 50%;
}

/* --- Left Side: Marquee & Logo Card --- */
.contact-hero {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: inline-block;
    animation: contactMarquee 35s linear infinite;
}

.marquee-content span {
    font-size: 5vw;
    font-weight: 900;
    color: rgba(12, 13, 16, 0.08); /* Soft dark marquee text */
    letter-spacing: -1px;
}

@keyframes contactMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cta-center-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 3;
}

.cta-logo-wrapper {
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta-btn {
    background: #0c0d10; /* Solid dark button */
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    background-color: #22252c;
}

/* --- Right Side: Form (Light Variant) --- */
.contact-form-card {
    background-color: #f8f9fa; /* Light grey card background */
    border: 1px solid rgba(12, 13, 16, 0.08);
    border-radius: 16px;
    padding: 40px;
}

.contact-form-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: #0c0d10;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #0c0d10;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid rgba(12, 13, 16, 0.15);
    border-radius: 8px;
    padding: 14px 16px;
    color: #0c0d10;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffc107;
}

.submit-btn {
    background-color: #ffc107;
    color: #0c0d10;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}




/* ==========================================================================
   SECTION 11.5: MAP SECTION STYLING
   ========================================================================== */
.map-section {
  padding: 80px 60px;
  background-color: #ffffff;
  color: #0c0d10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.map-header {
  margin-bottom: 30px;
}

.map-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.map-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  filter: invert(90%) hue-rotate(180deg) contrast(1.1); /* Creates a dark theme match for Google Maps */
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
}

/* ==========================================================================
   SECTION 12: Fixed Slide-Up Reveal Footer
   ========================================================================== */
.site-footer {
    position: relative; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    max-height: 100vh; /* Enforces strict viewport height */
    background-color: #0c0d10; 
    color: #ffffff; 
    z-index: 1;
    padding: 24px 40px; /* Reduced vertical padding */
    overflow: hidden; /* Prevents scrollbars from appearing */
}

.footer-container { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; /* Spreads top header, middle links, and bottom bar evenly */
    height: 100%; 
    width: 100%;
}

/* --- Middle Split Elements --- */
.f-middle-left, 
.f-middle-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none; /* Allows mouse clicks to pass through to underlying elements */
}

.f-middle-left { left: 40px; }
.f-middle-right { right: 40px; }

.f-split-text {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

/* Initial State: Offset toward screen center */
.left-split {
    transform: translateX(calc(50vw - 80px));
}

.right-split {
    transform: translateX(calc(-50vw + 80px));
}

/* Phase 1: Animate outwards to original positions */
.site-footer.animated .left-split,
.site-footer.animated .right-split {
    transform: translateX(0);
    opacity: 1;
}



/* --- Main Footer Content --- */


/* Fallback: Ensures visibility even if .animated JS class hasn't triggered yet */
.footer-center, 
.footer-bottom {
    opacity: 1; 
    transform: translateY(0);
    transition: opacity 0.8s ease 0.4s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

/* Phase 2: Fade and slide in content */
.site-footer.animated .footer-center,
.site-footer.animated .footer-bottom {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer Brand & Vertical Nav --- */
.footer-center { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    gap: 20px; /* Reduced gap from 30px to 20px */
    margin-top: auto;   /* Automatically balances vertical space */
    margin-bottom: auto;/* Automatically balances vertical space */
    height: auto;       /* CHANGED FROM 85% TO auto TO PREVENT OVERFLOW */
}

.footer-brand { 
    font-size: 13vw; 
    font-weight: 900; 
    letter-spacing: -4px; 
    line-height: 0.85; 
    user-select: none;
    margin: 0;
}

.footer-vertical-nav { 
    display: flex; 
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0; 
    margin: 0;
    list-style: none; /* Removes default list bullets */
}

.footer-vertical-nav li {
    list-style: none;
}

/* Link Hover Text Slide-Up Effect */
.hover-slide {
    position: relative;
    display: block;
    height: 30px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hover-slide span {
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-slide span:nth-child(2) {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

.hover-slide:hover span {
    transform: translateY(-100%);
}

/* --- Footer Bottom & SVG Social Icons --- */
.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    position: relative;
    padding-top: 20px;
    padding-bottom: 30px;
    font-size: 12px; 
    color: #a1a1a1; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0; /* Prevents footer bottom from shrinking when screen height is small */
}

.f-sub-links { 
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Centers precisely beneath the main navigation */
    display: flex; 
    align-items: center;
    gap: 24px;
}

.footer-link {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.footer-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    transition: stroke 0.25s ease;
}

.footer-link:hover {
    opacity: 1;
    color: #a1a1a1;
    transform: translateY(-3px); /* Subtle elevation on hover */
}

.f-sub-left,
.f-sub-right {
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* ======================================================================
   VIDEO FILL SAFETY 
   ====================================================================== */
.client-image-wrap video,
.why-card video,
.work-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======================================================================
   RESPONSIVE — SHUTTER FACTORY PAGE (Nav, Hero, About/Studio, Expertise, Works,
   Why Choose Us, Testimonials, CTA, Footer, Popup, Trusted By, Our Team,
   Case Studies, From Idea To Impact, Map Section)
   ====================================================================== */

/* ================= LAPTOP (max-width: 1440px) ================= */
@media (max-width: 1440px) {
  /* --- existing sections --- */
  .navbar { padding: 14px 32px; gap: 15%; }
  .brand-title { font-size: 17vw; line-height: 12.5vw; }
  .about-title-large { font-size: 16vw; }
  .panel-card { width: 360px; height: 420px; }
  .text-l { font-size: 3.4vw; }
  .expertise-section { padding: 0 32px 100px; }
  .exp-card { height: 340px; }
  .expertise-nav li { font-size: 16px; }
  .works-section { padding: 100px 32px; }
  .work-card { height: 320px; }
  .why-choose-us { padding: 90px 5vw 70px; }
  .why-card { height: 360px; }
  .t-quote p { font-size: clamp(1rem, 1.6vw, 1.4rem); }

  /* --- Section 11: Contact Section (Laptop) --- */
  .contact-section { padding: 80px 48px 140px; }
  .contact-top { margin-bottom: 70px; font-size: 13px; }
  .contact-body-grid { gap: 32px; }
  .marquee-content span { font-size: 10vw; }
  .cta-logo-wrapper { width: 190px; height: 190px; }
  .cta-btn { padding: 12px 28px; font-size: 14px; }

  /* --- footer --- */
  .footer-brand { font-size: 12vw; }
  .footer-vertical-nav { font-size: 2.6vw; line-height: 2.6vw; }

  /* --- new sections --- */
  .trusted-by-section { padding: 60px 32px; }
  .trusted-by-section .section-label { margin-bottom: 32px; }
  .logo-grid { gap: 32px; }
  .logo-grid img { height: 34px; }

  .team-section { padding: 80px 4vw; }
  .team-header { margin-bottom: 48px; }
  .team-grid { gap: 24px; }
  .team-img-wrapper { height: 220px; }

  .case-studies-section { padding: 110px 40px; }
  .case-studies-section .section-header { margin-bottom: 56px; }
  .case-grid { gap: 28px; }
  .case-card { padding: 38px 28px; }

  .process-section { padding: 80px 40px; }
  .process-section h2 { font-size: 2.5rem; margin-bottom: 32px; }
  .process-steps li { font-size: 1.05rem; padding: 20px 0; }

  /* --- map section --- */
  .map-section { padding: 70px 32px; }
  .map-container iframe { height: 420px; }
}

/* ================= TABLET (max-width: 1024px) ================= */
@media (max-width: 1024px) {
  /* --- existing sections --- */
  .navbar { padding: 12px 24px; gap: 10%; }
  .logo-img { height: 17px; }

  .hero-section { padding: 2.4rem 0; }
  .brand-title { font-size: 16vw; line-height: 12vw; }
  .cards-container { width: 170px; height: 230px; }
  .meta-text { font-size: 0.68rem; }
  .meta-container { gap: 1.4rem; bottom: 2.2rem; }

  .about-title-large { font-size: 15vw; }
  .about-white-panel { padding: 2.4rem 1.6rem; }
  .panel-header { font-size: 0.8rem; margin-bottom: 1.5rem; }
  .panel-card { width: 280px; height: 340px; }
  .plus-icon { font-size: 15vw; }
  .client-wrap { padding: 2.4rem 2.4rem 1.6rem; }
  .text-l { font-size: 4.4vw; }
  .idle-tagline-about .text-s { font-size: 0.68rem; }
  .client-image-wrap { width: 140px; height: 175px; }
  .client-image-wrap.right { width: 155px; height: 195px; }
  .client-content-smalltext-group .text-s { font-size: 0.92rem; }
  .marquee-logo-wrap { width: 34px; height: 34px; }

  .expertise-section { padding: 0 24px 90px; }
  .expertise-col-top { font-size: 11px; padding: 30px 0 16px; }
  .exp-card { height: 300px; border-radius: 14px; }
  .expertise-col-left { gap: 22px; padding-top: 8vh; padding-bottom: 16vh; }
  .expertise-col-right { top: 110px; }
  .expertise-nav li { font-size: 15px; }

  .works-section { padding: 90px 24px; }
  .works-header-large { margin-bottom: 60px; }
  .works-header-large h1 { font-size: 11vw; }
  .works-header-large h1 sup { font-size: 7vw; }
  .work-card { height: 280px; }
  .works-col-left, .works-col-right { top: 110px; }
  .year-label { font-size: 11px; }
  .client-nav li a { font-size: 14px; }

  .why-choose-us { padding: 70px 5vw 60px; }
  .why-header { margin-bottom: 50px; }
  .why-grid { gap: 30px; }
  .why-card { height: 300px; }
  .why-img-2 { margin-top: 60px; }

  .testimonials-section { padding: 50px 5vw 120px; }
  .testimonial-stack-container { gap: 30vh; }
  .t-body { gap: 26px; }
  .t-quote p { font-size: clamp(0.95rem, 1.8vw, 1.25rem); }
  .t-image img { max-width: 210px; }

  /* --- Section 11: Contact Section (Tablet) --- */
  .contact-section { padding: 60px 32px 120px; }
  .contact-top { margin-bottom: 50px; font-size: 12px; }
  .contact-body-grid { gap: 24px; }
  .contact-hero { padding: 40px 0; }
  .marquee-content span { font-size: 9.5vw; }
  .cta-center-card { padding: 28px 24px; }
  .cta-logo-wrapper { width: 160px; height: 160px; padding: 16px; }
  .cta-btn { padding: 11px 24px; font-size: 13px; }

  /* --- footer --- */
  .site-footer { padding: 50px 30px 24px; }
  .footer-brand { font-size: 11vw; }
  .footer-vertical-nav { font-size: 2.2vw; line-height: 2.2vw; }
  .f-middle-left { left: 24px; }
  .f-middle-right { right: 24px; }
  .f-split-text { font-size: 12px; }

  .bottom-popup-banner { max-width: 320px; padding: 16px 18px 15px; }
  .widget-btn img { width: 38px; height: 38px; padding: 9px; }

  /* --- new sections --- */
  .trusted-by-section { padding: 50px 24px; }
  .trusted-by-section .section-label { font-size: 10px; margin-bottom: 26px; }
  .logo-grid { gap: 24px 32px; }
  .logo-grid img { height: 28px; }

  .team-section { padding: 70px 24px; }
  .team-header { margin-bottom: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .team-img-wrapper { height: 240px; }
  .team-name { font-size: 16px; }
  .team-role { font-size: 12px; }

  .case-studies-section { padding: 90px 24px; }
  .case-studies-section .section-header { margin-bottom: 44px; }
  .case-studies-section .section-header h2 { font-size: clamp(2.2rem, 6vw, 3rem); }
  .case-studies-section .section-header p { font-size: 0.95rem; }
  .case-grid { grid-template-columns: 1fr; gap: 22px; }
  .case-card { padding: 32px 24px; }
  .case-card h3 { font-size: 1.5rem; margin-bottom: 22px; }

  .process-section { padding: 64px 24px; }
  .process-section h2 { font-size: 2rem; margin-bottom: 26px; }
  .process-steps li { font-size: 0.98rem; padding: 18px 0; }

  /* --- map section --- */
  .map-section { padding: 60px 24px; }
  .map-header { margin-bottom: 24px; }
  .map-header h2 { font-size: 2.5rem; }
  .map-container iframe { height: 360px; }
}

/* ================= MOBILE (max-width: 768px) ================= */
@media (max-width: 768px) {
  html, body { 
    max-width: 100%; 
    overflow-x: clip; 
  }

  /* --- 1. Navbar --- */
  .navbar { 
    justify-content: space-between; 
    gap: 0; 
    padding: 14px 18px; 
  }
  .logo-img { height: 16px; }
  .dropdown-menu { width: 220px; padding: 22px 20px; }

  /* --- 2. Hero --- */
  .hero-section { 
    padding: 1.8rem 0; 
    overflow-x: hidden !important; 
    position: relative;
  }
  
  .brand-title { 
    font-size: 15vw; 
    line-height: 12vw; 
    letter-spacing: -0.4vw; 
  }
  
  .cards-container { 
    width: 150px; 
    height: 200px; 
    margin: 0 auto;
  }

  .card-1, .card-2, .card-3, .card-4, .card-5 { 
    display: none !important; 
  }

  .card-6 {
    display: block !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
  
  .meta-container { 
    position: relative;
    bottom: auto;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.2rem !important; 
    padding: 1.5rem 1.2rem 0 !important;
    box-sizing: border-box !important;
  }

  .meta-left {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    will-change: transform;
  }

  .meta-right {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    will-change: transform;
  }

  .meta-text { 
    font-size: 0.75rem; 
    line-height: 1.4;
    text-align: center !important; 
    max-width: 280px;
    margin: 0 auto;
  }

  /* --- 3. About/Studio section --- */
  .about-title-large { font-size: 17vw; }
  .about-white-panel { 
    padding: 2rem 0; 
    overflow: visible !important;
    display: flex;
    flex-direction: column;
  }
  .panel-header { 
    flex-wrap: wrap; 
    gap: 6px; 
    font-size: 0.72rem; 
    margin-bottom: 0.8rem; 
    padding: 0 1.2rem;
    order: 1;
  }

  .plus-icon-container { 
    order: 2; 
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 40px; 
    margin: 0.6rem 0 1.2rem; 
    padding: 0;
    overflow: visible !important;
  }
  
  .plus-icon { 
    font-size: 8vw !important; 
    line-height: 1 !important;
    display: inline-block;
  }

  .cards-layout-grid { 
    display: flex !important;
    flex-direction: column !important; 
    gap: 1.2rem !important; 
    width: 100% !important;
    order: 3;
  }

  .cards-layout-grid .panel-card,
  .panel-card:nth-child(1),
  .panel-card:nth-child(2) { 
    width: 100vw !important; 
    max-width: 100vw !important; 
    height: 320px; 
    min-height: 320px;
    margin: 0 !important; 
    border-radius: 0;
    box-sizing: border-box !important;
  }

  .panel-card:nth-child(1) { order: 1; }
  .panel-card:nth-child(2) { order: 2; }

  .panel-card video,
  .panel-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
  }

  .panel-card:nth-child(n+3) {
    order: 3;
    width: calc(100% - 2.4rem);
    max-width: 320px;
    margin: 0 auto;
    height: 320px;
  }

  .client-wrap { padding: 1.6rem 1.2rem 1.2rem; }
  .client-content-top-wrap { flex-direction: column; gap: 1.4rem; align-items: flex-start; }
  .client-content-top-left-wrap { max-width: 100%; gap: 0.3rem; }
  .text-l { font-size: 8vw; }
  .client-content-right-wrap { width: 100%; margin-top: 1rem; }
  .client-content-img-wrap { flex-wrap: wrap; gap: 1rem; margin-top: 0.6rem; }
  
  .client-image-wrap,
  .client-image-wrap.left,
  .client-image-wrap.right { 
    width: 100% !important; 
    max-width: 280px !important; 
    height: 180px !important; 
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .outer-wrapp-img-client,
  .inner-wrapp-img-client,
  video.client-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px !important;
  }

  .client-content-smalltext { gap: 0.4rem; }
  .client-marquee-wrap { padding-top: 0.8rem; }
  .marquee-logo-wrap { width: 30px; height: 30px; }
  .client-marquee-track { gap: 1.8rem; padding-right: 1.8rem; }

  /* --- 4. Expertise --- */
  .expertise-section { padding: 0 18px 60px; }
  .expertise-col-top { flex-wrap: wrap; gap: 6px; font-size: 10px; padding: 22px 0 14px; }
  .expertise-col-left,
  .expertise-col-right,
  .sticky-list-wrapper,
  .expertise-nav {
    display: contents;
  }
  .expertise-main { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 14px; 
    margin-top: 12px; 
  }
  .exp-card { height: 220px; border-radius: 12px; }
  .exp-card:nth-of-type(1) { order: 1; }
  .expertise-nav li:nth-child(1) { order: 2; }
  .exp-card:nth-of-type(2) { order: 3; }
  .expertise-nav li:nth-child(2) { order: 4; }
  .exp-card:nth-of-type(3) { order: 5; }
  .expertise-nav li:nth-child(3) { order: 6; }
  .exp-card:nth-of-type(4) { order: 7; }
  .expertise-nav li:nth-child(4) { order: 8; }
  .exp-card:nth-of-type(5) { order: 9; }
  .expertise-nav li:nth-child(5) { order: 10; }
  .expertise-nav li { font-size: 18px; padding-bottom: 6px; gap: 10px; }

  /* --- 5. Works --- */
  .works-section { padding: 60px 16px 50px; }
  .works-header-large { margin-bottom: 30px; }
  .works-header-large h1 { font-size: 15vw; }
  .works-header-large h1 sup { font-size: 8vw; }
  .works-layout { flex-direction: column; }
  .works-col-left { display: none; }
  .year-label { display: none; }
  .works-col-center { width: 100%; gap: 26px; padding-bottom: 6vh; }
  .work-card { height: 240px; border-radius: 12px; }
  .works-col-right { display: none; }
  .client-nav { flex-direction: row; gap: 0; }
  .client-nav li { display: none; padding-bottom: 0; }
  .client-nav li.active { display: block; }
  .client-nav li a { font-size: 12px; }
  .client-nav li.active a { transform: none; }

  /* --- 6. Why Choose Us --- */
  .why-choose-us { padding: 50px 6vw 50px; }
  .why-header { flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .why-title { font-size: clamp(2rem, 10vw, 3rem); letter-spacing: -1px; }
  .why-arrow-box { align-self: flex-start; padding: 10px; }
  .why-arrow-box img { width: 24px; height: 24px; }
  .why-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "img1 img2" "features features";
    gap: 14px;
  }
  .why-card:nth-child(1) { grid-area: img1; }
  .why-card:nth-child(2) { grid-area: img2; }
  .why-features { grid-area: features; margin-top: 6px; }
  .why-card { height: 170px; }
  .why-img-2 { margin-top: 0; height: 100%; }
  .why-features li { font-size: 10px; }

  /* --- 7. Testimonials --- */
  .testimonials-section { 
    padding: 36px 0 90px;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
  }

  .testimonial-stack-container { 
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25vh;
  }

  .testimonial-card { 
    position: sticky !important;
    top: calc(10px + (var(--i) * 40px)); 
    z-index: calc(1 + var(--i));
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 24px 6vw 40px;
    background-color: #ffffff;
    border-top: 1px solid #111111;
    box-sizing: border-box !important;
    will-change: transform;
  }

  .t-author { 
    margin-bottom: 18px; 
    height: 32px; 
  }

  .t-author h3 { 
    font-size: 15px; 
  }

  .t-body { 
    display: grid !important;
    grid-template-columns: 1fr !important; 
    gap: 16px; 
  }

  .t-quote p { 
    font-size: 1rem; 
    max-width: 100%; 
  }

  .t-image img { 
    max-width: 140px; 
    justify-self: start; 
    height: auto;
  }

/* --- 8. Section 11: Contact Section (Mobile: Top -> Left -> Form Card) --- */
  .contact-section,
  .contact-container { 
    padding: 50px 18px 90px;
    display: flex !important;
    flex-direction: column !important;
  }

  /* 1st: Top Header/Meta Info */
  .contact-top { 
    order: 3 !important;
    display: flex;
    align-self: center;
    justify-content: space-between;
    gap: 8px; 
    margin-bottom: 24px; 
    font-size: 11px; 
    width: 100%;
  }

  /* 2nd: Left Side Content (Text/Marquee/Info) */
  .contact-left,
  .contact-hero { 
    order: 2 !important;
    padding: 20px 0; 
    width: 100% !important;
  }

  /* 3rd: Form Card */
  .contact-form-card,
  .cta-center-card { 
    order: 1 !important;
    padding: 24px 20px; 
    gap: 7px; 
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Un-grid any internal containers so flex order functions properly */
  .contact-body-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 24px;
    order: 2; /* Keeps internal wrappers aligned in natural sequence */
  }

  /* --- 9 / 12. Footer --- */
  .site-footer,
  #siteFooter { 
    height: auto !important; 
    min-height: auto !important; 
    padding: 40px 18px 2rem !important; 
  }

  .footer-container {
    height: auto !important;
    min-height: auto !important;
    padding: 2rem 1rem 1.5rem !important;
  }

  .f-middle-left, 
  .f-middle-right { 
    display: none !important; 
  }

  .footer-center { 
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.2rem !important; 
    margin-top: 1.5rem !important; 
    margin-bottom: 1.5rem !important; 
  }

  .footer-brand { 
    font-size: 15vw !important; 
    letter-spacing: -2px !important; 
    text-align: center !important;
  }

  .footer-vertical-nav { 
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    font-size: 6vw !important; 
    line-height: 1.4 !important; 
    gap: 0.8rem !important; 
    padding: 0 !important;
  }

  .hover-slide { 
    height: auto !important; 
    font-size: 18px !important; 
  }

  .footer-bottom { 
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important; 
    justify-content: center !important;
    gap: 2.2rem !important; 
    text-align: center !important; 
    padding-top: 16px !important; 
    width: 100% !important;
    margin-top: 1rem !important;
  }

  .f-sub-links,
  .footer-sub-links { 
    order: 1 !important; 
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.2rem !important;
    width: 100% !important;
  }

  .f-sub-left { 
    order: 2 !important; 
  }

  .f-sub-right { 
    order: 3 !important; 
  }

  .footer-bottom a,
  .footer-bottom span,
  .footer-bottom p,
  .f-sub-left,
  .f-sub-right {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    white-space: normal !important;
    margin: 0 !important;
  }

  /* --- 10. Popup --- */
  .bottom-popup-banner { left: 12px; right: 12px; bottom: 12px; width: calc(100% - 24px); max-width: none; padding: 16px 16px 14px; }
  .popup-title { font-size: 12px; margin-bottom: 12px; padding-right: 16px; }
  .popup-buttons { flex-direction: column; gap: 8px; }
  .popup-btn { width: 100%; padding: 11px 12px; }

  .floating-right-widgets { bottom: 16px; right: 16px; gap: 10px; }
  .widget-btn img { width: 36px; height: 36px; padding: 8px; }

  /* --- 11. Trusted By / Our Team / Case Studies / From Idea To Impact --- */
  .trusted-by-section { padding: 40px 16px; }
  .trusted-by-section .section-label { font-size: 9px; letter-spacing: 2px; margin-bottom: 20px; }
  .logo-grid { gap: 18px 22px; }
  .logo-grid img { height: 22px; max-width: 110px; }

  .team-section { padding: 55px 18px; }
  .team-header { margin-bottom: 30px; }
  .team-header .section-tag { font-size: 10px; margin-bottom: 12px; }
  .team-title { font-size: clamp(1.8rem, 9vw, 2.6rem); letter-spacing: -1px; }
  .team-sub-tittle {
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    font-weight: 500;
    text-transform: none;
    color: #555555;
    margin-bottom: 0;
  }
  .team-grid { grid-template-columns: 1fr; gap: 26px; }
  .team-img-wrapper { height: 280px; border-radius: 12px; }
  .team-name { font-size: 16px; }
  .team-role { font-size: 12px; }

  .case-studies-section { padding: 55px 16px; }
  .case-studies-section .section-header { margin-bottom: 30px; }
  .case-studies-section .section-header h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); letter-spacing: -1px; }
  .case-studies-section .section-header p { font-size: 0.85rem; letter-spacing: 0.5px; }
  .case-grid { gap: 18px; }
  .case-card { padding: 26px 20px; border-radius: 12px; }
  .case-client { font-size: 0.7rem; margin-bottom: 14px; gap: 8px; }
  .case-card h3 { font-size: 1.25rem; margin-bottom: 20px; }
  .case-metrics { gap: 10px; padding-top: 18px; }
  .case-metrics li { font-size: 0.85rem; line-height: 1.5; }

  .process-section { padding: 45px 16px; }
  .process-section h2 { font-size: clamp(1.5rem, 8vw, 2rem); margin-bottom: 20px; }
  .process-steps li { font-size: 0.88rem; padding: 16px 0; line-height: 1.5; }

  /* --- map section --- */
  .map-section { padding: 50px 18px; }
  .map-header { margin-bottom: 20px; }
  .map-header h2 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .map-container { border-radius: 14px; }
  .map-container iframe { height: 320px; }
}

/* ================= SMALL MOBILE (max-width: 480px) ================= */
@media (max-width: 480px) {
  /* --- existing sections --- */
  .navbar { padding: 12px 14px; }
  .logo-img { height: 14px; }
  .menu-btn { font-size: 11px; padding: 10px; }
  .dropdown-menu { width: 190px; padding: 18px 16px; right: -8px; }

  .brand-title { font-size: 16vw; line-height: 13vw; }
  .cards-container { width: 120px; height: 160px; }
  .meta-text { font-size: 0.56rem; }

  .about-title-large { font-size: 18vw; }
  .about-white-panel { padding: 1.6rem 1rem; }
  .panel-card { height: 260px; }
  .plus-icon { font-size: 14vw; }
  .client-wrap { padding: 1.2rem 1rem 1rem; }
  .text-l { font-size: 8.5vw; }
  .client-image-wrap { width: 100px; height: 128px; }
  .client-image-wrap.right { width: 110px; height: 140px; }
  .client-content-smalltext-group .text-s { font-size: 0.82rem; }

  .expertise-col-top { font-size: 9px; }
  .exp-card { height: 180px; }
  .expertise-nav li { font-size: 15px; }

  .works-header-large h1 { font-size: 16vw; }
  .work-card { height: 190px; }
  .works-col-left, .works-col-right { display: none;}
  .year-label {display: none;}
  .client-nav li a { font-size: 11px; }

  .why-title { font-size: clamp(1.6rem, 11vw, 2.4rem); }
  .why-card { height: 130px; }
  .why-features li { font-size: 9px; }

  .t-quote p { font-size: 0.9rem; }
  .t-image img { max-width: 110px; }

  /* --- Section 11: Contact Section (Small Mobile) --- */
  .contact-section { padding: 40px 14px 70px; }
  .contact-top { margin-bottom: 24px; font-size: 10px; }
  .contact-body-grid { gap: 24px; }
  .contact-hero { padding: 20px 0; }
  .marquee-content span { font-size: 17vw; }
  .cta-center-card { padding: 20px 16px; gap: 12px; }
  .cta-logo-wrapper { width: 90px; height: 90px; padding: 10px; }
  .cta-btn { padding: 9px 18px; font-size: 11px; }

  /* --- footer --- */
  .footer-brand { font-size: 16vw; }
  .footer-vertical-nav { font-size: 7vw; line-height: 8vw; }
  .hover-slide { font-size: 15px; height: 22px; }
  .f-sub-links { gap: 8px; font-size: 11px; }

  .bottom-popup-banner { left: 8px; right: 8px; bottom: 8px; width: calc(100% - 16px); padding: 14px 14px 12px; }
  .popup-title { font-size: 11px; }
  .widget-btn img { width: 32px; height: 32px; padding: 7px; }

  /* --- new sections --- */
  .trusted-by-section { padding: 30px 14px; }
  .trusted-by-section .section-label { font-size: 8px; margin-bottom: 16px; }
  .logo-grid { gap: 14px 18px; }
  .logo-grid img { height: 18px; max-width: 88px; }

  .team-section { padding: 40px 14px; }
  .team-header { margin-bottom: 22px; }
  .team-title { font-size: clamp(1.5rem, 10vw, 2rem); }
  .team-sub-tittle { font-size: 0.78rem; }
  .team-grid { gap: 20px; }
  .team-img-wrapper { height: 220px; }
  .team-name { font-size: 14px; }
  .team-role { font-size: 11px; }

  .case-studies-section { padding: 40px 14px; }
  .case-studies-section .section-header { margin-bottom: 22px; }
  .case-studies-section .section-header h2 { font-size: clamp(1.4rem, 9vw, 1.8rem); }
  .case-studies-section .section-header p { font-size: 0.78rem; }
  .case-grid { gap: 14px; }
  .case-card { padding: 20px 16px; }
  .case-client { font-size: 0.62rem; }
  .case-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
  .case-metrics li { font-size: 0.78rem; }

  .process-section { padding: 32px 14px; }
  .process-section h2 { font-size: clamp(1.25rem, 10vw, 1.6rem); margin-bottom: 16px; }
  .process-steps li { font-size: 0.8rem; padding: 13px 0; }

  /* --- map section --- */
  .map-section { padding: 40px 14px; }
  .map-header { margin-bottom: 16px; }
  .map-header h2 { font-size: clamp(1.5rem, 9vw, 1.8rem); }
  .map-container { border-radius: 10px; }
  .map-container iframe { height: 260px; }
}