/* ============================================================
   SOLVIRELANT — Analytical Journalism Courses
   Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:        #0d1b2a;
  --navy-mid:    #1b2f4b;
  --navy-light:  #243d5e;
  --slate:       #344a62;
  --white:       #f5f7f9;
  --pure-white:  #ffffff;
  --text:        #1e2d3d;
  --text-muted:  #5a7591;
  --text-light:  #8aa0b5;
  --accent:      #b8902a;
  --accent-dark: #9a7520;
  --border:      #d0dae4;
  --border-dark: #c0cdd8;
  --bg-section:  #f0f4f8;
  --bg-alt:      #e8edf3;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1200px;
  --header-h: 72px;

  --shadow-sm: 0 1px 4px rgba(13,27,42,0.08);
  --shadow-md: 0 4px 16px rgba(13,27,42,0.12);
  --shadow-lg: 0 8px 32px rgba(13,27,42,0.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.22s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent); }

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--navy);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.t-overline {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.t-hero-xl {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}

.t-hero-xl.light { color: var(--white); }

.t-section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.t-section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
}

.t-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.t-body-lg {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}

.t-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.t-small {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-divider {
  display: block;
  width: 48px;
  height: 2px;
  background-color: var(--accent);
  margin-bottom: 20px;
}

.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background-color: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background-color: rgba(13,27,42,0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1.5px solid var(--navy);
}

.logo-mark span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}

.logo-tagline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(245,247,249,0.8);
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  border-bottom-color: var(--accent);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background-color: var(--pure-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--bg-section);
  transition: background-color var(--transition), color var(--transition);
}

.dropdown-link:hover {
  background-color: var(--bg-section);
  color: var(--navy);
}

.dropdown-link:last-child { border-bottom: none; }

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background-color: var(--accent);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color var(--transition);
  flex-shrink: 0;
}

.header-cta:hover {
  background-color: var(--accent-dark);
  color: var(--navy);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background-color: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 999;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.mobile-nav.open { display: block; }

.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(245,247,249,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition), background-color var(--transition);
}

.mobile-nav-link:hover {
  color: var(--white);
  background-color: rgba(255,255,255,0.04);
}

.mobile-nav-section {
  padding: 10px 24px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mobile-nav-cta {
  padding: 16px 24px;
}

/* Page offset for fixed header */
.page-body { padding-top: var(--header-h); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

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

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

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

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: var(--navy);
}

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

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

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(245,247,249,0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.08);
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--navy-mid);
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover { color: var(--accent); }

.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 14px;
}

.btn-arrow::after {
  content: '→';
  font-size: 16px;
  margin-left: 4px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background-color: var(--navy);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 600px;
  gap: 0;
}

.hero-content {
  padding: 96px 48px 96px 0;
}

.hero-overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-overline::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--accent);
}

.hero-overline span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245,247,249,0.75);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(245,247,249,0.5);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) brightness(0.85);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 40%);
}

/* ============================================================
   TICKER / BREAKING BAR
   ============================================================ */
.ticker-bar {
  background-color: var(--accent);
  padding: 10px 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.ticker-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  background-color: var(--navy);
  color: var(--accent);
  padding: 4px 16px;
  margin-right: 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-items {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  background-color: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background-color: var(--navy);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background-color: var(--navy-mid);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 17px;
  color: rgba(245,247,249,0.7);
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 13px;
  color: rgba(245,247,249,0.5);
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb-sep {
  color: rgba(245,247,249,0.25);
  font-size: 13px;
}

.breadcrumb-current {
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background-color: var(--pure-white);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img img { transform: scale(1.03); }

.card-body { padding: 24px; }

.card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-section);
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Course card specific */
.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.course-card .card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-level {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: var(--bg-section);
  color: var(--text-muted);
}

.course-level.beginner { background-color: #e8f4ee; color: #2d7a4f; }
.course-level.intermediate { background-color: #fff3e0; color: #b85c00; }
.course-level.advanced { background-color: #fce4ec; color: #ad1457; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background-color: var(--navy);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: rgba(245,247,249,0.5);
  letter-spacing: 0.05em;
}

/* ============================================================
   FEATURE SECTIONS
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-img {
  position: relative;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.feature-content {}

.feature-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-list-icon {
  width: 24px;
  height: 24px;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list-icon::before {
  content: '✓';
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.feature-list-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}

/* ============================================================
   QUOTE / HIGHLIGHT BLOCK
   ============================================================ */
.quote-block {
  border-left: 4px solid var(--accent);
  padding: 24px 32px;
  background-color: var(--bg-section);
  margin: 32px 0;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 12px;
}

.quote-attr {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background-color: var(--pure-white);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 80px;
  font-style: italic;
  color: var(--border);
  line-height: 1;
}

.testimonial-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-section);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-role {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.star-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.star {
  color: var(--accent);
  font-size: 14px;
}

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  gap: 16px;
}

.accordion-question {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
  line-height: 1.35;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--navy);
  transition: transform var(--transition), background-color var(--transition);
}

.accordion-item.open .accordion-icon {
  background-color: var(--navy);
  color: var(--white);
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding-bottom: 20px;
}

.accordion-item.open .accordion-body { display: block; }

.accordion-answer {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  background-color: var(--pure-white);
  border: 1.5px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,27,42,0.06);
}

.form-control::placeholder { color: var(--text-light); }

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

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a7591' 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;
  padding-right: 40px;
  cursor: pointer;
}

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

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-dark);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-check-label {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.form-check-label a { color: var(--navy-mid); font-weight: 600; }

/* Success message */
.success-msg {
  display: none;
  background-color: #e8f4ee;
  border: 1px solid #2d7a4f;
  padding: 20px 24px;
  border-left: 4px solid #2d7a4f;
}

.success-msg.visible { display: block; }

.success-msg-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #1a5c38;
  margin-bottom: 6px;
}

