/* ═══════════════════════════════════════════════════
   DR. NAJEEB LECTURES — SHARED STYLESHEET
   Fully Responsive: Desktop / Tablet / Mobile
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:    #2196f3;
  --blue-dk: #1565c0;
  --cyan:    #26c6da;
  --cyan-dk: #00b0c8;
  --dark:    #37474f;
  --text:    #333;
  --muted:   #777;
  --light:   #f3f3f3;
  --white:   #ffffff;
  --border:  #e8e8e8;
  --shadow:  0 2px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--light);
  font-size: 16px;
  line-height: 1.6;
  border-top: 5px solid var(--blue);
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── PAGE WRAPPER ────────────────────────────────── */
.page-wrap { max-width: 1100px; margin: 0 auto; background: var(--white); }

/* ═══════════════════════════════════════════════════
   HEADER & NAV
   ═══════════════════════════════════════════════════ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 8px 0;
  transition: opacity 0.2s;
}
.logo-pill:hover { opacity: 0.85; text-decoration: none; }
.logo-pill img { height: 50px; width: auto; border-radius: 4px; }

/* Desktop nav */
.nav { display: flex; align-items: center; }
.nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.nav ul li a {
  display: block;
  padding: 22px 16px;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
  transition: left 0.25s, right 0.25s;
}
.nav ul li a:hover { color: var(--blue); text-decoration: none; }
.nav ul li a:hover::after { left: 10px; right: 10px; }
.nav ul li a.active { color: var(--blue); }
.nav ul li a.active::after { left: 10px; right: 10px; }

/* Hamburger button (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  outline: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #444;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--blue); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--blue); }

/* ═══════════════════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════════════════ */
.hero-banner-wrap {
  padding: 20px 28px 0;
}
.hero-banner-wrap img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
}

