/* ═══════════════════════════════════════════════
   SPACE CRAFT & TECH SOLUTION — PREMIUM CSS SYSTEM
   Design Level: Luxury Editorial / Cinematic Studio
   ═══════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS & THEME VARIABLES ── */
:root {
  /* Brand Colors */
  --color-primary: #0054a6; /* Main blue — CTAs, buttons, active states */
  --color-secondary: #00aeef; /* Sky blue — accents, highlights, hover glows */

  /* Hover States */
  --color-primary-hover: #003b75; /* Darker blue for button hover */
  --color-secondary-hover: #008cbe; /* Darker sky for link hover */

  /* Neutrals */
  --color-text-main: #1e293b; /* Main body text — dark navy slate */
  --color-text-muted: #64748b; /* Subtext, labels, captions */
  --color-border: #e2e8f0; /* Dividers, card borders */

  /* Backgrounds */
  --color-bg-main: #ffffff; /* Primary page background */
  --color-bg-alt: #f0f8fc; /* Alternate section background — light blue-white */

  /* Accent */
  --color-accent: #ff6b00; /* Orange — used sparingly for highlights, badges, CTAs */

  /* Spacing system — 8px base */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 80px;
  --sp-8: 120px;

  /* Typography scale (Correction #5) */
  --h1: clamp(3.2rem, 7vw, 6.5rem);
  --h2: clamp(2.2rem, 4vw, 3.5rem);
  --h3: 1.4rem;
  --body: 18px;

  /* Transition */
  --ease: cubic-bezier(
    0.22,
    1,
    0.36,
    1
  ); /* ease-out-expo — premium smooth deceleration */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── 2. BASE RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--color-bg-main);
  color: var(--color-text-muted);
  font-size: var(--body);
  line-height: 1.8;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  transition:
    background 0.5s var(--ease),
    color 0.5s var(--ease);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
}
a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Syne", sans-serif;
  color: var(--color-text-main);
  line-height: 1.1;
  font-weight: 800;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100000;
  font-weight: 700;
}
.skip-link:focus {
  top: 0;
}

/* ── 3. SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ── 4. CUSTOM CURSOR ── */
.cursor-dot,
.cursor-outline {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: left, top;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}
.cursor-outline {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  transition:
    width 0.3s var(--ease),
    height 0.3s var(--ease),
    border-color 0.3s;
}
.cursor-dot.hover {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
}
.cursor-outline.hover {
  width: 56px;
  height: 56px;
  border-color: var(--color-accent);
  opacity: 0.5;
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}

/* ── 5. PRELOADER ── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.8s var(--ease),
    visibility 0.8s;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  text-align: center;
}
.pre-logo-wrap {
  margin-bottom: var(--sp-3);
}
.pre-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: brightness(1); /* Correction 1 & 2 */
}
.pre-bar {
  width: 200px;
  height: 2px;
  background: var(--color-border);
  margin: 0 auto var(--sp-2);
  overflow: hidden;
}
.pre-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  animation: fill-bar 1.5s var(--ease) forwards;
}
@keyframes fill-bar {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
.pre-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
}

/* ── 6. NAVBAR ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 84, 166, 0.08); /* Correction 3 */
  border-bottom: 1px solid var(--color-border);
  transition: all 0.4s var(--ease);
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem); /* Increased gap to spread items */
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-main);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.4s var(--ease);
}

.nav-link:hover {
  color: var(--color-primary);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-brochure {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.nav-brochure:hover {
  background: var(--color-primary);
  color: #fff;
}

.nav-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition:
    background 0.3s,
    transform 0.2s;
}
.nav-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 1100;
  cursor: pointer;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}

