@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&family=Fredoka+One&family=Poppins:wght@400;500;600;700;800&display=swap');

/*----------- pop-up----------*/
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}
.top-head{
    display: flex;
    justify-content: center;
    align-content: center;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    padding: 0px 35px;
    flex-wrap: wrap;
}

.social-top{
    display: flex;
    margin-right: auto;
    justify-content: flex-start;
    gap: 10px;
    padding: 5px;
}
.social-top a{
     background-color: #fff;
    display: flex;
    border-radius: 10px;
    width: 35px;
    height: 35px;
    padding: 3px;
}
.ofsted{
    margin-left: auto;
    color: #fff;
    text-align: center;
    padding: 5px 14px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: .02em;
}
.social{
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 10px;
}
.social a{
    background-color: #fff;
    display: flex;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    padding: 3px;
}

/* #Progress
    ================================================== */
.progress-wrap {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1111;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.progress-wrap.show {
  opacity: 1;
  visibility: visible;
}

.progress-circle {
  transform: rotate(-90deg);
}

.progress-circle circle {
  stroke-dasharray: 126; /* 2πr where r = 20 (≈ 125.66) */
  stroke-dashoffset: 126;
  stroke: #2e9a69;
  transition: stroke-dashoffset 0.25s linear;
}

.arrow-up {
  font-size: 20px;
  color: #2e9a69;
  position: absolute;
  pointer-events: none;
}
/* Emerald Tuition */
/* ── HERO ─────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #990077 70%, #99007799 100%);
  color: var(--white);
  padding: 40px 30px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(34, 135, 94, .22) 0%, transparent 70%),
    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='%231a6b4a' fill-opacity='0.08'%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");
  pointer-events: none;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, .15);
  border: 1px solid rgba(201, 162, 39, .4);
  color: #ffbe00;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.hero-badge::before {
  content: '★';
  font-size: 0.75rem;
}

h1 {

  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
  font-size: 36.8px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero p {
  font-size: 1.02rem;
  color: #b8d4c2;
  margin-bottom: 16px;
  font-weight: 300;
}

.hero p strong {
  color: var(--white);
  font-weight: 500;
}


/* ── CONTENT SECTION ─────────────────────────── */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 48px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-mid);
  margin-bottom: 12px;
}

.content-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 28px;
  font-weight: 700;
}

.content-section p {
  color: #b8d4c2;
  margin-bottom: 18px;
  font-size: 0.97rem;
}

.content-section p strong {
  color: #b8d4c2;
}

/* bullet list */
.feature-list {
  list-style: none;
  margin: 15px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: #b8d4c2;
}

.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #ffffff38;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ── DIVIDER ─────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, transparent);
  margin: 0 48px;
}

.divider1 {
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--coral), var(--sky), var(--purple));
  margin: 0 0px;
  opacity: 0.3;
}

/* Emerald Tuition */
/* Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.popup-box {
  background: #fff;
  width: 55%;
  max-width: 1500px;
  padding: 30px 20px;
  border-radius: 8px;
  position: relative;
  text-align: justify;
  border-radius: 18px;
  border-top: 5px solid #00c97b;
  animation: popupFade 0.3s ease;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 0px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* Animation */
@keyframes popupFade {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/*----------- pop-up----------*/
:root {
  --green: #00c97b;
  --green-d: #009e60;
  --green-l: #e0fff2;
  --yellow: #ffbe00;
  --yellow-l: #fff9e0;
  --coral: #ff5c7a;
  --coral-l: #fff0f3;
  --sky: #00b4d8;
  --sky-l: #e0f7ff;
  --purple: #7c3aed;
  --purple-l: #ede9fe;
  --orange: #ff7d3b;
  --dark: #0d1b2a;
  --dark2: #1a2e44;
  --mid: #4a5568;
  --light: #a0aec0;
  --white: #ffffff;
  --bg: #f7fafc;
  --r: 18px;
  --r-lg: 28px;
  --sh: 0 4px 24px rgba(0, 0, 0, .09);
  --sh-lg: 0 16px 48px rgba(0, 0, 0, .14);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.68;
  overflow-x: hidden;
  text-align: justify;
}

a {
  text-decoration: none;
  color: inherit
}

img {
  max-width: 100%
}

ul {
  list-style: none
}

/* 
h1,
h2,
h3,
h4 {
  font-family: 'Baloo 2', cursive;
  line-height: 1.2
} */

.container {
  max-width: 1700px;
  padding: 0;
  width: 100%;
  margin: 0 auto;
}

/* TOPBAR CALL STRIP */
.call-strip {
      margin: 0 auto;
    color: #fff;
    text-align: center;
    padding: 5px 14px;
  font-size: 16px;
    font-weight: 600;

    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: .02em;
}

.call-strip a {
  color: #fff;
  font-weight: 700
}


/* TOPBAR */
.topbar {
  background: var(--dark);
  color: #FFFFFF;
  font-size: .78rem;
  font-weight: 500;
  padding: 7px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px
}

.topbar a {
  color: var(--green);
  transition: color .2s
}

.topbar a:hover {
  color: #fff
}

.tb-l,
.tb-r {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  height: 100px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 20px rgba(0, 0, 0, .07);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--green), var(--yellow), var(--coral), var(--sky), var(--purple)) 1
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .12))
}

