/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #06B6D4;
  --accent: #F97316;
  --accent-dark: #ea6c0a;
  --bg: #F8FAFC;
  --bg-alt: #EFF6FF;
  --text: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --white: #ffffff;
  --card-bg: rgba(255,255,255,0.85);
  --glass: rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.2);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(37,99,235,0.12);
  --shadow-lg: 0 20px 60px rgba(37,99,235,0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}
[data-theme="dark"] {
  --bg: #0F172A;
  --bg-alt: #1E293B;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-light: #64748B;
  --card-bg: rgba(30,41,59,0.9);
  --glass: rgba(15,23,42,0.4);
  --glass-border: rgba(255,255,255,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.5s, visibility 0.5s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.loader-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800; font-size: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.loader-bar {
  width: 200px; height: 3px; background: var(--bg-alt);
  border-radius: 99px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  border-radius: 99px;
  animation: loaderFill 1.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loaderFill { from { width: 0 } to { width: 100% } }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
nav.scrolled {
  background: rgba(248,250,252,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
[data-theme="dark"] nav.scrolled {
  background: rgba(15,23,42,0.85);
}
.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon i { color: white; font-size: 0.9rem; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-theme {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--glass-border);
  background: var(--card-bg);
  color: var(--text-muted);
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.btn-theme:hover { color: var(--primary); border-color: var(--primary); }
.btn-cta-nav {
  padding: 10px 22px; border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; font-weight: 600; font-size: 0.875rem;
  border: none; cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.btn-cta-nav:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(37,99,235,0.4); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
  background: var(--bg); border-top: 1px solid var(--glass-border);
  padding: 20px 5% 30px;
  flex-direction: column; gap: 0;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 0; font-weight: 500; color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .btn-cta-nav { margin-top: 16px; text-align: center; display: block; padding: 14px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 5% 80px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.5;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37,99,235,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 30% 70%, rgba(6,182,212,0.06) 0%, transparent 70%);
}
[data-theme="dark"] .hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37,99,235,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 30% 70%, rgba(6,182,212,0.12) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-left { animation: fadeInUp 0.8s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2);
  color: var(--primary); font-size: 0.8rem; font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-badge i { animation: pulse 2s ease infinite; }
h1.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.15s both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.75;
  max-width: 520px; margin-bottom: 32px;
  animation: fadeInUp 0.7s ease 0.25s both;
}
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px;
  animation: fadeInUp 0.7s ease 0.35s both;
}
.btn-primary {
  padding: 14px 28px; border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.45); }
.btn-outline {
  padding: 14px 28px; border-radius: 50px;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--text-light);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(37,99,235,0.05); }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  animation: fadeInUp 0.7s ease 0.45s both;
}
.hero-tag {
  padding: 6px 14px; border-radius: 50px;
  background: var(--card-bg); border: 1px solid var(--glass-border);
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.hero-tag i { color: var(--primary); font-size: 0.75rem; }
.hero-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.hero-right {
  display: flex; flex-direction: column; gap: 20px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px; text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  backdrop-filter: blur(12px);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card .stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-card .stat-label {
  font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; font-weight: 500;
}
.hero-visual-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 28px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(37,99,235,0.35);
}
.hero-visual-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.hero-vc-title {
  color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.hero-vc-services {
  display: flex; flex-direction: column; gap: 10px;
}
.hero-vc-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.1); border-radius: 10px;
  padding: 10px 14px; color: white;
  font-size: 0.875rem; font-weight: 500;
  transition: background var(--transition);
}
.hero-vc-item:hover { background: rgba(255,255,255,0.18); }
.hero-vc-item i { width: 18px; text-align: center; opacity: 0.8; }
.hero-vc-item .vc-bar {
  flex: 1; height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden;
}
.hero-vc-item .vc-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), var(--secondary));
  animation: barGrow 2s ease both;
}
@keyframes barGrow { from { width: 0 } }

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
section { padding: 100px 5%; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.15);
  color: var(--primary); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.2;
  color: var(--text); letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.75;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about { background: var(--bg-alt); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about-visual {
  position: relative; border-radius: var(--radius); overflow: visible;
}
.about-main-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1e40af 100%);
  border-radius: var(--radius); padding: 40px;
  color: white; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(37,99,235,0.35);
}
.about-main-card::before {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}
.about-main-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.6rem; margin-bottom: 12px;
}
.about-main-card p { opacity: 0.8; line-height: 1.7; font-size: 0.9rem; }
.about-float-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius-sm); padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  min-width: 160px;
}
[data-theme="dark"] .about-float-card { background: var(--bg-alt); }
.about-float-card.card1 { bottom: -20px; right: -30px; }
.about-float-card.card2 { top: -20px; left: -20px; }
.about-float-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.about-float-card .fc-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.about-float-card .fc-val {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--text); line-height: 1;
}
.about-text .section-sub { max-width: 100%; margin-bottom: 32px; }
.about-achievements {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px;
}
.achievement-item {
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 16px 20px;
  transition: all var(--transition); cursor: default;
}
.achievement-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.achievement-item .ai-num {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1;
}
.achievement-item .ai-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.about-points { display: flex; flex-direction: column; gap: 12px; }
.about-point {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--text-muted); font-weight: 500;
}
.about-point i { color: var(--primary); font-size: 1rem; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services { background: var(--bg); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition); cursor: default;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0; transition: opacity var(--transition); z-index: 0;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 0.04; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.service-content { position: relative; z-index: 1; }
.service-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform var(--transition);
}
.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; color: var(--text);
}
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.service-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 0.82rem; font-weight: 600;
  margin-top: 18px;
  transition: gap var(--transition);
}
.service-card:hover .service-arrow { gap: 10px; }

