/* ============================================================
       1. CORE RESET & VARIABLES
       ============================================================ */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg-white: #ffffff;
      --bg-alt: #fbfaf8;
      --border-light: rgba(0, 0, 0, 0.08);
      --border-hover: rgba(0, 0, 0, 0.2);
      --text-dark: #121214;
      --text-muted: #64748b;
      --primary-red: #e62b4a;
      --primary-dark: #1f2226;
      --footer-bg: #0d0d0e;
      --footer-border: rgba(255, 255, 255, 0.08);
      --footer-text: #fcfaf8;
      
      --font-heading: 'Poppins', sans-serif;
      --font-body: 'Inter', sans-serif;
      --container-max: 1440px;
      --soft-ease: cubic-bezier(0.25, 1, 0.5, 1);
      /* Symmetrical slow-in, slow-out (ease-in-out) timing curve */
      --smooth-easeInOut: cubic-bezier(0.65, 0, 0.35, 1);
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-white);
      color: var(--text-dark);
      font-family: var(--font-body);
      -webkit-font-smoothing: antialiased;
    }

    body {
      overflow-x: hidden;
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: 92%;
      max-width: var(--container-max);
      margin: 0 auto;
    }

    /* Scroll Motion Animations */
    .reveal-on-scroll {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.8s var(--soft-ease), transform 0.8s var(--soft-ease);
      will-change: opacity, transform;
    }

    .reveal-on-scroll.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ============================================================
       3. BLOCK 1: STRICT 16:8 (2:1) VIDEO HERO ACROSS ALL SCREENS
       ============================================================ */
    .hero-video-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  height: auto;
  max-height: none;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5%;
  background-color: #ffffff;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
	padding-left: 4%;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 4.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-heading span.dot {
  color: var(--primary-red);
}

    /* ============================================================
       4. BLOCK 2: WHO WE ARE (SLOW AT START & END EASE-IN-OUT)
       ============================================================ */
    .who-section {
      background-color: var(--bg-white);
      padding: 100px 0 80px 0;
    }

    .who-grid {
      display: grid;
      grid-template-columns: 40% 60%;
      gap: 50px;
      align-items: center;
    }

    .who-label {
      font-family: var(--font-heading);
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--primary-dark);
      margin-bottom: 20px;
      display: block;
    }

    .who-title {
      font-family: var(--font-heading);
      font-size: clamp(2.3rem, 3.8vw, 3.5rem);
      font-weight: 700;
      line-height: 1.12;
      letter-spacing: -1.5px;
      color: var(--primary-dark);
      margin-bottom: 24px;
    }

    .who-title span.dot {
      color: var(--primary-red);
    }

    .who-desc {
      font-size: 1.02rem;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 35px;
      max-width: 480px;
    }

    .who-desc strong {
      color: var(--text-dark);
      font-weight: 600;
    }

    .sliding-images-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
      padding: 5px;
      width: 100%;
    }

    .panel-slider {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      height: 250px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      background: var(--bg-alt);
    }

    /* Normal Standard Floating Motion */
    .float-panel-1 { animation: floatNormal1 4.5s ease-in-out infinite alternate; width: 300px;
  justify-self: end;}

    .float-panel-2 { animation: floatNormal2 5.0s ease-in-out infinite alternate; }
    .float-panel-3 { animation: floatNormal3 4.2s ease-in-out infinite alternate; }
    .float-panel-4 { animation: floatNormal4 4.8s ease-in-out infinite alternate; }

    @keyframes floatNormal1 {
      0% { transform: translateY(0px); }
      100% { transform: translateY(-8px); }
    }
    @keyframes floatNormal2 {
      0% { transform: translateY(0px); }
      100% { transform: translateY(8px); }
    }
    @keyframes floatNormal3 {
      0% { transform: translateY(0px); }
      100% { transform: translateY(-7px); }
    }
    @keyframes floatNormal4 {
      0% { transform: translateY(0px); }
      100% { transform: translateY(7px); }
    }

    .slider-track {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    /* Transitions configured with cubic-bezier(0.65, 0, 0.35, 1) for slow start & end */
    .slide-item {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      transition: transform 2.4s var(--smooth-easeInOut), opacity 2.4s var(--smooth-easeInOut);
      opacity: 0;
      z-index: 1;
      will-change: transform, opacity;
    }

    .slide-item.active {
      opacity: 1;
      transform: translate(0, 0) !important;
      z-index: 2;
    }

    .slide-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

	 

    /* Left-to-Right Slide Mode */
    .slide-mode-horizontal .slide-item {
      transform: translateX(-100%);
    }
    .slide-mode-horizontal .slide-item.slide-out {
      transform: translateX(100%);
      opacity: 0;
    }

    /* Bottom-to-Top Slide Mode */
    .slide-mode-vertical .slide-item {
      transform: translateY(100%);
    }
    .slide-mode-vertical .slide-item.slide-out {
      transform: translateY(-100%);
      opacity: 0;
    }

    /* ============================================================
       5. BLOCK 3: 30+ YEARS OF EXPERIENCE (#fbfaf8 BACKGROUND)
       ============================================================ */
    .experience-section {
      background-color: var(--bg-alt);
      padding: 90px 0;
      border-top: 1px solid var(--border-light);
      border-bottom: 1px solid var(--border-light);
    }

    .experience-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr 1fr;
      gap: 40px;
      align-items: flex-start;
    }

    .experience-title {
      font-family: var(--font-heading);
      font-size: clamp(2.4rem, 4vw, 3.4rem);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -1.2px;
      color: var(--primary-dark);
    }

    .experience-title span.dot {
      color: var(--primary-red);
    }

    .exp-col h3 {
      font-family: var(--font-heading);
      font-size: 0.88rem;
      font-weight: 700;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--primary-dark);
      margin-bottom: 14px;
    }

    .exp-col p {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ============================================================
       6. BLOCK 4: RECENT WORK WITH NORMAL FLOATING MOTION
       ============================================================ */
    .recent-work-section {
      background-color: var(--bg-white);
      padding: 85px 0 100px 0;
    }

    .recent-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
    }

    .recent-title {
      font-family: var(--font-heading);
      font-size: clamp(2.2rem, 3.8vw, 3.2rem);
      font-weight: 700;
      letter-spacing: -1px;
      color: var(--primary-dark);
    }

    .recent-title span.dot {
      color: var(--primary-red);
    }

    .mosaic-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr 1fr;
      grid-template-rows: repeat(3, 270px);
      gap: 24px;
    }

    .mosaic-item {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      background: var(--bg-alt);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      cursor: pointer;
    }

    .mosaic-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.7s var(--soft-ease);
    }

    .mosaic-item:hover img {
      transform: scale(1.06);
    }

    /* Regular Normal Floating Animations */
    /* Tall image — left */
