/* ===== Design tokens ===== */
:root {
  /* Colors */
  --color-emerald-deep: #0B3D2E;   /* primary brand green */
  --color-emerald-mid: #1F5C45;    /* secondary green, hover states */
  --color-gold: #C9A227;           /* accent gold — CTAs, highlights */
  --color-gold-soft: #E7D9A8;      /* soft gold — borders, subtle accents */
  --color-parchment: #F3EAD3;      /* warm cream background for cards */
  --color-page-bg: #FBF8F1;        /* main page background, lighter than cards */
  --color-ink: #1A1A1A;            /* primary text */
  --color-ink-soft: #4A4A44;       /* secondary/muted text */

  /* Typography */
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background-color: var(--color-page-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-emerald-deep);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Hero section ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(180deg, var(--color-parchment) 0%, var(--color-page-bg) 100%);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 20ch;
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  max-width: 55ch;
  margin-bottom: var(--space-md);
}

.hero-cta {
  display: inline-block;
  background-color: var(--color-emerald-deep);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
  transition: background-color 0.2s ease;
}

.hero-cta:hover {
  background-color: var(--color-emerald-mid);
}

.hero-secondary {
  font-size: 0.95rem;
  color: var(--color-ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Find Your Starting Point section ===== */
.find-start {
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.find-start h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.find-start-intro {
  color: var(--color-ink-soft);
  max-width: 55ch;
  margin: 0 auto var(--space-lg);
  font-size: 1.05rem;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  text-align: left;
}

.pathway-card {
  background-color: var(--color-parchment);
  border: 1px solid var(--color-gold-soft);
  border-radius: 6px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(11, 61, 46, 0.12);
}

.pathway-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-emerald-deep);
}

.pathway-desc {
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  flex-grow: 1;
}

.pathway-link {
  font-weight: 600;
  color: var(--color-gold);
  margin-top: var(--space-xs);
}

/* ===== Logo & Brand bar ===== */
.site-logo {
  width: 90px;
}

.logo-svg {
  width: 100%;
  height: auto;
  display: block;
}

.brand-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 40px 24px 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Lora', serif;
  font-size: clamp(18px, 3vw, 28px);
  color: #0B3D2E;
  margin: 0;
  line-height: 1.2;
}

.brand-motto {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #C9A227;
  margin: 4px 0 0;
}

/* ===== Page watermark ===== */
.page-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 600px;
  max-width: 80vw;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
}

.page-watermark svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Brand/Identity section ===== */
.brand-identity {
  background: #F5F0E6;
  padding: 100px 40px;
  text-align: center;
}

.brand-identity-ornament {
  width: 60px;
  height: 3px;
  background: #C9A227;
  margin: 0 auto 30px;
  border-radius: 2px;
}

.brand-identity h2 {
  font-family: 'Lora', serif;
  font-size: 32px;
  color: #0B3D2E;
  margin: 0 0 24px;
}

.brand-identity p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  max-width: 650px;
  margin: 0 auto;
}

/* ===== Ramadan countdown badge ===== */
.ramadan-countdown {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #F5F0E6;
  border: 1px solid #C9A227;
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  font-family: 'Inter', sans-serif;
}

.countdown-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #0B3D2E;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.countdown-timer {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-unit span {
  font-size: 18px;
  font-weight: 700;
  color: #0B3D2E;
  font-family: 'Lora', serif;
}

.countdown-unit small {
  font-size: 10px;
  color: #C9A227;
  text-transform: uppercase;
}

.countdown-note {
  display: block;
  font-size: 9px;
  color: #8a8a8a;
  margin-top: 6px;
  font-style: italic;
}

@media (max-width: 700px) {
  .ramadan-countdown {
    bottom: 10px;
    right: 10px;
    padding: 8px 10px;
  }
  .countdown-unit span {
    font-size: 15px;
  }

}

.teacher-bio {
  background: #FBF8F1;
  padding: 100px 40px;
  text-align: center;
  border-top: 1px solid #E7D9A8;
}

.teacher-bio h2 {
  font-family: 'Lora', serif;
  font-size: 32px;
  color: #0B3D2E;
  margin: 0 0 24px;
}

.teacher-bio p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #4A4A44;
  max-width: 650px;
  margin: 0 auto;
}
.audio-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0B3D2E;
  color: #F5F0E6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px;
  z-index: 2000;
  font-family: 'Inter', sans-serif;
}

.audio-banner p {
  margin: 0;
  font-size: 14px;
}

.audio-banner button {
  background: #C9A227;
  color: #0B3D2E;
  border: none;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.audio-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0B3D2E;
  color: #F5F0E6;
  border: 1px solid #C9A227;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.register-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px;
}

.register-section h1 {
  font-family: 'Lora', serif;
  font-size: 32px;
  color: #0B3D2E;
  text-align: center;
  margin-bottom: 12px;
}

.register-intro {
  text-align: center;
  color: #4A4A44;
  font-size: 15px;
  margin-bottom: 40px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.register-form label {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0B3D2E;
  gap: 6px;
}

.register-form input,
.register-form select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #C9A227;
  border-radius: 6px;
  background: #FBF8F1;
  color: #1A1A1A;
}

.register-submit {
  background: #0B3D2E;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s ease;
}

.register-submit:hover {
  background: #1F5C45;
}

.register-status {
  text-align: center;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}
@media (max-width: 700px) {
  .brand-identity {
    padding: 60px 24px;
  }

  .brand-identity h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .brand-identity p {
    font-size: 15px;
    line-height: 1.8;
  }

  .teacher-bio {
    padding: 60px 24px;
  }

  .teacher-bio h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .teacher-bio p {
    font-size: 15px;
    line-height: 1.8;
  }
}
.register-status {
  text-align: center;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 40px 20px;
  color: #0B3D2E;
  font-weight: 500;
  line-height: 1.6;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F0E6;
  border: 2px solid #C9A227;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 600px;
}

.register-status strong {
  font-size: 20px;
  color: #C9A227;
  display: block;
  margin: 12px 0;
}