/* ============================================================
   STATISTICS SECTION
   ============================================================ */
#stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1e3a8a 100%);
  padding: 80px 5%;
}
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center;
}
.stat-item { color: white; }
.stat-item .s-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1;
}
.stat-item .s-label {
  font-size: 0.9rem; opacity: 0.75; margin-top: 8px; font-weight: 500;
}
.stat-item .s-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 14px;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
#testimonials { background: var(--bg-alt); }
.testimonials-track-wrap { overflow: hidden; position: relative; }
.testimonials-track {
  display: flex; gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  min-width: calc(33.333% - 16px);
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); flex-shrink: 0;
  backdrop-filter: blur(12px);
}
.t-stars { color: #F59E0B; margin-bottom: 14px; font-size: 0.9rem; }
.t-quote { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-family: 'Poppins', sans-serif; font-size: 1rem;
}
.t-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.t-role { font-size: 0.78rem; color: var(--text-muted); }
.testimonial-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px;
}
.t-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card-bg); border: 1.5px solid var(--glass-border);
  color: var(--text-muted); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.t-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-light); cursor: pointer;
  transition: all var(--transition);
}
.t-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
#faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.faq-item.open { border-color: rgba(37,99,235,0.3); box-shadow: var(--shadow); }
.faq-q {
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--text);
  transition: color var(--transition);
}
.faq-item.open .faq-q { color: var(--primary); }
.faq-q-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(37,99,235,0.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
  transition: transform var(--transition), background var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); background: var(--primary); color: white; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }
.faq-a p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact { background: var(--bg-alt); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.6rem; color: var(--text); margin-bottom: 4px;
}
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 16px 20px;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.contact-detail:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cd-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(37,99,235,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.cd-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.cd-val { font-size: 0.9rem; font-weight: 500; color: var(--text); margin-top: 2px; }
.map-embed {
  border-radius: var(--radius); overflow: hidden; height: 200px;
  box-shadow: var(--shadow); border: 1px solid var(--glass-border);
  margin-top: 8px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.contact-form {
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.contact-form h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.4rem; color: var(--text); margin-bottom: 28px;
}
.form-group { position: relative; margin-bottom: 20px; }
.form-group label {
  position: absolute; top: 14px; left: 16px;
  font-size: 0.875rem; color: var(--text-muted);
  pointer-events: none; transition: all 0.25s ease;
  background: transparent;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--glass-border);
  background: var(--bg); color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  outline: none; transition: all var(--transition);
  appearance: none;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label {
  top: -10px; left: 12px; font-size: 0.72rem;
  color: var(--primary); font-weight: 600;
  background: var(--bg); padding: 0 4px;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%; padding: 15px; border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(37,99,235,0.35);
  transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.45); }
.form-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px; gap: 16px;
}
.form-success.show { display: flex; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 2rem; animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.form-success h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--text); }
.form-success p { color: var(--text-muted); font-size: 0.9rem; }
@keyframes popIn { from { transform: scale(0) } to { transform: scale(1) } }

/* ============================================================
   PRIVACY POLICY SECTION
   ============================================================ */
#privacy { background: var(--bg); }
.privacy-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.privacy-toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.privacy-toc h4 {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--text);
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px;
}
.privacy-toc-list { display: flex; flex-direction: column; gap: 4px; }
.privacy-toc-list a {
  font-size: 0.85rem; padding: 8px 12px; border-radius: 8px;
  color: var(--text-muted); font-weight: 500; transition: all var(--transition);
}
.privacy-toc-list a:hover, .privacy-toc-list a.active { background: rgba(37,99,235,0.08); color: var(--primary); }
.privacy-accordion { display: flex; flex-direction: column; gap: 10px; }
.privacy-item {
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); overflow: hidden;
  backdrop-filter: blur(12px);
}
.privacy-q {
  padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  cursor: pointer; font-weight: 600; font-size: 0.92rem; color: var(--text);
}
.privacy-q-num {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: rgba(37,99,235,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
}
.privacy-item.open .privacy-q-num { background: var(--primary); color: white; }
.privacy-chevron {
  margin-left: auto; color: var(--text-muted); font-size: 0.8rem;
  transition: transform var(--transition);
}
.privacy-item.open .privacy-chevron { transform: rotate(180deg); color: var(--primary); }
.privacy-a {
  max-height: 0; overflow: hidden; padding: 0 22px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.privacy-item.open .privacy-a { max-height: 400px; padding: 0 22px 18px; }
.privacy-a p, .privacy-a ul { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }
.privacy-a ul { padding-left: 20px; margin-top: 8px; }
.privacy-a ul li { margin-bottom: 6px; list-style: disc; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text);
  padding: 60px 5% 0;
}
[data-theme="dark"] footer { background: #0a1120; }
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {}
.footer-logo {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem;
  background: linear-gradient(135deg, #60A5FA, var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.footer-logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-icon i { color: white; font-size: 0.85rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.75; margin-bottom: 20px; }
.social-icons { display: flex; gap: 10px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: all var(--transition); cursor: pointer;
}
.social-icon:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-2px); }
.footer-col h4 {
  font-family: 'Poppins', sans-serif; color: white; font-weight: 700;
  font-size: 0.9rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem; color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--secondary); margin-top: 3px; font-size: 0.85rem; }
.footer-contact-item span { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom a:hover { color: white; }

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  cursor: pointer; transition: all var(--transition);
  animation: waPulse 2s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.1); animation: none; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}
.back-to-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card-bg); border: 1.5px solid var(--glass-border);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow);
  transition: all var(--transition);
  opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 50px; }
  .hero-right { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-stats-grid { grid-template-columns: repeat(4,1fr); }
  .hero-visual-card { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { min-width: calc(50% - 12px); }
  .contact-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-toc { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 70px 5%; }
  .nav-links, .nav-actions .btn-cta-nav { display: none; }
  .nav-hamburger { display: flex; }
  .hero-right { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-achievements { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .testimonial-card { min-width: calc(100% - 0px); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
}