.success-msg-text {
  font-size: 14px;
  color: #2d7a4f;
}

/* ============================================================
   INSTRUCTOR CARD
   ============================================================ */
.instructor-card {
  background-color: var(--pure-white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.instructor-card:hover { box-shadow: var(--shadow-md); }

.instructor-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--bg-section);
}

.instructor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.instructor-body {
  padding: 24px;
}

.instructor-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.instructor-role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.instructor-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   BLOG ARTICLE CARD
   ============================================================ */
.article-card {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.article-card-img {
  width: 180px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--bg-section);
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-img img { transform: scale(1.04); }

.article-card-body { flex: 1; }

.article-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
  background-color: var(--pure-white);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 28px;
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
}

.sidebar-list-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-section);
  font-size: 14px;
  color: var(--text);
}

.sidebar-list-item a {
  color: var(--text);
  transition: color var(--transition);
}

.sidebar-list-item a:hover { color: var(--accent); }

.sidebar-list-item:last-child { border-bottom: none; }

/* ============================================================
   TAGS
   ============================================================ */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background-color: var(--bg-section);
  color: var(--text-muted);
  transition: background-color var(--transition), color var(--transition);
}

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

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   PROGRESS / COURSE DETAILS
   ============================================================ */
.course-detail-header {
  background-color: var(--navy);
  padding: 72px 0;
}

.course-meta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(245,247,249,0.7);
}

.course-meta-icon {
  color: var(--accent);
  font-size: 15px;
}

.syllabus-module {
  border: 1px solid var(--border);
  margin-bottom: 12px;
  overflow: hidden;
}

.syllabus-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: var(--bg-section);
  cursor: pointer;
  transition: background-color var(--transition);
}

.syllabus-module-header:hover { background-color: var(--bg-alt); }

.syllabus-module-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.syllabus-lessons {
  display: none;
  padding: 0;
}

.syllabus-lesson {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.lesson-icon {
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background-color: var(--navy);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-content { position: relative; z-index: 1; text-align: center; }

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 17px;
  color: rgba(245,247,249,0.7);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   PARTNERS / LOGOS
   ============================================================ */
.partners-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-align: center;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--border-dark);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.partner-logo:hover { color: var(--text-muted); }

/* ============================================================
   HIGHLIGHT / INFO BOXES
   ============================================================ */
.info-box {
  padding: 24px 28px;
  border: 1px solid var(--border);
  background-color: var(--bg-section);
  border-left: 4px solid var(--accent);
}

.info-box-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.info-box-text {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.65;
}

.warning-box {
  padding: 20px 24px;
  background-color: #fff8e1;
  border-left: 4px solid var(--accent);
  border: 1px solid #f0d080;
}

/* ============================================================
   NUMBERED LIST
   ============================================================ */
.numbered-list {
  counter-reset: item;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.numbered-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.numbered-item-num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.numbered-item-content {}

.numbered-item-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.numbered-item-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  background-color: var(--pure-white);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--navy);
  color: rgba(245,247,249,0.75);
}

.footer-top {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245,247,249,0.55);
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(245,247,249,0.6);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav-link {
  display: block;
  font-size: 13.5px;
  color: rgba(245,247,249,0.6);
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-nav-link:hover { color: var(--accent); }

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

.footer-legal {
  font-size: 12.5px;
  color: rgba(245,247,249,0.35);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-link {
  font-size: 12px;
  color: rgba(245,247,249,0.4);
  transition: color var(--transition);
}

.footer-legal-link:hover { color: var(--accent); }

/* ============================================================
   UTILITY
   ============================================================ */
.hidden { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-accent { color: var(--accent); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }

.bg-navy     { background-color: var(--navy); }
.bg-section  { background-color: var(--bg-section); }
.bg-alt      { background-color: var(--bg-alt); }
.bg-white    { background-color: var(--pure-white); }

.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.pt-32 { padding-top: 32px; }
.pb-32 { padding-bottom: 32px; }

.border-top    { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }

.w-full { width: 100%; }

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.policy-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}

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

.policy-content ul, .policy-content ol {
  list-style: disc;
  margin: 12px 0 20px 24px;
}

.policy-content li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.policy-content a {
  color: var(--navy-mid);
  font-weight: 500;
  text-decoration: underline;
}

.policy-meta {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.policy-meta-item {
  font-size: 13px;
  color: var(--text-muted);
}

.policy-meta-label {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content { padding: 80px 0; }
  .grid-2-1 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .main-nav,
  .header-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .article-card { flex-direction: column; }
  .article-card-img { width: 100%; height: 200px; }
  .partners-logos { gap: 24px; }
  .cta-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section-header { margin-bottom: 36px; }
}
