:root {
  --red: #ff2f3c;
  --blue: #00a3ff;
  --dark: #020617;
  --light-bg: #f5f7fb;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* Smooth scrolling (JS will handle exact offset) */
html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: #0f172a;
  background: var(--light-bg);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(245, 247, 251, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.logo-img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: white;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 163, 255, 0.35);
  white-space: nowrap;
}

/* HERO */
.hero {
  padding: 3.5rem 0 2.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  line-height: 1.15;
  color: var(--dark);
  font-weight: 800;
}

.hero-sidh {
  color: var(--red);
}

.hero-learning {
  color: var(--blue);
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  color: #6b7280;
}

.hero-subtitle strong {
  font-weight: 600;
  color: #4b5563;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 2px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(255, 47, 60, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255, 47, 60, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: #e3f4ff;
  transform: translateY(-1px);
}

section {
  padding: 2.5rem 0;
}

/* Some extra safety margin so manual hash scrolls land nicely */
#home,
#about,
#subjects,
#why,
#fees,
#testimonials,
#contact {
  scroll-margin-top: 120px;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 550px;
  margin: 0 auto;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

#about .card {
  border-top: 4px solid var(--blue);
  border-radius: 1.2rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

#about .card.about-card-secondary {
  border-top-color: var(--red);
}

.about p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.8rem;
}

.about-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.pill {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: #e3f4ff;
  color: #0369a1;
  border: 1px solid rgba(0, 163, 255, 0.45);
}

.pill.alt {
  background: #ffe6e8;
  color: #b91c1c;
  border-color: rgba(255, 47, 60, 0.5);
}

.about-list {
  list-style: none;
  margin-top: 0.4rem;
}

.about-list li {
  display: flex;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.35rem;
  align-items: flex-start;
}

.about-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 0.45rem;
  background: linear-gradient(135deg, var(--red), var(--blue));
  flex-shrink: 0;
}

/* SHARED CARD HEADER (icon + title on same line) */
.card-header-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}

/* SUBJECTS */
#subjects .section-header {
  margin-bottom: 2.1rem;
}

#subjects .section-title {
  font-size: 1.9rem;
  font-weight: 700;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.level-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border-top: 4px solid var(--blue);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 150px;
}

.level-card.red-top {
  border-top-color: var(--red);
}

.level-icon {
  font-size: 1.3rem;
  color: var(--blue);
}

.level-card.red-top .level-icon {
  color: var(--red);
}

.level-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
}

.level-text {
  font-size: 0.88rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* WHY SIDH */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border-top: 4px solid var(--blue);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 140px;
  font-size: 0.88rem;
}

.why-card.red-top {
  border-top-color: var(--red);
}

.why-icon {
  font-size: 1.3rem;
  color: var(--blue);
}

.why-card.red-top .why-icon {
  color: var(--red);
}

.why-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: #0f172a;
}

.why-text {
  font-size: 0.88rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* FEES */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.price-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border-top: 4px solid var(--blue);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.88rem;
}

.price-card.red-top {
  border-top-color: var(--red);
}

.price-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
  margin-bottom: 0.35rem;
}

.price-rate {
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

.price-rate span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
}

.price-rate small {
  font-size: 0.85rem;
  color: #6b7280;
}

.price-label {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.7rem;
}

.price-divider {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  margin: 0.35rem 0 0.6rem;
}

/* 🔍 Bigger multi-hour fees text (e.g. “£15 for 2 hours”) */
.price-multi {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--blue);
  margin-bottom: 0.15rem;
}

.price-multi-label {
  font-size: 1.05rem;
  color: #4b5563;
}

.price-contact-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
  margin: 0.3rem 0 0.35rem;
}

.price-contact-text {
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 0.8rem;
}

.btn-contact {
  margin-top: auto;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: var(--red);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 12px 28px rgba(255, 47, 60, 0.35);
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.4rem;
}

.testimonial {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border-left: 4px solid var(--blue);
  font-size: 0.88rem;
  color: #4b5563;
  display: flex;
  flex-direction: column;
  min-height: 160px;
}

.testimonial.red-border {
  border-left-color: var(--red);
}

.testimonial-stars {
  color: #facc15;
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 0.8rem;
}

.testimonial-footer {
  font-weight: 600;
  color: #111827;
}

/* CONTACT – red/blue branding */
#contact {
  background: linear-gradient(
    135deg,
    rgba(255, 47, 60, 0.16),
    rgba(0, 163, 255, 0.18)
  );
  border-radius: 1.25rem;
  padding: 2.8rem 1.8rem;
  margin-top: 1.5rem;
}

#contact .section-eyebrow {
  color: var(--red);
}

#contact .section-title {
  color: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Cards in contact section: red + blue accents */
#contact .card {
  border-top: 4px solid var(--blue);
  border-radius: 1.2rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

#contact .contact-info.card {
  border-top-color: var(--red);
}

.contact-info {
  font-size: 0.9rem;
  color: #4b5563;
}

.contact-info h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--red);
}

.contact-row {
  margin-bottom: 0.7rem;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.1rem;
}

.contact-value {
  font-weight: 500;
  color: #111827;
}

.contact-note {
  font-size: 0.8rem;
  color: #374151;
  margin-top: 0.4rem;
}

.map-embed {
  margin-top: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  height: 100%;
  min-height: 220px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.4rem 1.5rem 2rem;
  background: #4b5563;
  color: #e5e7eb;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.5rem;
  font-size: 0.8rem;
  align-items: flex-start;
}

.footer-cta-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
  margin-bottom: 0.3rem;
}

.footer-heading {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

.footer-links a {
  color: #e5e7eb;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: #111827;
  color: #e5e7eb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.social-icon:hover {
  transform: translateY(-1px);
}

.social-wa {
  background: #25d366;
  color: #ffffff;
}

.social-ig {
  background: radial-gradient(circle at 30% 30%, #fdf497 0, #fd5949 45%, #d6249f 75%, #285aeb 100%);
  color: #ffffff;
}

.social-fb {
  background: #1877f2;
  color: #ffffff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0.75rem auto 0;
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  color: #e5e7eb;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
}

.whatsapp-fab span {
  font-size: 1.2rem;
}

.whatsapp-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .about,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-embed {
    min-height: 220px;
  }
}

@media (max-width: 820px) {
  .why-grid,
  .price-grid,
  .testimonials-grid,
  .levels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .why-grid,
  .price-grid,
  .testimonials-grid,
  .levels-grid {
    grid-template-columns: 1fr;
  }

  .page-wrapper {
    padding: 0 1.1rem 2.5rem;
  }

  .logo-img {
    height: 38px;
  }

  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
  }
}