.logo-fb {
  display: none;
  align-items: center;
  gap: 4px
}

.logo-fb .le {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: var(--green-d)
}

.logo-fb .lt {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  padding: 8px 13px;
  font-weight: 600;
  font-size: .84rem;
  border-radius: 999px;
  transition: all .2s;
  color: var(--dark2)
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--green-l);
  color: var(--green-d)
}

.nav-cta {
  background: linear-gradient(135deg, var(--green), #00d4aa) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 201, 123, .35);
  padding: 9px 18px !important
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 201, 123, .45) !important
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark)
}

/* ── DROPDOWN WRAPPER ─────────────────────────── */
.nav-links .dropdown {
  position: relative;

}

/* ── DROPDOWN TRIGGER ARROW ───────────────────── */
.nav-links .dropdown>a::after {
  content: '▾';
  font-size: 15px;
  float: right;
  margin-top: 1px;
  margin-left: -6px;
  display: block;
  transition: transform .22s ease;
}

.nav-links .dropdown:hover>a::after {
  transform: rotate(180deg);
}

/* ── DROPDOWN MENU ────────────────────────────── */
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(96% + 5px);
  left: 60%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .13);
  min-width: 190px;
  padding: 8px;
  z-index: 1000;
  border-top: 3px solid var(--green);
  animation: dropFade .2s ease;
}

/* small pointer triangle */
.nav-links .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top: none;
  border-bottom-color: var(--green);
}

@keyframes dropFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── DROPDOWN LINKS ───────────────────────────── */
.nav-links .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--dark2);
  transition: all .18s;
  white-space: nowrap;
}

.nav-links .dropdown-menu a:hover {
  background: #ffffff;
  color: var(--green-d);
  padding-left: 18px;
}


/* ── SHOW ON HOVER (desktop) ──────────────────── */
.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}

/* ── MOBILE (matches your existing 900px breakpoint) ── */
@media (max-width: 900px) {


  .nav-links .dropdown-menu {
    position: static;
    transform: none;
    min-width: 100%;
    width: 98%;
    border-radius: 0;
    border-top: none;
    border-left: 3px solid var(--green);
    background: #fff;
    box-shadow: none;
    margin: 4px 0 8px 14px;
    padding: 4px 6px;
    animation: none;
    display: none;
  }

  .nav-links .dropdown-menu::before {
    display: none;
  }

  .nav-links .dropdown.open .dropdown-menu {
    display: block;
  }

  /* disable hover on mobile */
  .nav-links .dropdown:hover .dropdown-menu {
    display: none;
  }

  .nav-links .dropdown.open .dropdown-menu {
    display: block;
  }
}



/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  font-family: 'Poppins', sans-serif;
  transition: all .22s;
  cursor: pointer;
  border: none
}

.btn-green {
  background: #ffaf0d;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 201, 123, .35)
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 201, 123, .48)
}

.btn-yellow {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 190, 0, .32)
}

.btn-yellow:hover {
  transform: translateY(-3px)
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral), #ff8fa3);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 92, 122, .3)
}

.btn-coral:hover {
  transform: translateY(-3px)
}

.btn-sky {
  background: linear-gradient(135deg, var(--sky), #90e0ef);
  color: #fff
}

.btn-sky:hover {
  transform: translateY(-3px)
}

.btn-white {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12)
}

.btn-white:hover {
  transform: translateY(-3px)
}

.btn-ghost {
  background: transparent;
  border: 2.5px solid rgba(255, 255, 255, .45);
  color: #fff
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .15)
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tg {
  background: var(--green-l);
  color: var(--green-d)
}

.ty {
  background: var(--yellow-l);
  color: #8a5c00
}

.tc {
  background: var(--coral-l);
  color: #a8003a
}

.tb {
  background: var(--sky-l);
  color: #005e8a
}

.tp {
  background: var(--purple-l);
  color: var(--purple)
}

/* SECTION HEADING */
.sec-head {
  text-align: center;
  margin-bottom: 15px;
}

.sec-head h2 {
  font-size: 2.3rem;
  margin: 0;
}

.sec-head p {
  color: var(--mid);
  max-width: 520px;
  margin: 0 auto;
  font-size: .96rem
}

.sp {
  padding: 35px 0;
  display: flex;
  justify-content: center;
  align-items: center;

}

.sp-sm {
  padding: 30px 0;
}

.bg-w {
  background: #fff
}

.bg-l {
  background: var(--bg)
}

.tc-center {
  text-align: center
}

.mt-m {
  margin-top: 22px
}

.mt-l {
  margin-top: 42px
}

