:root {
  --site-gutter: clamp(20px, 5vw, 56px);
}

html {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body.menu-open,
body.no-scroll {
  overflow: hidden !important;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
}

@media (max-width: 1024px) {
  nav {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    padding: 16px calc(var(--site-gutter) + env(safe-area-inset-right)) 16px calc(var(--site-gutter) + env(safe-area-inset-left)) !important;
  }

  .logo {
    display: flex !important;
    align-items: center !important;
    min-width: 0;
    max-width: calc(100% - 76px);
    flex: 1 1 auto;
  }

  .hamburger {
    position: relative !important;
    right: auto !important;
    margin-left: auto !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 8px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  section,
  .statement,
  .featured,
  .clients-marquee-section,
  .defines-us,
  .editorial-blogs,
  .cta-section,
  .mega-footer,
  .cookie-banner {
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
  }

  .hero,
  .page-hero {
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
  }

  .menu {
    gap: 18px !important;
  }

  .logo-text {
    min-width: 0;
    max-width: 100%;
    align-items: baseline !important;
    gap: 4px !important;
    white-space: nowrap;
    overflow: visible !important;
  }

  .logo-text .brand {
    flex: 0 0 auto;
  }

  .logo-text .tag {
    display: inline-flex !important;
    align-items: baseline !important;
    min-width: auto !important;
    margin-left: 0 !important;
    white-space: nowrap;
  }

  #changing-text,
  #changing-text-mobile {
    display: inline-block !important;
    min-width: 12ch;
    white-space: nowrap;
    color: #ff9f0a !important;
    text-align: left;
  }

  .mobile-menu {
    width: min(420px, 100%) !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
    padding: 92px var(--site-gutter) 36px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    overflow-y: auto !important;
    background: rgba(0, 0, 0, 0.92) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 159, 10, 0.14);
  }

  .mobile-menu a {
    width: 100%;
    display: block !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    text-align: left !important;
    font-weight: 600 !important;
    font-size: clamp(1.05rem, 3vw, 1.45rem) !important;
    color: rgba(255,255,255,0.8) !important;
    transition: all 0.3s ease !important;
  }

  .mobile-menu a:hover {
    color: #ff9f0a !important;
    background: rgba(255,159,10,0.06) !important;
    padding-left: 28px !important;
  }

  .mobile-menu .dropdown,
  .mobile-menu .dropdown-content {
    width: 100%;
    text-align: left !important;
  }

  .mobile-menu .dropdown-content {
    gap: 4px !important;
    padding: 6px 0 6px 16px !important;
  }

  .mobile-menu .dropdown-content a {
    font-size: 0.95rem !important;
    padding: 10px 20px !important;
    opacity: 0.7 !important;
  }

  .mobile-menu .dropdown-content a:hover {
    opacity: 1 !important;
  }

  .hero,
  .hero-content,
  .case-content,
  .featured-case > *,
  .featured-article > *,
  .contact-grid > *,
  .defines-wrap > * {
    min-width: 0;
  }

  .page-hero {
    min-height: auto !important;
    padding-top: 144px !important;
    padding-bottom: 84px !important;
  }

  .hero {
    min-height: 72svh !important;
  }

  .contact-grid,
  .mv-grid,
  .approach-grid,
  .featured-article,
  .featured-case,
  .defines-wrap {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .services,
  .services-grid,
  .solutions-grid,
  .showcase-grid,
  .results-grid,
  .process-grid,
  .projects-grid,
  .team,
  .team-grid,
  .blogs,
  .blog-grid,
  .downloads-grid,
  .channels-grid,
  .stack-grid,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }

  .stats,
  .stats-grid,
  .metrics-grid,
  .why-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }

  .filter-bar,
  .project-tags,
  .social-strip,
  .case-stats,
  .cookie-buttons {
    flex-wrap: wrap !important;
    gap: 14px !important;
  }

  .featured-title,
  .section-title,
  .statement h2,
  .defines-left h2,
  .cta-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
    margin-bottom: 28px !important;
  }

  .footer-grid {
    margin-bottom: 48px !important;
  }

  .hero-geo,
  .hero-deco,
  .defines-arrow,
  .defines-geo,
  .timeline-dot,
  .scroll-indicator {
    display: none !important;
  }

  .slider-track {
    gap: 32px !important;
  }

  .slide {
    flex: 0 0 min(42vw, 360px) !important;
    border-radius: 28px !important;
  }

  .testimonial-track {
    gap: 24px !important;
    padding-bottom: 8px;
  }

  .testimonial {
    min-width: min(72vw, 360px) !important;
    font-size: 20px !important;
  }

  .cookie-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons button {
    flex: 1 1 150px;
  }

  .audit-box,
  .cookie-modal-box,
  .modal-content {
    width: min(92vw, 680px) !important;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }

  .chatbox {
    width: min(340px, calc(100vw - 40px)) !important;
    right: 20px !important;
    bottom: 92px !important;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 14px calc(var(--site-gutter) + env(safe-area-inset-right)) 14px calc(var(--site-gutter) + env(safe-area-inset-left)) !important;
    background: #000 !important;
  }

  .home-page nav {
    padding-right: calc(var(--site-gutter) + 64px + env(safe-area-inset-right)) !important;
    overflow: visible !important;
  }

  h1,
  .hero h1,
  .hero-content h1,
  .page-hero h1 {
    font-size: clamp(2.3rem, 11vw, 4.25rem) !important;
    line-height: 1.05 !important;
  }

  h2,
  .section-title,
  .featured-title,
  .statement h2,
  .defines-left h2,
  .cta-section h2 {
    font-size: clamp(1.9rem, 8vw, 2.9rem) !important;
    line-height: 1.1 !important;
  }

  section,
  .statement,
  .featured,
  .clients-marquee-section,
  .defines-us,
  .editorial-blogs,
  .cta-section,
  .mega-footer {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .page-hero {
    padding-top: 124px !important;
    padding-bottom: 64px !important;
  }

  .logo {
    max-width: calc(100% - 72px);
  }

  .home-page .logo {
    max-width: calc(100% - 96px);
  }

  .logo-text {
    align-items: baseline !important;
    gap: 2px !important;
  }

  .logo-text .brand {
    font-size: clamp(15px, 4.3vw, 17px) !important;
    line-height: 1 !important;
  }

  .logo-text .tag {
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: clamp(12px, 3.2vw, 14px) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    margin-bottom: 0 !important;
    opacity: 1 !important;
  }

  #changing-text,
  #changing-text-mobile {
    min-width: 12ch;
    color: #ff9f0a !important;
    text-align: left;
  }

  .mobile-menu {
    width: 100% !important;
    border-left: 0 !important;
    padding-top: 84px !important;
  }

  .home-page .hamburger {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin-left: 0 !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    padding: 9px !important;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: visible !important;
    z-index: 10020 !important;
  }

  .home-page .hamburger span {
    width: 26px !important;
  }

  .home-page .hero {
    min-height: 100svh !important;
    height: 100svh !important;
    max-height: none !important;
    padding: 0 !important;
  }

  .hero {
    min-height: 56svh !important;
    height: 56svh !important;
    max-height: 580px;
  }

  .home-page .hero video {
    object-position: center 20% !important;
    object-fit: cover !important;
  }

  .hero video {
    object-position: center 32% !important;
  }

  .home-page .hero-content {
    display: none !important;
  }

  .home-page .statement {
    margin-top: 0 !important;
  }

  .services,
  .services-grid,
  .solutions-grid,
  .showcase-grid,
  .results-grid,
  .process-grid,
  .projects-grid,
  .team,
  .team-grid,
  .blogs,
  .blog-grid,
  .downloads-grid,
  .channels-grid,
  .stack-grid,
  .client-grid,
  .why-grid,
  .values-grid,
  .footer-grid,
  .mv-grid,
  .approach-grid,
  .featured-article,
  .featured-case,
  .defines-wrap,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .stats,
  .stats-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .sol-card,
  .service,
  .mv-card,
  .info-card,
  .why-card,
  .value-card,
  .process-step,
  .blog,
  .audit-box {
    padding: 24px !important;
  }

  .filter-bar {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .project-tags {
    gap: 10px !important;
    margin-top: 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .project-tags span {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .testimonial-track {
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .testimonial {
    min-width: min(82vw, 320px) !important;
    font-size: 18px !important;
    scroll-snap-align: start;
  }

  .clients-track {
    gap: 36px !important;
  }

  .clients-track img {
    max-height: 40px !important;
  }

  .slide {
    flex: 0 0 min(78vw, 300px) !important;
    border-radius: 24px !important;
  }

  .contact-btn,
  .submit-btn,
  .cta-btn,
  .sol-link,
  .case-link {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .submit-btn {
    align-self: stretch !important;
  }

  .map-container {
    height: 280px !important;
  }

  .chatbot {
    right: 20px !important;
    bottom: 20px !important;
  }

  .chatbox {
    right: 16px !important;
    bottom: 92px !important;
    width: calc(100vw - 32px) !important;
  }

  .audit-popup {
    display: none !important;
    visibility: hidden !important;
  }

  .home-page .cookie-banner {
    bottom: 0 !important;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.34);
  }

  .cookie-banner {
    padding: 14px 16px !important;
  }

  .cookie-content p {
    max-width: none !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .cookie-buttons button {
    width: auto !important;
    flex: 1 1 calc(50% - 5px) !important;
    padding: 14px 16px !important;
    min-height: 52px;
  }

  .cookie-buttons .cookie-manage {
    flex-basis: 100% !important;
  }

  .audit-popup,
  .cookie-modal,
  .project-modal {
    padding: 16px;
  }

  .audit-box,
  .cookie-modal-box {
    padding: 28px 20px !important;
  }

  .modal-close {
    top: 12px !important;
    right: 12px !important;
  }
}

@media (max-width: 540px) {
  .stats,
  .stats-grid,
  .metrics-grid {
    grid-template-columns: 1fr !important;
  }

  .slide {
    flex-basis: min(84vw, 280px) !important;
  }

  .map-container {
    height: 240px !important;
  }

  .cookie-buttons {
    flex-direction: column !important;
  }

  .cookie-buttons button,
  .cookie-buttons .cookie-manage {
    flex-basis: auto !important;
    width: 100% !important;
  }

  .project-tags {
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .project-tags span {
    padding: 4px 10px !important;
    font-size: 11px !important;
  }
}

/* =========================
   HERO IMMERSIVE SECTION
========================= */
.hero-immersive {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 2rem 4rem;
  overflow: hidden;
  z-index: 10;
  font-family: 'Poppins', sans-serif;
}

/* Radial glow behind content */
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(255, 140, 0, 0.10) 0%, rgba(255, 159, 10, 0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -55%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -55%) scale(1.15); }
}

/* Floating geometric particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFade 3s ease-in-out forwards;
}

.particle.p1 {
  width: 6px; height: 6px;
  background: rgba(255, 140, 0, 0.45);
  top: 15%; left: 10%;
  animation-delay: 0.3s;
  animation-name: particleFade, particleDrift1;
  animation-duration: 3s, 12s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.particle.p2 {
  width: 4px; height: 4px;
  background: rgba(255, 175, 50, 0.35);
  top: 25%; right: 15%;
  animation-delay: 0.6s;
  animation-name: particleFade, particleDrift2;
  animation-duration: 3s, 15s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.particle.p3 {
  width: 8px; height: 8px;
  background: rgba(255, 140, 0, 0.25);
  top: 60%; left: 5%;
  animation-delay: 0.9s;
  animation-name: particleFade, particleDrift3;
  animation-duration: 3s, 18s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.particle.p4 {
  width: 5px; height: 5px;
  background: rgba(255, 159, 10, 0.35);
  top: 70%; right: 10%;
  animation-delay: 1.2s;
  animation-name: particleFade, particleDrift1;
  animation-duration: 3s, 14s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.particle.p5 {
  width: 3px; height: 3px;
  background: rgba(255, 140, 0, 0.4);
  top: 40%; left: 85%;
  animation-delay: 1.5s;
  animation-name: particleFade, particleDrift2;
  animation-duration: 3s, 16s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.particle.p6 {
  width: 7px; height: 7px;
  background: rgba(255, 175, 50, 0.25);
  top: 85%; left: 50%;
  animation-delay: 1.8s;
  animation-name: particleFade, particleDrift3;
  animation-duration: 3s, 20s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

@keyframes particleFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes particleDrift1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -15px); }
  50% { transform: translate(-10px, -30px); }
  75% { transform: translate(15px, -10px); }
}

@keyframes particleDrift2 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-15px, 20px); }
  50% { transform: translate(25px, 10px); }
  75% { transform: translate(-20px, -15px); }
}

@keyframes particleDrift3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(10px, -25px); }
  66% { transform: translate(-20px, 15px); }
}

/* Hero inner content */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 2rem;
}

/* Eyebrow label */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.6));
}

