/* ============================================================
   CambridgeMathsExpert.com - Main Stylesheet
   Colors: Deep Green #0B5D3B | Gold #D4AF37 | White #FFFFFF
   Fonts: Poppins (headings) | Inter (body)
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --green-dark:   #0B5D3B;
  --green-mid:    #0D7A4F;
  --green-light:  #12A06A;
  --gold:         #D4AF37;
  --gold-dark:    #B8941E;
  --gold-light:   #F0D060;
  --white:        #FFFFFF;
  --off-white:    #F8FAF9;
  --dark:         #0D1B13;
  --text-dark:    #1A2E22;
  --text-muted:   #6B7280;
  --border:       #E5EBE7;
  --shadow-sm:    0 2px 8px rgba(11,93,59,.08);
  --shadow-md:    0 8px 30px rgba(11,93,59,.12);
  --shadow-lg:    0 20px 60px rgba(11,93,59,.18);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --transition:   0.3s ease;
}

/* ── Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

a { color: var(--green-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }

img { max-width: 100%; height: auto; loading: lazy; }

/* ── Announcement Bar ───────────────────────────────────────── */
.announcement-bar {
  background: var(--green-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
}
.announcement-bar a { color: #fff; }
.announcement-bar a:hover { color: var(--gold-light); }

/* ── Navbar ─────────────────────────────────────────────────── */
.bg-primary-dark { background: var(--dark) !important; }

#mainNavbar {
  padding: 12px 0;
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}
#mainNavbar.scrolled {
  padding: 8px 0;
  background: rgba(13,27,19,.97) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

/* Brand */
.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  box-shadow: 0 4px 15px rgba(11,93,59,.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: #fff; }
.brand-sub   { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 11px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }

/* Nav links */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* Dropdown */
.dropdown-menu-courses {
  min-width: 220px;
  border: none;
  border-top: 3px solid var(--green-dark);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  animation: fadeInDown .2s ease;
}
.dropdown-item { font-size: 14px; padding: 8px 16px; transition: background var(--transition); }
.dropdown-item:hover { background: var(--off-white); color: var(--green-dark); }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  transition: all var(--transition);
  border: none;
}

.btn-green {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: #fff;
  box-shadow: 0 4px 15px rgba(11,93,59,.3);
}
.btn-green:hover {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff;
  box-shadow: 0 8px 25px rgba(11,93,59,.4);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(212,175,55,.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark);
  box-shadow: 0 8px 25px rgba(212,175,55,.4);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2fe070, #25D366);
  color: #fff;
  box-shadow: 0 8px 25px rgba(37,211,102,.4);
  transform: translateY(-2px);
}

.btn-outline-green {
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  background: transparent;
}
.btn-outline-green:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 34px; font-size: 16px; border-radius: var(--radius-md); }
.btn-xl { padding: 18px 42px; font-size: 18px; border-radius: var(--radius-md); }

/* ── Section Utilities ───────────────────────────────────────── */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
  display: inline-block;
  background: rgba(11,93,59,.08);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border-left: 3px solid var(--green-dark);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-title .text-green { color: var(--green-dark); }
.section-title .text-gold  { color: var(--gold-dark); }

.divider-gold {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  margin: 0 auto 24px;
}

/* ── Hero Section ────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #050e09 0%, #0B5D3B 50%, #0a3d28 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(212,175,55,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(18,160,106,.15) 0%, transparent 50%);
}

.hero-math-bg {
  position: absolute; inset: 0;
  opacity: 0.03;
  font-family: 'Poppins', monospace;
  font-size: 14px;
  color: #fff;
  overflow: hidden;
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 20px; padding: 20px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.3);
  color: var(--gold-light);
  font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 24px;
}

.hero-section h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-section h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-trust-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
}

.trust-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  padding: 8px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 500;
  transition: all var(--transition);
}
.trust-badge:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.trust-badge i { color: var(--gold); font-size: 15px; }

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
}
.hero-stat:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.hero-stat .stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 32px; font-weight: 800;
  color: var(--gold);
  display: block; line-height: 1;
}
.hero-stat .stat-label {
  font-size: 12px; color: rgba(255,255,255,.7);
  margin-top: 4px; display: block;
}

.hero-subjects {
  display: flex; flex-direction: column; gap: 10px; margin-top: 20px;
}
.hero-subject-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 10px 16px; font-size: 14px;
  transition: all var(--transition);
}
.hero-subject-pill:hover { background: rgba(212,175,55,.12); border-color: rgba(212,175,55,.3); }
.hero-subject-pill i { color: var(--gold); width: 18px; }
.hero-subject-pill span { flex: 1; }
.hero-subject-pill .pill-grade {
  background: rgba(212,175,55,.2);
  color: var(--gold-light);
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  animation: floatUpDown 3s ease-in-out infinite;
}
.float-card-1 { top: -20px; right: -20px; animation-delay: 0s; }
.float-card-2 { bottom: -20px; left: -20px; animation-delay: 1.5s; }
.float-card i { font-size: 20px; }

@keyframes floatUpDown {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── Course Cards ─────────────────────────────────────────────── */
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-dark); }
.course-card:hover::before { transform: scaleX(1); }

