/* ═══════════════════════════════════════════════════════
   Aamer Home Tuition — Global Stylesheet
   Applies to: all pages
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #1B4FD8;
  --primary-dark: #1340B0;
  --primary-light: #E8EFFE;
  --accent: #FF6B00;
  --accent-light: #FFF3EA;
  --green: #0F9D58;
  --green-light: #E6F4ED;
  --text: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --bg: #FFFFFF;
  --bg-soft: #F8F9FF;
  --bg-dark: #0D1B3E;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(27,79,216,0.10);
  --shadow-md: 0 8px 40px rgba(27,79,216,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Sora', sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn-primary { background: var(--primary); color: #fff; border: none; padding: 14px 28px; border-radius: 8px; font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,79,216,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 12px 26px; border-radius: 8px; font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff !important; border: none; padding: 14px 28px; border-radius: 8px; font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,211,102,0.4); }

/* Typography helpers */
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin-bottom: 14px; }
.section-title { font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; line-height: 1.25; color: var(--text); margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--text-muted); line-height: 1.7; max-width: 560px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* Top bar */
.topbar { background: var(--bg-dark); color: #fff; font-size: 13px; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: #CBD5E1; }
.topbar a:hover { color: #fff; }
.topbar-badges { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.topbar-badge { display: flex; align-items: center; gap: 6px; }

/* Nav */
nav { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1160px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 42px; height: 42px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.logo-text { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.1; }
.logo-text span { display: block; font-size: 11px; font-weight: 400; color: var(--text-muted); }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }
.nav-book-btn { background: var(--primary); color: #fff !important; border: none; padding: 10px 20px; border-radius: 8px; font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.nav-book-btn:hover { background: var(--primary-dark); }
.hamburger { display: none; font-size: 26px; cursor: pointer; background: none; border: none; color: var(--text); padding: 4px 8px; }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1050; }
.mobile-menu.open { display: block; }
.mobile-menu-panel { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: #fff; padding: 24px 20px; overflow-y: auto; box-shadow: -4px 0 24px rgba(0,0,0,0.15); }
.mobile-menu-close { font-size: 28px; cursor: pointer; color: var(--text); background: none; border: none; float: right; }
.mobile-menu-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; margin-top: 8px; clear: both; }
.mobile-nav-links { list-style: none; }
.mobile-nav-links li { border-bottom: 1px solid var(--border); }
.mobile-nav-links li a { display: block; padding: 14px 4px; font-size: 15px; font-weight: 500; color: var(--text); }
.mobile-nav-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav-cta a { text-align: center; justify-content: center; }

/* Mobile sticky CTA */
.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000; background: #fff; border-top: 2px solid var(--border); padding: 10px 16px; gap: 10px; box-shadow: 0 -4px 20px rgba(0,0,0,0.12); }
.mobile-sticky-cta a { flex: 1; text-align: center; padding: 12px 8px; border-radius: 8px; font-size: 13px; font-weight: 700; font-family: 'Sora', sans-serif; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* Breadcrumb */
.breadcrumb { background: var(--bg-soft); padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: var(--text-light); }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 90px; right: 24px; z-index: 9999; }
.wa-float a { display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff !important; padding: 14px 20px; border-radius: 50px; font-size: 15px; font-weight: 700; box-shadow: 0 6px 24px rgba(37,211,102,0.45); transition: all 0.3s; font-family: 'Sora', sans-serif; }
.wa-float a:hover { transform: translateY(-3px) scale(1.03); }
.wa-dot { width: 10px; height: 10px; background: #fff; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* Footer */
footer { background: var(--bg-dark); color: rgba(255,255,255,0.75); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 16px 0 20px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-seo { padding: 32px 0; background: #0A1530; }
.footer-seo-text { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.8; text-align: center; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; cursor: pointer; margin-bottom: 12px; }
.faq-q { font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.faq-a { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-top: 12px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { font-size: 20px; color: var(--primary); transition: transform 0.2s; flex-shrink: 0; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 72px 0; text-align: center; }
.cta-banner h2 { font-size: clamp(24px, 3.5vw, 40px); font-weight: 800; margin-bottom: 14px; }
.cta-banner p { font-size: 17px; opacity: 0.85; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Tutor verified badge */
.tutor-verified { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--green); background: var(--green-light); border-radius: 20px; padding: 3px 10px; margin-top: 8px; }

/* Stat section */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-sticky-cta { display: flex; }
  .wa-float { bottom: 80px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
}
