/* =============================================================
   British Spoken Centre of English Language — Stylesheet
   ============================================================= */

:root {
  /* Colour palette */
  --navy: #0B2545;
  --navy-dark: #071A33;
  --royal: #1B4B8F;
  --royal-light: #2E63AE;
  --red: #C8102E;
  --red-dark: #A50D25;
  --white: #FFFFFF;
  --light-blue: #EEF3FA;
  --light-blue-2: #E3ECF9;
  --charcoal: #212630;
  --gray: #5B6472;
  --gray-light: #93a0b3;
  --border: #DDE6F2;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.16);

  --nav-height: 84px;
  --nav-height-scrolled: 66px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
  color: var(--gray);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

main {
  display: block;
}

/* Visible focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--red);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--light {
  background: var(--light-blue);
}

.section-head {
  max-width: 680px;
  margin: 0 0 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.section-head p {
  font-size: 1.05rem;
}

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

.mt-0 {
  margin-top: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.28);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200, 16, 46, 0.34);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.22);
}

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-ghost-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 22px;
  font-size: .9rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  transition: height .25s ease;
}

.site-header.is-scrolled .navbar {
  height: var(--nav-height-scrolled);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--navy), var(--royal));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.12rem;
}

.brand-sub {
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-weight: 600;
  font-size: .96rem;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Mobile Side Menu ---------- */

.mobile-panel {
  display: none;
  position: fixed;

  top: var(--nav-height);
  right: 0;
  bottom: 0;
  left: auto;

  width: min(82vw, 360px);

  background: var(--white);
  z-index: 2000;

  padding: 24px 22px;

  overflow-y: auto;
  overflow-x: hidden;

  box-shadow: -18px 0 45px rgba(7, 26, 51, 0.18);
}

.mobile-panel.open {
  display: block;
}

.mobile-panel a {
  display: flex;
  align-items: center;

  width: 100%;
  min-height: 54px;

  padding: 14px 6px;

  font-size: 1.05rem;
  font-weight: 600;

  color: var(--navy);

  border-bottom: 1px solid var(--border);
}

.mobile-panel a.active {
  color: var(--red);
}

.mobile-panel .btn {
  width: 100%;
  margin-top: 24px;
}


/* Mobile only */
@media (max-width: 860px) {

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  .nav-actions .btn {
    display: none;
  }

}


/* Small mobile */
@media (max-width: 480px) {

  .mobile-panel {
    top: var(--nav-height-scrolled);
    width: 84vw;
    padding: 22px 18px;
  }

}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dark) 62%, #051325 100%);
  color: #fff;
  overflow: hidden;
  padding: 88px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 99, 174, 0.45), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.22), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 22px;
  color: #DCE6F5;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  color: #F2B6C2;
}

.hero-lede {
  color: #C6D3E8;
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-chip .stars {
  color: #F6C453;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.trust-chip strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.trust-chip span.label {
  display: block;
  font-size: .8rem;
  color: #AEC0DA;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 10px;
  backdrop-filter: blur(6px);
}

.hero-card img {
  border-radius: 16px;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-seal {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  width: 118px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--light-blue);
  text-align: center;
}

.hero-seal strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
}

.hero-seal span {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--red);
  font-weight: 700;
}

/* ---------- Stats ---------- */
.stats-wrap {
  margin-top: -64px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px;
  border: 1px solid var(--border);
}

.stat-card {
  text-align: center;
  padding: 10px 12px;
  border-right: 1px solid var(--border);
}

.stat-card:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.stat-num .stars-mini {
  color: #F0A73B;
  font-size: 1.1rem;
}

.stat-label {
  font-size: .88rem;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 500;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-media .ribbon {
  position: absolute;
  top: 22px;
  right: -18px;
  background: var(--red);
  color: #fff;
  padding: 10px 20px 10px 16px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .03em;
  border-radius: 6px 0 0 6px;
  box-shadow: var(--shadow-md);
}

.about-list {
  margin: 26px 0 30px;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--charcoal);
  font-weight: 500;
}

.about-list li i {
  color: var(--red);
  margin-top: 3px;
}

/* ---------- Course cards ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--royal-light);
}

.course-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--light-blue);
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.course-card p {
  flex: 1;
  font-size: .95rem;
}

.course-card .btn {
  margin-top: 12px;
  align-self: flex-start;
}

/* ---------- Why us ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: .93rem;
  margin-bottom: 0;
}

/* ---------- Process timeline ---------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 16px;
}

.process-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: #fff;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: .9rem;
}

/* ---------- Testimonials ---------- */
.reviews-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.review-score {
  display: flex;
  align-items: center;
  gap: 18px;
}

.review-score .stars-lg {
  color: #F0A73B;
  font-size: 1.6rem;
  letter-spacing: 3px;
}

.review-score-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
}