.course-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffbef 0%, #fff 100%);
}
.course-card.featured::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(1); }

.course-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(11,93,59,.1), rgba(18,160,106,.1));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--green-dark);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.course-card:hover .course-icon { background: var(--green-dark); color: #fff; }
.course-card.featured .course-icon { background: linear-gradient(135deg, rgba(212,175,55,.15), rgba(212,175,55,.25)); color: var(--gold-dark); }

.course-level-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  margin-bottom: 10px;
}
.level-igcse    { background: rgba(11,93,59,.1); color: var(--green-dark); }
.level-alevel   { background: rgba(212,175,55,.15); color: var(--gold-dark); }
.level-aslevel  { background: rgba(59,130,246,.1); color: #2563EB; }
.level-grade    { background: rgba(139,92,246,.1); color: #7C3AED; }

.course-card h4 { font-size: 18px; margin-bottom: 10px; }
.course-card p  { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.course-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.course-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-muted);
}
.course-meta-item i { color: var(--green-dark); font-size: 13px; }

/* ── Why Choose Us ─────────────────────────────────────────────── */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-dark); }

.feature-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff;
  margin: 0 auto 24px;
  box-shadow: 0 8px 25px rgba(11,93,59,.3);
  transition: all var(--transition);
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-5deg); }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-section { background: var(--off-white); }

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 80px; line-height: 0.6;
  color: var(--green-dark); opacity: 0.1;
  position: absolute; top: 20px; left: 20px;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.testimonial-rating { margin-bottom: 12px; }
.testimonial-text { font-style: italic; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); padding-top: 18px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.author-meta { font-size: 12px; color: var(--text-muted); }
.achievement-badge {
  display: inline-block;
  background: rgba(11,93,59,.1); color: var(--green-dark);
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  margin-top: 4px;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0a3d28 50%, #071f16 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(212,175,55,.15) 0%, transparent 60%);
}

/* ── Blog Cards ──────────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.blog-card-img {
  width: 100%; height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 48px;
}

.blog-card-body { padding: 24px; }
.blog-category-tag {
  display: inline-block;
  background: rgba(11,93,59,.08);
  color: var(--green-dark);
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 1px;
}
.blog-card h5 { font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.blog-card h5 a { color: var(--text-dark); }
.blog-card h5 a:hover { color: var(--green-dark); }
.blog-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 14px; margin-top: 12px; }
.blog-meta i { color: var(--green-dark); }

/* ── Past Papers ─────────────────────────────────────────────── */
.paper-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: all var(--transition);
  margin-bottom: 12px;
}
.paper-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--green-dark); }
.paper-icon { width: 50px; height: 50px; background: rgba(11,93,59,.08); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--green-dark); flex-shrink: 0; }
.paper-info { flex: 1; }
.paper-info h6 { font-size: 15px; margin-bottom: 4px; }
.paper-info p  { font-size: 12px; color: var(--text-muted); margin: 0; }
.paper-actions { display: flex; gap: 8px; }

/* ── Resources ───────────────────────────────────────────────── */
.resource-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
  height: 100%;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-dark); }
.resource-type-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.type-formula   { background: rgba(11,93,59,.1); color: var(--green-dark); }
.type-worksheet { background: rgba(212,175,55,.15); color: var(--gold-dark); }
.type-notes     { background: rgba(59,130,246,.1); color: #2563EB; }
.type-checklist { background: rgba(239,68,68,.1); color: #DC2626; }

/* ── Contact / Lead Forms ────────────────────────────────────── */
.form-section { background: var(--off-white); }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-control, .form-select {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(11,93,59,.1);
  outline: none;
}
.form-label { font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text-dark); }

/* ── About Page ──────────────────────────────────────────────── */
.about-img-frame {
  position: relative;
  display: inline-block;
}
.about-img-frame img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-frame::before {
  content: '';
  position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.stat-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-box .number { font-size: 38px; font-weight: 800; color: var(--green-dark); font-family: 'Poppins', sans-serif; line-height: 1; }
.stat-box .label  { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--dark); }

.footer-main { padding: 80px 0 40px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}

.footer-heading {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  transition: all var(--transition);
  display: inline-block;
}
.footer-links a:hover { color: var(--gold); transform: translateX(4px); }

.footer-contact li {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact li i { width: 18px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--gold); }

.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  transition: all var(--transition);
}
.social-link:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); transform: translateY(-3px); }