.eyebrow-line:last-child {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.6), transparent);
}

.eyebrow-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: rgba(255, 140, 0, 0.9);
  font-weight: 500;
}

@media (min-width: 769px) {
  .nowrap-lg {
    white-space: nowrap;
  }
}

/* Main headline */
.hero-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #FF8C00 0%, #ff9f0a 35%, #FFB347 70%, #FF8C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.gradient-text-alt {
  background: linear-gradient(135deg, #fff 0%, #FF8C00 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
  display: inline-block;
  font-family: 'Rustic Roadway', cursive;
  font-size: 1.1em;
  vertical-align: -0.18em;
  padding: 0 0.1em;
}

#hero-dynamic-text {
  display: inline-block;
  vertical-align: -0.12em;
  overflow: hidden;
  white-space: nowrap;
}

/* Subtitle */
.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 650px;
  margin: 0;
}

/* CTA Buttons */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #FF8C00, #ff9f0a);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.2);
}

.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(255, 140, 0, 0.4);
}

.hero-cta-primary svg {
  transition: transform 0.3s ease;
}

.hero-cta-primary:hover svg {
  transform: translateX(4px);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.hero-cta-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* Stats Row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: rgba(255, 140, 0, 0.9);
  line-height: 1;
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 140, 0, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 50px; }
  50% { opacity: 1; height: 65px; }
}

