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

:root {
  --navy: #0f1f3d;
  --navy-mid: #1a3260;
  --navy-light: #2a4a8a;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --amber-dark: #d97706;
  --cream: #fdf8f0;
  --surface: #ffffff;
  --ink: #0f1f3d;
  --ink-muted: #4a5568;
  --ink-light: #718096;
  --rule: #e8e4dc;
  --green: #059669;
  --green-light: #ecfdf5;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(15,31,61,0.08);
  --shadow-md: 0 4px 20px rgba(15,31,61,0.12);
  --shadow-lg: 0 8px 40px rgba(15,31,61,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,31,61,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--amber); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--amber);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.nav-cta:hover { background: var(--amber-dark); transform: translateY(-1px); }

/* HERO */
.hero-wrap {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 50%, #0d2d5c 100%);
  position: relative;
  overflow: hidden;
}
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(245,158,11,0.15);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}
.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 90px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  background: rgba(245,158,11,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(245,158,11,0.25);
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  animation: pulse-cta 3s ease-in-out infinite;
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.35);
  animation: none;
}
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
  50% { box-shadow: 0 0 0 8px rgba(245,158,11,0.15); }
}
.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

/* HERO CARD */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.avatar-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid var(--amber);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px rgba(245,158,11,0.15);
}
.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 4px;
}
.hero-card .role {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.stat-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  transition: background 0.2s;
}
.stat-box:hover { background: rgba(255,255,255,0.12); }
.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.badge-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(245,158,11,0.15);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.25);
}
.badge.green {
  background: rgba(5,150,105,0.15);
  color: #34d399;
  border-color: rgba(5,150,105,0.25);
}

/* DIVIDER */
.divider {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  border: none;
  border-top: 1px solid var(--rule);
}

/* SECTIONS */
section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 24px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: var(--amber-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 40px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-body p {
  color: var(--ink-muted);
  margin-bottom: 18px;
  font-size: 15.5px;
}
.cred-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cred-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cred-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.cred-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.cred-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.cred-text span {
  font-size: 13px;
  color: var(--ink-muted);
}

/* SUBJECTS */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.subject-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.subject-card:hover {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-light), var(--shadow-sm);
  transform: translateY(-3px);
}
.subject-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber-light);
}
.subject-card ul { list-style: none; }
.subject-card ul li {
  font-size: 14px;
  color: var(--ink-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
}
.subject-card ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}
.subject-card ul li:last-child { border-bottom: none; }

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--amber);
}
.service-icon {
  font-size: 30px;
  margin-bottom: 14px;
  display: block;
}
.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* PRICING TABS */
.pricing-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  background: rgba(15,31,61,0.06);
  padding: 4px;
  border-radius: 14px;
  width: fit-content;
}
.pricing-tab {
  padding: 10px 30px;
  border: none;
  border-radius: 11px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--ink-muted);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.pricing-tab.active {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* PRICING GRID */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border: 2px solid var(--amber);
  background: linear-gradient(160deg, #fff 60%, var(--amber-light));
}
.pricing-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.pricing-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
}
.pricing-card-price {
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  color: var(--navy);
  line-height: 1;
}
.pricing-card-unit {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}
.pricing-card-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.pricing-card .btn-primary {
  margin-top: 8px;
  text-align: center;
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  animation: none;
}
.pricing-card .btn-outline {
  margin-top: 8px;
  text-align: center;
  width: 100%;
  font-family: inherit;
}

/* DISCOVERY CALL BANNER */
.discovery-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.discovery-banner::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(245,158,11,0.1);
}
.discovery-banner::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(245,158,11,0.07);
}
.discovery-text h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}
.discovery-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
}
.discovery-free {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

/* BOOK CTA SECTION */
.book-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.book-section::before {
  content: '';
  position: absolute;
  left: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245,158,11,0.08);
}
.book-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: #fff;
  margin-bottom: 14px;
}
.book-section p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  margin-bottom: 32px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 {
  font-size: 20px;
  font-family: 'DM Serif Display', serif;
  color: var(--navy);
  margin-bottom: 20px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink-muted);
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--amber-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
form { display: flex; flex-direction: column; gap: 14px; }
label { font-size: 14px; font-weight: 500; color: var(--navy); }
input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-light);
}
textarea { resize: vertical; min-height: 120px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

/* FOOTER */
footer {
  border-top: 1px solid var(--rule);
  background: var(--navy);
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: #fff;
}
.footer-logo span { color: var(--amber); }
.footer-text { font-size: 13px; color: rgba(255,255,255,0.45); }

/* RESPONSIVE */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 56px 20px 48px;
    gap: 40px;
  }
  .hero-card { order: -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  nav .nav-links { display: none; }
  .book-section, .discovery-banner { padding: 40px 24px; }
  .discovery-banner { flex-direction: column; text-align: center; }
  section { padding: 56px 20px; }
}
@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* SELECT FIELDS */
select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-light);
}
@media (max-width: 500px) {
  .contact-grid form > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* MOST POPULAR CARD */
.pricing-card.popular {
  border: 2px solid var(--amber);
  background: linear-gradient(160deg, #fff 50%, var(--amber-light));
  box-shadow: 0 0 0 4px rgba(245,158,11,0.12), 0 8px 32px rgba(245,158,11,0.18);
  animation: glow-pulse 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
  transform: translateY(-4px) scale(1.02);
}
.pricing-card.popular:hover {
  box-shadow: 0 0 0 6px rgba(245,158,11,0.18), 0 12px 40px rgba(245,158,11,0.28);
  transform: translateY(-8px) scale(1.02);
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245,158,11,0.12), 0 8px 32px rgba(245,158,11,0.18); }
  50%       { box-shadow: 0 0 0 8px rgba(245,158,11,0.2),  0 12px 40px rgba(245,158,11,0.3); }
}
.pricing-card.popular .pricing-card-price {
  color: var(--amber-dark);
}
.pricing-card.popular .pricing-card-badge {
  background: var(--amber);
  color: var(--navy);
  font-size: 12px;
  padding: 5px 16px;
  box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}

/* POPULAR on subject cards */
.subject-card.popular {
  border: 2px solid var(--amber);
  background: linear-gradient(160deg, #fff 50%, var(--amber-light));
  box-shadow: 0 0 0 4px rgba(245,158,11,0.12), 0 8px 32px rgba(245,158,11,0.18);
  animation: glow-pulse 3s ease-in-out infinite;
  transform: translateY(-4px) scale(1.02);
}
.subject-card.popular:hover {
  box-shadow: 0 0 0 6px rgba(245,158,11,0.18), 0 12px 40px rgba(245,158,11,0.28);
  transform: translateY(-8px) scale(1.02);
}
.subject-card.popular .subject-year {
  color: var(--amber-dark);
  border-bottom-color: var(--amber);
}

/* MOST POPULAR BADGE on subject card */
.subject-popular-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}

/* ABOUT HEADING - stronger presence */
#about h2 {
  padding-bottom: 20px;
  border-bottom: 3px solid var(--amber);
  display: inline-block;
  margin-bottom: 28px;
}
