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

:root {
  --amber: #ff9e20;
  --amber-hover: #e88a10;
  --teal: #215e61;
  --teal-light: #2a7a7e;
  --dark: #1d2128;
  --light: #f4f2f2;
  --light-dim: #e8e5e5;
  --white: #ffffff;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --section-padding: 5rem 1.5rem;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ── Typography ─────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

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

.btn-primary:hover {
  background: var(--amber-hover);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Navigation ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(29, 33, 40, 0.95);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.nav-logo span {
  color: var(--amber);
}

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

.nav-links a {
  color: var(--light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--amber);
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--teal) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255, 158, 32, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(33, 94, 97, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  background: rgba(255, 158, 32, 0.2);
  border: 1px solid rgba(255, 158, 32, 0.4);
  color: var(--amber);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2.2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Programmes / Cards ─────────────────────────────────── */

.section {
  padding: var(--section-padding);
}

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

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.section-header p {
  font-size: 1.05rem;
  color: #555;
  max-width: 600px;
}

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

.section-teal {
  background: var(--teal);
  color: var(--white);
}

.section-teal .section-header h2 {
  color: var(--white);
}

.section-teal .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.programme-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.programme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.programme-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--light-dim);
}

.programme-card-body {
  padding: 1.5rem;
}

.programme-card-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  background: rgba(33, 94, 97, 0.1);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.programme-card h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.programme-card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.5;
}

/* ── How It Works ───────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 158, 32, 0.15);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-teal .step-number {
  background: rgba(255, 158, 32, 0.25);
  color: var(--amber);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.section-teal .step h3 {
  color: var(--white);
}

.step p {
  font-size: 0.92rem;
  color: #666;
}

.section-teal .step p {
  color: rgba(255, 255, 255, 0.8);
}

/* ── About ──────────────────────────────────────────────── */

.about-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--light-dim);
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: #555;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-text .highlight {
  display: inline;
  color: var(--teal);
  font-weight: 600;
}

/* ── Testimonials ───────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2rem;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-detail {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
}

/* ── Pricing / CTA ──────────────────────────────────────── */

.cta-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.cta-box h2 {
  margin-bottom: 0.5rem;
}

.cta-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--teal);
  margin: 1rem 0;
}

.cta-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
}

.cta-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.cta-features li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cta-features li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: rgba(33, 94, 97, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23215e61'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.cta-box .btn {
  width: 100%;
  max-width: 320px;
  font-size: 1.1rem;
  padding: 1.1rem 2rem;
}

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}

.footer a {
  color: var(--amber);
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--amber-hover);
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 1.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(29, 33, 40, 0.98);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding-top: 5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    height: 280px;
  }

  .programmes-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
