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

:root {
  --navy:    #0f2744;
  --blue:    #1a56a0;
  --accent:  #2e8b6e;
  --light:   #f4f7fb;
  --white:   #ffffff;
  --text:    #1e293b;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(15,39,68,0.08);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

/* Scroll animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

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

h1, h2, h3 {
  font-family: 'Merriweather', serif;
  line-height: 1.25;
}

p { color: var(--muted); }

a { color: var(--blue); text-decoration: none; }

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

.section {
  padding: 96px 0;
}

.bg-light { background: var(--light); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 { font-size: 2rem; color: var(--navy); margin-bottom: 16px; }
.section-header p  { font-size: 1.05rem; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: #154d8a; }

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

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

/* ===========================
   NAV
=========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}
.logo span { color: var(--accent); }

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
nav a:hover { color: var(--blue); }
nav .btn { padding: 10px 20px; font-size: 14px; }

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 4px;
}

.nav-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-social-icon:hover { color: var(--navy); }

.nav-social-icon svg {
  width: 16px;
  height: 16px;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-social { display: none; }
  .hamburger { display: flex; }

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(15,39,68,0.08);
    z-index: 100;
  }
  #main-nav.nav-open { display: flex; }
  #main-nav a { display: block; padding: 10px 0; font-size: 15px; width: 100%; }
  #main-nav .btn { margin-top: 8px; width: 100%; text-align: center; }
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  background: var(--navy);
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(26,86,160,0.35) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  flex: 0 0 440px;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

/* House — fills the entire frame, slightly dimmed */
.hero-house {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(0.85);
  display: block;
}

/* Doctor — portrait covering left/center, house visible on right edge & bottom */
.hero-doctor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 82%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  /* soft right-edge fade so house shows through naturally */
  -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
  mask-image: linear-gradient(to right, black 60%, transparent 100%);
}


.hero .eyebrow { color: rgba(255,255,255,0.6); }

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 24px;
}

.subhead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 48px; }
  .hero-image  { flex: none; width: 100%; max-width: 480px; height: 360px; margin: 0 auto; }
}

/* ===========================
   STATS
=========================== */
.stats {
  background: var(--blue);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Merriweather', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

/* ===========================
   TWO COL
=========================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.col-text h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: 20px; }
.col-text p  { margin-bottom: 16px; }

.check-list {
  list-style: none;
  margin: 20px 0;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 15px;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* visual cards */
.col-visual { display: flex; flex-direction: column; gap: 20px; }

.visual-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.vc-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.vc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}
.vc-row:last-child { border-bottom: none; }

.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.tag-red   { background: #fef2f2; color: #dc2626; }
.tag-green { background: #f0fdf4; color: #16a34a; }

/* ===========================
   DEGREE GRID
=========================== */
.degree-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.degree-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.degree-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(15,39,68,0.12);
}

.degree-abbr {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.degree-full {
  font-size: 13px;
  color: var(--muted);
}

.footnote {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ===========================
   BENEFITS
=========================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.benefit-card:hover { transform: translateY(-3px); }

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.benefit-card p { font-size: 14px; }

/* ===========================
   FAQ
=========================== */
.faq-container { max-width: 760px; }
.faq-container .section-header { text-align: left; margin-left: 0; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.faq-item summary:hover { background: var(--light); }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
}

/* ===========================
   RESOURCE HUB
=========================== */
.resource-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.resource-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.resource-type-icon { font-size: 1.3rem; }

.resource-col-header h3 {
  font-size: 1.1rem;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.resource-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,39,68,0.1);
}

.resource-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(46,139,110,0.1);
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.resource-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 8px;
}

.resource-meta {
  font-size: 12px;
  color: var(--muted);
}

.resource-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.resource-more:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .resource-tabs { grid-template-columns: 1fr; gap: 40px; }
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  background: var(--navy);
  text-align: center;
}

.cta-inner { max-width: 560px; }

.cta-section h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section > .container > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-form input,
.cta-form select {
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.45); }
.cta-form input:focus,
.cta-form select:focus { border-color: rgba(255,255,255,0.5); }
.cta-form select option { background: var(--navy); }

.cta-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

.form-disclaimer {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #08192e;
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}

.social-icon:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.footer .logo { margin-bottom: 4px; }

.footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  max-width: 720px;
  line-height: 1.7;
}

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

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .two-col          { grid-template-columns: 1fr; gap: 40px; }
  .col-visual       { order: -1; }
  .benefits-grid    { grid-template-columns: repeat(2, 1fr); }
  .degree-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .section          { padding: 64px 0; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .benefits-grid    { grid-template-columns: 1fr; }
  .degree-grid      { grid-template-columns: repeat(2, 1fr); }
  .hero             { padding: 80px 0 64px; }
  .hero-actions     { flex-direction: column; }
}