/* PAGE HEADER */
.page-header {
  padding: 70px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.ph-about {
  background: linear-gradient(135deg, #0d1b2a 0%, #990077 70%, #99007799 100%);
}

.ph-courses {
  background: linear-gradient(135deg, #003820, #990077, #990077d6);
}

.ph-tutors {
  background: linear-gradient(135deg, #0d1b2a 0%, #990077 70%, #99007799 100%);
}

.ph-contact {
  background: linear-gradient(135deg, #0d1b2a 0%, #990077 70%, #99007799 100%);
}

.ph-testi {
  background: linear-gradient(135deg, #1a2c00, #2e5200, #5a8a00)
}

.ph-faq {
  background: linear-gradient(135deg, #001a40, #003060, #0056a0)
}

.ph-math {
  background: linear-gradient(135deg, #003820, #990077, #990077d6);
}

.ph-english {
  background: linear-gradient(135deg, #4d3000, #8a5400, var(--yellow))
}

.ph-science {
  background: linear-gradient(135deg, #002840, #004870, var(--sky))
}

.ph-sats {
  background: linear-gradient(135deg, #4d001a, #850030, var(--coral))
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 52px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 52'%3E%3Cpath fill='%23ffffff' d='M0,36 C360,0 1080,72 1440,18 L1440,52 L0,52 Z'/%3E%3C/svg%3E") no-repeat bottom/cover
}

.page-header .tag {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  margin-bottom: 13px
}

.page-header h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 12px
}

.page-header p.sub {
  color: rgba(255, 255, 255, .78);
  max-width: 560px;
  margin: 0 auto;
  font-size: .98rem
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .12);
  padding: 6px 15px;
  border-radius: 999px;
  font-size: .76rem;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 16px
}

.breadcrumb a {
  color: rgba(255, 255, 255, .85)
}

.breadcrumb a:hover {
  color: #fff
}

/* ========== BANNER SLIDER ========== */
.banner-slider {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--dark)
}

.slider-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform .78s cubic-bezier(.77, 0, .18, 1);
  will-change: transform
}

.slide {
  position: relative;
  width: 25%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  overflow: hidden
}

.slide-bg {
  position: absolute;
  inset: 0
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s ease
}

.slide.is-active .slide-img {
  transform: scale(1)
}

.slide-ov {
  position: absolute;
  inset: 0
}

.sdeco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: decoPulse 5s ease-in-out infinite alternate
}

@keyframes decoPulse {
  0% {
    transform: scale(1);
    opacity: .38
  }

  100% {
    transform: scale(1.1);
    opacity: .65
  }
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 1000px !important;
  padding-top: 10px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease .28s, transform .65s ease .28s
}

.slide.is-active .slide-content {
  opacity: 1;
  transform: translateY(0)
}

.s-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif
}

.slide-title {
  font-family: 'Baloo 2', cursive;
  font-size: 3.5rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px
}

.s-em {
  font-style: normal;
  background: #ffaf0d;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.s-em-y {
  font-style: normal;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.s-em-c {
  font-style: normal;
  background: linear-gradient(135deg, var(--coral), #ff8fa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.s-em-b {
  font-style: normal;
  background: linear-gradient(135deg, var(--sky), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.slide-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 560px
}

.slide-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px
}

.s-stats {
  display: inline-flex;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  overflow: hidden
}

.sst {
  padding: 13px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, .1)
}

.sst:last-child {
  border-right: none
}

.sst-n {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  line-height: 1
}

.sst-l {
  font-size: .67rem;
  color: rgba(255, 255, 255, .58);
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  margin-top: 2px
}

.s-feats {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.sfeat {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .84);
  font-size: .88rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500
}

.s-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.spill {
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all .2s
}

.spill:hover {
  background: rgba(255, 255, 255, .28);
  transform: translateY(-2px)
}

/* arrows */
.sl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, .28);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .24s
}

.sl-arrow svg {
  width: 20px;
  height: 20px
}

.sl-arrow:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 201, 123, .45)
}

.sl-prev {
  left: 24px
}

.sl-next {
  right: 24px
}

/* dots */
.sl-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 9px;
  align-items: center
}

.sdot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .32);
  border: none;
  cursor: pointer;
  transition: all .3s;
  padding: 0
}

.sdot.active {
  background: var(--green);
  width: 28px;
  box-shadow: 0 0 0 3px rgba(0, 201, 123, .28)
}

/* progress bar */
.sl-prog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, .12);
  z-index: 10
}

.sl-prog-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  transition: width .1s linear
}

/* counter */
.sl-counter {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 10;
  color: rgba(255, 255, 255, .5);
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  letter-spacing: .06em
}

.sl-counter .cur {
  color: #fff;
  font-size: 1.5rem
}

/* thumbs */
.sl-thumbs {
  position: absolute;
  bottom: 58px;
  right: 24px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 7px
}

.sthumb {
  width: 54px;
  height: 38px;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .18);
  transition: all .24s;
  opacity: .48
}

.sthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.sthumb.active {
  border-color: var(--green);
  opacity: 1;
  box-shadow: 0 4px 14px rgba(0, 201, 123, .45)
}

.sthumb:hover {
  opacity: .82
}

/* ========== WELCOME SECTION ========== */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center
}

.w-img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: visible
}

