/* Main colour palette inspired by the Champions Teacher Tutoring logo. */
:root {
  --navy: #071f3f;
  --navy-light: #12345c;
  --gold: #d6a62a;
  --gold-dark: #a97908;
  --white: #ffffff;
  --off-white: #f6f8fb;
  --text: #1c2430;
  --muted: #5c6675;
  --border: #d8dee8;
  --shadow: 0 18px 40px rgba(7, 31, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(7, 31, 63, 0.06);
}

.navbar {
  min-height: 84px;
  max-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  overflow: hidden;
  color: var(--navy);
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 70px;
  max-width: 160px;
  object-fit: contain;
}

.brand-text {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.brand-text strong {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-text small {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--gold);
  border: 3px solid var(--navy);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  font-size: 0.96rem;
}

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

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  padding: 56px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 31, 63, 0.96), rgba(18, 52, 92, 0.9)),
    var(--navy);
}

.hero-grid,
.split-section,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-content h1 {
  max-width: 620px;
  margin: 10px 0 18px;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  line-height: 1.05;
}

.hero-content p {
  max-width: 620px;
  color: #e9edf5;
  font-size: 1.1rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 6px solid rgba(214, 166, 42, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
}

.hero-support-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: var(--navy);
  background: var(--white);
  border: 6px solid rgba(214, 166, 42, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-support-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(214, 166, 42, 0.18);
  border-radius: 50%;
}

.hero-support-card h2 {
  position: relative;
  z-index: 1;
  margin: 16px 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.hero-support-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-support-card li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 700;
}

.hero-support-card li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 900;
}

.hero-badge {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.centered {
  text-align: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--gold);
}

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

.btn-whatsapp {
  color: var(--white);
  background: #167a3f;
  border-color: #167a3f;
}

.support-banner {
  padding: 20px 0;
  color: var(--white);
  background: var(--navy-light);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.banner-inner div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.banner-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
}

.section {
  padding: 72px 0;
}

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

.section h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.section p {
  color: var(--muted);
}

.text-section {
  max-width: 900px;
}

.intro-card,
.benefit-list-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 31, 63, 0.08);
}

.intro-card p:first-child {
  margin-top: 0;
}

.intro-card p:last-child,
.benefit-list-card p:last-child {
  margin-bottom: 0;
}

.section-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: rgba(214, 166, 42, 0.24);
  border: 1px solid rgba(214, 166, 42, 0.55);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.section-icon .bi {
  font-size: 1.2rem;
  line-height: 1;
}

.meet-teacher-section {
  background: linear-gradient(180deg, var(--white), var(--off-white));
}

.teacher-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.4fr;
  gap: 28px;
  margin-top: 34px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(7, 31, 63, 0.1);
}

.teacher-profile {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 22px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.teacher-photo-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(7, 31, 63, 0.05), rgba(214, 166, 42, 0.14)),
    var(--white);
  border: 1px dashed rgba(7, 31, 63, 0.28);
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
}

.teacher-photo-placeholder img {
  width: min(100%, 230px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.teacher-photo-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  background: rgba(214, 166, 42, 0.18);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
}

.teacher-photo-icon .bi {
  font-size: 1.6rem;
  line-height: 1;
}

.teacher-profile h3 {
  margin: 12px 0 4px;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1.2;
}

.teacher-role {
  margin: 0;
  color: var(--gold-dark);
  font-weight: 800;
}

.teacher-highlights {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-highlights li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 700;
}

.teacher-highlights li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.teacher-bio {
  display: grid;
  gap: 22px;
}

.teacher-bio-section {
  padding: 20px 22px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.teacher-bio-section h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.teacher-bio p {
  margin: 0 0 12px;
}

.teacher-bio p:last-child {
  margin-bottom: 0;
}

.flyer-image-container {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.flyer-image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}

.features-grid,
.programmes-grid,
.offer-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.programmes-grid {
  grid-template-columns: repeat(3, 1fr);
}

.offer-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.three-column-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature,
.programme-card,
.info-card,
.contact-form-panel,
.contact-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 31, 63, 0.08);
}

.feature,
.programme-card,
.info-card {
  padding: 24px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.wide-card {
  grid-column: span 2;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: rgba(214, 166, 42, 0.28);
  border: 1px solid rgba(214, 166, 42, 0.6);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.card-icon .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
  font-weight: 700;
}

.check-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
}

.centered-buttons {
  justify-content: center;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: rgba(214, 166, 42, 0.28);
  border: 1px solid rgba(214, 166, 42, 0.6);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.feature-icon .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.feature h3,
.programme-card h3 {
  margin: 18px 0 8px;
  color: var(--navy);
}

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

.testimonial-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  --cards-visible: 3;
  display: flex;
  gap: 18px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - (18px * (var(--cards-visible) - 1))) / var(--cards-visible));
  min-height: 250px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 31, 63, 0.1);
}

