/*
Theme Name: school-landing
Author: Satyam Bhardwaj
Version: 1.1.0
*/

/* =========================================
   SBDAV SCHOOL – ADMISSIONS LANDING PAGE
   Elegant · Trustworthy · Conversion-First
   ========================================= */

/* --- DESIGN TOKENS --- */
:root {
  --clr-primary: #8B1A1A;      /* deep crimson — DAV heritage */
  --clr-primary-dark: #6B1212;
  --clr-primary-light: #A52525;
  --clr-gold: #C9A84C;
  --clr-gold-light: #E8D08A;
  --clr-dark: #1A1208;
  --clr-bg: #FDFAF4;
  --clr-bg-alt: #F7F2E8;
  --clr-text: #2C2416;
  --clr-text-muted: #6B5D4A;
  --clr-border: #E2D9C8;
  --clr-white: #FFFFFF;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4rem;

  --radius: 4px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow-sm: 0 2px 8px rgba(139,26,26,0.08);
  --shadow-md: 0 8px 32px rgba(139,26,26,0.12);
  --shadow-lg: 0 20px 60px rgba(139,26,26,0.15);

  --transition: 0.25s ease;
  --max-width: 1160px;
}

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

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

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* --- UTILITY --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}

.section {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.section-label {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  font-weight: 600;
  line-height: 1.15;
  color: var(--clr-dark);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--clr-primary);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-white);
  background: var(--clr-primary);
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius);
  padding: 0.75em 1.75em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-white);
  background: transparent;
  border: 2px solid var(--clr-white);
  border-radius: var(--radius);
  padding: 0.75em 1.75em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn-lg {
  font-size: var(--fs-md);
  padding: 0.85em 2.2em;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 244, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height:90px;
  flex-shrink: 0;
}

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

.logo-name {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.2;
}

.logo-sub {
  font-size: 16px;
  color: var(--clr-text-muted);
  letter-spacing: 0.05em;
}

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

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color var(--transition);
}

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

/* --- HERO --- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--clr-white);
  padding-block: clamp(4rem, 12vw, 3rem) clamp(4rem, 8vw, 3rem);
  min-height: 90vh;
  display: flex;
  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(42, 10, 10, 0.98) 0%,   /* very dark left */
      rgba(42, 10, 10, 0.92) 25%,
      rgba(74, 16, 16, 0.85) 45%,  /* still dark till half */
      rgba(139, 26, 26, 0.45) 65%,
      rgba(139, 26, 26, 0.12) 85%,
      rgba(139, 26, 26, 0.03) 100% /* very light right */
    ),
    url("images/surajbhan-school.webp");

  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 40%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 2rem;
  padding: 0.4em 1em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-gold);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(var(--fs-3xl), 6vw, var(--fs-4xl));
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s 0.1s ease both;
}

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

.hero-subtitle {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s 0.15s ease both;
}

.hero-body {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s 0.25s ease both;
}

.hero .btn-ghost {
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.45);
}

.hero .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: var(--clr-white);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--clr-gold-light);
  line-height: 1;
}

.stat span {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.2);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll-indicator span {
  width: 4px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  animation: scrollBounce 1.8s infinite;
}

/* --- ABOUT --- */
.about {
  background: var(--clr-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-card {
  background: linear-gradient(145deg, var(--clr-primary), var(--clr-primary-dark));
  color: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 280px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
}

.about-logo {
  margin-inline: auto;
  margin-bottom: 1.25rem;
  border: 3px solid var(--clr-gold);
  padding: 4px;
  background: var(--clr-white);
  position: relative;
  z-index: 1;
}
.about-logos {
    display: flex;
}
.about-card-year {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-gold-light);
  margin-bottom: 0.75rem;
}

.about-card-tagline {
  font-size: var(--fs-sm);
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.about-text p {
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
}

.about-text .btn-primary {
  margin-top: 0.5rem;
}

/* --- WHY SECTION --- */
.why-section {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

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

.why-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-gold);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* --- FACILITIES --- */
.facilities-section {
  background: var(--clr-bg);
}

.facilities-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.facility-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-white);
  transition: background var(--transition);
}

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

.facility-item:hover {
  background: var(--clr-bg-alt);
}

.facility-num {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--clr-border);
  line-height: 1;
  min-width: 2.5rem;
  flex-shrink: 0;
  transition: color var(--transition);
}

