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

:root {
  --navy:   #0f2240;
  --blue:   #2563eb;
  --gold:   #f59e0b;
  --light:  #f8fafc;
  --muted:  #64748b;
  --border: #e2e8f0;
  --text:   #1e293b;
  --white:  #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15,34,64,.08);
  --shadow-lg: 0 16px 48px rgba(15,34,64,.14);
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

img, svg { display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37,99,235,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}

/* ─── Section shared ───────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 64px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--muted); font-size: 17px; }

h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
}

/* ─── Navbar ───────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}

#navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin-inline: auto;
  padding: 18px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  transition: color .3s;
}
#navbar.scrolled .nav-logo { color: var(--navy); }

.logo-svg { width: 36px; height: 36px; flex-shrink: 0; }

.nav-wordmark-thin { font-weight: 400; opacity: .75; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
#navbar.scrolled .nav-links a { color: var(--muted); }

.nav-links a:hover,
#navbar.scrolled .nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: #d97706 !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background .3s;
}
#navbar.scrolled .hamburger span { background: var(--navy); }

/* ─── Hero ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a1628 0%, #0f2240 50%, #132d55 100%);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--white);
  max-width: 720px;
  margin-bottom: 24px;
}

#hero h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.3);
  width: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Services ─────────────────────────────────────────────── */
#services {
  padding: 100px 0;
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.2);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(37,99,235,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-list li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
  line-height: 22px;
}

/* ─── About ─────────────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-graphic {
  background: linear-gradient(135deg, var(--light) 0%, #e0eaff 100%);
  border-radius: 20px;
  padding: 40px;
  aspect-ratio: 1 / .9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-graphic svg { width: 100%; max-width: 320px; }

.about-content h2 { margin-bottom: 20px; }

.about-content p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}

.about-highlights {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.highlight-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

/* ─── Why Us ─────────────────────────────────────────────────── */
#why-us {
  padding: 100px 0;
  background: var(--navy);
}

#why-us .section-tag {
  color: var(--gold);
  background: rgba(245,158,11,.12);
}

#why-us h2 { color: var(--white); }
#why-us .section-header p { color: rgba(255,255,255,.55); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 0;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
}

.pillar {
  background: transparent;
  padding: 40px 32px;
  transition: background .25s;
}
.pillar:hover { background: rgba(255,255,255,.05); }

.pillar-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.pillar h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.35;
}

.pillar p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ─── Contact ────────────────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--light);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition: color .2s;
}
.contact-link:hover { color: var(--blue); }
.contact-link svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bec5; }

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

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 15px;
  margin-top: 4px;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-success svg {
  width: 48px;
  height: 48px;
  color: #22c55e;
  margin-bottom: 8px;
}
.form-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.form-success p { color: var(--muted); }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.footer-logo .logo-svg { width: 30px; height: 30px; }

.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--navy) !important; }

  .services-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }

  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
