/* ============================================================
   ELITE LANGUAGE SOLUTIONS — Global Stylesheet
   Palette: Navy #1A2B4A, Gold #C9A84C, Cream #F8F5EF, White #FFFFFF
   Type: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

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

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1A2B4A;
  --navy-deep:   #111E35;
  --navy-mid:    #243660;
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-pale:   #F5EDD4;
  --cream:       #F8F5EF;
  --cream-dark:  #EDE8DE;
  --white:       #FFFFFF;
  --text-dark:   #1A2B4A;
  --text-mid:    #3D4F6B;
  --text-light:  #6B7C99;
  --border:      rgba(201,168,76,0.25);

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

  --max-w: 1160px;
  --radius: 3px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

p { color: var(--text-mid); line-height: 1.75; }

/* ── Layout ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
}

/* ── Gold divider ─────────────────────────────────────── */
.gold-rule {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}
.gold-rule.center { margin: 1rem auto 1.5rem; }

/* ════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  flex-wrap: nowrap;
  gap: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-text span { color: var(--gold); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  flex-shrink: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  list-style: none;
}

/* Dropdown must never affect document flow */
.nav-item .nav-dropdown {
  pointer-events: none;
}
.nav-item:hover .nav-dropdown {
  pointer-events: auto;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--navy-deep);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

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

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition), padding-left var(--transition);
}
.nav-dropdown a:hover {
  color: var(--gold);
  padding-left: 1.6rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0 2rem;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--gold);
    margin-left: 1.5rem;
    padding: 0;
    display: none;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown a { padding: 0.5rem 1rem; }
}

/* ════════════════════════════════════════════════════════
   PAGE HERO BANNER (inner pages)
   ════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .eyebrow { justify-content: center; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 1rem auto 0; }

/* ════════════════════════════════════════════════════════
   CARDS
   ════════════════════════════════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 12px 40px rgba(26,43,74,0.12);
  transform: translateY(-3px);
}
.card-body { padding: 1.8rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { font-size: 0.92rem; margin-bottom: 1.2rem; }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* ════════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--gold);
  padding: 3rem 0;
}
.stats-bar .stat-num {
  color: var(--navy-deep);
}
.stats-bar .stat-label {
  color: rgba(17,30,53,0.7);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem;
}

/* ════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid var(--gold);
  padding: 2rem;
  border-radius: var(--radius);
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.testimonial-card blockquote::before { content: '\201C'; color: var(--gold); font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: 0.1em; }
.testimonial-meta { font-size: 0.82rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.8rem; }

/* ════════════════════════════════════════════════════════
   PRICING TABLE
   ════════════════════════════════════════════════════════ */
.price-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.price-card:hover {
  box-shadow: 0 12px 40px rgba(26,43,74,0.12);
  transform: translateY(-3px);
}
.price-card.featured {
  border: 2px solid var(--gold);
  position: relative;
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: 0.5rem; }
.price-per { font-size: 0.8rem; color: var(--text-light); margin-bottom: 1.5rem; }
.price-features { text-align: left; margin: 1.5rem 0; }
.price-features li {
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.price-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════════════════ */
.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-question .faq-icon {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-style: normal;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
}
.faq-answer-inner {
  padding: 0 0 1.2rem;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ════════════════════════════════════════════════════════
   CONTACT FORM
   ════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   UTILITY
   ════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.bg-navy-deep { background: var(--navy-deep); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* section heading block */
.section-heading { margin-bottom: 3rem; }
.section-heading.center { text-align: center; }
.section-heading p { max-width: 600px; margin-top: 0.8rem; }
.section-heading.center p { margin-left: auto; margin-right: auto; }

/* ════════════════════════════════════════════════════════
   SELT PROMOTIONAL POPUP
   ════════════════════════════════════════════════════════ */
.selt-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,30,53,0.65);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 1.5rem;
}
.selt-popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.selt-popup {
  background: var(--white);
  max-width: 460px;
  width: 100%;
  border-radius: var(--radius);
  border-top: 4px solid var(--gold);
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(17,30,53,0.35);
  text-align: center;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s ease;
}
.selt-popup-overlay.visible .selt-popup {
  transform: translateY(0) scale(1);
}
.selt-popup-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition);
  padding: 0.3rem;
}
.selt-popup-close:hover { color: var(--navy); }
.selt-popup-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.selt-popup-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0;
}
.selt-popup-rule {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 1.2rem;
}
.selt-popup-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.6rem;
}
.selt-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}
.selt-popup-actions .btn {
  width: 100%;
}
.selt-popup-dismiss {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.4rem;
  transition: color var(--transition);
}
.selt-popup-dismiss:hover { color: var(--navy); }

@media (max-width: 480px) {
  .selt-popup { padding: 2rem 1.5rem 1.5rem; }
  .selt-popup-title { font-size: 1.4rem; }
}