.w-img-wrap img.main-img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  display: block
}

.w-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
  border-radius: var(--r);
  padding: 15px 20px;
  text-align: center;
  box-shadow: var(--sh-lg);
  z-index: 2
}

.w-badge .wbn {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  display: block;
  line-height: 1
}

.w-badge small {
  font-size: .72rem;
  font-weight: 700;
  opacity: .9
}

.w-txt h2 {
  font-size: 2.2rem;
  margin: 12px 0 18px
}

.w-txt p {
  color: var(--mid);
  margin-bottom: 14px;
  font-size: .95rem;
  line-height: 1.72
}

.w-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px
}

.wf {
  background: #fff;
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--sh);
  border-top: 4px solid;
  transition: transform .22s
}

.wf:nth-child(1) {
  border-color: var(--green)
}

.wf:nth-child(2) {
  border-color: var(--yellow)
}

.wf:nth-child(3) {
  border-color: var(--sky)
}

.wf:nth-child(4) {
  border-color: var(--coral)
}

.wf:hover {
  transform: translateY(-3px)
}

.wf-ico {
  font-size: 1.7rem;
  margin-bottom: 9px;
  color: #00c082;
}

.wf h4 {
  font-size: .92rem;
  margin-bottom: 5px
}

.wf p {
  font-size: .8rem;
  color: var(--mid)
}

/* ========== SUBJECTS GRID ========== */
.subj-section {
  background: #fff;
  padding: 80px 0 0 0;
  position: relative
}

.subj-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--coral), var(--sky), var(--purple))
}

.subj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0
}

.scard {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform .32s, box-shadow .32s;
  text-decoration: none
}

.scard:hover {
  z-index: 2;
  transform: scale(1.04);
  box-shadow: var(--sh-lg)
}

.scard-bg {
  position: absolute;
  inset: 0
}

.scard-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.scard:hover .scard-bg img {
  transform: scale(1.08)
}

.scard-ov {
  position: absolute;
  inset: 0
}

.sm .scard-ov {
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(48 48 48 / 64%) 100%);
}

.se .scard-ov {
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(48 48 48 / 64%) 100%);

}

.ss .scard-ov {
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(48 48 48 / 64%) 100%);
}

.sx .scard-ov {
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(48 48 48 / 64%) 100%);
}

.scard-body {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  color: #fff;
  transform: translateY(18px);
  transition: transform .32s
}

.scard:hover .scard-body {
  transform: translateY(0)
}

.sc-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 12px
}

.scard-body h3 {
  font-size: 1.25rem;
  margin-bottom: 7px
}

.scard-body p {
  font-size: .84rem;
  opacity: .88;
  margin-bottom: 14px;
  line-height: 1.5
}

.sc-lnk {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  transition: all .2s;
  opacity: 0;
  transform: translateY(7px)
}

.scard:hover .sc-lnk {
  opacity: 1;
  transform: translateY(0)
}

/* ========== WHY SECTION (dark bg) ========== */
.why-sec {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  padding: 80px 0;
  overflow: hidden;
  position: relative
}

.why-sec::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 201, 123, .1) 0%, transparent 70%);
  top: -180px;
  right: -120px;
  pointer-events: none
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center
}

.why-txt .tag {
  background: rgba(0, 201, 123, .2);
  color: #6ee7b7
}

.why-txt h2 {
  font-size: 2.2rem;
  color: #fff;
  margin: 12px 0 18px
}

.why-txt p {
  color: rgba(255, 255, 255, .65);
  margin-bottom: 14px;
  font-size: .95rem
}

.ftiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px
}

.ftile {
  border-radius: var(--r);
  padding: 20px 18px;
  transition: transform .24s
}

.ftile:hover {
  transform: translateY(-4px)
}

.ft-g {
  background: linear-gradient(135deg, var(--green), #00d4aa)
}

.ft-y {
  background: linear-gradient(135deg, var(--yellow), var(--orange))
}

.ft-c {
  background: linear-gradient(135deg, var(--coral), #ff8fa3)
}

.ft-b {
  background: linear-gradient(135deg, var(--sky), #90e0ef)
}

.ftile .fi {
  font-size: 1.7rem;
  margin-bottom: 9px
}

.ftile h4 {
  color: #fff;
  font-size: .94rem;
  margin-bottom: 5px;
  font-family: 'Baloo 2', cursive
}

.ftile p {
  color: rgba(255, 255, 255, .82);
  font-size: .8rem
}

.why-img {
  position: relative
}

.why-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg)
}

.why-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--r);
  padding: 14px 18px;
  box-shadow: var(--sh-lg)
}

.wb1 {
  top: -18px;
  left: -22px;
  display: flex;
  align-items: center;
  gap: 11px
}

.wb2 {
  bottom: -18px;
  right: -22px;
  text-align: center
}

.wb-ico {
  font-size: 1.8rem
}

.wb-t h4 {
  font-size: .88rem;
  color: var(--dark);
  font-family: 'Baloo 2', cursive
}

.wb-t p {
  font-size: .76rem;
  color: var(--mid)
}