.testimonial-card p {
  color: var(--muted);
}

.testimonial-card h3 {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 1rem;
}

.stars {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.feedback-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.feedback-panel {
  width: min(720px, 100%);
  margin: 28px auto 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 31, 63, 0.1);
}

.feedback-panel h3 {
  margin: 0 0 18px;
  color: var(--navy);
  text-align: center;
}

.feedback-form {
  display: grid;
  gap: 12px;
}

.feedback-form label,
.rating-field legend {
  color: var(--navy);
  font-weight: 800;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
}

.feedback-form textarea {
  resize: vertical;
}

.rating-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.star-rating {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.star-btn {
  width: 42px;
  height: 42px;
  color: #c6ccd6;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1.5rem;
  cursor: pointer;
}

.star-btn.selected {
  color: var(--gold);
  border-color: var(--gold);
}

.star-btn:focus {
  outline: 3px solid rgba(214, 166, 42, 0.35);
  outline-offset: 2px;
}

.feedback-message {
  min-height: 24px;
  margin: 0;
  color: var(--gold-dark);
  font-weight: 800;
  text-align: center;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-dark);
  font-weight: 800;
}

.contact-section {
  background: linear-gradient(180deg, var(--off-white), var(--white));
}

.contact-grid {
  align-items: start;
}

.contact-form-panel,
.contact-info {
  padding: 30px;
}

.contact-form-panel .section-icon,
.contact-info .section-icon {
  margin-bottom: 14px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-info ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-info a {
  color: var(--gold-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-info a[href^="mailto:"] {
  word-break: normal;
  overflow-wrap: normal;
  white-space: nowrap;
}

.site-footer {
  padding: 24px 0;
  color: var(--white);
  background: var(--navy);
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    linear-gradient(120deg, rgba(7, 31, 63, 0.95), rgba(18, 52, 92, 0.9)),
    var(--navy);
}

.thank-you-panel {
  width: min(620px, 100%);
  padding: 42px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.thank-you-panel h1 {
  margin: 0 0 16px;
  color: var(--navy);
}

.thank-you-panel p {
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  margin-left: 18px;
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 900px) {
  .navbar {
    min-height: 72px;
    max-height: 80px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }

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

  .nav-links a {
    display: block;
    padding: 13px 0;
  }

  .brand-logo {
    max-height: 44px;
    max-width: 90px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.68rem;
  }

  .hero-grid,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .teacher-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 42px 0;
  }

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

  .hero-content p,
  .hero-content h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .button-row {
    justify-content: center;
  }

  .features-grid,
  .programmes-grid,
  .offer-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .three-column-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    --cards-visible: 2;
  }
}

@media (max-width: 768px) {
  .site-header,
  .navbar {
    min-height: 72px;
    max-height: 80px;
    overflow: visible;
  }

  .brand {
    flex-shrink: 0;
    max-width: 140px;
    overflow: hidden;
  }

  .brand-logo {
    max-width: 90px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .brand-text strong {
    font-size: 0.88rem;
  }

  .brand-text small {
    font-size: 0.64rem;
  }

  .brand-text {
    display: none !important;
  }

  .nav-links {
    top: 72px;
  }

  .menu-toggle {
    flex-shrink: 0;
    z-index: 9999;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  .brand-logo {
    max-height: 40px;
    max-width: 80px;
  }

  .brand {
    gap: 8px;
  }

  .brand-text strong {
    font-size: 0.76rem;
  }

  .brand-text small {
    font-size: 0.58rem;
  }

  .hero {
    padding: 32px 0;
  }

  .banner-inner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .banner-inner div {
    justify-content: center;
  }

  .features-grid,
  .programmes-grid,
  .offer-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .intro-card,
  .benefit-list-card,
  .teacher-card,
  .teacher-profile,
  .teacher-bio-section {
    padding: 22px;
  }

  .teacher-photo-placeholder {
    min-height: 180px;
  }

  .teacher-photo-placeholder img {
    width: min(100%, 200px);
  }

  .wide-card {
    grid-column: auto;
  }

  .testimonial-carousel {
    grid-template-columns: 40px 1fr 40px;
    gap: 8px;
  }

  .testimonial-track {
    --cards-visible: 1;
  }

  .testimonial-card {
    min-height: 280px;
    padding: 22px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .feedback-panel {
    padding: 22px;
  }

  .section {
    padding: 52px 0;
  }

  .contact-form-panel,
  .contact-info {
    padding: 22px;
  }

  .contact-info a[href^="mailto:"] {
    font-size: 0.88rem;
  }

  .footer-inner a {
    margin: 0 8px;
  }
}