/* ── Intensive Course Popup variant ──────────────────── */
.intensive-popup-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.intensive-popup .selt-popup-title {
  font-size: 1.45rem;
}
.intensive-popup-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.6rem;
  text-align: left;
}
.intensive-popup-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  flex-shrink: 0;
}
.intensive-popup-amount sup {
  font-size: 1.1rem;
  vertical-align: top;
  margin-top: 0.4rem;
}
.intensive-popup-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ════════════════════════════════════════════════════════
   IMAGE-STYLE BANNER SECTIONS (Navy Overlay)
   ════════════════════════════════════════════════════════ */
.img-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.img-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,30,53,0.88) 0%, rgba(26,43,74,0.78) 100%);
  z-index: 1;
}
.img-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}
.img-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3rem 2rem;
}
.img-banner-content .eyebrow { color: var(--gold); }
.img-banner-content h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.img-banner-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin: 1rem auto 1.6rem;
  max-width: 560px;
}

/* Variant backgrounds (CSS-only, no external images) */
.img-banner--london {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201,168,76,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #2a3f66 0%, #1A2B4A 60%, #111E35 100%);
}
.img-banner--london::after {
  background-image:
    linear-gradient(transparent 0%, transparent 60%, rgba(255,255,255,0.04) 60%, rgba(255,255,255,0.04) 62%, transparent 62%),
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(255,255,255,0.025) 38px, rgba(255,255,255,0.025) 40px),
    repeating-linear-gradient(transparent, transparent 100px, rgba(255,255,255,0.02) 100px, rgba(255,255,255,0.02) 102px);
  bottom: 0;
  top: auto;
  height: 55%;
  clip-path: polygon(
    0% 100%, 0% 55%, 4% 70%, 8% 40%, 12% 65%, 16% 35%, 20% 75%,
    24% 45%, 28% 60%, 32% 30%, 36% 80%, 40% 50%, 44% 25%, 48% 70%,
    52% 45%, 56% 60%, 60% 38%, 64% 72%, 68% 48%, 72% 28%, 76% 65%,
    80% 42%, 84% 75%, 88% 50%, 92% 35%, 96% 68%, 100% 45%, 100% 100%
  );
  background-color: rgba(8,15,30,0.5);
}

.img-banner--classroom {
  background:
    radial-gradient(circle at 25% 30%, rgba(201,168,76,0.16) 0%, transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(201,168,76,0.10) 0%, transparent 50%),
    linear-gradient(135deg, #1A2B4A 0%, #243660 50%, #1A2B4A 100%);
}

.img-banner--success {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,168,76,0.14) 0%, transparent 60%),
    linear-gradient(160deg, #111E35 0%, #1A2B4A 50%, #2a3f66 100%);
}
.img-banner--success::after {
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 40px, rgba(201,168,76,0.025) 40px, rgba(201,168,76,0.025) 41px);
}

@media (max-width: 768px) {
  .img-banner { min-height: 260px; }
  .img-banner-content { padding: 2rem 1.5rem; }
}

/* ════════════════════════════════════════════════════════
   PHOTO SECTIONS (Hero, Split, Banner, Photo Cards)
   ════════════════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp 0.9s ease both; }
@media (prefers-reduced-motion: reduce) { .fade-up { animation: none; } }

/* ── Hero with photo ─────────────────────────────────── */
.hero-photo {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(180deg, rgba(17,30,53,.62) 0%, rgba(17,30,53,.85) 100%),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=70');
  background-size: cover;
  background-position: center;
}
.hero-photo .inner { max-width: 820px; padding: 5rem 1.5rem; color: #fff; }
.hero-photo h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.08; margin-bottom: 1.2rem; }
.hero-photo h1 em { color: var(--gold-light); font-style: italic; }
.hero-photo p { font-size: 1.12rem; color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 2.2rem; }
.hero-photo .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Split section: photo one side, text the other ──── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--navy);
  color: #fff;
}
.split .media {
  position: relative;
  min-height: 320px;
  background-color: var(--navy-mid);
  background-image:
    linear-gradient(180deg, rgba(17,30,53,.28), rgba(17,30,53,.28)),
    url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&w=1400&q=70');
  background-size: cover;
  background-position: center;
}
.split .media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(227,199,126,.55);
  pointer-events: none;
}
.split .copy { padding: 4.5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.split .copy h2 { color: var(--white); }
.split .copy p { color: rgba(255,255,255,.85); margin-bottom: 1.6rem; }
.split ul { list-style: none; margin: 0 0 2rem; }
.split li { padding-left: 1.6rem; position: relative; margin-bottom: .55rem; color: rgba(255,255,255,.9); }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split .copy { padding: 3rem 1.5rem; }
}

