/* =============================================
   Visions Learning - Global Styles
   ============================================= */

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

:root {
  --primary: #1a73e8;
  --primary-dark: #0d47a1;
  --secondary: #ff6f00;
  --accent: #e8f0fe;
  --text-dark: #1a1a2e;
  --text-mid: #444;
  --text-light: #777;
  --white: #ffffff;
  --bg-light: #f5f7fb;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 48px;
}

.section-title span {
  color: var(--primary);
}

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
}

.nav-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-logo .logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: var(--white) !important;
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,115,232,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  padding-top: 70px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 50%, #42a5f5 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -100px;
  right: -100px;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  bottom: -50px;
  left: -50px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #ffd740;
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 380px;
}

.hero-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.stat-item {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.stat-item .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item .label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* =============================================
   FEATURES SECTION
   ============================================= */

.features {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =============================================
   COURSES PREVIEW
   ============================================= */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.course-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.course-body {
  padding: 24px;
}

.course-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.badge-blue { background: #e8f0fe; color: #1a73e8; }
.badge-green { background: #e6f4ea; color: #188038; }
.badge-orange { background: #fef3e2; color: #e65100; }
.badge-purple { background: #f3e8fd; color: #7b1fa2; }
.badge-red { background: #fce8e6; color: #c5221f; }
.badge-teal { background: #e6f7f5; color: #00695c; }

.course-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.course-body p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.course-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.course-price .original {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonials {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  font-family: Georgia, serif;
}

.stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 14px;
}

.testimonial-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.author-info .name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.author-info .role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =============================================
   CTA BANNER
   ============================================= */

.cta-banner {
  background: linear-gradient(135deg, #0d47a1, #1a73e8);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================
   ABOUT PAGE
   ============================================= */

.page-hero {
  padding-top: 70px;
  background: linear-gradient(135deg, #0d47a1, #1a73e8);
  color: white;
  text-align: center;
  padding-bottom: 80px;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-top: 60px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-box {
  background: linear-gradient(135deg, var(--accent), #c2d8ff);
  border-radius: 20px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text ul {
  list-style: none;
  margin-top: 20px;
}

.about-text ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-mid);
  font-size: 0.95rem;
}

.about-text ul li::before {
  content: '✓';
  background: var(--primary);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-avatar {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.team-info {
  padding: 20px 16px;
}

.team-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-info .role {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item-text p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

.contact-form-box {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  background: #e6f4ea;
  border: 1px solid #34a853;
  color: #188038;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
}

/* =============================================
   STATS BAR
   ============================================= */

.stats-bar {
  background: var(--primary);
  color: white;
  padding: 48px 0;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-bar-item .num {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stats-bar-item .lbl {
  font-size: 0.875rem;
  opacity: 0.85;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: #0d1b2a;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-brand .logo-text span {
  color: #ffd740;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background var(--transition);
  color: white;
}

.social-link:hover {
  background: var(--primary);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* =============================================
   COURSES PAGE
   ============================================= */

.courses-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--border);
  border-radius: 30px;
  background: var(--white);
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

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

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .features-grid,
  .courses-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 16px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    margin: 12px 24px 0;
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .features-grid,
  .courses-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-box {
    padding: 24px;
  }
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  animation: wa-pulse 2.5s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37,211,102,0.55);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-tooltip {
  background: #1a1a2e;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =============================================
   GOOGLE MAPS EMBED
   ============================================= */

.map-embed {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
}

/* =============================================
   TOPPERS PAGE
   ============================================= */

.toppers-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.toppers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.topper-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.topper-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.topper-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #42a5f5);
}

.topper-rank {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.topper-rank.gold   { background: #f9a825; }
.topper-rank.silver { background: #78909c; }
.topper-rank.bronze { background: #a1887f; }

.topper-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.topper-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.topper-exam {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.topper-score {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.topper-year {
  font-size: 0.75rem;
  color: var(--text-light);
}

.results-banner {
  background: linear-gradient(135deg, #0d47a1, #1a73e8);
  padding: 60px 0;
  text-align: center;
  color: white;
}

.results-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.results-banner p {
  opacity: 0.85;
  font-size: 1rem;
  margin-bottom: 40px;
}

.results-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.result-stat-item .r-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffd740;
}

.result-stat-item .r-lbl {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* =============================================
   PHOTO GALLERY
   ============================================= */

.gallery-section {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.gallery-thumb .g-icon {
  font-size: 2.8rem;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,115,232,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  gap: 8px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* =============================================
   ENQUIRY FORM (ENHANCED)
   ============================================= */

.enquiry-section {
  background: linear-gradient(135deg, #e8f0fe, #f5f7fb);
  padding: 80px 0;
}

.enquiry-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 8px 40px rgba(26,115,232,0.12);
}

.enquiry-box h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
  text-align: center;
}

.enquiry-box .sub {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* =============================================
   TOPPERS PAGE — RESPONSIVE
   ============================================= */

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:first-child {
    grid-column: span 2;
  }

  .results-stats {
    gap: 28px;
  }

  .enquiry-box {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .toppers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 1;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 18px;
  }
}

/* =============================================
   COURSE SECTION LABEL
   ============================================= */

.course-section-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  padding: 12px 20px;
  background: var(--accent);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  display: none; /* shown via JS when filtering */
}

/* =============================================
   FEATURED COURSE CARD
   ============================================= */

.course-card.featured-course {
  position: relative;
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(26,115,232,0.15);
}

.featured-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

/* =============================================
   COURSE INCLUDES LIST
   ============================================= */

.course-includes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.course-includes span {
  font-size: 0.78rem;
  color: #188038;
  font-weight: 600;
}

/* =============================================
   NEW BADGE COLOURS
   ============================================= */

.badge-yellow  { background: #fff8e1; color: #f57f17; }
.badge-pink    { background: #fce4ec; color: #c2185b; }
.badge-indigo  { background: #e8eaf6; color: #3949ab; }

/* =============================================
   PRICING STRIP
   ============================================= */

.pricing-strip {
  background: #0d47a1;
  color: white;
  padding: 20px 0;
}

.pricing-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.ps-item {
  font-size: 0.9rem;
  padding: 8px 28px;
  text-align: center;
}

.ps-item strong {
  color: #ffd740;
}

.ps-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
  .ps-divider { display: none; }
  .ps-item { padding: 6px 16px; font-size: 0.82rem; }
  .pricing-strip-inner { gap: 4px; }
}

/* =============================================
   SEATS LEFT URGENCY TAG
   ============================================= */

.seats-left {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.seats-left.seats-urgent {
  background: #fce8e6;
  color: #c5221f;
  border-color: #f28b82;
  animation: urgency-blink 2s ease-in-out infinite;
}

@keyframes urgency-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

/* =============================================
   CALL NOW MOBILE BUTTON
   ============================================= */

.call-now-bar {
  display: none; /* shown only on mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.call-now-btn {
  flex: 1;
  background: #25D366;
  color: white;
  text-align: center;
  padding: 16px 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.call-now-btn.call {
  background: var(--primary);
  border-right: none;
}

.call-now-btn:hover {
  opacity: 0.92;
}

@media (min-width: 769px) {
  .call-now-bar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .call-now-bar {
    display: flex;
  }
  /* Add bottom padding so content isn't hidden behind the bar */
  body {
    padding-bottom: 60px;
  }
}

/* =============================================
   DEMO CLASS BOOKING SECTION
   ============================================= */

.demo-section {
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -100px;
  right: -100px;
}

.demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.demo-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.3;
}

.demo-info p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

.demo-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.demo-benefits li::before {
  content: '✅';
  font-size: 1rem;
  flex-shrink: 0;
}

.demo-form-box {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.demo-form-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.demo-form-box .sub {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.demo-success {
  display: none;
  background: #e6f4ea;
  border: 1px solid #34a853;
  color: #188038;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .demo-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .demo-form-box {
    padding: 24px 20px;
  }

  .demo-info h2 {
    font-size: 1.6rem;
  }
}

/* =============================================
   OFFLINE / ONLINE PRICE IN COURSE CARD
   ============================================= */

.offline-online-price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  padding: 12px;
  background: #f8f9ff;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.price-mode {
  font-size: 0.88rem;
  color: var(--text-dark);
}

.price-mode strong {
  color: var(--primary);
  font-size: 1rem;
}

/* =============================================
   FEE STRUCTURE SECTION
   ============================================= */

.fee-structure-section {
  background: var(--bg-light);
}

.fee-table-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  margin-top: 40px;
}

.fee-table-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fee-mode-block {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fee-mode-header {
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: white;
  letter-spacing: 0.5px;
}

.offline-header {
  background: linear-gradient(135deg, #0d47a1, #1a73e8);
}

.online-header {
  background: linear-gradient(135deg, #188038, #34a853);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
}

.fee-table th {
  background: #f1f3f4;
  padding: 10px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fee-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-bottom: 1px solid #f1f3f4;
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table td:last-child {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.fee-table .highlight-row td {
  background: #e8f0fe;
}

.fee-table .highlight-row td:last-child {
  color: #0d47a1;
}

/* Right side — includes box */
.fee-includes-box {
  background: linear-gradient(135deg, #0d47a1, #1a73e8);
  border-radius: 16px;
  padding: 32px 28px;
  color: white;
  box-shadow: 0 8px 32px rgba(26,115,232,0.25);
  position: sticky;
  top: 100px;
}

.fee-includes-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.fee-includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.fee-includes-list li {
  font-size: 0.9rem;
  opacity: 0.92;
}

.fee-note {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* Responsive fee table */
@media (max-width: 1024px) {
  .fee-table-wrapper {
    grid-template-columns: 1fr;
  }
  .fee-includes-box {
    position: static;
  }
}

@media (max-width: 640px) {
  .fee-table-box {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   BUY COURSES PAGE
   ============================================= */

.mode-toggle-wrapper {
  display: flex;
  justify-content: center;
  gap: 0;
  background: #f1f3f4;
  border-radius: 50px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 40px;
}

.mode-toggle-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.mode-toggle-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(26,115,232,0.3);
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.buy-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.buy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.buy-card.popular-card {
  border: 2px solid var(--primary);
}

.popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}

.buy-card-header {
  padding: 28px 20px 20px;
  text-align: center;
}

.buy-emoji {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.buy-class {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.buy-card-body {
  padding: 20px;
}

.buy-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.buy-period {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
}

.buy-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.buy-features li {
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* Payment Info Box */
.payment-info-box {
  background: linear-gradient(135deg, #e8f0fe, #f5f7fb);
  border-radius: 20px;
  padding: 40px;
  margin-top: 60px;
  border: 1px solid #c2d8ff;
}

.payment-info-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
  color: var(--text-dark);
}

.payment-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pay-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.pay-step-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* =============================================
   ONLINE LECTURES PAGE
   ============================================= */

.how-it-works-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.hiw-step {
  text-align: center;
  padding: 20px 24px;
  flex: 1;
  min-width: 160px;
}

.hiw-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hiw-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.hiw-step p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.hiw-arrow {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
  padding: 0 8px;
}

.lectures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.lecture-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
  position: relative;
}

.lecture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.1);
}

.lecture-card.featured-lecture {
  border: 2px solid var(--primary);
}

.lecture-popular-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}

.lecture-thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.play-btn {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lecture-card:hover .play-btn {
  transform: scale(1.1);
}

.lecture-class-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.lecture-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lecture-subject {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 6px;
}

.lecture-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
  line-height: 1.4;
}

.lecture-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.lecture-meta {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Upload notice */
.upload-notice {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #e8f0fe, #f5f7fb);
  border-radius: 16px;
  padding: 32px;
  margin-top: 48px;
  border: 1px solid #c2d8ff;
}

.upload-notice-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.upload-notice strong {
  font-size: 1rem;
  color: var(--text-dark);
}

.upload-notice span {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* =============================================
   NOTES PAGE
   ============================================= */

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.note-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition);
  position: relative;
  overflow: hidden;
}

.note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.1);
}

.note-card.featured-note {
  border: 2px solid var(--primary);
}

.note-popular-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.note-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.note-info {
  flex: 1;
}

.note-class-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 4px;
}

.note-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
  line-height: 1.4;
}

.note-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.6;
}

.note-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.note-btn {
  width: 100%;
  justify-content: center;
}

/* =============================================
   RESPONSIVE — NEW PAGES
   ============================================= */

@media (max-width: 1024px) {
  .buy-grid { grid-template-columns: repeat(3, 1fr); }
  .payment-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .buy-grid { grid-template-columns: repeat(2, 1fr); }
  .lectures-grid { grid-template-columns: repeat(2, 1fr); }
  .notes-grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works-grid { flex-direction: column; }
  .hiw-arrow { transform: rotate(90deg); }
  .upload-notice { flex-direction: column; text-align: center; }
  .mode-toggle-btn { padding: 10px 20px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .buy-grid { grid-template-columns: 1fr; }
  .lectures-grid { grid-template-columns: 1fr; }
  .notes-grid { grid-template-columns: 1fr; }
  .payment-steps { grid-template-columns: 1fr; }
}

/* =============================================
   REAL LOGO IN NAVBAR
   ============================================= */

.nav-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #000;
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Hide the old logo-icon V box when real logo is shown */
.nav-logo .logo-icon {
  display: none;
}

/* Footer brand logo */
.footer-logo-img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
  margin-bottom: 12px;
}

/* =============================================
   UPI PAYMENT SECTION
   ============================================= */

.upi-payment-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 2px dashed #e0e0e0;
}

.upi-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

/* QR Box */
.upi-qr-box {
  background: white;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  text-align: center;
  border: 2px solid #e8f0fe;
}

.upi-qr-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.upi-qr-image {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.upi-qr-image img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 3px solid #e8f0fe;
  padding: 8px;
  background: white;
}

.upi-id-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8f9ff;
  border: 1px solid #c2d8ff;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.upi-id-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 1px;
}

.upi-id-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  font-family: monospace;
}

.copy-btn {
  background: #e8f0fe;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--primary);
  transition: all 0.2s ease;
}

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

.upi-name {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* Info Box */
.upi-info-box {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.upi-info-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.upi-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.upi-app-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: white;
}

.upi-app-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.upi-app-icon {
  font-size: 1.6rem;
  font-weight: 800;
}

.upi-app-btn.phonepe { background: linear-gradient(135deg, #5f259f, #8b30d4); }
.upi-app-btn.gpay    { background: linear-gradient(135deg, #1a73e8, #4285f4); }
.upi-app-btn.paytm   { background: linear-gradient(135deg, #002970, #00baf2); }
.upi-app-btn.bhim    { background: linear-gradient(135deg, #004c97, #00a651); }

/* Instructions */
.payment-instructions {
  background: #f8f9ff;
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid var(--primary);
}

.payment-instructions h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.payment-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: step;
  padding: 0;
}

.payment-steps-list li {
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  counter-increment: step;
}

.payment-steps-list li::before {
  content: counter(step);
  background: var(--primary);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* EMI Note */
.emi-note {
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border: 1px solid #a5d6a7;
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--text-dark);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .upi-wrapper {
    grid-template-columns: 1fr;
  }
  .upi-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   UPLOAD NOTES SECTION
   ============================================= */

.upload-notes-section {
  background: var(--bg-light);
}

.upload-notes-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.upload-form-box {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.upload-form-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f3f4;
}

.upload-lock-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.upload-form-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.upload-form-header p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.upload-guide-box {
  background: linear-gradient(135deg, #0d47a1, #1a73e8);
  border-radius: 20px;
  padding: 36px 32px;
  color: white;
}

.upload-guide-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
}

.upload-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.upload-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.upload-step-num {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: white;
}

.upload-step strong {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 2px;
}

.upload-step span {
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.5;
}

.upload-tip {
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.85rem;
  opacity: 0.92;
}

/* =============================================
   DOUBT SECTION
   ============================================= */

.doubt-section {
  background: white;
}

.doubt-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  margin-top: 40px;
}

.doubt-form-box {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 32px rgba(26,115,232,0.1);
  border: 1px solid #e8f0fe;
}

.doubt-form-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.doubt-form-box .sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.doubt-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doubt-subjects-box,
.doubt-whatsapp-box,
.doubt-timing-box {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.doubt-subjects-box h4,
.doubt-whatsapp-box h4,
.doubt-timing-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.doubt-subjects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doubt-subject-tag {
  background: #e8f0fe;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.doubt-subject-tag.ssc {
  background: #e6f4ea;
  color: #188038;
}

.doubt-subject-tag.cbse {
  background: #fce8e6;
  color: #c5221f;
}

.doubt-whatsapp-box p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .upload-notes-wrapper {
    grid-template-columns: 1fr;
  }
  .doubt-wrapper {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   CLASS NOTES PAGES
   ============================================= */

.notes-page-section { padding-top: 40px; }

/* Class selector on notes.html */
.class-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 32px;
}

.class-selector-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.class-selector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(26,115,232,0.15);
  border-color: var(--primary);
}

.class-selector-card.popular-class-card {
  border-color: var(--primary);
}

.class-popular-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.class-selector-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.class-selector-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.class-selector-subjects {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.class-selector-count {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.class-selector-arrow {
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.notes-info-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #e8f0fe, #f5f7fb);
  border-radius: 12px;
  padding: 16px 24px;
  border: 1px solid #c2d8ff;
  font-size: 0.9rem;
  color: var(--text-dark);
  flex-wrap: wrap;
}

/* Chapter cards on individual class pages */
.notes-chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.notes-chapter-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.notes-chapter-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.notes-chapter-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid #f1f3f4;
}

.maths-header    { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.science-header  { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.physics-header  { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.chemistry-header{ background: linear-gradient(135deg, #fce4ec, #f8bbd9); }
.english-header  { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.history-header  { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
.commerce-header { background: linear-gradient(135deg, #f9fbe7, #f0f4c3); }

.notes-subject-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.notes-subject-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 2px;
}

.notes-chapter-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}

.notes-chapter-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notes-block {
  background: #f8f9ff;
  border-radius: 10px;
  padding: 16px;
}

.notes-block-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8f0fe;
}

.notes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.notes-list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.notes-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Digest Q&A */
.digest-qa {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8f0fe;
}

.digest-qa:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.digest-q {
  font-size: 0.83rem;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 6px;
  line-height: 1.4;
}

.digest-a {
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.7;
  padding-left: 12px;
  border-left: 3px solid #34a853;
}

/* Ask Doubt CTA at bottom */
.notes-doubt-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #0d47a1, #1a73e8);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.notes-doubt-cta-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.notes-doubt-cta-text p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}

/* Responsive */
@media (max-width: 768px) {
  .notes-chapters-grid { grid-template-columns: 1fr; }
  .class-selector-grid { grid-template-columns: 1fr; }
  .notes-doubt-cta { flex-direction: column; text-align: center; }
  .notes-info-banner { flex-direction: column; text-align: center; }
}