.text-gold { color: var(--gold) !important; }
.text-green { color: var(--green-dark) !important; }

/* ── WhatsApp Float Button ───────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 25px rgba(37,211,102,.4);
  z-index: 9999;
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 35px rgba(37,211,102,.55);
  color: #fff;
}
.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }
.wa-tooltip::after {
  content: '';
  position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--dark);
  border-right: none;
}

/* WhatsApp pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%; border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── Exit Popup ──────────────────────────────────────────────── */
.popup-content { border-radius: var(--radius-lg) !important; overflow: hidden; }
.popup-left { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); }
.popup-close {
  position: absolute; top: 14px; right: 14px;
  z-index: 10; background: rgba(0,0,0,.1);
  border-radius: 50%; padding: 8px;
}

/* ── Admin Panel ─────────────────────────────────────────────── */
.admin-sidebar {
  background: var(--dark);
  min-height: 100vh;
  padding: 0;
  width: 260px;
  position: fixed; left: 0; top: 0;
  z-index: 100;
  overflow-y: auto;
  transition: transform var(--transition);
}
.admin-main {
  margin-left: 260px;
  min-height: 100vh;
  background: #F0F2F5;
}
.admin-topbar {
  background: #fff;
  padding: 14px 28px;
  border-bottom: 1px solid #E5E7EB;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.admin-content { padding: 28px; }
.sidebar-brand {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 10px;
  color: #fff;
}
.sidebar-nav .nav-item { border-bottom: 1px solid rgba(255,255,255,.04); }
.sidebar-nav .nav-link {
  color: rgba(255,255,255,.7);
  padding: 12px 20px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500;
  transition: all var(--transition);
}
.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  background: rgba(11,93,59,.5);
  color: #fff;
  border-right: 3px solid var(--gold);
}
.sidebar-nav .nav-link i { width: 20px; text-align: center; font-size: 15px; }

.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #E5E7EB;
  transition: all var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card .stat-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.stat-card .stat-num { font-size: 32px; font-weight: 800; color: var(--text-dark); font-family: 'Poppins', sans-serif; }
.stat-card .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.stat-card .stat-change { font-size: 12px; font-weight: 600; margin-top: 8px; }
.stat-change.up   { color: #16A34A; }
.stat-change.down { color: #DC2626; }

.admin-table { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid #E5E7EB; }
.admin-table table { margin: 0; }
.admin-table thead th { background: #F9FAFB; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #6B7280; border-bottom: 2px solid #E5E7EB; padding: 14px 16px; }
.admin-table tbody td { padding: 12px 16px; font-size: 14px; vertical-align: middle; border-bottom: 1px solid #F3F4F6; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: #F9FAFB; }

.badge-new       { background: rgba(59,130,246,.12); color: #2563EB; }
.badge-contacted { background: rgba(245,158,11,.12); color: #D97706; }
.badge-enrolled  { background: rgba(22,163,74,.12); color: #16A34A; }
.badge-closed    { background: rgba(107,114,128,.12); color: #4B5563; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0a3d28 100%);
  padding: 60px 0 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(212,175,55,.1) 0%, transparent 60%);
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin-bottom: 10px; }
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,.7); }
.breadcrumb-item a:hover { color: var(--gold); }
.breadcrumb-item.active, .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ── Utility ─────────────────────────────────────────────────── */
.bg-green-dark { background: var(--green-dark) !important; }
.bg-gold       { background: var(--gold) !important; }
.bg-off-white  { background: var(--off-white) !important; }

.rounded-xl { border-radius: var(--radius-lg) !important; }

.shadow-green { box-shadow: 0 8px 30px rgba(11,93,59,.2) !important; }

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .hero-section { min-height: auto; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 60px 0; }
  .form-card { padding: 28px 20px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; text-align: center; }
  .float-card { display: none; }
}

@media (max-width: 575.98px) {
  .hero-section h1 { font-size: 28px; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
  .trust-badge { font-size: 12px; padding: 6px 12px; }
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.6s ease forwards; }

.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }
