/* =========================================================
   Rankers Education — Main Stylesheet
   Blue + White + Orange palette
   ========================================================= */

/* --- Variables ------------------------------------------ */
:root {
  --re-primary:       #1a65c8;
  --re-primary-dark:  #1450a3;
  --re-primary-light: #dbeafe;
  --re-accent:        #f27a1a;
  --re-accent-dark:   #d4600e;
  --re-accent-light:  #fff0e0;
  --re-dark:          #0f172a;
  --re-slate:         #1e293b;
  --re-slate-mid:     #475569;
  --re-muted:         #64748b;
  --re-border:        #e2e8f0;
  --re-bg-gray:       #f8fafc;
  --re-white:         #ffffff;
  --re-green:         #22c55e;
  --re-whatsapp:      #25D366;
  --re-font-head:     'Poppins', sans-serif;
  --re-font-body:     'Inter', sans-serif;
  --re-radius:        1.25rem;
  --re-radius-sm:     0.75rem;
  --re-shadow:        0 4px 24px rgba(0,0,0,.08);
  --re-shadow-lg:     0 8px 40px rgba(0,0,0,.12);
  --re-transition:    all .25s ease;
}

/* --- Reset ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--re-font-body);
  color: var(--re-dark);
  background: var(--re-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* --- Container ------------------------------------------ */
.re-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Typography ----------------------------------------- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--re-font-head);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

/* --- Buttons -------------------------------------------- */
.re-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: var(--re-transition);
  white-space: nowrap;
}
.re-btn-lg   { padding: 1rem 2.25rem; font-size: 1.05rem; }
.re-btn-full { width: 100%; }
.re-btn-rounded { border-radius: 9999px; }

.re-btn-accent { background: var(--re-accent); color: var(--re-white); border-color: var(--re-accent); }
.re-btn-accent:hover { background: var(--re-accent-dark); border-color: var(--re-accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(242,122,26,.35); }

.re-btn-dark { background: var(--re-dark); color: var(--re-white); }
.re-btn-dark:hover { background: var(--re-primary); }

.re-btn-whatsapp { background: var(--re-whatsapp); color: var(--re-white); border-color: var(--re-whatsapp); }
.re-btn-whatsapp:hover { background: #1eaa52; border-color: #1eaa52; }

.re-btn-white { background: var(--re-white); color: var(--re-accent); font-weight: 700; }
.re-btn-white:hover { background: var(--re-accent-light); }

.re-btn-outline-white { background: transparent; color: var(--re-white); border-color: var(--re-white); }
.re-btn-outline-white:hover { background: var(--re-white); color: var(--re-accent); }

/* --- Header --------------------------------------------- */
.re-header {
  position: relative;
  background: var(--re-white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--re-border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  z-index: 100;
}
.re-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.re-logo { display: flex; align-items: center; }
.re-logo-text {
  font-family: var(--re-font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--re-primary);
}
.re-logo img { height: 44px; width: auto; }

/* Desktop Nav */
.re-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.re-nav .nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--re-slate-mid);
  transition: color .2s;
}
.re-nav .nav-link:hover,
.re-nav .nav-link.active { color: var(--re-primary); }

/* Hamburger */
.re-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.re-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--re-dark);
  transition: var(--re-transition);
  border-radius: 2px;
}
.re-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.re-hamburger.open span:nth-child(2) { opacity: 0; }
.re-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav — completely hidden on desktop, only shown on mobile via .is-open */
.re-mobile-nav {
  display: none !important;
}
@media (max-width: 768px) {
  .re-mobile-nav {
    display: none !important;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--re-white);
    border-top: 1px solid var(--re-border);
    padding: 1rem 1.25rem;
    flex-direction: column;
    gap: .25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 500;
  }
  .re-mobile-nav.is-open {
    display: flex !important;
  }
  .re-mobile-nav .nav-link {
    display: block;
    padding: .875rem 0;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--re-border);
    color: var(--re-dark);
  }
  .re-mobile-nav .nav-link:last-child { border-bottom: none; }
}

.re-main { padding-top: 0; }