/* ── Full-width banner with side gradient ────────────── */
.photo-banner {
  position: relative;
  color: #fff;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(90deg, rgba(17,30,53,.92) 0%, rgba(17,30,53,.55) 60%, rgba(17,30,53,.25) 100%),
    url('https://images.unsplash.com/photo-1521737852567-6949f3f9f2b5?auto=format&fit=crop&w=1800&q=70');
  background-size: cover;
  background-position: center right;
}
.photo-banner .inner { max-width: 1100px; margin: 0 auto; padding: 5.5rem 1.5rem; }
.photo-banner .content { max-width: 560px; }
.photo-banner h2 { color: var(--white); margin-bottom: 1rem; }
.photo-banner p { color: rgba(255,255,255,.88); margin-bottom: 2rem; }

/* ── Course cards with photo headers ─────────────────── */
.photo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.8rem; }
.photo-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(17,30,53,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.photo-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(17,30,53,.16); }
.photo-card .photo {
  position: relative;
  height: 190px;
  background-color: var(--navy-mid);
  background-size: cover;
  background-position: center;
}
.photo-card .photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,30,53,.18) 0%, rgba(17,30,53,.45) 100%);
}
.photo-card .photo span {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .4rem .9rem;
}
.photo-card .body { padding: 1.6rem 1.5rem 1.8rem; }
.photo-card h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.photo-card p { font-size: .95rem; margin-bottom: 1rem; }
.photo-card a { color: var(--gold); font-weight: 700; text-decoration: none; font-size: .92rem; }
.photo-card a:hover { text-decoration: underline; }