.item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  animation: floatWork1 4.5s ease-in-out infinite alternate;
}

/* Top middle */
.item-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  animation: floatWork2 5s ease-in-out infinite alternate;
}

/* Top right */
.item-3 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  animation: floatWork3 4.2s ease-in-out infinite alternate;
}

/* Large lower-right image */
.item-4 {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  animation: floatWork4 5.2s ease-in-out infinite alternate;
}

/* Bottom-left image */
.item-5 {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  animation: floatWork2 4.8s ease-in-out infinite alternate;
}

    @keyframes floatWork1 {
      0% { transform: translateY(0px); }
      100% { transform: translateY(-8px); }
    }
    @keyframes floatWork2 {
      0% { transform: translateY(0px); }
      100% { transform: translateY(8px); }
    }
    @keyframes floatWork3 {
      0% { transform: translateY(0px); }
      100% { transform: translateY(-7px); }
    }
    @keyframes floatWork4 {
      0% { transform: translateY(0px); }
      100% { transform: translateY(8px); }
    }

    /* ============================================================
       7. BLOCK 5: LET'S CREATE SOMETHING MEMORABLE (#fbfaf8 BACKGROUND)
       ============================================================ */
    .cta-banner-section {
      background-color: var(--bg-alt);
      padding: 95px 0 105px 0;
      border-top: 1px solid var(--border-light);
      border-bottom: 1px solid var(--border-light);
    }

    .cta-banner-wrap {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 30px;
    }

    .cta-title {
      font-family: var(--font-heading);
      font-size: clamp(2.4rem, 4.5vw, 3.8rem);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -1.5px;
      color: var(--primary-dark);
      margin-bottom: 14px;
    }

    .cta-title span.dot {
      color: var(--primary-red);
    }

    .cta-desc {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 500px;
    }

    /* ============================================================
       8. BLOCK 6: CLIENT LOGOS INFINITE MARQUEE
       ============================================================ */
.clients-section {
  background-color: var(--bg-white);
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  user-select: none;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  padding-right: 80px;
  animation: scrollMarquee 32s linear infinite;
  will-change: transform;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  to {
    transform: translateX(-50%);
  }
}

.client-logo-item {
  flex: 0 0 auto;
  transition: transform 0.3s ease;
}

.client-logo-item img {
  width: 150px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.client-logo-item:hover {
  transform: translateY(-2px);
}
	  
	  
    /* ============================================================
       10. RESPONSIVE BREAKPOINTS
       ============================================================ */
    @media (max-width: 1024px) {
      .who-grid {
        grid-template-columns: 1fr;
      }
      .mosaic-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
      }
      .item-1 { grid-column: 1 / 3; grid-row: auto; height: 360px; }
      .item-2 { grid-column: 1 / 2; grid-row: auto; height: 240px; }
      .item-3 { grid-column: 2 / 3; grid-row: auto; height: 240px; }
      .item-4 { grid-column: 1 / 3; grid-row: auto; height: 300px; }
      .experience-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 600px) {
      .sliding-images-grid {
        grid-template-columns: 1fr;
      }
      .panel-slider {
        height: 220px;
      }
      .mosaic-grid {
        grid-template-columns: 1fr;
      }
      .item-1, .item-2, .item-3, .item-4, .item-5 {
        grid-column: 1 / 2;
        height: 250px;
      }
    }