/* ── 7. MOBILE MENU (REFINED) ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-bg-main);
  display: flex;
  flex-direction: column;
  padding: var(--sp-5) 8vw;
  transform: translateY(-100%);
  transition: transform 0.8s var(--ease);
  visibility: hidden;
  overflow: hidden;
}

.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0;
  position: absolute;
  top: 20px;
  right: 8vw;
}

.mobile-close {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-text-main);
  background: var(--color-bg-alt);
  border-radius: 50%;
  transition: all 0.4s var(--ease);
  border: none;
  cursor: pointer;
}

.mobile-close:hover {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  flex: 1;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 140px;
}

.mobile-link {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 8vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text-main);
  text-decoration: none;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s var(--ease);
  border: none !important;
  padding: 0 !important;
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Reveal */
.mobile-link:nth-child(1) {
  transition-delay: 0.2s;
}
.mobile-link:nth-child(2) {
  transition-delay: 0.25s;
}
.mobile-link:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-link:nth-child(4) {
  transition-delay: 0.35s;
}
.mobile-link:nth-child(5) {
  transition-delay: 0.4s;
}
.mobile-link:nth-child(6) {
  transition-delay: 0.45s;
}

.mobile-link:hover {
  color: var(--color-primary);
  transform: scale(1.05) !important;
}

.mobile-footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--sp-4);
  text-align: center;
  margin-top: auto;
}

.mobile-footer p {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

/* SCT Background Watermark */
.mobile-menu::before {
  content: "SCT";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Syne", sans-serif;
  font-size: 30vw;
  font-weight: 900;
  color: var(--color-bg-alt);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

/* ── 8. FLOATING BUTTONS ── */
.wa-float,
.phone-float {
  position: fixed;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
}

.wa-float {
  bottom: 24px;
  background: #25d366; /* Official WhatsApp green */
}

.phone-float {
  bottom: 88px; /* 24px gap above WhatsApp button */
  background: var(--color-primary);
}

.wa-float svg,
.phone-float svg {
  width: 26px;
  height: 26px;
}

.wa-float:hover,
.phone-float:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ── SECTION TAG ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
}
.section-tag::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-primary);
}

/* BUTTON STYLES */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 84, 166, 0.3);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* SECTION BG NUMBERS */
.section-bg-num {
  position: absolute;
  top: -0.1em;
  right: var(--sp-6);
  font-family: "Syne", sans-serif;
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
  letter-spacing: -0.05em;
  opacity: 0.8;
}

/* ══════════════════════════════
   HERO SECTION
══════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease-in-out,
    visibility 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide-bg-img,
.slide-bg picture,
.slide-bg source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.hero-slide.active .slide-bg-img,
.hero-slide.active .slide-bg picture img {
  animation: kenburns 6.5s ease-out forwards;
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 84, 166, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%
  );
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  padding: 0 8vw;
  color: #fff;
}

.slide-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease) 0.2s;
}

.slide-headline {
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease) 0.4s;
}

.slide-actions {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease) 0.6s;
}

.hero-slide.active .slide-eyebrow,
.hero-slide.active .slide-headline,
.hero-slide.active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.slider-prev {
  left: 30px;
}
.slider-next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 84, 166, 0.25);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* Hero Stats Bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 5vw;
}

.h-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
  border-right: 1px solid var(--color-border);
}

.h-stat:last-child {
  border-right: none;
}

.h-stat-num {
  font-family: "Syne", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.h-stat-lbl {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* Ticker */