.wb-n {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--green-d);
  line-height: 1
}

.wb-nl {
  font-size: .72rem;
  color: var(--mid)
}

/* ========== TESTIMONIALS ========== */
.testi-sec {
  background: linear-gradient(135deg, #f0fdf4, #fff9e0, #fff0f3);
  padding: 80px 0;
  overflow: hidden;
  position: relative
}

.testi-sec::before {
  content: '"';
  font-family: 'Fredoka One', cursive;
  font-size: 26rem;
  position: absolute;
  top: -60px;
  left: -20px;
  color: rgba(0, 201, 123, .05);
  line-height: 1;
  pointer-events: none
}

.tgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.tcard {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  transition: transform .26s, box-shadow .26s
}

.tcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg)
}

.tcard::before {
  content: '"';
  font-family: 'Fredoka One', cursive;
  font-size: 6rem;
  position: absolute;
  top: -8px;
  right: 14px;
  line-height: 1;
  opacity: .07
}

.tcard:nth-child(1)::before {
  color: var(--green)
}

.tcard:nth-child(2)::before {
  color: var(--yellow)
}

.tcard:nth-child(3)::before {
  color: var(--coral)
}

.tcard:nth-child(4)::before {
  color: var(--sky)
}

.tc-bar {
  height: 5px;
  border-radius: 3px;
  margin-bottom: 20px
}

.tc-bar.g {
  background: linear-gradient(90deg, var(--green), #00d4aa)
}

.tc-bar.y {
  background: linear-gradient(90deg, var(--yellow), var(--orange))
}

.tc-bar.r {
  background: linear-gradient(90deg, var(--coral), #ff8fa3)
}

.tc-bar.b {
  background: linear-gradient(90deg, var(--sky), var(--purple))
}

.tc-stars {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px
}

.tcard .ttext {
  color: var(--mid);
  font-size: .9rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 20px
}

.tc-auth {
  display: flex;
  align-items: center;
  gap: 12px
}

.tc-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  flex-shrink: 0
}

.av-g {
  background: linear-gradient(135deg, var(--green), #00d4aa)
}

.av-y {
  background: linear-gradient(135deg, var(--yellow), var(--orange))
}

.av-r {
  background: linear-gradient(135deg, var(--coral), #ff8fa3)
}

.av-b {
  background: linear-gradient(135deg, var(--sky), var(--purple))
}

.tc-name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--dark2)
}

.tc-role {
  font-size: .76rem;
  color: var(--light)
}

/* ========== CTA BANNER ========== */
.cta-sec {
  background: linear-gradient(135deg, #99007794, #990077, #001810);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-sec::before {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(255, 190, 0, .08);
  top: -180px;
  right: -80px
}

.cta-sec::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(0, 180, 216, .08);
  bottom: -90px;
  left: -40px
}

.cta-inner {
  position: relative;
  z-index: 2
}

.cta-sec h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 12px
}

.cta-sec p {
  color: rgba(255, 255, 255, .75);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

/* ========== ABOUT PAGE ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start
}

.about-mosaic {
  position: relative;
  height: 500px
}

.am-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 68%;
  height: 76%;
  border-radius: var(--r-lg);
  object-fit: cover;
  box-shadow: var(--sh-lg)
}

.am-sec {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 54%;
  border-radius: var(--r);
  object-fit: cover;
  box-shadow: var(--sh-lg);
  border: 5px solid #fff
}

.am-badge {
  position: absolute;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #fff;
  border-radius: var(--r);
  padding: 10px 22px;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  text-align: center;
  box-shadow: var(--sh-lg);
  z-index: 3
}

.am-badge .abn {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  display: block;
  line-height: 1
}

.am-badge small {
  font-size: .72rem;
  font-weight: 700;
  opacity: .9
}

.about-txt h2 {
  font-size: 2.2rem;
  margin: 0;
}

.about-txt p {
  color: var(--mid);
  margin-bottom: 14px;
  font-size: .95rem;
  line-height: 1.72
}

.vpills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 24px
}

.vpill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green-l);
  color: var(--green-d);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600
}

.vpill::before {
  content: '✓';
  font-weight: 900
}

.astats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px
}

.astat {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--r);
  border-top: 4px solid
}

.astat:nth-child(1) {
  background: var(--green-l);
  border-color: var(--green)
}

.astat:nth-child(2) {
  background: var(--yellow-l);
  border-color: var(--yellow)
}

.astat:nth-child(3) {
  background: var(--sky-l);
  border-color: var(--sky)
}

.astat-n {
  font-family: 'Fredoka One', cursive;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 4px
}

.astat:nth-child(1) .astat-n {
  color: var(--green-d)
}

.astat:nth-child(2) .astat-n {
  color: #8a5c00
}

.astat:nth-child(3) .astat-n {
  color: #005e8a
}

.astat p {
  font-size: .76rem;
  color: var(--mid);
  font-weight: 600
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.diff-card {
  background: #fff;
  border-radius: var(--r);
  padding: 26px 20px;
  box-shadow: var(--sh);
  border-top: 5px solid;
  transition: transform .24s
}

.diff-card:hover {
  transform: translateY(-4px)
}

.diff-card:nth-child(1) {
  border-color: var(--green)
}

.diff-card:nth-child(2) {
  border-color: var(--yellow)
}

.diff-card:nth-child(3) {
  border-color: var(--sky)
}

.diff-card:nth-child(4) {
  border-color: var(--coral)
}

.diff-card:nth-child(5) {
  border-color: var(--purple)
}

.diff-card:nth-child(6) {
  border-color: var(--orange)
}

.diff-card .dc-ico {
  font-size: 2.2rem;
  margin-bottom: 12px
}

.diff-card h3 {
  font-size: 1rem;
  margin-bottom: 8px
}

.diff-card p {
  color: var(--mid);
  font-size: .84rem;
  line-height: 1.6
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 95%;
  margin: 0 auto;
}


.gallery-grid img {
  width: 100%;
  transition: transform .25s, box-shadow .25s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--sh-lg)
}

/* ========== COURSES PAGE ========== */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 26px
}

