/*
Theme Name: The Quran Path
Author: Nexgn
Version: 1.0
Description: A demo theme structure for converting HTML templates.
*/


:root{
  --ink:#0E2A1D;
  --ink-soft:#2C4A3A;
  --parchment:#F5F1E3;
  --parchment-deep:#EAE0BF;
  --gold:#B8912F;
  --gold-bright:#D9AE4E;
  --sage:#7C9885;
  --line:rgba(14,42,29,0.14);
  --max:1180px;
--primary-color: #0f5132;     /* Rich Emerald */
  --primary-hover: #0b3d26;
  --accent-color: #d4af37;      /* Warm Gold */
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
*{box-sizing:border-box;margin: 0;
  padding: 0;}
html{scroll-behavior:smooth;}
body{margin:0;background:var(--parchment);color:var(--ink);font-family:'Inter',sans-serif;-webkit-font-smoothing:antialiased;}
h1,h2,h3,.display{font-family:'Fraunces',serif;font-weight:500;letter-spacing:-0.01em;color:var(--ink);}
.arabic{font-family:'Amiri',serif;color:var(--gold);}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:var(--max);margin:0 auto;padding:0 32px;}
::selection{background:var(--gold-bright);color:var(--ink);}

body::before{
  content:"";position:fixed;inset:0;
  background-image:radial-gradient(circle at 1px 1px, rgba(14,42,29,0.05) 1px, transparent 0);
  background-size:22px 22px;pointer-events:none;z-index:0;
}

/* header */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ================= HEADER STYLES ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* Compact Top Contact Bar */
.top-bar {
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.35rem 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 1rem;
}

.top-info a {
  color: #e2e8f0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-info a:hover {
  color: var(--accent-color);
}

.top-socials {
  display: flex;
  gap: 0.75rem;
}

.top-socials a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.top-socials a:hover {
  color: var(--accent-color);
}

/* Main Navbar */
.mobile-nav {
  display: flex; /* Always flex rakhein taake animation kaam kare */
  flex-direction: column;
  background: var(--white);
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  
  /* --- Animation Properties --- */
  max-height: 0; /* Shuru me menu height 0 hogi */
  opacity: 0;    /* Fully transparent */
  overflow: hidden; /* Bahar nikla hua text hide rahe ga */
  padding: 0 1rem;  /* Shuru me top/bottom padding zero */
  
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease-in-out, 
              padding 0.3s ease-in-out,
              visibility 0.4s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px; 
}

.logo img {
  height: 120px;
  width: auto;
  display: block;
  border-radius: 4px;
}