.ticker {
  background: var(--color-primary);
  padding: 12px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0 3rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── 9. SCROLL REVEAL SYSTEM (Correction 14a) ── */
[data-reveal] {
  transition-property: opacity, transform, clip-path;
  transition-timing-function: cubic-bezier(
    0.22,
    1,
    0.36,
    1
  ); /* ease-out-expo */
}

/* Before reveal */
[data-reveal="fade-up"] {
  opacity: 0;
  transform: translateY(48px);
}
[data-reveal="fade-down"] {
  opacity: 0;
  transform: translateY(-48px);
}
[data-reveal="fade-left"] {
  opacity: 0;
  transform: translateX(60px);
}
[data-reveal="fade-right"] {
  opacity: 0;
  transform: translateX(-60px);
}
[data-reveal="fade-in"] {
  opacity: 0;
}
[data-reveal="clip-up"] {
  opacity: 1; /* Set to 1 for full visibility */
  transform: translateY(0); /* Reset position */
  clip-path: inset(0 0 0 0); /* Remove the clipping mask */
}
[data-reveal="scale-in"] {
  opacity: 0;
  transform: scale(0.88);
}

/* After reveal (.revealed class added by JS) */
.revealed[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

/* Transition durations — SLOW and deliberate */
[data-reveal="fade-up"].revealed,
[data-reveal="fade-down"].revealed,
[data-reveal="fade-in"].revealed {
  transition-duration: 900ms;
}

[data-reveal="fade-left"].revealed,
[data-reveal="fade-right"].revealed {
  transition-duration: 1000ms;
}

[data-reveal="clip-up"].revealed {
  transition-duration: 1100ms;
}

[data-reveal="scale-in"].revealed {
  transition-duration: 800ms;
}

/* ══════════════════════════════
   ABOUT SECTION
══════════════════════════════ */
.about {
  position: relative;
  padding: 120px 5vw;
  background: var(--color-bg-main);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
  padding-bottom: 60px;
}

.about-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-accent);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
  z-index: 5;
}

.badge-num {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.badge-txt {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 60%;
  border-radius: 12px;
  overflow: hidden;
  border: 10px solid #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.about-headline {
  font-size: var(--h2);
  margin-bottom: 2rem;
}

.about-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.btn-brochure {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-accent);
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.btn-brochure:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 107, 0, 0.3);
  background: #e66000;
}

/* ══════════════════════════════
   SERVICES SECTION
══════════════════════════════ */
/* ── 10. SERVICES SECTION (Correction 6) ── */
.services {
  padding: 100px 5vw;
  background: var(--color-bg-alt);
  position: relative;
}

.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.svc-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.svc-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 84, 166, 0.2);
}

.svc-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.svc-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.svc-card:hover .svc-card-bg img {
  transform: scale(1.1);
}

.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 84, 166, 0.95) 0%,
    rgba(0, 84, 166, 0.4) 60%,
    transparent 100%
  );
  z-index: 2;
  transition: background 0.4s;
}

.svc-card-body {
  position: relative;
  z-index: 3;
  padding: 2.5rem;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.svc-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
}

.svc-icon svg {
  width: 24px;
  height: 24px;
}

.svc-title {
  font-family: "Syne", sans-serif;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.svc-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.svc-cta {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
  color: #fff;
  text-decoration: none;
}

.svc-card:hover .svc-cta {
  gap: 15px;
}

/* ══════════════════════════════
   STATS SECTION
══════════════════════════════ */
.stats-section {
  position: relative;
  padding: var(--sp-8) 5vw;
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stats-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.85)
  );
}
.stats-grid {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.stat-item {
  text-align: center;
  padding: var(--sp-4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translateY(30px);
}
.stat-item.revealed {
  opacity: 1;
  transform: translateY(0);
}
.stat-item:hover {
  background: rgba(0, 84, 166, 0.2);
  border-color: var(--color-primary);
  transform: translateY(-6px);
}
.stat-num {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ══════════════════════════════
   PROJECTS SECTION
══════════════════════════════ */
.projects {
  position: relative;
  background: var(--color-bg-main);
  padding: var(--sp-8) 5vw;
  overflow: hidden;
}
.projects-header {
  max-width: 1400px;
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.projects-header h2 {
  font-size: var(--h2);
  font-weight: 800;
}
.projects-header h2 em {
  font-style: italic;
  color: var(--color-primary);
}

.portfolio-filters {
  max-width: 1400px;
  margin: 0 auto var(--sp-5);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}
.portfolio-filters.revealed {
  opacity: 1;
  transform: translateY(0);
}
.filter-btn {
  padding: 10px 22px;
  font-family: "Syne", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: transparent;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 84, 166, 0.3);
}

/* Bento Grid */
.bento-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 300px;
  gap: 12px;
}
.bento-card {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease);
}
.bento-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.bento-large {
  grid-column: span 7;
  grid-row: span 1;
}
.bento-tall {
  grid-column: span 5;
  grid-row: span 2;
}
.bento-small {
  grid-column: span 3;
  grid-row: span 1;
}
.bento-wide {
  grid-column: span 9;
  grid-row: span 1;
}
.bento-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.bento-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.bento-card:hover .bento-inner img {
  transform: scale(1.07);
}
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-3);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.bento-card:hover .bento-overlay {
  opacity: 1;
}
.bento-cat {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.bento-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.bento-info p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ══════════════════════════════
   HOW WE WORK SECTION
══════════════════════════════ */
.how-we-work {
  padding: var(--sp-8) 5vw;
  background: var(--color-bg-alt);
  position: relative;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.how-item {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease);
}

.how-item:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 15px 40px rgba(0, 84, 166, 0.08);
}

