/* ===========================
   DTO Consulting – Design System
   =========================== */

/* ---------- Google Fonts ---------- */
/* Loaded via <link> in HTML for better LCP performance */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Navy Palette */
  --navy-950: #030b1a;
  --navy-900: #0a1628;
  --navy-800: #0d1f3c;
  --navy-700: #132d56;
  --navy-600: #1a3a6e;
  --navy-500: #1e4d8f;
  --navy-400: #2563a8;
  --navy-300: #4a8fd4;
  --navy-200: #7eb8e8;
  --navy-100: #bdd9f3;
  --navy-50: #e8f2fb;

  /* Accent */
  --gold-500: #d4a843;
  --gold-400: #e8c564;
  --gold-300: #f0d88a;

  /* Neutral */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --success: #10b981;
  --error: #ef4444;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Sizing */
  --max-width: 1200px;
  --section-padding: clamp(4rem, 8vw, 8rem);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 40px rgba(30, 77, 143, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-500);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-500), var(--gold-500));
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--duration-fast);
  background: rgba(255,255,255,0.15);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 58, 110, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(26, 58, 110, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.35);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 168, 67, 0.5);
}

.btn-outline {
  border: 2px solid var(--navy-200);
  color: var(--navy-700);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy-50);
  border-color: var(--navy-400);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.6rem;
  font-size: 1.05rem;
}

.btn-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  transition: color var(--duration-normal);
}

.navbar.scrolled .navbar-logo {
  color: var(--navy-900);
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy-900);
  font-weight: 900;
  box-shadow: 0 2px 10px rgba(212, 168, 67, 0.3);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius-md);
  transition: all var(--duration-fast);
}

.navbar.scrolled .navbar-links a {
  color: var(--gray-600);
}

.navbar-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.navbar.scrolled .navbar-links a:hover {
  color: var(--navy-700);
  background: var(--gray-50);
}

/* Active nav link (set by IntersectionObserver) */
.navbar-links a.nav-active {
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .navbar-links a.nav-active {
  color: var(--navy-800);
  font-weight: 600;
  background: var(--navy-50);
}

.navbar-cta {
  padding: 0.6rem 1.5rem !important;
  font-size: 0.88rem !important;
  margin-left: 1rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled .menu-toggle span {
  background: var(--navy-900);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 40%, var(--navy-700) 70%, var(--navy-600) 100%);
  overflow: hidden;
  padding: 7rem 0 0;
}

/* Animated background elements */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(30, 77, 143, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 18s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-slow 22s ease-in-out infinite reverse;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-orb-1 {
  top: 15%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: rgba(37, 99, 168, 0.2);
  animation: float-slow 15s ease-in-out infinite;
}

.hero-orb-2 {
  top: 60%;
  right: 5%;
  width: 150px;
  height: 150px;
  background: rgba(212, 168, 67, 0.12);
  animation: float-slow 20s ease-in-out infinite 3s;
}

.hero-orb-3 {
  bottom: 20%;
  left: 30%;
  width: 100px;
  height: 100px;
  background: rgba(78, 150, 220, 0.15);
  animation: float-slow 12s ease-in-out infinite 6s;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4rem;
  flex: 1;
  padding: 2rem 0;
}

.hero-text {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-full);
  padding: 0.45rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-300);
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.12;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.15rem;
}

.hero-image {
  flex: 1;
  max-width: 480px;
  animation: fadeInRight 1s var(--ease-out) 0.3s both;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
}

/* Decorative ring around hero image */
.hero-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* ---------- Hook CTA Banner ---------- */
.hook-banner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  margin-top: 4rem;
  padding-bottom: 2.5rem;
  animation: fadeInUp 1s var(--ease-out) 0.6s both;
}

.hook-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-xl);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.hook-banner-inner:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hook-banner-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hook-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}

.hook-text h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.hook-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.hook-cta {
  flex-shrink: 0;
}

.hook-cta .btn-gold {
  padding: 0.95rem 2.5rem;
}

.hook-cta .btn-gold .btn-arrow {
  transition: transform var(--duration-fast) var(--ease-out);
  display: inline-block;
}

.hook-cta .btn-gold:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- Features / Services Grid ---------- */
.features {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-500), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--navy-50);
  color: var(--navy-600);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 58, 110, 0.3);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---------- About Section ---------- */