.ccard {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  transition: transform .28s, box-shadow .28s;
  cursor: pointer;
  text-decoration: none;
  color: inherit
}

.ccard:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg)
}

.ccard-img {
  position: relative;
  height: 230px;
  overflow: hidden
}

.ccard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.ccard:hover .ccard-img img {
  transform: scale(1.06)
}

.ccard-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px
}

.cm .ccard-bar {
  background: linear-gradient(90deg, var(--green), #00d4aa)
}

.ce .ccard-bar {
  background: linear-gradient(90deg, var(--yellow), var(--orange))
}

.cs .ccard-bar {
  background: linear-gradient(90deg, var(--sky), var(--purple))
}

.cx .ccard-bar {
  background: linear-gradient(90deg, var(--coral), #ff8fa3)
}

.ccard-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff
}

.ctag {
  margin-bottom: 9px
}

.ccard-body h3 {
  font-size: 1.25rem;
  margin-bottom: 9px
}

.ccard-body p {
  color: var(--mid);
  font-size: .88rem;
  flex: 1;
  margin-bottom: 16px;
  line-height: 1.65
}

.cmeta {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-bottom: 16px
}

.cm-i {
  font-size: .75rem;
  color: var(--mid);
  font-weight: 600
}

.ccard-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f0f4f8
}

/* ========== COURSE DETAIL ========== */
.cd-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start
}

.cd-img-wrap {
  width: 30%;
}

.cd-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
}

.box-1 {
  background-color: #faf5fd;
  padding: 20px;
  border-radius: 10px;
  border: 2px dotted #c057ff;

}

.box-2 {
  background-color: #9afeff1f;
  padding: 20px;
  border-radius: 10px;
  border: 2px dotted #00cd8b;
}

.box-3 {
  background-color: #faf5fd;
  padding: 20px;
  border-radius: 10px;
  border: 2px dotted #c057ff;

}

.box-4 {
  background-color: #d4f4ff54;
  padding: 20px;
  border-radius: 10px;
  border: 2px dotted #43afe5;
}

.cd-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.cd-body {
  width: 68%;
}

.cd-body h2 {
  font-size: 1.9rem;
  margin-bottom: 0;
}

.cd-body .lead {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 16px;
}

.cd-body p {
  color: var(--mid);
  margin-bottom: 13px;
  font-size: .94rem;
  line-height: 1.7
}


.cd-list {
  margin: 16px 0 24px
}

.cd-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--mid);
  border-bottom: 1px solid #f0f4f8;
  font-size: .9rem
}

.cd-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900
}

.cd-sidebar {
  position: sticky;
  top: 90px
}

.sb-box {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
  overflow: hidden;
  margin-bottom: 18px
}

.sb-hd {
  padding: 17px 22px;
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-size: .95rem;
  font-weight: 700
}

.sb-g {
  background: linear-gradient(135deg, var(--green), #00d4aa)
}

.sb-y {
  background: linear-gradient(135deg, var(--yellow), var(--orange))
}

.sb-p {
  background: linear-gradient(135deg, var(--purple), var(--sky))
}

.sb-bd {
  padding: 18px 22px
}

.sb-row {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 12px;
  font-size: .88rem;
  color: var(--mid)
}

.sb-row:last-child {
  margin-bottom: 0
}

.sb-ico {
  font-size: 1.1rem;
  flex-shrink: 0
}

.sw {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.sw-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: .84rem;
  transition: all .2s;
  text-decoration: none;
  color: var(--dark2);
  border: 2px solid transparent
}

.sw-btn:hover,
.sw-btn.active {
  border-color: var(--green);
  background: var(--green-l);
  color: var(--green-d)
}

/* ========== TUTORS PAGE ========== */
.tutors-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center
}

.tutor-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg)
}

.tutor-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block
}

.tc-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px
}