/* Hero reveal stagger */
.hero-immersive .hero-eyebrow.reveal.active {
  transition-delay: 0.2s;
}
.hero-immersive .hero-headline.reveal.active {
  transition-delay: 0.4s;
}
.hero-immersive .hero-subtitle.reveal.active {
  transition-delay: 0.6s;
}
.hero-immersive .hero-cta-group.reveal.active {
  transition-delay: 0.8s;
}
.hero-immersive .hero-stats.reveal.active {
  transition-delay: 1.0s;
}
.hero-immersive .scroll-indicator.reveal.active {
  transition-delay: 1.2s;
}

/* ---- Hero Responsive ---- */
@media (max-width: 768px) {
  .hero-immersive {
    min-height: 100svh;
    padding: 80px 1.5rem 80px; /* Balanced padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-inner {
    gap: 1.2rem !important; /* Unified mobile gap */
  }

  .hero-cta-group {
    margin-top: 0 !important; /* Let hero-inner gap handle it */
    gap: 0.8rem !important;
  }

  .hero-headline {
    font-size: clamp(2rem, 7.5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 0 !important;
  }

  .hero-headline {
    font-size: clamp(2rem, 7.5vw, 3.2rem);
    line-height: 1.1;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: space-around;
    gap: 0.5rem;
    padding: 1.2rem 1rem;
  }

  .stat-item {
    flex: 1;
  }

  .stat-number {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .stat-suffix {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }

  .stat-label {
    font-size: 0.6rem;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .eyebrow-line {
    width: 25px;
  }

  .hero-glow {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(1.8rem, 8.5vw, 2.4rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
}

/* =========================
   MARKETING SECTION
========================= */
.marketing-section {
  padding: 6rem 2rem;
  background: transparent;
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
}

.marketing-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

.marketing-header {
  text-align: center;
  max-width: 800px;
}

.marketing-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.marketing-header p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

.marketing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.marketing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.marketing-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.marketing-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: #fff;
}

.marketing-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.marketing-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-size: 1rem;
}

/* Make sure it's fully responsive */
@media (max-width: 768px) {
  .marketing-section {
    padding: 4rem 1.5rem;
  }
  .marketing-grid {
    grid-template-columns: 1fr;
  }
}


/* --- Consolidated from header.css --- */
/* ============================================================
   AJKALPORSU GLOBAL HEADER SYNC
   Standardizes alignment, padding, and vertical symmetry.
   ============================================================ */

nav#nav {
    position: fixed !important;
    top: 36px;
    left: 0 !important;
    width: 100% !important;
    padding: 20px 8% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 1000 !important;
    background: #000;
    transition: 0.4s ease;
    box-sizing: border-box !important;
}

nav#nav.scrolled {
    background: rgba(0,0,0,0.85) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3) !important;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.logo-text {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

.logo-text .brand {
    font-weight: 800 !important;
    font-size: 18px !important;
    letter-spacing: 0.5px !important;
    color: #fff !important;
    line-height: 1 !important;
}

.logo-text .brand strong {
    color: #ff9f0a !important;
    font-weight: 800 !important;
}

.logo-text .tag {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #ff9f0a !important;
    display: inline-flex !important;
    align-items: baseline !important;
    min-width: 13ch !important;
    margin: 0 !important;
}

#changing-text,
#changing-text-mobile {
    transition: opacity 0.3s ease;
    display: inline-block;
    min-width: 12ch;
    text-align: left;
}

.menu {
    display: flex;
    align-items: center !important;
    gap: 28px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.menu a {
    position: relative !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: 0.3s !important;
}

.dropdown {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

/* HAMBURGER STYLES */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    padding: 8px;
    flex-shrink: 0 !important;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff !important;
    border-radius: 2px;
    transition: 0.4s;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 900px) {
    nav#nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 6% !important;
    }
    .menu {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
    }
    .logo-text .brand {
        font-size: 17px !important;
    }
    .logo-text .tag {
        display: inline-flex !important;
        min-width: auto !important;
    }
}

@media (max-width: 480px) {
    nav#nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 5% !important;
    }
    .logo-text .brand {
        font-size: 16px !important;
    }
    .logo-text .tag {
        display: inline-flex !important;
        color: #ff9f0a !important;
    }
}