.photo-business { background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=900&q=70'); }
.photo-onetoone { background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=900&q=70'); }
.photo-online   { background-image: url('https://images.unsplash.com/photo-1497032628192-86f99bcd76bc?auto=format&fit=crop&w=900&q=70'); }

/* ── Additional course photo variants ────────────────── */
.photo-conversation { background-image: url('https://images.unsplash.com/photo-1543269865-cbf427effbad?auto=format&fit=crop&w=900&q=70'); }
.photo-cambridge    { background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=900&q=70'); }
.photo-general      { background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=70'); }
.photo-ielts        { background-image: url('https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=900&q=70'); }
.photo-studystay    { background-image: url('https://images.unsplash.com/photo-1529070538774-1843cb3265df?auto=format&fit=crop&w=900&q=70'); }

/* card-icon variant retained for other pages; photo-card body matches .card-body */
.photo-card .body h3 { font-family: var(--font-display); color: var(--navy); }
.photo-card .body p { color: var(--text-mid); }
.photo-card .body a.btn { color: var(--white); }

.photo-cambridge2 { background-image: url('https://images.unsplash.com/photo-1607013251379-e6eecfffe234?auto=format&fit=crop&w=900&q=70'); }

/* ── Unique photo variants for second homepage course grid ── */
.photo-onetoone2 { background-image: url('https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&w=900&q=70'); }
.photo-business2 { background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=900&q=70'); }
.photo-online2   { background-image: url('https://images.unsplash.com/photo-1517502884422-41eaead166d4?auto=format&fit=crop&w=900&q=70'); }

/* ── Updated photo replacements ──────────────────────── */
.photo-cambridge2 { background-image: url('https://images.unsplash.com/photo-1606326608606-aa0b62935f2b?auto=format&fit=crop&w=900&q=70'); }
.photo-business2  { background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=900&q=70'); }
.photo-onetoone2  { background-image: url('https://images.unsplash.com/photo-1633613286848-e6f43bbafb8d?auto=format&fit=crop&w=900&q=70'); }

/* ── Testimonials page photo banners ─────────────────── */
.photo-testi-1 { background-image: url('https://images.unsplash.com/photo-1529390079861-591de354faf5?auto=format&fit=crop&w=1800&q=70'); }
.photo-testi-2 { background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1800&q=70'); }
.photo-testi-3 { background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=70'); }

/* ── SELT page photo banners ──────────────────────────── */
.photo-selt-1 { background-image: url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1800&q=70'); }
.photo-selt-2 { background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=1800&q=70'); }

/* ── Additional page photo banners ───────────────────── */
.photo-about-1   { background-image: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1800&q=70'); }
.photo-about-2   { background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1800&q=70'); }
.photo-team-1    { background-image: url('https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?auto=format&fit=crop&w=1800&q=70'); }
.photo-member-1  { background-image: url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1800&q=70'); }
.photo-stay-1    { background-image: url('https://images.unsplash.com/photo-1529070538774-1843cb3265df?auto=format&fit=crop&w=1800&q=70'); }
.photo-stay-2    { background-image: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&w=1800&q=70'); }
.photo-faq-1     { background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=70'); }
.photo-prices-1  { background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=70'); }
.photo-contact-1 { background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&w=1800&q=70'); }
.photo-courses-1 { background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1800&q=70'); }

/* Reusable photo-banner utility */
.page-photo-banner {
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-photo-banner .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.page-photo-banner .inner {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: 720px;
}
.page-photo-banner h2 { color: white; margin-bottom: 0.8rem; }
.page-photo-banner p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 560px; margin: 0 auto 1.8rem; }

/* ── Individual course page photo banners ────────────── */
.photo-course-conv   { background-image: url('https://images.unsplash.com/photo-1543269865-cbf427effbad?auto=format&fit=crop&w=1800&q=70'); }
.photo-course-121    { background-image: url('https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&w=1800&q=70'); }
.photo-course-camb   { background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1800&q=70'); }
.photo-course-gen    { background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1800&q=70'); }
.photo-course-biz    { background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=1800&q=70'); }
.photo-course-ielts  { background-image: url('https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1800&q=70'); }
.photo-course-online { background-image: url('https://images.unsplash.com/photo-1497032628192-86f99bcd76bc?auto=format&fit=crop&w=1800&q=70'); }



/* ── Nav overflow fix — keeps all items on one line ──── */
@media (min-width: 901px) {
  .nav-inner {
    flex-wrap: nowrap;
    overflow: visible;
  }
  .nav-menu {
    flex-wrap: nowrap;
    overflow: visible;
  }
  .nav-item {
    flex-shrink: 0;
  }
  /* Tighter at medium widths */
  @media (max-width: 1200px) {
    .nav-link {
      padding: 0.5rem 0.45rem;
      font-size: 0.68rem;
      letter-spacing: 0.02em;
    }
    .nav-logo-text {
      font-size: 1.15rem;
    }
  }
}

/* ── Additional photo banner backgrounds ─────────────── */
.photo-spanish-1  { background-image: url('https://images.unsplash.com/photo-1543269865-cbf427effbad?auto=format&fit=crop&w=1800&q=70'); }
.photo-spanish-2  { background-image: url('https://images.unsplash.com/photo-1512813195386-6cf811ad3542?auto=format&fit=crop&w=1800&q=70'); }
.photo-spanish-3  { background-image: url('https://images.unsplash.com/photo-1559650656-5d1d361ad10e?auto=format&fit=crop&w=1800&q=70'); }
.photo-business-1 { background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1800&q=70'); }
.photo-business-2 { background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=1800&q=70'); }
.photo-cambridge-1{ background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1800&q=70'); }
.photo-cambridge-2{ background-image: url('https://images.unsplash.com/photo-1606326608606-aa0b62935f2b?auto=format&fit=crop&w=1800&q=70'); }
.photo-ielts-1    { background-image: url('https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1800&q=70'); }
.photo-online-1   { background-image: url('https://images.unsplash.com/photo-1497032628192-86f99bcd76bc?auto=format&fit=crop&w=1800&q=70'); }
.photo-online-2   { background-image: url('https://images.unsplash.com/photo-1588196749597-9ff075ee6b5b?auto=format&fit=crop&w=1800&q=70'); }
.photo-121-1      { background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1800&q=70'); }
.photo-city-1     { background-image: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&w=1800&q=70'); }
.photo-city-2     { background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1800&q=70'); }
.photo-travel-1   { background-image: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1800&q=70'); }
.photo-dele-1     { background-image: url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?auto=format&fit=crop&w=1800&q=70'); }
.photo-book-1     { background-image: url('https://images.unsplash.com/photo-1506784365847-bbad939e9335?auto=format&fit=crop&w=1800&q=70'); }
.photo-selt-3     { background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=70'); }
.photo-selt-4     { background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1800&q=70'); }

/* ════════════════════════════════════════════════════════
   GLOBAL MOBILE FIX — Inline two/three-column grids
   Many sections across the site use hard-coded inline
   grid-template-columns (e.g. "1fr 1fr", "3fr 2fr") with no
   responsive fallback, causing horizontal overflow and
   broken layout on mobile. This rule forces every such grid
   to stack into a single column below 820px, using attribute
   selectors so no HTML edits are required.
   ════════════════════════════════════════════════════════ */
@media (max-width: 820px) {
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
  /* Wide logo/trust-bar grids (5 columns) look better as 2 columns than 1 on tablets/larger phones */
  div[style*="repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 560px) {
  div[style*="grid-template-columns"] {
    gap: 1.25rem !important;
  }
  /* On very small phones, even the 5-column trust bar drops to 2 columns (already set above) — keep as is */
  /* Large decorative background text (e.g. "SPEAK" watermark) overflows badly on narrow screens */
  div[style*="font-size:20rem"],
  div[style*="font-size: 20rem"],
  div[style*="font-size:18rem"],
  div[style*="font-size: 18rem"],
  div[style*="font-size:16rem"],
  div[style*="font-size: 16rem"],
  div[style*="font-size:14rem"],
  div[style*="font-size: 14rem"] {
    display: none;
  }
}