/* --- Section base --------------------------------------- */
.re-section { padding: 5rem 0; }
.re-section-white { background: var(--re-white); }
.re-section-gray  { background: var(--re-bg-gray); }
.re-section-primary { background: var(--re-primary); }
.re-section-dark  { background: var(--re-dark); }
.re-section-accent { background: var(--re-accent); }

.re-section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.re-section-header h2 { margin-bottom: .75rem; }
.re-section-subtitle { font-size: 1.05rem; color: var(--re-muted); margin-top: .5rem; }
.re-section-header-white h2 { color: var(--re-white); }
.re-subtitle-light { color: rgba(255,255,255,.75); }
.re-section-badge {
  display: inline-block;
  padding: .3rem 1rem;
  border-radius: 9999px;
  background: var(--re-primary-light);
  color: var(--re-primary);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .75rem;
  border: 1px solid rgba(26,101,200,.2);
}
.re-badge-accent { background: rgba(242,122,26,.15); color: var(--re-accent); border-color: rgba(242,122,26,.3); }

/* --- Hero Section --------------------------------------- */
.re-hero {
  position: relative;
  padding: 8rem 0 6rem;
  background: var(--re-bg-gray);
  overflow: hidden;
  text-align: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.re-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop') center/cover;
  opacity: .04;
}
.re-hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.re-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 1rem;
  border-radius: 9999px;
  background: var(--re-primary-light);
  color: var(--re-primary);
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid rgba(26,101,200,.2);
  margin-bottom: 1.5rem;
}
.re-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--re-primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}
.re-hero-title {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  color: var(--re-dark);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.re-highlight {
  color: var(--re-primary);
  position: relative;
  display: inline-block;
}
.re-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: var(--re-accent);
  border-radius: 2px;
  opacity: .7;
}
.re-hero-sub {
  font-size: 1.15rem;
  color: var(--re-slate-mid);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.re-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.re-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--re-slate);
}
.re-hero-badges span { display: flex; align-items: center; gap: .4rem; }
.re-icon-green { color: var(--re-green); }

/* --- Stats Section -------------------------------------- */
.re-stats {
  padding: 3rem 0;
  background: var(--re-white);
  border-top: 1px solid var(--re-border);
  border-bottom: 1px solid var(--re-border);
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}
.re-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.re-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border-radius: var(--re-radius-sm);
  transition: var(--re-transition);
}
.re-stat-item:hover { background: var(--re-bg-gray); }
.re-stat-icon {
  width: 52px; height: 52px;
  background: var(--re-primary-light);
  color: var(--re-primary);
  border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: .75rem;
}
.re-stat-item span { font-weight: 600; font-size: .875rem; color: var(--re-slate); }

/* --- Classes Section ------------------------------------ */
.re-classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.re-class-card {
  background: var(--re-white);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  padding: 1.75rem;
  transition: var(--re-transition);
}
.re-class-card:hover { box-shadow: var(--re-shadow-lg); transform: translateY(-4px); }

.re-badge {
  display: inline-block;
  padding: .3rem 1rem;
  border-radius: 9999px;
  font-size: .8rem;
  font-weight: 700;
  border: 1px solid;
  margin-bottom: 1.25rem;
}
.re-badge-blue   { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.re-badge-indigo { background: #e0e7ff; color: #4338ca; border-color: #c7d2fe; }
.re-badge-purple { background: #f3e8ff; color: #7c3aed; border-color: #ddd6fe; }
.re-badge-orange { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }

.re-subject-list { margin-bottom: 1.5rem; }
.re-subject-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
  font-weight: 500;
  color: var(--re-slate);
  border-bottom: 1px solid var(--re-border);
}
.re-subject-list li:last-child { border-bottom: none; }
.re-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--re-border);
  flex-shrink: 0;
}