.review-score small {
  display: block;
  color: var(--gray);
  font-size: .88rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-card .stars {
  color: #F0A73B;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-style: italic;
  color: var(--charcoal);
  flex: 1;
  margin-bottom: 0;
  font-size: .98rem;
}

.testimonial-quote::before {
  content: open-quote;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.testimonial-quote::after {
  content: close-quote;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.testimonial-src {
  margin-top: 18px;
  font-size: .82rem;
  color: var(--gray-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(200, 16, 46, 0.25), transparent 55%);
}

.cta-banner>* {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.cta-banner p {
  color: #D6E1F2;
  max-width: 520px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--navy), var(--navy-dark));
  color: #fff;
  padding: 64px 0 84px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: #C6D3E8;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: .85rem;
  color: #9FB3D0;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: #DCE6F5;
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.contact-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--light-blue);
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card p {
  margin: 0;
  font-size: .92rem;
}

.contact-quick {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

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

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: .96rem;
  color: var(--charcoal);
  background: var(--light-blue);
  transition: border-color .2s ease, background .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--royal);
  background: #fff;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: .82rem;
  color: var(--gray-light);
  margin-top: 14px;
}

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #B9C6DC;
  padding: 68px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 46px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand p {
  color: #9FB0CB;
  margin-top: 14px;
  font-size: .92rem;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #B9C6DC;
  font-size: .92rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.footer-social a:hover {
  background: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: #8CA0BF;
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: transform .2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .stat-card {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
  }

  .stat-card:nth-child(3),
  .stat-card:nth-child(4) {
    border-bottom: none;
  }

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

  .about-media {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  .process-track::before {
    display: none;
  }

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

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

  .hamburger {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 56px 0 96px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 24px;
  }

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

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

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

  .process-track {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: left;
  }

  .process-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }

  .process-num {
    margin: 0;
    flex-shrink: 0;
  }

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

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

  .cta-banner {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-trust {
    gap: 18px;
  }

  .review-score {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

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

  .stat-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
  }

  .hero-seal {
    width: 96px;
    height: 96px;
    left: -12px;
    bottom: -16px;
  }

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =============================================================
   PREMIUM POLISH / RESPONSIVE HARDENING
   ============================================================= */
:root {
  --ease-premium: cubic-bezier(.22, 1, .36, 1);
  --shadow-premium: 0 18px 55px rgba(11, 37, 69, .12);
}

::selection {
  background: var(--navy);
  color: #fff;
}

body {
  min-width: 320px;
  text-rendering: optimizeLegibility;
}

.site-header {
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--red);
  transform: translateX(-50%);
  transition: width .28s var(--ease-premium);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 70%;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .16) 48%, transparent 75%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease-premium);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(120%);
}

.course-card,
.feature-card,
.contact-card,
.testimonial-card,
.stat-card {
  transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium), border-color .35s ease;
}

.course-card:hover,
.feature-card:hover,
.contact-card:hover,
.testimonial-card:hover,
.stat-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-premium);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-premium), transform .7s var(--ease-premium);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) {
  transition-delay: .08s;
}

.reveal:nth-child(3) {
  transition-delay: .16s;
}

.reveal:nth-child(4) {
  transition-delay: .24s;
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -170px;
  top: -230px;
  background: rgba(200, 16, 46, .09);
  pointer-events: none;
}

img {
  height: auto;
}

input,
textarea,
select {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--royal) !important;
  box-shadow: 0 0 0 4px rgba(27, 75, 143, .11);
  outline: none;
}

.mobile-panel {
  box-shadow: 0 24px 50px rgba(7, 26, 51, .18);
}