.nav-links {
  display: none; /* Hidden on mobile */
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-cta {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-cta:hover {
  background-color: var(--primary-hover);
}

.burger-toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.25rem;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav.open {
  display: flex;
max-height: 400px; /* Links kitne lambay hain us hisab se height (400px kafi hai) */
  opacity: 1;        /* Fully visible */
  padding: 1rem;
}

.mobile-nav a {
  padding: 0.65rem 0;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed var(--border-color);
}

.mobile-nav a.active {
  color: var(--primary-color);
}

.mobile-cta {
  margin-top: 0.75rem;
  text-align: center;
  border-bottom: none !important;
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 2rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e6f4ea;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.hero-content h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero-content h1 em {
  color: var(--primary-color);
  font-style: normal;
}

.lede {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

/* Trust Stats Grid */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Hero Media & Verse Badge */
.hero-media {
  width: 100%;
}

.media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.media-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.verse-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(15,81,50,0) 0%, rgba(15,81,50,0.92) 100%);
  color: var(--white);
  padding: 1.5rem 1rem 1rem;
  text-align: center;
}

.verse-tag .ar {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  direction: rtl;
}

.verse-tag .ref {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* ================= DESKTOP BREAKPOINT (992px+) ================= */
@media (min-width: 992px) {
  .burger-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    gap: 1.5rem;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary-color);
  }

  .hero-section {
    padding: 3.5rem 0;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .trust-row {
    text-align: left;
    gap: 1.5rem;
  }
}

/* Hide email on very small devices to avoid top bar wrap */
@media (max-width: 480px) {
  .top-info a span {
    display: none;
  }
}


/* ================= GLOBAL ANIMATIONS & UTILITIES ================= */
.hover-lift {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px rgba(15, 81, 50, 0.12);
}

.text-center { text-align: center; }
.mt-3 { margin-top: 2rem; }
.block-btn { display: block; text-align: center; width: 100%; }

.section-head {
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 0.5rem;
  color: var(--text-dark);
}

.section-head p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.5rem auto 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ================= 1. COURSES SECTION ================= */
.courses-band {
  padding: 4rem 0;
  background: var(--white);
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.num-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 81, 50, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.course-card .body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.course-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.link-arrow {
  color: var(--primary-color);
  font-weight: 700;
}

/* ================= 2. FEATURES SECTION ================= */
.features-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-box {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.feature-box .icon-wrap {
  width: 48px;
  height: 48px;
  background: #e6f4ea;
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================= 3. HOW IT WORKS ================= */
.how-section {
  padding: 4rem 0;
}

.how-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) { .how-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .how-steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.step-card .idx {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(15, 81, 50, 0.15);
  position: absolute;
  top: 12px;
  right: 16px;
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================= 4. STATS BANNER ================= */
.stats-banner {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 992px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.stat-box p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ================= 5. TEACHERS DARK ================= */
.teachers-dark {
  background: #092015;
  color: var(--white);
  padding: 4rem 0;
}

.light-head h2 { color: var(--white); }
.light-head p { color: #a3b8ad; }

.eyebrow-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.teacher-card {
  background: #0f2e1f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.teacher-img-wrap {
  position: relative;
  height: 220px;
}

.teacher-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ijazah-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: var(--accent-color);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.teacher-card .body {
  padding: 1.25rem;
}

.teacher-card h4 { font-size: 1.2rem; margin-bottom: 0.25rem; color: #fff; }
.teacher-card .role { color: var(--accent-color); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.teacher-card p { color: #a3b8ad; font-size: 0.85rem; }

.btn-gold {
  display: inline-block;
  background: var(--accent-color);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* ================= 6. TESTIMONIALS ================= */
.testimonials-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

.testi-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 1rem; }

.testi-card p {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 40px;
  height: 40px;
  background: #e6f4ea;
  color: var(--primary-color);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.who { font-weight: 700; font-size: 0.9rem; }
.where { font-size: 0.75rem; color: var(--text-muted); }

/* ================= 7. PRICING SECTION ================= */
.pricing-section { padding: 4rem 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border: 2px solid var(--primary-color);
  box-shadow: 0 10px 25px rgba(15,81,50,0.08);
}

.pop-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 12px;
}

.price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.price span { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

.price-features {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
}

.price-features li i { color: var(--primary-color); margin-right: 0.5rem; }

/* ================= 8. FAQ ACCORDION ================= */
.faq-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 1.1rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-toggle i {
  transform: rotate(180deg);
  transition: transform 0.3s;
}

/* ================= 9. CTA BAND ================= */
.cta-section { padding: 3rem 0; }

.cta-band {
  background: linear-gradient(135deg, #0f5132 0%, #092015 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-band {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}



/* ================= PAGE HERO ================= */
.page-hero {
  background: linear-gradient(135deg, #0f5132 0%, #092015 100%);
  color: var(--white);
  padding: 4.5rem 1rem 3.5rem;
  margin-bottom: 2.5rem;
}

.page-hero .crumb {
  font-size: 0.85rem;
  color: #a3b8ad;
  margin-bottom: 0.75rem;
}

.page-hero .crumb a {
  color: var(--white);
  text-decoration: none;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
  color: var(--white);
}

.page-hero p {
  color: #c7d8cf;
  max-width: 680px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* ================= COURSE FILTER BAR ================= */
.course-filter-bar {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* ================= COURSES PAGE SPECIFIC ================= */
.courses-page-section {
  padding-bottom: 4rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.card-meta span i {
  color: var(--primary-color);
  margin-right: 0.25rem;
}

.btn-primary-sm {
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.3s;
}

.btn-primary-sm:hover {
  background: #093822;
}

.plan-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}


/* ================= GRID 4 LAYOUT ================= */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ================= TEACHER DIRECTORY STYLES ================= */
.teachers-page-section {
  padding-bottom: 4rem;
}

.teacher-filter-bar {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.teacher-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.teacher-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-light);
}

.teacher-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.teacher-card:hover .teacher-img-wrap img {
  transform: scale(1.06);
}

.badge-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 81, 50, 0.9);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.teacher-card .body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.teacher-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.teacher-card .role {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.teacher-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.teacher-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.teacher-meta i {
  color: var(--primary-color);
  margin-right: 0.25rem;
}

.btn-outline-sm {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline-sm:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* ================= STANDARDS / VALUES SECTION ================= */
.standards-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .standards-grid { grid-template-columns: repeat(3, 1fr); }
}

.standard-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
}

.std-icon {
  width: 55px;
  height: 55px;
  background: #e6f4ea;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1.25rem;
}

.standard-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.standard-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}



/* ================= ABOUT PAGE STYLES ================= */
.about-section, .vetting-section {
  padding: 4rem 0;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
  }
  .about-split.reverse .about-img-wrap {
    order: 2;
  }
  .about-split.reverse .about-content {
    order: 1;
  }
}

.about-split.align-center {
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.experience-badge .yrs {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* ================= STATS SECTION ================= */
.stats-section {
  background: linear-gradient(135deg, #0f5132 0%, #092015 100%);
  padding: 3.5rem 0;
  color: var(--white);
  margin: 2rem 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card .stat-icon {
  font-size: 1.5rem;
  color: #85d2a6;
  margin-bottom: 0.5rem;
}

.stat-card strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.stat-card span {
  font-size: 0.88rem;
  color: #c7d8cf;
  margin-top: 0.3rem;
  display: block;
}

/* ================= VALUES SECTION ================= */
.values-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.val-icon {
  width: 50px;
  height: 50px;
  background: #e6f4ea;
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.value-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ================= BLOG PAGE STYLES ================= */
.blog-page-section {
  padding-bottom: 4rem;
}

.blog-filter-bar {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Featured Article Box */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .blog-featured {
    grid-template-columns: 1.1fr 1fr;
  }
}

.featured-img-wrap {
  position: relative;
  min-height: 280px;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feat-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
}

.featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-tag {
  display: inline-block;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.featured-body h2 {
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.featured-body h2 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.featured-body h2 a:hover {
  color: var(--primary-color);
}

.featured-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.post-meta i {
  color: var(--primary-color);
  margin-right: 0.3rem;
}

.read-more-btn {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.read-more-btn:hover {
  gap: 0.8rem;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-img-wrap .post-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0;
}

.blog-card .body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.blog-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--primary-color);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Newsletter Section */
.newsletter-section {
  padding: 3rem 0;
}

.newsletter-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  max-width: 750px;
  margin: 0 auto;
}

.newsletter-box h2 {
  font-size: 1.8rem;
  margin: 0.4rem 0 0.6rem;
}

.newsletter-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
}



/* ================= CONTACT PAGE STYLES ================= */
.contact-page-section {
  padding-bottom: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.6fr;
  }
}

/* Contact Info Card */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-head h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.info-head p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item .icon-wrap {
  width: 44px;
  height: 44px;
  background: #e6f4ea;
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-item .icon-wrap.whatsapp-bg {
  background: #e6f8ebd0;
  color: #25d366;
}

.info-item .details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.info-item .details p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: 600;
}

.info-item .details p a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.info-item .details p a:hover {
  color: var(--primary-color);
}

.info-item .sub-text {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.trust-badge-box {
  margin-top: 2rem;
  background: var(--bg-light);
  border: 1px dashed var(--primary-color);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-head h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.form-head p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group label i {
  color: var(--primary-color);
  margin-right: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--bg-light);
  color: var(--text-dark);
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.1);
}

.submit-btn {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
}

/* FAQ Cards */
.contact-faq-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.faq-icon {
  width: 50px;
  height: 50px;
  background: #e6f4ea;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.faq-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.faq-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.whatsapp-cta {
  background: #25d366 !important;
  border-color: #25d366 !important;
}

.whatsapp-cta:hover {
  background: #1eb956 !important;
}
/* footer */
footer{padding:56px 32px 34px;border-top:1px solid var(--line);}
.foot-grid{max-width:var(--max);margin:0 auto 40px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;}
.foot-grid h5{font-size:12.5px;text-transform:uppercase;letter-spacing:.1em;color:var(--sage);margin:0 0 16px;}
.foot-grid ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px;}
.foot-grid a{font-size:14px;color:var(--ink-soft);}
.foot-grid a:hover{color:var(--gold);}
.foot-bottom{max-width:var(--max);margin:0 auto;display:flex;justify-content:space-between;font-size:12.5px;color:var(--sage);border-top:1px solid var(--line);padding-top:22px;flex-wrap:wrap;gap:10px;}

@media (max-width:900px){
  .navlinks,.nav-cta{display:none;}
  .burger{display:block;}
  .hero,.about-split,.contact-grid,.blog-featured{grid-template-columns:1fr;}
  .grid-3,.grid-4,.how-grid,.testi-grid,.stat-row,.values-grid{grid-template-columns:1fr 1fr;}
  .form-row{grid-template-columns:1fr;}
  .cta-band{flex-direction:column;text-align:center;padding:40px 26px;}
  .foot-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:600px){
  .grid-3,.grid-4,.how-grid,.testi-grid,.stat-row,.values-grid{grid-template-columns:1fr;}
}