/* --- Subjects Section ----------------------------------- */
.re-subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.re-subject-card {
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  padding: 1.75rem;
  background: var(--re-white);
  transition: var(--re-transition);
}
.re-subject-card:hover {
  background: var(--re-bg-gray);
  box-shadow: var(--re-shadow);
}
.re-subject-card:hover .re-subject-icon {
  background: var(--re-primary);
  color: var(--re-white);
}
.re-subject-icon {
  width: 56px; height: 56px;
  background: var(--re-primary-light);
  color: var(--re-primary);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: var(--re-transition);
}
.re-subject-card h3 { margin-bottom: .5rem; }
.re-subject-card p { color: var(--re-muted); font-size: .95rem; }

/* --- Teachers Section ----------------------------------- */
.re-teachers-swiper { padding: 0 2.5rem 3rem; }
.re-teacher-card {
  background: var(--re-white);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: var(--re-transition);
}
.re-teacher-card:hover { box-shadow: var(--re-shadow-lg); transform: translateY(-4px); }
.re-teacher-initials {
  width: 80px; height: 80px;
  border-radius: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--re-font-head);
  margin: 0 auto 1rem;
}
.re-teacher-photo { width: 80px; height: 80px; border-radius: 1.25rem; overflow: hidden; margin: 0 auto 1rem; }
.re-teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.re-ti-blue   { background: #dbeafe; color: #1d4ed8; }
.re-ti-orange { background: #fff7ed; color: #c2410c; }
.re-ti-green  { background: #dcfce7; color: #15803d; }
.re-ti-purple { background: #f3e8ff; color: #7c3aed; }
.re-ti-indigo { background: #e0e7ff; color: #4338ca; }
.re-ti-pink   { background: #fce7f3; color: #9d174d; }
.re-ti-teal   { background: #ccfbf1; color: #0f766e; }
.re-ti-rose   { background: #fff1f2; color: #be123c; }
.re-ti-amber  { background: #fffbeb; color: #b45309; }
.re-ti-cyan   { background: #cffafe; color: #0e7490; }
.re-teacher-divider {
  width: 2rem; height: 3px;
  background: var(--re-accent);
  border-radius: 2px;
  margin: 0 auto .875rem;
}
.re-teacher-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.re-teacher-subject { color: var(--re-primary); font-weight: 600; font-size: .875rem; margin-bottom: .5rem; }
.re-teacher-qual {
  font-size: .8rem; color: var(--re-muted);
  display: flex; align-items: flex-start; gap: .35rem; justify-content: center;
  margin-bottom: .75rem; line-height: 1.4;
}
.re-teacher-exp {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--re-bg-gray);
  padding: .3rem .75rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--re-slate);
}
.re-teacher-exp i { color: var(--re-accent); }

/* Swiper navigation overrides */
.re-swiper-prev, .re-swiper-next {
  width: 44px !important; height: 44px !important;
  background: var(--re-white);
  border: 1px solid var(--re-border);
  border-radius: 50%;
  color: var(--re-slate-mid) !important;
  box-shadow: var(--re-shadow);
}
.re-swiper-prev::after, .re-swiper-next::after { font-size: 1rem !important; }
.re-swiper-prev:hover, .re-swiper-next:hover { background: var(--re-primary); color: var(--re-white) !important; border-color: var(--re-primary); }
.re-swiper-prev-white, .re-swiper-next-white { background: rgba(255,255,255,.15) !important; border-color: rgba(255,255,255,.3) !important; color: white !important; }
.swiper-button-disabled { opacity: .4 !important; }

/* --- Why Choose Us ------------------------------------- */
.re-why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.re-why-intro { color: var(--re-muted); margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.75; }
.re-why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.re-why-list li { display: flex; align-items: flex-start; gap: 1rem; }
.re-check-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: #dcfce7; color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .125rem; font-size: .875rem;
}
.re-why-list span { font-weight: 500; font-size: 1rem; color: var(--re-slate); }
.re-why-cta-box {
  background: var(--re-white);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  padding: 2.5rem;
  box-shadow: var(--re-shadow-lg);
  position: relative;
  overflow: hidden;
}
.re-why-cta-box h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.re-why-cta-box p { color: var(--re-muted); margin-bottom: 1.5rem; }
.re-cta-glow-top    { position: absolute; top: -30px; right: -30px; width: 100px; height: 100px; background: rgba(242,122,26,.2); border-radius: 50%; filter: blur(30px); }
.re-cta-glow-bottom { position: absolute; bottom: -40px; left: -40px; width: 120px; height: 120px; background: rgba(26,101,200,.1); border-radius: 50%; filter: blur(40px); }

/* --- Testimonials --------------------------------------- */
.re-section-primary .re-section-header h2 { color: var(--re-white); }
.re-testimonials-swiper { padding: 0 2.5rem 3rem; }
.re-testimonial-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--re-radius);
  padding: 2.25rem;
  height: 100%;
  position: relative;
}
.re-quote-icon {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: rgba(255,255,255,.1);
}
.re-stars { color: var(--re-accent); margin-bottom: 1.25rem; font-size: 1.1rem; }
.re-testimonial-card p { color: rgba(255,255,255,.85); font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.re-reviewer { }
.re-reviewer strong { display: block; color: var(--re-white); font-size: 1rem; }
.re-reviewer span { color: rgba(255,255,255,.6); font-size: .85rem; }

/* --- Video Reviews -------------------------------------- */
.re-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.re-video-card { cursor: pointer; }
.re-video-thumb {
  position: relative;
  border-radius: var(--re-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 1rem;
}
.re-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.re-video-card:hover .re-video-thumb img { transform: scale(1.05); }
.re-video-thumb-placeholder { background: var(--re-slate); width: 100%; height: 100%; }
.re-video-overlay {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.5);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.re-video-card:hover .re-video-overlay { background: rgba(15,23,42,.3); }
.re-play-btn {
  width: 64px; height: 64px;
  background: var(--re-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--re-white);
  transition: transform .3s;
}
.re-video-card:hover .re-play-btn { transform: scale(1.1); }
.re-yt-badge {
  position: absolute; bottom: .75rem; left: .75rem;
  background: #FF0000; color: white;
  font-size: .7rem; font-weight: 700;
  padding: .2rem .5rem; border-radius: .25rem;
  display: flex; align-items: center; gap: .3rem;
}
.re-video-card h3 { color: var(--re-white); font-size: 1rem; margin-bottom: .4rem; transition: color .2s; }
.re-video-card:hover h3 { color: var(--re-accent); }
.re-video-role { color: rgba(255,255,255,.5); font-size: .875rem; }

/* Video Modal */
.re-video-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.re-video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.85);
  cursor: pointer;
}
.re-video-modal-inner { position: relative; z-index: 1; width: 100%; max-width: 860px; }
.re-video-modal-close {
  position: absolute; top: -2.75rem; right: 0;
  color: white; font-size: 1.5rem;
  transition: color .2s;
}
.re-video-modal-close:hover { color: var(--re-accent); }
.re-video-modal-iframe { border-radius: var(--re-radius-sm); overflow: hidden; aspect-ratio: 16/9; background: #000; }
.re-video-modal-iframe iframe { width: 100%; height: 100%; border: none; }

/* --- Demo Form ------------------------------------------ */
.re-demo-form-wrapper { max-width: 680px; margin: 0 auto; }
.re-demo-form-card {
  background: var(--re-white);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  padding: 2.5rem;
  box-shadow: var(--re-shadow-lg);
  position: relative;
  overflow: hidden;
}
.re-form-glow-top    { position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: rgba(242,122,26,.15); border-radius: 50%; filter: blur(40px); }
.re-form-glow-bottom { position: absolute; bottom: -50px; left: -50px; width: 140px; height: 140px; background: rgba(26,101,200,.1); border-radius: 50%; filter: blur(50px); }
.re-form { position: relative; z-index: 1; }
.re-form-group { margin-bottom: 1.25rem; }
.re-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.re-form-group label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .4rem; color: var(--re-slate); }
.re-required { color: var(--re-accent); }
.re-optional { color: var(--re-muted); font-weight: 400; }
.re-form-group input,
.re-form-group select,
.re-form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--re-border);
  border-radius: .625rem;
  background: var(--re-bg-gray);
  color: var(--re-dark);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.re-form-group input:focus,
.re-form-group select:focus,
.re-form-group textarea:focus {
  outline: none;
  border-color: var(--re-primary);
  box-shadow: 0 0 0 3px rgba(26,101,200,.1);
}
.re-field-error { display: block; color: #dc2626; font-size: .8rem; margin-top: .3rem; }
.re-form-success, .re-form-error-msg {
  display: flex; align-items: center; gap: .5rem;
  padding: 1rem; border-radius: .625rem;
  margin-top: 1rem; font-weight: 500;
}
.re-form-success { background: #dcfce7; color: #15803d; }
.re-form-error-msg { background: #fee2e2; color: #dc2626; }

/* --- FAQ Section ---------------------------------------- */
.re-faq-container { max-width: 800px; }
.re-accordion { display: flex; flex-direction: column; gap: .5rem; }
.re-accordion-item {
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius-sm);
  overflow: hidden;
}
.re-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--re-dark);
  background: var(--re-white);
  transition: color .2s, background .2s;
  gap: 1rem;
}
.re-accordion-trigger:hover { color: var(--re-primary); }
.re-accordion-open .re-accordion-trigger { color: var(--re-primary); background: var(--re-bg-gray); }
.re-accordion-icon { flex-shrink: 0; transition: transform .3s; font-size: .9rem; }
.re-accordion-open .re-accordion-icon { transform: rotate(180deg); }
.re-accordion-content {
  padding: 0 1.5rem 1.25rem;
  color: var(--re-muted);
  font-size: .95rem;
  line-height: 1.7;
  background: var(--re-bg-gray);
}

/* --- Blog Grid ------------------------------------------ */
.re-section-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.re-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.re-blog-card {
  background: var(--re-white);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--re-transition);
}
.re-blog-card:hover { box-shadow: var(--re-shadow-lg); transform: translateY(-4px); }
.re-blog-thumb {
  display: block;
  height: 200px;
  overflow: hidden;
}
.re-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.re-blog-card:hover .re-blog-thumb img { transform: scale(1.05); }
.re-blog-thumb-placeholder {
  background: var(--re-bg-gray);
  display: flex; align-items: center; justify-content: center;
  height: 200px;
}
.re-blog-thumb-placeholder span { font-family: var(--re-font-head); font-weight: 700; font-size: 1.5rem; color: var(--re-border); }
.re-blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.re-blog-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.re-blog-meta span { font-size: .8rem; color: var(--re-muted); }
.re-tag {
  background: var(--re-primary-light);
  color: var(--re-primary);
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
}
.re-blog-card-title { margin-bottom: .75rem; font-size: 1.1rem; }
.re-blog-card-title a { color: var(--re-dark); transition: color .2s; }
.re-blog-card-title a:hover,
.re-blog-card:hover .re-blog-card-title a { color: var(--re-primary); }
.re-blog-card p { color: var(--re-muted); font-size: .9rem; flex: 1; margin-bottom: 1.25rem; }
.re-read-more {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--re-primary); font-weight: 600; font-size: .9rem;
  transition: color .2s;
}
.re-read-more:hover { color: var(--re-accent); }
.re-read-more-desktop { display: flex; }
.re-view-all-mobile { text-align: center; margin-top: 2rem; display: none; }

/* Pagination */
.re-pagination { margin-top: 3rem; text-align: center; }
.re-pagination .nav-links { display: flex; justify-content: center; gap: .5rem; }
.re-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--re-border); border-radius: 50%;
  font-weight: 600; color: var(--re-slate); transition: var(--re-transition);
}
.re-pagination .page-numbers.current,
.re-pagination .page-numbers:hover { background: var(--re-primary); color: white; border-color: var(--re-primary); }