.how-num {
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.15;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.how-item h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}

.how-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ══════════════════════════════
   PROCESS SECTION (REBUILT)
══════════════════════════════ */
.process {
  position: relative;
  background: var(--color-bg-main);
  padding: var(--sp-8) 5vw;
  overflow: hidden;
}

.process-header {
  color: #0054a6;
  max-width: 800px;
  margin: 0 auto 5rem;
  text-align: center;
  position: relative;
  z-index: 5;
}

.process-header h2 {
  font-size: var(--h2);
  margin-bottom: 1.5rem;
  color: var(--color-text-main);
}

.process-header h2 em {
  font-style: italic;
  color: var(--color-primary);
}

.header-line {
  width: 80px;
  height: 4px;
  background: var(--color-primary);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.process-track-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 0;
}

/* The Lifecycle Line */
.process-track-line {
  position: absolute;
  top: 52px; /* Aligned with nodes */
  left: 20px;
  right: 20px;
  height: 4px;
  background: var(--color-border);
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
}

.process-track-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  transition: width 0.3s linear;
  box-shadow: 0 0 15px var(--color-secondary);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

/* Individual Steps */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-node {
  width: 28px;
  height: 28px;
  background: #fff;
  border: 4px solid var(--color-border);
  border-radius: 50%;
  margin-bottom: 3rem;
  position: relative;
  transition: all 0.5s var(--ease);
  z-index: 3;
}

.process-step.revealed .step-node {
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 0 25px rgba(0, 84, 166, 0.4);
  transform: scale(1.1);
}

/* Step Card */
.step-card {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border);
  transition: all 0.5s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.process-step:hover .step-card {
  transform: translateY(-12px);
  border-color: var(--color-primary);
  box-shadow: 0 25px 50px rgba(0, 84, 166, 0.12);
}

.step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-num {
  font-family: "Syne", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 1;
}