@media (max-width: 900px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding: 76px 0;
  }

  .section--tight {
    padding: 58px 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .btn {
    min-height: 48px;
    padding: 12px 22px;
  }

  .btn-sm {
    min-height: 42px;
    padding: 9px 16px;
  }

  .page-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

@media (max-width: 420px) {
  .nav-actions .btn {
    display: none;
  }

  .brand-name {
    font-size: .92rem;
  }

  .brand-sub {
    font-size: .68rem;
  }

  .brand-crest {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 52px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   BRAND V2 — modern visual system
   ========================================================= */
.brand-logo-wrap {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 37, 69, .14);
  border: 1px solid rgba(11, 37, 69, .08);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-visual {
  min-height: 100%;
  display: flex;
  align-items: center;
}

.brand-showcase {
  width: min(80%, 520px);
  margin-left: auto;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(145deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(11, 37, 69, .08);
  box-shadow: 0 30px 80px rgba(11, 37, 69, .16);
  transform: rotate(1deg);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.brand-showcase:hover {
  transform: rotate(0) translateY(-5px);
}

.brand-showcase-top,
.brand-showcase-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.mini-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: #5c6b7d;
}

.live-dot {
  font-size: .76rem;
  font-weight: 700;
  color: #25384f;
  display: flex;
  align-items: center;
  gap: 7px;
}

.live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2c9a67;
  box-shadow: 0 0 0 5px rgba(44, 154, 103, .1);
}

.brand-logo-card {
  margin: 18px 0;
  border-radius: 22px;
  background: #fff;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 69, .07);
}

.brand-logo-card img {
  width: 88%;
  height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(11, 37, 69, .12));
}

.brand-showcase-bottom>div {
  flex: 1;
  padding: 12px 14px;
  border-radius: 15px;
  background: #eef3f9;
}

.brand-showcase-bottom strong {
  display: block;
  font-size: 1.05rem;
  color: #0b2545;
}

.brand-showcase-bottom span {
  font-size: .72rem;
  color: #66758a;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: #dce8f7;
  font-size: .84rem;
}

.hero-location i {
  color: #f2b6c2;
}

.map-section {
  padding-top: 20px;
}

.map-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(11, 37, 69, .08);
  box-shadow: 0 18px 50px rgba(11, 37, 69, .09);
}

.map-card h2 {
  margin: .2rem 0 .5rem;
}

.map-card p {
  max-width: 720px;
  margin: 0;
  color: #66758a;
}

.muted-contact {
  font-size: .85rem;
  color: #66758a;
}

@media(max-width:760px) {
  .brand-showcase {
    margin: 22px auto 0;
    transform: none;
  }

  .brand-logo-card {
    min-height: 300px;
  }

  .brand-logo-card img {
    height: 300px;
    width: 92%;
  }

  .hero-location {
    justify-content: center;
    text-align: center;
  }

  .map-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }
}

@media(max-width:420px) {
  .brand-logo-wrap {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: .82rem;
  }

  .brand-sub {
    font-size: .62rem;
  }

  .brand-logo-card {
    min-height: 260px;
  }

  .brand-logo-card img {
    height: 260px;
  }

  .brand-showcase-bottom {
    gap: 8px;
  }

  .brand-showcase-bottom>div {
    padding: 10px;
  }
}

.map-embed {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(11, 37, 69, .09);
  box-shadow: 0 22px 60px rgba(11, 37, 69, .12);
  background: #e9eef5;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

@media(max-width:600px) {
  .map-embed iframe {
    height: 330px;
  }
}


/* Teachers + Gallery */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px
}

.teacher-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(11, 37, 69, .08);
  box-shadow: 0 16px 45px rgba(11, 37, 69, .08);
  transition: .35s ease
}

.teacher-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(11, 37, 69, .13)
}

.teacher-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b2545;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  border: 7px solid #eef3f9
}

.teacher-avatar--red {
  background: #c8102e
}

.teacher-role {
  display: block;
  color: #c8102e;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em
}

.teacher-content h3 {
  margin: .25rem 0 .5rem;
  color: #0b2545
}

.teacher-content p {
  color: #617084;
  line-height: 1.7;
  margin: 0 0 12px
}

.teacher-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  color: #30435b;
  font-size: .88rem;
  font-weight: 600
}

.classroom-carousel {
  position: relative;
  display: flex;
  align-items: center
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 26px
}

.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1)
}

.classroom-slide {
  min-width: 100%;
  height: 450px;
  margin: 0;
  position: relative;
  overflow: hidden
}

.classroom-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.classroom-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 21, 42, .65), transparent 45%)
}

.classroom-slide figcaption {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 24px;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem
}

.carousel-btn {
  position: absolute;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0b2545;
  box-shadow: 0 10px 28px rgba(11, 37, 69, .2);
  cursor: pointer
}

.carousel-prev {
  left: 15px
}

.carousel-next {
  right: 15px
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: #c7d0db;
  cursor: pointer
}

.carousel-dot.is-active {
  width: 24px;
  background: #c8102e
}

@media(max-width:900px) {
  .teachers-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:650px) {
  .teacher-card {
    grid-template-columns: 1fr;
    text-align: center
  }

  .teacher-avatar {
    margin: auto
  }

  .teacher-points {
    text-align: left;
    display: inline-grid
  }

  .classroom-slide {
    height: 300px
  }
}


/* =========================================
   MOBILE NAV — FINAL FIX
   ========================================= */