/* --- Single Post ---------------------------------------- */
.re-single-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; padding-top: 3rem; padding-bottom: 3rem; }
.re-post-header { margin-bottom: 2rem; }
.re-post-header h1 { margin: .75rem 0 .5rem; }
.re-post-author { color: var(--re-muted); font-size: .9rem; }
.re-post-thumbnail { border-radius: var(--re-radius); overflow: hidden; margin-bottom: 2rem; }
.re-post-thumbnail img { width: 100%; }
.re-entry-content { font-size: 1.05rem; line-height: 1.8; color: var(--re-slate); }
.re-entry-content p { margin-bottom: 1.25rem; }
.re-entry-content h2,h3 { margin: 2rem 0 1rem; }
.re-entry-content ul,ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.re-post-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--re-border); }
.re-post-nav { display: flex; justify-content: space-between; margin-top: 1rem; }
.re-post-nav a { color: var(--re-primary); font-weight: 500; }
.re-sidebar .widget { margin-bottom: 2rem; }
.re-sidebar .widget-title { font-size: 1.1rem; margin-bottom: 1rem; border-bottom: 2px solid var(--re-primary); padding-bottom: .5rem; }

/* --- Page ------------------------------------------------ */
.re-page { padding-top: 3rem; padding-bottom: 3rem; }
.re-page-content { max-width: 800px; }
.re-page-header h1 { margin-bottom: 1rem; }
.re-entry-content { font-size: 1.05rem; line-height: 1.8; }