.step-icon {
  width: 50px;
  height: 50px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.process-step:hover .step-icon {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(5deg);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
  font-family: "Syne", sans-serif;
  font-weight: 700;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.step-features li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.step-features li::before {
  content: "✦";
  color: var(--color-primary);
  font-size: 0.7rem;
  margin-top: 2px;
}

/* RESPONSIVENESS */
@media (max-width: 1200px) {
  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .process-track-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-track {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .process-step {
    align-items: flex-start;
    text-align: left;
  }
  .step-node {
    margin-bottom: 1.5rem;
  }
  .step-features {
    text-align: left;
  }
}

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testimonials {
  background: var(--color-bg-main);
  padding: var(--sp-8) 0;
  overflow: hidden;
}

.testi-header {
  max-width: 1400px;
  margin: 0 auto var(--sp-6);
  padding: 0 5vw;
}

.testi-header h2 {
  font-size: var(--h2);
  font-weight: 800;
}

.testi-header h2 em {
  font-style: italic;
  color: var(--color-primary);
}

.testi-track-wrap {
  position: relative;
  width: 100%;
  display: flex;
  overflow: hidden;
  padding: 2rem 0;
}

.testi-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: transmission 40s linear infinite;
}

@keyframes transmission {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

.testi-track:hover {
  animation-play-state: paused;
}

.testi-card {
  width: 400px;
  flex-shrink: 0;
  padding: 2.5rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  position: relative;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 8rem;
  font-family: "Syne", sans-serif;
  color: var(--color-bg-alt);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.testi-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 84, 166, 0.08);
}

.testi-stars {
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testi-card p {
  font-size: 1rem;
  color: var(--color-text-main);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 84, 166, 0.2);
}

.testi-author h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-text-main);
}

.testi-author span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .testi-card {
    width: 320px;
    padding: 2rem;
  }
}

/* ══════════════════════════════
   CONTACT SECTION (REBUILT)
══════════════════════════════ */
.contact {
  position: relative;
  padding: var(--sp-8) 5vw;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

/* Left Panel */
.contact-headline {
  font-size: var(--h2);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-text-main);
}

.contact-headline em {
  font-style: italic;
  color: var(--color-primary);
}

.contact-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 4rem;
  max-width: 500px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s var(--ease);
}

.contact-method-card:hover {
  transform: translateX(10px);
}

.cm-icon {
  width: 56px;
  height: 56px;
  background: #fff;
  color: var(--color-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 84, 166, 0.08);
  flex-shrink: 0;
}

.cm-icon svg {
  width: 24px;
  height: 24px;
}

.cm-details span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.cm-details a,
.cm-details p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-decoration: none;
  transition: color 0.3s;
}

.cm-details a:hover {
  color: var(--color-primary);
}

.contact-social-wrap {
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
}

.social-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.contact-socials {
  display: flex;
  gap: 2rem;
}

.social-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.social-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease);
}

.social-link:hover {
  color: var(--color-primary);
}

.social-link:hover::after {
  width: 100%;
}

/* Right Panel - Form Card */
.form-glass-card {
  background: #fff;
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 30px 60px rgba(0, 40, 71, 0.06);
  border: 1px solid var(--color-border);
}

.form-header {
  margin-bottom: 3rem;
}

.form-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.form-header p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.premium-field {
  position: relative;
  width: 100%;
}

.premium-field input,
.premium-field select,
.premium-field textarea {
  width: 100%;
  padding: 1.2rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text-main);
  outline: none;
  transition: all 0.3s;
}

.premium-field label {
  position: absolute;
  top: 1.2rem;
  left: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}

/* Floating Label Logic */
.premium-field input:focus ~ label,
.premium-field input:not(:placeholder-shown) ~ label,
.premium-field textarea:focus ~ label,
.premium-field textarea:not(:placeholder-shown) ~ label,
.premium-field select:focus ~ label,
.premium-field select:valid ~ label {
  top: -10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.premium-field input:focus,
.premium-field select:focus,
.premium-field textarea:focus {
  border-bottom-color: var(--color-primary);
}

.field-error {
  display: none;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.5rem;
}

.field-error.show {
  display: block;
}

.premium-field.error input,
.premium-field.error select,
.premium-field.error textarea {
  border-bottom-color: #ef4444;
}

.form-submit-btn {
  margin-top: 1.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.form-submit-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--ease);
}

.form-submit-btn:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 15px 35px rgba(0, 84, 166, 0.25);
  transform: translateY(-3px);
}