.tcred {
  padding: 17px;
  border-radius: var(--r);
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.tcred-1 {
  background: var(--green-l)
}

.tcred-2 {
  background: var(--yellow-l)
}

.tcred-3 {
  background: var(--sky-l)
}

.tcred-4 {
  background: var(--coral-l)
}

.tcred .tci {
  font-size: 1.5rem;
  flex-shrink: 0
}

.tcred h4 {
  font-size: .86rem;
  color: var(--dark2);
  margin-bottom: 3px
}

.tcred p {
  font-size: .77rem;
  color: var(--mid)
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.mcard {
  border-radius: var(--r);
  padding: 26px 20px;
  text-align: center;
  color: #fff;
  transition: transform .26s
}

.mcard:hover {
  transform: translateY(-4px)
}

.mcard:nth-child(1) {
  background: linear-gradient(135deg, var(--green), #00d4aa)
}

.mcard:nth-child(2) {
  background: linear-gradient(135deg, var(--yellow), var(--orange))
}

.mcard:nth-child(3) {
  background: linear-gradient(135deg, var(--coral), #ff8fa3)
}

.mcard:nth-child(4) {
  background: linear-gradient(135deg, var(--sky), var(--purple))
}

.mcard:nth-child(5) {
  background: linear-gradient(135deg, var(--purple), var(--coral))
}

.mcard:nth-child(6) {
  background: linear-gradient(135deg, #00d4aa, var(--sky))
}

.mc-ico {
  font-size: 1.9rem;
  margin-bottom: 11px
}

.mcard h3 {
  font-size: .98rem;
  margin-bottom: 7px
}

.mcard p {
  font-size: .8rem;
  opacity: .88;
  line-height: 1.5
}

.stat-bar {
  background: linear-gradient(135deg, var(--green), #00d4aa);
  padding: 50px 0
}

.sb-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center
}

.sb-n {
  font-family: 'Fredoka One', cursive;
  font-size: 2.8rem;
  color: #fff;
  line-height: 1
}

.sb-l {
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
  margin-top: 5px;
  font-size: .88rem
}

/* ========== FAQ ========== */
.faq-wrap {
  max-width: 1200px;
  margin: 0 auto
}

.faq-item {
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  border: 2px solid transparent;
  transition: border-color .22s
}

.faq-item:hover {
  border-color: var(--green)
}

.faq-q {
  padding: 18px 24px;
  font-weight: 700;
  font-size: .93rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  color: var(--dark2)
}

.faq-q .fqi {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-l);
  color: var(--green-d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .28s;
  font-size: .9rem
}

.faq-item.open .fqi {
  background: var(--green);
  color: #fff;
  transform: rotate(180deg)
}

.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  color: var(--mid);
  font-size: .9rem;
  line-height: 1.72;
  transition: max-height .36s ease, padding .36s ease
}

.faq-item.open .faq-a {
  max-height: 280px;
  padding: 4px 24px 20px
}

/* ========== CONTACT PAGE ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 52px;
  align-items: start
}

.cd-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 22px
}

.cd-ico {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0
}

.cd-g {
  background: var(--green-l);
  color: #2e9a69;
}

.cd-y {
  background: var(--yellow-l);
  color: #2e9a69;
}

.cd-b {
  background: var(--sky-l);
  color: #2e9a69;
}

.cd-r {
  background: var(--coral-l)
}

.cd-lbl {
  font-size: .73rem;
  font-weight: 700;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px
}

.cd-val {
  font-weight: 600;
  color: var(--dark2);
  font-size: .95rem
}

.cd-val a {
  color: #000000
}

.hrs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 22px 0
}

.hbox {
  padding: 13px 15px;
  border-radius: 12px
}

.hbox-g {
  background: var(--green-l)
}

.hbox-y {
  background: var(--yellow-l)
}

.hbox-c {
  background: var(--coral-l)
}

.hbox-b {
  background: var(--sky-l)
}

.hday {
  font-size: .71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mid)
}

.htime {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark2);
  margin-top: 2px
}

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  margin-top: 22px
}

.form-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden
}

.form-hd {
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--green), #00d4aa);
  color: #fff
}

.form-hd h2 {
  font-size: 1.45rem;
  margin-bottom: 4px
}

.form-hd p {
  opacity: .84;
  font-size: .86rem
}

.form-bd {
  padding: 26px 28px
}

.fg {
  margin-bottom: 15px
}

.fg label {
  display: block;
  font-weight: 700;
  font-size: .79rem;
  color: var(--dark2);
  margin-bottom: 5px
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid #e8edf2;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: .87rem;
  color: var(--dark);
  background: #f9fbfc;
  transition: border-color .2s, background .2s
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 201, 123, .1)
}

.fg textarea {
  min-height: 110px;
  resize: vertical
}

.fg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px
}

.form-sub {
  width: 30%;
  padding: 13px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #00d4aa);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .94rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 201, 123, .38);
  transition: all .24s
}

.form-sub:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 201, 123, .48)
}

.form-ok {
  display: none;
  background: var(--green-l);
  color: var(--green-d);
  padding: 13px 17px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  margin-top: 13px
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: #64748b;
  position: relative;
  overflow: hidden
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--coral), var(--sky), var(--purple))
}

.footer-top {
  padding: 58px 0 42px
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 42px
}

.f-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .88
}

.f-brand p {
  font-size: .85rem;
  line-height: 1.72;
  margin-bottom: 10px;
  color: #fff;
}

.f-hrs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .8rem;
  color: #fff;
  margin-top: 11px
}


.fhr-d {
  color: #ffffff;
}

.fhr-t {
  color: #cbd5e1;
  font-weight: 600
}

.f-col h4 {
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-size: .94rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 9px
}

.f-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--green)
}

.f-col ul li {
  margin-bottom: 9px
}

.f-col ul a,
.f-col a {
  color: #fff;
  font-size: .84rem;
  transition: color .2s
}

.f-col ul a:hover,
.f-col a:hover {
  color: var(--green)
}

.fci {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: .84rem;
  align-items: flex-start;
  color: #fff;
}

.fci-ico {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px
}

.footer-bot {
  border-top: 1px solid #cccccc82;
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #fff;
  font-size: .79rem;
}

.fbadges {
  display: flex;
  gap: 9px;
  flex-wrap: wrap
}

.fbadge {
  background: #1e293b;
  color: #94a3b8;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .71rem;
  font-weight: 600
}

/* TESTIMONIALS PAGE standalone */
.testi-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

/* ========== RESPONSIVE ========== */
@media(max-width:1700px) {
  .container {
    width: 95%;
  }
}

@media (max-width: 1600px) {
  .cd-body {
    width: 65%;
  }
}

@media (max-width: 1200px) {
  .cd-img-wrap {
    width: 45%;
  }

  .cd-body {
    width: 50%;
  }

}

@media(max-width:1024px) {
  .subj-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .why-grid,
  .about-grid,
  .tutors-top {
    grid-template-columns: 1fr
  }

  .why-badge {
    display: none
  }

  .about-mosaic {
    height: 320px
  }

  .am-badge {
    display: none
  }

  .slide-content {
    max-width: 750px !important;
  }
}

@media only screen and (max-width:870px) {
  .navbar {
    padding: 0 10px;
  }
}

@media(max-width:900px) {
  .page-header::after {
    background: none;
  }

  .cd-img-wrap {
    width: 98%;
  }

  .cd-body {
    width: 98%;
  }

  .slide-content {
    max-width: 550px !important;
  }

  .navbar {
    padding: 0 18px;
  }

  .w-badge {
    right: 0px;
  }

  .container {
    margin: 0 auto;
    width: 90%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);

  }

  .hero {
    padding: 40px 0px 40px;
  }

  .footer-bot {
    flex-direction: column;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 22px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .11);
    z-index: 998
  }

  .nav-links.open {
    display: flex;
    align-items: flex-start;

  }

  .nav-toggle {
    display: block
  }

  .banner-slider {
    height: auto;
    min-height: 0
  }

  .slide {
    min-height: 86vh
  }

  .slide-title {
    font-size: 2.2rem
  }

  .slide-sub {
    font-size: .92rem
  }

  .sl-prev {
    left: 10px
  }

  .sl-next {
    right: 10px
  }

  .sl-thumbs {
    display: none
  }

  .welcome-grid,
  .cd-layout,
  .contact-layout {
    grid-template-columns: 1fr
  }

  .w-feats,
  .diff-grid,
  .method-grid,
  .tc-creds {
    grid-template-columns: 1fr 1fr
  }

  .tgrid,
  .testi-page-grid,
  .courses-grid,
  .subj-grid {
    grid-template-columns: 1fr
  }

  .scard {
    min-height: 385px;
  }

  .scard-body {
    transform: none !important
  }

  .sc-lnk {
    opacity: 1;
    transform: none
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .page-header h1 {
    font-size: 2.1rem
  }

  .sb-inner {
    grid-template-columns: 1fr 1fr;
    gap: 16px
  }
}


@media(max-width:600px) {
  .about-mosaic {
    height: 260px;
  }

  .social-top{
    margin: 0 auto;
  }
  .top-head{
    margin: 0 auto;
  }
  .ofsted{
    margin: 0 auto;
  }

  .about-grid {
    gap: 25px;
  }

  .w-img-wrap img.main-img {
    height: 275px;
  }

  .tutor-img img {
    height: 240px;
  }

  .form-sub {
    width: 50%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .w-feats,
  .diff-grid,
  .method-grid,
  .tc-creds {
    grid-template-columns: 1fr;
  }
}

@media(max-width:480px) {


  .footer-grid,
  .w-feats,
  .tc-creds,
  .diff-grid,
  .method-grid {
    grid-template-columns: 1fr
  }

  .slide-title {
    font-size: 1.9rem
  }

  .slide-btns {
    flex-direction: column
  }

  .topbar,
  .call-strip {
    display: none
  }

  .hrs-grid,
  .fg-row {
    grid-template-columns: 1fr
  }

  .sb-inner {
    grid-template-columns: 1fr 1fr
  }

  .astats {
    grid-template-columns: 1fr
  }

  .cta-sec h2 {
    font-size: 1.9rem
  }
}