/* ═══════════════════════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════════════════════ */
.intro { padding: 56px 40px 44px; text-align: center; }
.intro h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.intro .sub1 { color: var(--muted); font-size: 18px; margin-bottom: 6px; }
.intro .sub2 { color: #aaa; font-size: 15px; margin-bottom: 32px; }

.yt-wrap {
  max-width: 560px;
  margin: 0 auto 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  position: relative;
}
.yt-thumb-link { display: block; position: relative; line-height: 0; }
.yt-thumb-link img { width: 100%; }
.yt-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.yt-play-icon {
  width: 68px; height: 68px;
  background: rgba(255,0,0,0.9);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: transform 0.2s;
}
.yt-play-icon:hover { transform: scale(1.1); }
.yt-play-icon svg { fill: #fff; width: 32px; height: 32px; margin-left: 4px; }
.yt-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 16px;
}
.yt-caption strong { display: block; color: #fff; font-size: 14px; }
.yt-caption span { color: #bbb; font-size: 12px; }

.cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 26px 0; }

.btn-cyan {
  display: inline-block;
  background: var(--cyan); color: #fff; border: 2px solid var(--cyan);
  padding: 12px 30px; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: 4px; cursor: pointer; transition: background 0.2s;
  text-decoration: none;
}
.btn-cyan:hover { background: var(--cyan-dk); border-color: var(--cyan-dk); color: #fff; text-decoration: none; }

.btn-cyan-outline {
  display: inline-block;
  background: #fff; color: var(--cyan); border: 2px solid var(--cyan);
  padding: 12px 30px; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: 4px; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.btn-cyan-outline:hover { background: var(--cyan); color: #fff; text-decoration: none; }

.intro hr { border: none; border-top: 1px solid #eee; margin: 22px 0; }
.intro .trust { color: #555; font-size: 15px; line-height: 1.8; }
.intro .trust strong { color: var(--blue); }
.intro .exams { color: var(--muted); font-size: 14px; margin-top: 8px; }
.intro .exams a { color: var(--blue); }

/* ═══════════════════════════════════════════════════
   DARK SPLIT SECTION
   ═══════════════════════════════════════════════════ */
.dark-split { display: flex; background: var(--dark); }
.dark-split .left-img {
  width: 42%; flex-shrink: 0; overflow: hidden; min-height: 420px;
}
.dark-split .left-img img { width: 100%; height: 100%; object-fit: cover; }
.dark-split .right-content { flex: 1; padding: 44px 48px; color: #fff; }
.dark-split .right-content h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.dark-split .right-content p {
  font-size: 14px; color: #cfd8dc;
  line-height: 1.8; margin-bottom: 14px;
}
.btn-cyan-sm {
  display: inline-block;
  background: var(--cyan); color: #fff; border: none;
  padding: 10px 22px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: 4px; cursor: pointer; margin-bottom: 28px;
  transition: background 0.2s; text-decoration: none;
}
.btn-cyan-sm:hover { background: var(--cyan-dk); text-decoration: none; color: #fff; }
.dark-split .right-content h4 {
  font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px; color: #fff;
}
.btn-learn {
  display: inline-block;
  background: transparent; color: #fff;
  border: 2px solid var(--cyan);
  padding: 10px 20px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; border-radius: 4px;
  cursor: pointer; margin-top: 10px;
  transition: all 0.2s; text-decoration: none;
}
.btn-learn:hover { background: var(--cyan); text-decoration: none; color: #fff; }

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════ */
.testimonials { padding: 60px 40px; background: #fff; }
.section-title {
  text-align: center; font-size: 20px;
  color: #444; margin-bottom: 40px; font-weight: 600;
}
.test-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
}
.test-card { display: flex; gap: 16px; align-items: flex-start; }
.test-card .avatar {
  width: 80px; height: 80px;
  border-radius: 50%; flex-shrink: 0;
  overflow: hidden; border: 3px solid var(--border);
  background: #e0e0e0;
}
.test-card .avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
}
.test-card .t-name { font-weight: 700; font-size: 14px; color: #222; }
.test-card .t-loc {
  display: block; color: var(--cyan);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; margin: 3px 0 6px;
}
.test-card p { font-size: 13px; color: #666; line-height: 1.7; }
.not-convinced { text-align: center; margin-top: 32px; font-size: 15px; color: #555; }
.not-convinced a { color: var(--cyan); font-weight: 700; }

/* ═══════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════ */
.cta-band { background: var(--cyan); padding: 56px 40px; text-align: center; }
.cta-band h2 {
  color: #fff; font-size: 28px; font-weight: 700;
  text-transform: uppercase; margin-bottom: 10px;
}
.cta-band p { color: rgba(255,255,255,0.88); font-size: 16px; margin-bottom: 28px; }
.btn-white {
  display: inline-block;
  background: #fff; color: var(--cyan); border: 2px solid #fff;
  padding: 12px 28px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; border-radius: 4px;
  cursor: pointer; margin: 4px 6px; text-decoration: none;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; text-decoration: none; color: var(--cyan); }
.btn-white-outline {
  display: inline-block;
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.75);
  padding: 12px 28px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; border-radius: 4px;
  cursor: pointer; margin: 4px 6px; text-decoration: none;
  transition: background 0.2s;
}
.btn-white-outline:hover { background: rgba(255,255,255,0.15); text-decoration: none; color: #fff; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
footer { background: #fff; border-top: 1px solid var(--border); }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding: 44px 56px 28px;
}
.footer-col h5 {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: #333; margin-bottom: 14px;
}
.footer-col a {
  display: block; color: var(--muted);
  font-size: 13px; margin-bottom: 8px;
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan); text-decoration: none; }
.footer-bottom { padding: 18px 40px; border-top: 1px solid #f0f0f0; text-align: center; }
.payment-row {
  display: flex; justify-content: center;
  gap: 6px; flex-wrap: wrap; margin-bottom: 12px;
}
.pay-badge {
  border: 1px solid #ccc; border-radius: 3px;
  padding: 3px 8px; font-size: 10px;
  font-weight: 700; color: #555; background: #fafafa;
}
.footer-copy { font-size: 12px; color: #aaa; }

/* ═══════════════════════════════════════════════════
   PAGE CONTENT (internal pages)
   ═══════════════════════════════════════════════════ */
.page-content { padding: 48px 56px; }
.page-content h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 32px; font-weight: 900;
  color: #222; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px;
}
.page-content h2 { font-size: 22px; font-weight: 700; color: #222; margin: 28px 0 12px; }
.page-content h3 { font-size: 18px; font-weight: 700; color: #333; margin: 22px 0 10px; }
.page-content h4 { font-size: 16px; font-weight: 600; color: #444; margin: 16px 0 8px; }
.page-content p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.page-content ul { margin: 12px 0 16px 24px; }
.page-content ul li { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 8px; }
.page-content hr { border: none; border-top: 1px solid #eee; margin: 28px 0; }
.page-content blockquote {
  border-left: 4px solid var(--cyan);
  padding: 14px 20px; margin: 20px 0;
  background: #f8fdfe; font-size: 15px;
  color: #555; line-height: 1.8;
  font-style: italic; border-radius: 0 6px 6px 0;
}

/* Features grid */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.feature-item {
  padding: 22px; border: 1px solid var(--border);
  border-radius: 10px; transition: box-shadow 0.2s;
}
.feature-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.feature-item h4 { color: var(--blue); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: #666; line-height: 1.7; margin: 0; }

/* Reviews grid */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.review-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
  display: flex; gap: 14px; align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.review-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.review-card .avatar {
  width: 72px; height: 72px; border-radius: 50%;
  flex-shrink: 0; overflow: hidden;
  border: 3px solid var(--border); background: #e0e0e0;
}
.review-card .avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
}
.review-card .avatar-emoji {
  width: 72px; height: 72px; border-radius: 50%;
  flex-shrink: 0; background: #e8f4fd;
  border: 3px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.review-card .r-name { font-weight: 700; font-size: 14px; color: #222; }
.review-card .r-loc {
  display: block; color: var(--cyan);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; margin: 2px 0 6px;
}
.review-card .stars { color: #ffc107; font-size: 13px; margin-bottom: 5px; }
.review-card p { font-size: 13px; color: #555; line-height: 1.7; margin: 0; }

/* Policy section */
.policy-section { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid #f0f0f0; }
.policy-section h3 { color: var(--blue); font-size: 17px; margin-bottom: 10px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 900px
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .header { padding: 0 18px; }
  .nav ul li a { padding: 18px 11px; font-size: 12px; }
  .hero-banner-wrap { padding: 14px 18px 0; }
  .intro { padding: 40px 28px 32px; }
  .intro h2 { font-size: 26px; }
  .intro .sub1 { font-size: 16px; }
  .dark-split { flex-direction: column; }
  .dark-split .left-img { width: 100%; min-height: 260px; }
  .dark-split .right-content { padding: 32px 28px; }
  .testimonials { padding: 44px 28px; }
  .test-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; padding: 32px 28px 20px; }
  .page-content { padding: 36px 28px; }
  .page-content h1 { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 28px; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 768px
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body { font-size: 15px; }

  /* ── Header ── */
  .header {
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: nowrap;
  }
  .logo-pill img { height: 38px !important; }

  /* ── Show hamburger, hide desktop nav items ── */
  .hamburger { display: flex; }

  /* ── Mobile nav — full-width dropdown ── */
  .nav {
    position: fixed;
    top: 59px;           /* height of header */
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-top: 3px solid var(--blue);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    align-items: stretch;
    flex-direction: column;
  }
  .nav.open {
    max-height: 400px;
  }
  .nav ul {
    flex-direction: column;
    width: 100%;
    padding: 8px 0;
  }
  .nav ul li {
    border-bottom: 1px solid #f5f5f5;
  }
  .nav ul li:last-child { border-bottom: none; }
  .nav ul li a {
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.15s, color 0.15s;
  }
  .nav ul li a:hover {
    background: #f0f8ff;
    color: var(--blue);
    padding-left: 30px;
  }
  .nav ul li a::before {
    content: '›';
    font-size: 18px;
    color: var(--cyan);
    margin-right: 10px;
    font-weight: 900;
  }
  .nav ul li a::after { display: none; }

  /* ── Hero banner ── */
  .hero-banner-wrap { padding: 12px 12px 0; }
  .hero-banner-wrap img { border-radius: 6px; }

  /* ── Intro ── */
  .intro { padding: 30px 16px 24px; }
  .intro h2 { font-size: 22px; letter-spacing: 0; }
  .intro .sub1 { font-size: 15px; }
  .intro .sub2 { font-size: 13px; }
  .intro .trust { font-size: 14px; }
  .intro .exams { font-size: 13px; }
  .yt-wrap { border-radius: 6px; }
  .yt-play-icon { width: 54px; height: 54px; }
  .cta-row { flex-direction: column; align-items: center; gap: 10px; }
  .btn-cyan, .btn-cyan-outline { width: 100%; max-width: 300px; text-align: center; padding: 13px 20px; }

  /* ── Dark split ── */
  .dark-split { flex-direction: column; }
  .dark-split .left-img { width: 100%; min-height: 220px; }
  .dark-split .right-content { padding: 24px 16px; }
  .dark-split .right-content h3 { font-size: 16px; }
  .dark-split .right-content p { font-size: 13px; }

  /* ── Testimonials ── */
  .testimonials { padding: 30px 16px; }
  .test-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-title { font-size: 16px; margin-bottom: 24px; }
  .test-card { gap: 12px; }
  .test-card .avatar { width: 64px; height: 64px; }
  .test-card .t-name { font-size: 13px; }
  .test-card .t-loc { font-size: 10px; }
  .test-card p { font-size: 13px; }

  /* ── CTA band ── */
  .cta-band { padding: 36px 16px; }
  .cta-band h2 { font-size: 20px; }
  .cta-band p { font-size: 14px; margin-bottom: 20px; }
  .btn-white, .btn-white-outline { width: 100%; max-width: 260px; margin: 5px auto; display: block; text-align: center; }

  /* ── Footer ── */
  .footer-cols { grid-template-columns: 1fr; gap: 24px; padding: 28px 16px 16px; }
  .footer-bottom { padding: 16px; }
  .pay-badge { font-size: 9px; padding: 2px 6px; }
  .footer-copy { font-size: 11px; }

  /* ── Page content ── */
  .page-content { padding: 24px 16px; }
  .page-content h1 { font-size: 22px; }
  .page-content h2 { font-size: 18px; margin: 20px 0 10px; }
  .page-content p, .page-content ul li { font-size: 14px; }
  .page-content blockquote { padding: 12px 14px; font-size: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { padding: 16px; gap: 12px; }
  .review-card .avatar, .review-card .avatar-emoji { width: 56px; height: 56px; }
}

/* ═══════════════════════════════════════════════════
   DROPDOWN NAV
   ═══════════════════════════════════════════════════ */
.nav ul li.has-dropdown { position: relative; }
.nav ul li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  left: unset; right: unset;
  position: static;
  height: auto;
  background: none;
  display: inline;
  transition: none;
}
.nav ul li.has-dropdown > a:hover::after { left: unset; right: unset; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 180px;
  border-top: 3px solid var(--blue);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 200;
}
.nav ul li.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block !important;
  padding: 12px 18px !important;
  font-size: 13px !important;
  color: #444 !important;
  border-bottom: 1px solid #f5f5f5;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s !important;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a::after { display: none !important; }
.dropdown a:hover { background: #f0f8ff !important; color: var(--blue) !important; padding-left: 24px !important; }

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav ul li.has-dropdown > a::after { content: ' ▾'; }
  .dropdown {
    position: static;
    border-top: none;
    border-left: 3px solid var(--blue);
    border-radius: 0;
    box-shadow: none;
    background: #f8f9fa;
    display: none;
  }
  .nav ul li.has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding: 11px 32px !important; font-size: 13px !important; }
  .dropdown a:hover { padding-left: 38px !important; }
}
