/* ==========================================================================
   AdmissionExpert — base stylesheet (no framework, no build step)
   ========================================================================== */

:root {
  --color-primary: #1d4ed8;
  --color-primary-dark: #1e3a8a;
  --color-primary-light: #3b82f6;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-ink: #0f172a;
  --color-body: #334155;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-surface: #ffffff;
  --color-surface-alt: #f8fafc;
  --color-success: #16a34a;
  --color-error: #dc2626;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --container-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--color-accent);
  color: var(--color-ink);
}
.btn-accent:hover { background: var(--color-accent-dark); color: var(--color-ink); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline-dark {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline-dark:hover { background: var(--color-primary); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-ink);
}
.logo:hover { color: var(--color-ink); }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav ul {
  display: flex;
  gap: 24px;
}
.primary-nav a {
  color: var(--color-body);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background: radial-gradient(1200px 600px at 85% -10%, #dbeafe 0%, transparent 60%), var(--color-surface-alt);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0e7ff;
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-lead { font-size: 1.12rem; color: var(--color-muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.live-visitors-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #166534;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 14px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  position: relative;
  flex-shrink: 0;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--color-success);
  opacity: 0.5;
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust-item { font-size: 0.88rem; color: var(--color-muted); }
.hero-trust-item strong { display: block; font-family: var(--font-heading); color: var(--color-ink); font-size: 1.3rem; }

.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  min-height: 380px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg { width: 78%; height: auto; }
.hero-floating-card {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-floating-card .dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: #ecfdf5; color: var(--color-success);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.hero-floating-card p { margin: 0; font-size: 0.85rem; color: var(--color-muted); }
.hero-floating-card strong { display: block; color: var(--color-ink); font-size: 0.95rem; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--color-surface-alt); }
.section-header { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-header .eyebrow { background: #fef3c7; color: #92400e; }
.section-header p { color: var(--color-muted); font-size: 1.05rem; }
.section-header.align-left { margin-left: 0; text-align: left; }

/* ---------- Stats ---------- */
.stats-bar {
  background: var(--color-primary-dark);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
}
.stats-grid span { color: #c7d2fe; font-size: 0.92rem; }

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin-top: 12px; }
.card ul li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 0.95rem; color: var(--color-body); }
.card ul li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent);
}
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 8px; }

/* ---------- Process steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step { position: relative; padding: 8px 4px; }
.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- Destinations ---------- */
.destination-card {
  border-radius: var(--radius-md);
  padding: 26px;
  color: #fff;
  background: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark));
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.destination-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.destination-card h3 { color: #fff; margin-bottom: 4px; }
.destination-card span { color: #dbeafe; font-size: 0.85rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-rating { color: var(--color-accent); font-size: 0.95rem; margin-bottom: 12px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary-light);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-heading); flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: 0.92rem; color: var(--color-ink); }
.testimonial-person span { font-size: 0.82rem; color: var(--color-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #dbeafe; margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--color-ink); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--color-ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
.form-hint { font-size: 0.8rem; color: var(--color-muted); margin-top: 4px; }
.form-note { font-size: 0.78rem; color: var(--color-muted); margin-top: 14px; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.contact-info-card {
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  padding: 30px;
}
.contact-info-card ul li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-card .card-icon { margin-bottom: 0; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; color: var(--color-muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 60px 0 64px;
  background: var(--color-surface-alt);
  text-align: center;
}
.page-hero p { max-width: 60ch; margin: 0 auto; color: var(--color-muted); }
.breadcrumbs { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--color-muted); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem;
}
.team-card span { color: var(--color-primary); font-size: 0.88rem; font-weight: 600; }

/* ---------- Values ---------- */
.value-item { display: flex; gap: 16px; margin-bottom: 26px; }
.value-item .card-icon { margin-bottom: 0; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: #cbd5e1;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: #94a3b8; margin-top: 14px; font-size: 0.92rem; }
.footer-brand .logo { color: #fff; }
.footer-col h3 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #94a3b8; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: #fff;
}
.social-links a:hover { background: var(--color-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: #94a3b8; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

.mobile-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  padding: 14px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease;
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.06); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 4px; }
  .primary-nav a { display: block; padding: 10px 0; }
  .nav-cta { align-self: flex-start; }

  section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  .whatsapp-fab { bottom: 90px; width: 50px; height: 50px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  body { padding-bottom: 74px; }
}