.facility-item:hover .facility-num {
  color: var(--clr-gold);
}

.facility-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: 0.3rem;
}

.facility-body p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

/* --- ADMISSION INFO --- */
.admission-info {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
}

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

.admission-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.admission-card h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: 0.75rem;
}

.admission-card h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  margin: 1.25rem 0 0.5rem;
}

.admission-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.admission-card ul li::before {
  content: '→ ';
  color: var(--clr-primary);
  font-weight: 600;
}

.admission-card ul li,
.admission-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.admission-note {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.process-steps {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.process-steps li {
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--clr-text);
}

.process-steps li::before {
  content: counter(steps);
  min-width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--clr-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  flex-shrink: 0;
}

.admission-cta-card {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  border-color: var(--clr-primary);
  color: var(--clr-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admission-cta-card h3 {
  color: var(--clr-white);
}

.admission-cta-card p {
  color: rgba(255,255,255,0.8);
}

.admission-cta-card .btn-primary {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-dark);
  margin-top: 1.5rem;
}

.admission-cta-card .btn-primary:hover {
  background: var(--clr-gold-light);
  border-color: var(--clr-gold-light);
}

.admission-cta-card .admission-note {
  color: rgba(255,255,255,0.6);
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--clr-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--ff-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--clr-border);
  font-weight: 700;
}

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

.stars {
  color: var(--clr-gold);
  font-size: var(--fs-sm);
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.testimonial-card cite {
  font-size: var(--fs-xs);
  font-weight: 600;
  font-style: normal;
  color: var(--clr-primary);
  letter-spacing: 0.04em;
}

/* --- FAQ --- */
.faq-section {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.faq-header {
  position: sticky;
  top: 5rem;
}

.faq-header p {
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
  font-size: var(--fs-sm);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-white);
}

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

.faq-item summary {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--clr-dark);
  padding: 1.35rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition), color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: var(--fs-lg);
  font-weight: 300;
  color: var(--clr-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  background: var(--clr-bg-alt);
  color: var(--clr-primary);
}

.faq-item p {
  padding: 0 1.5rem 1.35rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
  background: var(--clr-white);
}

/* --- APPLY FORM SECTION --- */
.apply-section {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.apply-text p {
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
  font-size: var(--fs-sm);
}

.promises {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.promises li {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.promises li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-gold);
  flex-shrink: 0;
}

.apply-form-wrap {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 5rem;
}

.apply-form-wrap h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: 1.5rem;
}

/* --- FORM STYLES --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

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

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  color: var(--clr-text);
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 0.7em 0.9em;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5D4A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  padding-right: 2.5em;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.form-check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--clr-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.form-check label {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  cursor: pointer;
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h4 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  color: var(--clr-dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-block: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  border-radius: 50%;
  padding: 2px;
}

.footer-brand strong {
  display: block;
  color: var(--clr-white);
  font-family: var(--ff-display);
  font-size: var(--fs-md);
}

.footer-brand span {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
}

.footer-info p {
  font-size: var(--fs-xs);
  line-height: 1.8;
}

.footer-cta p {
  font-size: var(--fs-sm);
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.25rem;
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(26,18,8,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  width: 100%;
  max-width: 460px;
  max-height: 92dvh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--clr-bg-alt);
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  cursor: pointer;
  color: var(--clr-text-muted);
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--clr-border);
}

.modal-logo {
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 2px solid var(--clr-gold);
  padding: 3px;
}

.modal h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  text-align: center;
  color: var(--clr-dark);
  margin-bottom: 0.25rem;
}

.modal-sub {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}
.cambridge-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 1rem;
}
.cambridge-highlights-grid p {
margin-bottom:0px;
}
.cambridge-highlights .container {
    background: var(--clr-bg-alt);
    margin-top: 30px;
    padding: 30px;
    border-radius: 20px;
}
.cambridge-highlights h3 {
    font-size: 28px;
    font-weight: bold;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .about-grid,
  .faq-grid,
  .apply-grid {
    grid-template-columns: 1fr;
  }

  .about-visual { order: -1; }

  .faq-header {
    position: static;
  }

  .apply-form-wrap {
    position: static;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* --- FOCUS VISIBLE --- */
:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}
.thank-you {
  text-align: center;
  padding: 60px 20px;
}

.thank-you h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.next-steps ul {
  list-style: none;
  padding: 0;
}

.next-steps li {
  margin: 8px 0;
}

.cta-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}