.form-submit-btn:hover svg {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .contact-info-panel {
    text-align: center;
  }
  .contact-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-method-card {
    justify-content: center;
  }
  .contact-socials {
    justify-content: center;
  }
  .form-glass-card {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact {
    padding-top: var(--sp-6);
    padding-bottom: var(--sp-6);
  }
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--color-bg-main);
  border-top: 1px solid var(--color-border);
  padding: var(--sp-7) 5vw 0;
}
.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--color-border);
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: var(--sp-3) 0;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: var(--sp-3);
}
.footer-social a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s;
}
.footer-social a:hover {
  color: var(--color-primary);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h6 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-main);
  margin-bottom: 8px;
}
.footer-col a,
.footer-col span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  transition:
    color 0.3s,
    transform 0.3s;
  display: inline-block;
}
.footer-col a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* ══════════════════════════════
   RESPONSIVE OVERHAUL
   ══════════════════════════════ */

@media (max-width: 1200px) {
  :root {
    --sp-8: 100px;
  }

  .about-grid,
  .contact-grid {
    gap: 3rem;
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --sp-8: 80px;
    --sp-6: 48px;
    --h1: clamp(2.8rem, 8vw, 4.5rem);
    --h2: clamp(2rem, 5vw, 3rem);
  }

  nav {
    padding: 0 4vw;
  }

  .nav-center {
    display: none;
  }

  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .bento-card {
    height: 350px !important;
    grid-column: span 6 !important;
  }

  .process-track-line {
    display: none;
  }

  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-info-panel {
    text-align: center;
  }

  .contact-lead {
    margin: 0 auto 3rem;
  }

  .contact-method-card {
    justify-content: center;
  }

  .contact-socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --sp-8: 64px;
    --sp-7: 48px;
    --sp-6: 32px;
  }

  nav {
    height: 70px !important;
    padding: 0 20px !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
  }

  .nav-center,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    flex-wrap: nowrap;
    padding: 1rem 2vw;
  }

  .h-stat {
    padding: 0.5rem 0.5rem;
    flex: 1;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-img-secondary {
    display: none;
  }

  .about-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -30px;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .process-step {
    align-items: flex-start;
    text-align: left;
  }

  .step-node {
    margin-bottom: 1.5rem;
  }

  .testi-card {
    width: 280px;
    padding: 1.5rem;
  }

  .form-glass-card {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .footer-brand p {
    margin: 1.5rem auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .slide-content {
    padding: 0 6vw;
  }

  .slide-headline {
    font-size: 2.2rem !important;
  }

  .slide-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .h-stat {
    min-width: 100%;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
  }

  .h-stat:last-child {
    border-bottom: none;
  }

  .slider-arrow {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .slider-prev {
    left: 15px;
  }

  .slider-next {
    right: 15px;
  }

  .mobile-link {
    font-size: 1.5rem !important;
  }
}

/* ------------------------------
   PROJECT LIFECYCLE (process2)
   ------------------------------ */
.process2 {
  position: relative;
  background: var(--color-bg-main);
  padding: var(--sp-8) 5vw;
  overflow: hidden;
}

.lifecycle-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.lc-card {
  position: relative;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}

.lc-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lc-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.lc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.lc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 40, 71, 0.4) 0%,
    rgba(0, 29, 53, 0.95) 80%
  );
  z-index: 2;
}

.lc-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.lc-header {
  margin-bottom: 1.5rem;
}

.lc-num {
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
  display: block;
}

.lc-content h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  color: #fff;
  margin-top: 0.5rem;
  font-weight: 700;
}

.lc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.8;
  font-size: 0.9rem;
}

.lc-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.4;
}

.lc-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-size: 0.8rem;
}

.lc-card:hover {
  transform: translateY(-10px);
}

.lc-card:hover .lc-image img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .lc-card {
    height: 350px;
  }
}

/* ------------------------------
   ARCHITECTURAL LIFECYCLE FLOW
   ------------------------------ */
.lifecycle-flow-section {
  position: relative;
  background: var(--color-bg-alt);
  padding: var(--sp-8) 5vw;
  overflow: hidden;
}