@media (max-width: 860px) {

  /* Header full width and normal stacking */
  .site-header {
    width: 100%;
    left: 0;
    right: 0;
    z-index: 5000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Keep navbar normal */
  .navbar {
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header.is-scrolled .navbar {
    height: var(--nav-height-scrolled);
  }

  /* Hamburger */
  .hamburger {
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 6000;
  }


  /* =========================================
     RIGHT SIDE MOBILE DRAWER
     ========================================= */

  .mobile-panel {
    display: none;

    position: fixed;

    top: var(--nav-height);
    right: 0;
    bottom: 0;
    left: auto;

    width: min(82vw, 360px);
    height: calc(100vh - var(--nav-height));

    background: rgba(255, 255, 255, 0.98);

    padding: 24px 22px;

    overflow-y: auto;
    overflow-x: hidden;

    z-index: 5500;

    box-shadow:
      -16px 0 45px rgba(7, 26, 51, 0.20);
  }

  /* Open */
  .mobile-panel.open {
    display: block;
  }

  /* Links */
  .mobile-panel a {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 54px;

    padding: 15px 8px;

    color: var(--navy);

    font-size: 1.05rem;
    font-weight: 600;

    border-bottom: 1px solid var(--border);

    background: transparent;
  }

  .mobile-panel a.active {
    color: var(--red);
  }

  .mobile-panel .btn {
    width: 100%;
    margin-top: 24px;
  }
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 480px) {

  .navbar {
    height: 70px;
  }

  .site-header.is-scrolled .navbar {
    height: 66px;
  }

  .mobile-panel {
    top: 70px;
    width: 84vw;
    height: calc(100vh - 70px);

    padding: 20px 18px;
  }

  .brand-name {
    font-size: .82rem;
  }

  .brand-sub {
    font-size: .62rem;
  }

  .brand-logo-wrap {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}


/* =========================================
   MOBILE MENU — FLOATING PREMIUM DRAWER
   ========================================= */

@media (max-width: 860px) {

  .mobile-panel {
    position: fixed !important;

    top: calc(var(--nav-height) + 12px) !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;

    width: min(76vw, 340px) !important;
    max-height: calc(100dvh - var(--nav-height) - 24px) !important;

    padding: 14px 16px 16px !important;

    /* Glass background */
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(22px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important;

    /* ALL 4 CORNERS */
    border-radius: 26px !important;

    border: 1px solid rgba(255, 255, 255, 0.75) !important;

    box-shadow:
      0 18px 50px rgba(7, 26, 51, 0.20),
      0 4px 14px rgba(7, 26, 51, 0.08) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    z-index: 5500 !important;

    box-sizing: border-box !important;
  }


  /* =====================================
     MENU LINKS
     ===================================== */

  .mobile-panel a {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 48px !important;

    padding: 11px 10px !important;
    margin: 0 !important;

    color: var(--navy) !important;

    font-size: 1rem !important;
    font-weight: 600 !important;

    border-radius: 12px !important;
    border-bottom: 1px solid rgba(11, 37, 69, 0.09) !important;

    background: transparent !important;

    transition:
      color .2s ease,
      background-color .2s ease,
      transform .2s ease,
      padding-left .2s ease !important;
  }


  /* Hover */
  .mobile-panel a:hover {
    color: var(--red) !important;

    background: rgba(200, 16, 46, 0.07) !important;

    padding-left: 16px !important;

    transform: translateX(-2px) !important;
  }


  /* Active */
  .mobile-panel a.active {
    color: var(--red) !important;
    background: rgba(200, 16, 46, 0.06) !important;
  }


  /* =====================================
     JOIN NOW
     ===================================== */

  .mobile-panel .btn {
    width: 100% !important;

    height: 42px !important;
    min-height: 42px !important;

    margin: 13px 0 0 !important;

    padding: 8px 18px !important;

    border-radius: 999px !important;

    font-size: .9rem !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    transition:
      transform .2s ease,
      box-shadow .2s ease !important;
  }

  .mobile-panel .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(200, 16, 46, 0.22) !important;
  }
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 480px) {

  .mobile-panel {
    top: 82px !important;
    right: 10px !important;

    width: 76vw !important;

    max-height: calc(100dvh - 94px) !important;

    padding: 12px 14px 14px !important;

    border-radius: 24px !important;
  }

  .mobile-panel a {
    min-height: 46px !important;
    padding: 10px 8px !important;

    font-size: .95rem !important;
  }

  .mobile-panel .btn {
    height: 40px !important;
    min-height: 40px !important;

    margin-top: 11px !important;

    font-size: .88rem !important;
  }
}

/* =========================================
   FIX — REMOVE EXTRA SPACE BELOW JOIN NOW
   ========================================= */

@media (max-width: 860px) {

  .mobile-panel {
    height: auto !important;
    min-height: 0 !important;

    bottom: auto !important;

    max-height: calc(100dvh - var(--nav-height) - 24px) !important;

    overflow-y: auto !important;

    padding-bottom: 14px !important;
  }

  .mobile-panel .btn {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {

  .mobile-panel {
    height: auto !important;
    min-height: 0 !important;

    top: 82px !important;
    bottom: auto !important;

    max-height: calc(100dvh - 94px) !important;

    padding-bottom: 12px !important;
  }

  .mobile-panel .btn {
    margin-bottom: 0 !important;
  }
}