:root {
  --navy: #0b2545;
  --navy-deep: #071a34;
  --teal: #13808a;
  --teal-light: #1aa5b1;
  --gold: #d4a373;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1a2b44;
  --muted: #5a6c84;
  --border: #e2e8f0;
  --shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

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

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-light); }

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-mark {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a.btn-primary {
  color: white;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: white;
}

.btn-primary:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: white;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(19, 128, 138, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  background: var(--teal);
}

.hero-cta .btn-primary:hover {
  background: var(--teal-light);
}

.hero-cta .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 540px;
}

.hero-stat {
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
}

.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  display: block;
}

.hero-stat .label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-card h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--teal-light);
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-card li:last-child { border-bottom: none; }

.hero-card li::before {
  content: '▸';
  color: var(--teal-light);
  font-weight: 700;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-head .eyebrow {
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

/* Cards grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.card h3 { margin-bottom: 0.75rem; }

/* Courses */
.course-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card .tag-row {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: white;
  padding: 1.5rem 1.75rem;
}

.course-card .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.course-card .tag-row h3 {
  color: white;
  font-size: 1.4rem;
  margin: 0;
}

.course-card .body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card .body p { margin-bottom: 1.25rem; }

.course-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.course-card li {
  padding: 0.4rem 0;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.course-card li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

.course-card .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 1rem;
}

.course-card .price small {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.course-card .btn { width: 100%; margin-top: auto; }

/* Testimonials */
.testimonial {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--teal);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial .quote {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial .who strong {
  color: var(--navy);
  display: block;
  font-size: 0.95rem;
}

.testimonial .who span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 { color: white; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 2rem; }

.cta-band .btn-primary {
  background: white;
  color: var(--navy);
}

.cta-band .btn-primary:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Footer */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

footer h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

footer ul { list-style: none; }

footer li { margin-bottom: 0.5rem; }

footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

footer a:hover { color: var(--teal-light); }

footer .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Page header (inner pages) */
.page-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: white;
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-head h1 { color: white; margin-bottom: 1rem; }
.page-head p { color: rgba(255, 255, 255, 0.85); max-width: 680px; margin: 0 auto; font-size: 1.1rem; }

/* Question bank */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.question-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.question-item:hover { box-shadow: var(--shadow); }

.question-item .q-head {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.question-item .q-head:hover { background: #fafbfd; }

.q-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.q-station {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  color: white;
  background: var(--teal);
  white-space: nowrap;
}

.q-station[data-type="portfolio"] { background: #6b4fbf; }
.q-station[data-type="clinical"] { background: var(--teal); }
.q-station[data-type="management"] { background: #c95c39; }
.q-station[data-type="ethics"] { background: #4a8d52; }

.q-title {
  font-weight: 500;
  color: var(--text);
  font-size: 1rem;
}

.q-toggle {
  color: var(--teal);
  font-size: 1.2rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.question-item.open .q-toggle { transform: rotate(45deg); }

.q-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  background: #fafbfd;
}

.question-item.open .q-body {
  max-height: 2000px;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.q-body h4 {
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 1rem 0 0.5rem;
}

.q-body h4:first-child { margin-top: 0; }

.q-body p, .q-body li {
  color: var(--text);
  font-size: 0.97rem;
}

.q-body ul, .q-body ol {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.q-body li { margin-bottom: 0.3rem; }

/* Insights / blog cards */
.insight-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.insight-card .thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  position: relative;
}

.insight-card .thumb::after {
  content: attr(data-label);
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.insight-card .body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card .tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.insight-card h3 { margin-bottom: 0.75rem; }

.insight-card p { flex: 1; margin-bottom: 1rem; }

.insight-card .read-more {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact form */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.contact-info h3 { margin-bottom: 1rem; }

.contact-info p { margin-bottom: 1.5rem; }

.contact-info .item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info .item strong {
  color: var(--navy);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.form-row { margin-bottom: 1.25rem; }

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: white;
}

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

.form-success {
  display: none;
  background: #e8f5e9;
  color: #1b5e20;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  border-left: 4px solid #2e7d32;
}

.form-success.show { display: block; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid h2 { margin-bottom: 1.5rem; }
.about-grid p { margin-bottom: 1rem; color: var(--text); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-stat {
  background: var(--surface);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.about-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
}

.about-stat .label {
  font-size: 0.85rem;
  color: var(--muted);
}

.stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.station-box {
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.station-box .n {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: 'Playfair Display', serif;
}

.station-box h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.station-box p { font-size: 0.88rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .stations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 520px) {
  .stations-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