/* --- Footer --------------------------------------------- */
.re-footer { background: var(--re-dark); color: white; padding: 5rem 0 2rem; }
.re-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.re-footer-brand { font-size: 1.4rem; font-family: var(--re-font-head); margin-bottom: 1rem; }
.re-footer-about p { color: rgba(255,255,255,.5); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.re-social-links { display: flex; gap: .75rem; }
.re-social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--re-transition);
}
.re-social-links a:hover { background: var(--re-primary); color: white; }
.re-footer-col h4 { font-size: 1rem; margin-bottom: 1.25rem; color: white; }
.re-footer-links { display: flex; flex-direction: column; gap: .75rem; }
.re-footer-links a { color: rgba(255,255,255,.5); font-size: .9rem; transition: color .2s; }
.re-footer-links a:hover { color: var(--re-primary); }
.re-footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.re-footer-contact li { display: flex; align-items: flex-start; gap: .75rem; color: rgba(255,255,255,.5); font-size: .9rem; }
.re-footer-contact i { color: var(--re-primary); margin-top: .2rem; flex-shrink: 0; }
.re-footer-contact a { color: rgba(255,255,255,.5); transition: color .2s; }
.re-footer-contact a:hover { color: var(--re-primary); }
.re-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  color: rgba(255,255,255,.3);
  font-size: .85rem;
}
.re-footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.re-footer-legal a { color: rgba(255,255,255,.3); transition: color .2s; }
.re-footer-legal a:hover { color: white; }
.re-legal-links { display: flex; gap: 1.25rem; }
.re-legal-links li { display: inline; }

