/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1e2d40;
  --navy-dk: #141d2b;
  --navy-lg: #2c3e55;
  --accent:  #2563eb;
  --accent-h:#1d4ed8;
  --teal:    #0ea5e9;
  --white:   #ffffff;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-400:#94a3b8;
  --gray-600:#475569;
  --gray-800:#1e293b;
  --text:    #1e293b;
  --text-lg: #64748b;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:0 12px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-full { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all .3s ease;
}
.navbar.scrolled {
  background: rgba(20, 29, 43, 0.96);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: 40px; object-fit: contain; border-radius: 8px; background: #fff; padding: 3px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 8px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { margin-left: auto; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 50%, #1e3a5f 100%);
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(37,99,235,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(14,165,233,.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.15);
  margin-bottom: 28px;
  letter-spacing: .02em;
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #38bdf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.7);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 32px; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  margin: 0 auto;
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── SECTIONS ────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-dark { background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 100%); }
.section-light { background: var(--gray-50); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-block;
  background: rgba(37,99,235,.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-badge-light {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }
.section-title.left { text-align: left; }
.section-sub { font-size: 17px; color: var(--text-lg); max-width: 580px; margin: 0 auto; }
.section-sub.light { color: rgba(255,255,255,.65); }

/* ── SERVICES GRID ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-200); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.service-card p { font-size: 14px; color: var(--text-lg); line-height: 1.7; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags li {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
}

/* ── TRAINING ────────────────────────────────────────────────── */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.training-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .3s;
}
.training-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.training-num { font-size: 36px; font-weight: 900; color: rgba(255,255,255,.08); line-height: 1; margin-bottom: 12px; }
.training-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.training-card p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 16px; }
.training-level {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: .04em;
}
.training-level.beginner { background: rgba(16,185,129,.15); color: #34d399; }
.training-level.intermediate { background: rgba(59,130,246,.15); color: #60a5fa; }
.training-level.advanced { background: rgba(245,158,11,.15); color: #fbbf24; }
.training-cta { text-align: center; }
.training-cta p { color: rgba(255,255,255,.7); margin-bottom: 20px; font-size: 17px; }

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text p {
  color: var(--text-lg);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}
.about-details {
  margin-top: 32px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-100);
  gap: 16px;
}
.about-detail-item:last-child { border-bottom: none; }
.detail-label { font-size: 12px; font-weight: 600; color: var(--text-lg); text-transform: uppercase; letter-spacing: .05em; flex-shrink: 0; }
.detail-value { font-size: 14px; font-weight: 500; color: var(--text); text-align: right; }
.detail-value a { color: var(--accent); }
.detail-value a:hover { text-decoration: underline; }
.about-card-stack { display: flex; flex-direction: column; gap: 16px; }
.about-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: all .3s;
}
.about-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.ac-icon { font-size: 24px; flex-shrink: 0; }
.about-card strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.about-card span { font-size: 13px; color: var(--text-lg); }

/* ── TEAM ────────────────────────────────────────────────────── */
.team-center { display: flex; justify-content: center; }
.team-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 720px;
  box-shadow: var(--shadow-lg);
  transition: all .3s;
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.team-info h3 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 16px; }
.team-bio { font-size: 14px; color: var(--text-lg); line-height: 1.8; margin-bottom: 20px; }
.team-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.team-skills span {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.team-links { display: flex; gap: 12px; }
.team-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: all .2s;
}
.team-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── WHY US ──────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .3s;
}
.why-card:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.why-icon { font-size: 28px; margin-bottom: 14px; }
.why-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.why-card p { font-size: 13px; color: var(--text-lg); line-height: 1.7; }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-item span, .contact-item a { font-size: 15px; color: rgba(255,255,255,.85); }
.contact-item a:hover { color: #fff; text-decoration: underline; }
.contact-legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.contact-legal p { font-size: 12px; color: rgba(255,255,255,.35); }
.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--gray-50);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; margin-top: 12px; text-align: center; min-height: 20px; }
.form-note.success { color: #16a34a; }
.form-note.error { color: #dc2626; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer { background: var(--navy-dk); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { height: 40px; width: 40px; object-fit: contain; border-radius: 8px; background: #fff; padding: 3px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 8px; }
.footer-legal { font-size: 11px !important; color: rgba(255,255,255,.3) !important; }
.footer-links h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.85); }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.25); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy-dk); padding: 100px 32px 40px; gap: 8px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; padding: 12px 16px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; gap: 24px; align-items: center; text-align: center; padding: 32px 24px; }
  .team-links { justify-content: center; }
  .team-skills { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .about-card { padding: 16px 18px; }
}