.lifecycle-flow-container {
  max-width: 1400px;
  margin: 60px auto 0;
  position: relative;
}

/* Central Connecting Line (Desktop) */
.flow-line {
  position: absolute;
  top: 25px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary) 10px,
    transparent 10px,
    transparent 20px
  );
  z-index: 1;
  opacity: 0.3;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.lc-step-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Kinetic Node Pulse */
.lc-node-pulse {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(0, 84, 166, 0.4);
  animation: nodePulse 2.5s infinite;
}

@keyframes nodePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 84, 166, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 84, 166, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 84, 166, 0);
  }
}

.lc-node-pulse::after {
  content: "";
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
}

/* Card Improvements */
.lc-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s var(--ease);
  width: 100%;
}

.lc-image {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.lc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.lc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
}

.lc-content {
  padding: 1.5rem;
}

.lc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.lc-num {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.2;
}

.lc-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-text-main);
}

.lc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lc-list li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 6px;
  padding-left: 15px;
  position: relative;
}

.lc-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-size: 0.7rem;
}

.lc-step-wrapper:hover .lc-card {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 84, 166, 0.15);
}

.lc-step-wrapper:hover .lc-image img {
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════
   FINAL COMPREHENSIVE RESPONSIVE BLOCK
   Ensures all mobile issues are fixed last.
   ═══════════════════════════════════════════════ */

/* Global Overflow Fix */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure all sections stay within bounds */
section,
footer,
nav,
div {
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  /* Navbar */
  .nav-center,
  .nav-right {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }

  /* Lifecycle Reflow */
  .lifecycle-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .lc-step-wrapper {
    flex-direction: row !important;
    gap: 2rem !important;
    align-items: flex-start !important;
  }
  .lc-node-pulse {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }
  .flow-line {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Navbar Height */
  nav {
    height: 70px !important;
    padding: 0 5vw !important;
  }

  /* Mobile Menu Refinement */
  .mobile-link {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    gap: 1rem !important;
  }
  .mobile-menu::before {
    font-size: 40vw !important;
    opacity: 0.3 !important;
  }

  /* About Section Badge Fix */
  .about-badge {
    position: relative !important;
    right: 0 !important;
    bottom: 0 !important;
    margin-top: 2rem !important;
    display: inline-block !important;
    width: auto !important;
    padding: 1.5rem !important;
  }
  .about-visual {
    padding-bottom: 0 !important;
    text-align: center !important;
  }
  .about-img-secondary {
    display: none !important;
  }

  /* Hero Stats Refinement */
  .hero-stats {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-around !important;
    padding: 1rem 2vw !important;
    gap: 0 !important;
    background: rgba(255, 255, 255, 0.95) !important;
  }
  .h-stat {
    border-right: 1px solid var(--color-border) !important;
    border-bottom: none !important;
    padding: 0.5rem 0.5rem !important;
    width: auto !important;
    flex: 1 !important;
    text-align: center !important;
  }
  .h-stat:last-child {
    border-right: none !important;
  }

  /* Bento Grid Stack */
  .bento-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  .bento-card {
    height: 320px !important;
    width: 100% !important;
  }

  /* Section BG Numbers - Hide on mobile if they overflow */
  .section-bg-num {
    display: none !important;
  }

  /* Testimonials Track Fix */
  .testi-card {
    width: 80vw !important;
    padding: 2rem !important;
  }
}

@media (max-width: 480px) {
  /* Hero Headline scaling */
  .slide-headline {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  .slide-eyebrow {
    font-size: 12px !important;
  }
  .slide-actions {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .btn-primary,
  .btn-ghost {
    width: 100% !important;
  }

  /* Mobile Menu spacing */
  .mobile-nav {
    gap: 1rem !important;
  }
  .mobile-link {
    font-size: 1.8rem !important;
  }
}