.about {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-area {
  position: relative;
}

.about-image-card {
  background: linear-gradient(165deg, var(--navy-800), var(--navy-950));
  border-radius: var(--border-radius-xl);
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.about-stat-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.about-stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.about-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.2;
}

.about-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.35rem;
}

.about-content .section-label {
  color: var(--navy-500);
}

.about-text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.about-feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--white);
  font-size: 0.7rem;
}

.about-feature-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.about-feature-text strong {
  color: var(--navy-800);
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--gray-100);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-stars .star {
  color: var(--gold-500);
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  position: relative;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -5px;
  font-size: 3rem;
  color: var(--navy-100);
  font-family: Georgia, serif;
  line-height: 1;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-200), var(--navy-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-800);
}

.testimonial-author-info p {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ---------- FAQ Section ---------- */
.faq {
  padding: var(--section-padding) 0;
  background: var(--white);
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-header .section-subtitle {
  margin: 0 auto;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item:hover {
  border-color: var(--gray-200);
}

.faq-item.active {
  background: var(--white);
  border-color: var(--navy-200);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--duration-fast);
}

.faq-question:hover {
  color: var(--navy-600);
}

.faq-question:focus-visible {
  outline: 2px solid var(--navy-600);
  outline-offset: -2px;
  background-color: var(--navy-50);
  border-radius: var(--border-radius-md);
}

.faq-question-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--navy-500);
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-question-icon {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-in-out,
              padding 0.7s ease-in-out;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-item.active .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

/* ---------- Contact Section ---------- */
.contact {
  padding: var(--section-padding) 0;
  background: var(--white);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  padding-right: 2rem;
}

.contact-info .section-title {
  margin-bottom: 1rem;
}

.contact-info-text {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background: var(--navy-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy-600);
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-detail-item:hover .contact-detail-icon {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: var(--white);
}

.contact-detail-text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.15rem;
}

.contact-detail-text p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

.contact-form-card {
  background: var(--gray-50);
  border-radius: var(--border-radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
}

.contact-form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy-400);
  box-shadow: 0 0 0 3px rgba(30, 77, 143, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s var(--ease-out);
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 auto 1rem;
}

.form-success h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.92rem;
  color: var(--gray-500);
}

.form-error {
  display: none;
  text-align: center;
  padding: 2rem;
  background: #fef2f2;
  border-radius: var(--border-radius-lg);
  margin-top: 1rem;
}

.form-error.visible {
  display: block;
  animation: fadeInUp 0.5s var(--ease-out);
}

.form-error-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--error), #dc2626);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 auto 1rem;
}

.form-error h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
}

.form-error p {
  font-size: 0.92rem;
  color: var(--gray-600);
}

.btn-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- KPO Funding ---------- */
.kpo-funding {
  background-color: var(--white);
  padding: 4rem 0;
  border-top: 1px solid var(--gray-200);
}

.kpo-funding-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.kpo-logos {
  width: 100%;
  max-width: 700px;
  margin-bottom: 2rem;
}

.kpo-logos img {
  width: 100%;
  height: auto;
  display: block;
}

.kpo-text {
  font-family: var(--font-body);
  color: var(--gray-700);
}

.kpo-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.kpo-description strong {
  color: var(--navy-900);
  font-weight: 600;
}

.kpo-details {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.kpo-detail-item {
  display: flex;
  gap: 0.5rem;
}

.kpo-detail-label {
  color: var(--gray-500);
}

.kpo-detail-value {
  font-weight: 600;
  color: var(--navy-900);
}

.kpo-detail-separator {
  color: var(--gray-300);
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--navy-950), #020810);
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .navbar-logo {
  margin-bottom: 1.25rem;
}

.footer-brand-text {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  transition: all var(--duration-fast);
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--gold-400);
}

/* ---------- Scroll-to-top Button ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(15px, -20px); }
  66% { transform: translate(-10px, 15px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes counter-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    max-width: 380px;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .contact-info {
    padding-right: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right var(--duration-normal) var(--ease-out);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .navbar-links.open {
    right: 0;
  }

  .navbar-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    padding: 1rem 0;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-value {
    font-size: 1.4rem;
  }

  .hook-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }

  .hook-banner-content {
    flex-direction: column;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .kpo-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .kpo-detail-separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Accessibility: Reduced Motion ---------- */
@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;
  }

  .reveal, .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-orb {
    animation: none !important;
  }

  .hero::before, .hero::after {
    animation: none !important;
  }
}