/* --- Floating WhatsApp ---------------------------------- */
.re-whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  background: var(--re-whatsapp);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 999;
  transition: transform .2s;
}
.re-whatsapp-float:hover { transform: scale(1.1); }

/* --- Responsive ----------------------------------------- */
@media (max-width: 1024px) {
  .re-footer-grid { grid-template-columns: 1fr 1fr; }
  .re-why-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .re-single-layout { grid-template-columns: 1fr; }
  .re-sidebar { display: none; }
}

@media (max-width: 768px) {
  .re-nav { display: none; }
  .re-hamburger { display: flex; }
  .re-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .re-classes-grid { grid-template-columns: 1fr; }
  .re-subjects-grid { grid-template-columns: 1fr; }
  .re-video-grid { grid-template-columns: 1fr; }
  .re-blog-grid { grid-template-columns: 1fr; }
  .re-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .re-form-row { grid-template-columns: 1fr; }
  .re-hero-cta { flex-direction: column; align-items: center; }
  .re-read-more-desktop { display: none; }
  .re-view-all-mobile { display: block; }
  .re-section-header-row { flex-direction: column; }
  .re-footer-bottom { flex-direction: column; text-align: center; }
}

@media (min-width: 640px) {
  .re-stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .re-stats-grid { grid-template-columns: repeat(6, 1fr); }
}

