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

:root {
  --green: #1b4332;
  --amber: #f59e0b;
  --bg: #f9fafb;
  --white: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --red: #dc2626;
  --success: #16a34a;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.logo-text span:first-child {
  color: var(--green);
}
.logo-text span:last-child {
  color: var(--amber);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a.btn-primary {
  color: #1b4332 !important;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.15s;
  font-family: "Inter", sans-serif;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--amber);
  color: var(--green);
}
.btn-amber {
  background: var(--amber);
  color: var(--green);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* ── HERO ── */
.hero {
  background: var(--green);
  padding: 56px 5% 48px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(245, 158, 11, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(245, 158, 11, 0.06) 0%,
      transparent 50%
    );
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}

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

.hero-visual {
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 620px;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  color: var(--amber);
  font-style: normal;
}

.hero p {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 0 28px;
  line-height: 1.6;
}

.hero-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  width: 100%;
  margin: 0 0 28px;
}

.hero-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15px;
  font-family: "Inter", sans-serif;
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.hero-form input:focus {
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.hero-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  display: block;
}

@media (min-width: 769px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    text-align: left;
  }
  .hero-content {
    align-items: flex-start;
  }
  .hero-form {
    margin-left: 0;
  }
  .hero-stats {
    justify-content: flex-start;
  }
  .hero-visual {
    display: block;
  }
}

/* ── SECTIONS ── */
section {
  padding: 80px 5%;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  letter-spacing: -0.3px;
  max-width: 640px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-top: 14px;
  line-height: 1.7;
}

/* ── QUAL TAGS ── */
.qual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.qual-tag {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(27, 67, 50, 0.08);
  border: 1px solid rgba(27, 67, 50, 0.2);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

/* ── SCHOOL LINK ── */
.school-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}

.school-link:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ── HERO EMAIL PREVIEW (desktop only, decorative) ── */
.hero-email-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.hero-email-header {
  background: #143c2a;
  padding: 14px 18px;
}
.hero-email-header .brand {
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
}
.hero-email-header .sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  margin-top: 2px;
}
.hero-email-body {
  padding: 16px 18px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
}
.hero-email-body .greet {
  font-weight: 600;
  margin-bottom: 8px;
}
.hero-email-body .label {
  font-weight: 600;
  color: var(--green);
  font-size: 11px;
  margin-bottom: 3px;
}
.hero-email-body .val {
  color: #555;
  margin-bottom: 10px;
}

/* ── HOW IT WORKS ── */
.how {
  background: var(--white);
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.how-header {
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── FEATURES ── */
.features {
  background: var(--bg);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--green);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(27, 67, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── PROGRAMMES ── */
.programmes {
  background: var(--white);
}
.programmes-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.prog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 32px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.prog-tab {
  padding: 10px 20px;
  border-radius: 8px 8px 0 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  font-family: "Inter", sans-serif;
}

.prog-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 700;
}
.prog-tab:hover:not(.active) {
  color: var(--green);
}

.prog-content {
  display: none;
}
.prog-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.prog-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
}
.prog-info p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.prog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prog-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.prog-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.prog-visual {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.prog-visual .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}

.badge-open {
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.school-entry {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.school-entry:last-child {
  border-bottom: none;
}
.school-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}
.school-detail {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.school-status {
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

/* ── UNIVERSITIES ── */
.universities {
  background: var(--bg);
}
.universities-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.uni-region {
  margin-top: 36px;
}

.uni-region-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.uni-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.uni-pill {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}

.uni-pill:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ── EMAIL PREVIEW ── */
.preview {
  background: var(--green);
}

.preview-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.preview .section-title {
  color: var(--white);
}
.preview .section-sub {
  color: rgba(255, 255, 255, 0.65);
}
.preview .section-label {
  color: var(--amber);
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  display: none;
}
.carousel-slide.active {
  display: block;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-dots {
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: var(--amber);
  width: 20px;
  border-radius: 4px;
}

.carousel-labels {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

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

.email-header {
  background: var(--green);
  padding: 20px 24px;
}
.email-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.email-header p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.email-body {
  padding: 20px 24px;
}
.email-section {
  margin-bottom: 18px;
}

.email-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.email-school {
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 3px solid var(--success);
}

.email-school-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}
.email-school-info {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.5;
}

.email-action {
  padding: 10px 12px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.email-action::before {
  content: "→";
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── CTA ── */
.cta-section {
  background: var(--bg);
  text-align: center;
  padding: 60px 5%;
}

.cta-box {
  background: var(--green);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.08);
}

.cta-box h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  margin-bottom: 28px;
}

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  outline: none;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.cta-form input:focus {
  border-color: var(--amber);
}

/* ── FOOTER ── */
footer {
  background: #0f2419;
  padding: 48px 5% 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 10px;
  max-width: 420px;
  line-height: 1.6;
}

.footer-links h5 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── FAQ ── */
.faq {
  background: var(--white);
}
.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
}

.faq-q:hover {
  color: var(--green);
}
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  padding-bottom: 20px;
  display: none;
}
.faq-item.open .faq-a {
  display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 5%;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    z-index: 99;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    min-height: auto;
    padding: 100px 5% 60px;
  }
  .hero-form {
    flex-direction: column;
  }
  .hero-stats {
    gap: 24px;
  }
  .prog-content.active {
    grid-template-columns: 1fr;
  }
  .preview-inner {
    grid-template-columns: 1fr;
  }
  .cta-form {
    flex-direction: column;
  }
  .footer-top {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