/* BRAND TAGLINE (PROMOTIONAL) */
.brand-tagline {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 15px;
    max-width: 450px;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .brand-tagline {
        font-size: 14px;
        margin-top: 10px;
        max-width: 100%;
    }
}

/* ==========================================================
   HERO: DESKTOP vs MOBILE HEADLINE TOGGLE
   ========================================================== */

/* Mobile hero is hidden by default (desktop sees only desktop hero) */
.mobile-only-hero {
  display: none !important;
}

@media (max-width: 768px) {
  .desktop-only-hero {
    display: none !important;
  }
  .mobile-only-hero {
    display: block !important;
  }
}

/* ==========================================================
   MOBILE CENTERING & ALIGNMENT FIX
   Only affects ≤768px — desktop layout is untouched.
   ========================================================== */


@media (max-width: 768px) {

  /* ---- HERO SECTION ---- */
  .hero-immersive {
    text-align: center !important;
    align-items: center !important;
  }

  .hero-inner {
    align-items: center !important;
    text-align: center !important;
  }

  .hero-eyebrow {
    justify-content: center !important;
  }

  .hero-headline {
    text-align: center !important;
  }

  .hero-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-cta-group {
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-stats {
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important; /* Use inner gap */
    padding-top: 0.5rem !important; /* Slight boost to separate from buttons */
  }

  /* ---- CLIENTS WE'VE WORK WITH ---- */
  .clients-built {
    text-align: center !important;
  }

  .clients-built-title {
    text-align: center !important;
  }

  /* ---- MARQUEE SECTION ---- */
  .marquee-wrap {
    text-align: center !important;
  }

  /* ---- DEFINES US SECTION ---- */
  .defines-us {
    text-align: center !important;
  }

  .defines-wrap {
    text-align: center !important;
  }

  .defines-left {
    align-items: center !important;
    text-align: center !important;
  }

  .defines-left h2 {
    text-align: center !important;
  }

  .defines-logo {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  .defines-right {
    text-align: center !important;
  }

  .time-block {
    text-align: center !important;
  }

  .time-block p {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }

  .time-label {
    display: block !important;
    text-align: center !important;
  }

  .defines-btn {
    display: block !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content !important;
  }

  .brand-tagline {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ---- OUR WORKS SHOWCASE ---- */
  .our-works-showcase {
    text-align: center !important;
  }

  .ow-header {
    text-align: center !important;
  }

  .ow-tabs {
    justify-content: center !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }

  .ow-grid {
    justify-items: center !important;
  }

  .ow-show-more-wrap {
    text-align: center !important;
  }

  /* ---- TRUSTED BRANDS ---- */
  .trusted-brands {
    text-align: center !important;
  }

  .tb-title {
    text-align: center !important;
  }

  .tb-stats {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 400px !important;
  }

  .tb-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .tb-text {
    text-align: center !important;
  }

  /* ---- SERVICES / WAY WE WORK ---- */
  .way-we-work {
    text-align: center !important;
  }

  .www-header {
    align-items: center !important;
    text-align: center !important;
  }

  .www-title-left {
    text-align: center !important;
    flex: auto !important;
    width: 100% !important;
  }

  .www-title-left h2 {
    text-align: center !important;
  }

  .www-desc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }

  .www-title-right {
    text-align: center !important;
    width: 100% !important;
  }

  .www-title-right h2 {
    text-align: center !important;
  }


  /* ---- HOW WE DELIVER ---- */
  .how-we-deliver {
    text-align: center !important;
  }

  .hwd-title {
    text-align: center !important;
  }

  .hwd-card {
    text-align: center !important;
  }

  .hwd-card-head {
    justify-content: center !important;
    text-align: center !important;
  }

  .hwd-card-head h3 {
    text-align: center !important;
  }

  .hwd-card p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hwd-step-num {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  /* ---- STATS SECTION ---- */
  .stats {
    text-align: center !important;
  }

  /* ---- CLIENT TESTIMONIALS ---- */
  .client-testimonials {
    text-align: center !important;
  }

  .testi-title {
    text-align: center !important;
  }

  .testi-grid {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .testi-card {
    text-align: center !important;
    align-items: center !important;
  }

  .testi-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .testi-quote {
    text-align: center !important;
  }

  .testi-client {
    justify-content: center !important;
  }

  .testi-meta {
    text-align: left !important;
  }

  /* ---- EDITORIAL BLOGS / TRENDING NOW ---- */
  .editorial-blogs {
    text-align: center !important;
  }

  .editorial-blogs .section-title {
    text-align: center !important;
  }

  .blog-list {
    text-align: center !important;
  }

  .blog-row {
    align-items: center !important;
    text-align: center !important;
  }

  .blog-left {
    text-align: center !important;
    max-width: 100% !important;
  }

  .blog-left h3 {
    text-align: center !important;
  }

  .blog-tag {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .read-time {
    display: block !important;
    text-align: center !important;
  }

  .blog-thumb {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ---- MOBILE FOOTER ALIGNMENT FIX ---- */
  .mega-footer {
    padding: 60px 5% 40px !important;
  }
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 45px !important;
  }
  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
  .footer-brand {
    display: flex !important;
    justify-content: flex-start !important;
    margin-bottom: 20px !important;
  }
  .footer-brand .logo-text .brand strong {
    color: var(--orange1) !important;
  }
  .footer-desc {
    text-align: left !important;
    max-width: 100% !important;
    margin: 0 0 25px 0 !important;
  }
  .social-strip {
    justify-content: flex-start !important;
    width: 100% !important;
  }
  .footer-col h4 {
    margin-bottom: 20px !important;
    text-align: left !important;
  }
  .footer-col ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 !important;
    gap: 12px !important;
  }
  .footer-col ul li {
    margin-bottom: 0 !important;
  }
  .contact-col {
    margin-top: 10px !important;
  }
  .contact-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }
  .contact-info p {
    justify-content: flex-start !important;
    text-align: left !important;
    align-items: flex-start !important;
    margin-bottom: 0 !important;
  }
  .footer-bottom-content {
    flex-direction: column !important;
    text-align: left !important;
    gap: 20px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  .legal-links {
    justify-content: flex-start !important;
  }
}

@media (max-width: 900px) {
  .mobile-menu {
    right: 0 !important;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.45s !important;
  }

  .mobile-menu.active {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1) !important;
  }
}

