/*
 * Theme Name: Bazaarvidya Landing Page
 * Author: Soham Dey
 * Description: Clean, responsive, high-converting one page landing page.
 * Version: 1.0.0
 */

:root {
  --primary-color: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #f0f9ff;
  --secondary-color: #0f172a;
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  --accent-amber: #f59e0b;
  
  --bg-color: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top Notification Bar */
.top-notice-bar {
  background: #0f172a;
  color: #f8fafc;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.notice-pill {
  background: #ef4444;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notice-phone {
  color: #38bdf8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Header & Navigation */
.header-nav {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.brand-info h1 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.brand-info span {
  font-size: 0.72rem;
  color: var(--accent-green);
  font-weight: 700;
  letter-spacing: 1px;
}

.main-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.6rem;
}

.main-menu a {
  font-weight: 600;
  font-size: 0.92rem;
  color: #334155;
}

.main-menu a:hover {
  color: var(--primary-color);
}

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

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-1px);
}

.btn-dark {
  background: #0f172a;
  color: #ffffff;
}

.btn-dark:hover {
  background: #1e293b;
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.8rem auto;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-tagline-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.badge-nism {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-location {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-heading span {
  color: var(--primary-color);
}

.hero-text {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hero-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

.hero-checklist i {
  color: var(--accent-green);
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.hero-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Mentor Profile Card in Hero */
.hero-mentor-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.mentor-img-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  background: #e2e8f0;
}

.mentor-img-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
}

.mentor-cert-ribbon {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.mentor-details h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.mentor-details p {
  font-size: 0.88rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.mentor-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-color);
}

.kpi-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary-color);
}

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

/* ==========================================================================
   2. ABOUT SECTION
   ========================================================================== */
.about-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.about-text p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-focus-box {
  background: #f0fdf4;
  border-left: 4px solid var(--accent-green);
  padding: 0.9rem 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.2rem;
}

.about-focus-box p {
  margin: 0;
  font-weight: 600;
  color: #166534;
  font-size: 0.95rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.pillar-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.pillar-box:hover {
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.pillar-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.35rem;
}

.pillar-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   3. SERVICES SECTION
   ========================================================================== */
.services-section {
  background: #f8fafc;
}

.course-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.course-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.course-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

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

.course-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.course-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.course-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.course-points {
  list-style: none;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.course-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.course-points i {
  color: var(--accent-green);
  margin-top: 3px;
}

/* Inclusions Strip */
.inclusions-strip {
  background: var(--secondary-color);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.inc-item i {
  font-size: 1.6rem;
  color: #38bdf8;
  margin-bottom: 0.4rem;
}

.inc-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.inc-item p {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ==========================================================================
   4. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

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

.rating-stars {
  color: var(--accent-amber);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.review-quote {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.reviewer-initial {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.reviewer-details h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.reviewer-details span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5. CONTACT & ADMISSIONS SECTION
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
  border-top: 1px solid var(--border-color);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.contact-details-box {
  background: var(--secondary-color);
  color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-details-box h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-details-box p {
  color: #94a3b8;
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.c-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.c-text h4 {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.c-text p, .c-text a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.c-text a:hover {
  color: #38bdf8;
}

/* Contact Form */
.contact-form-box {
  background: #ffffff;
  padding: 2.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 0.3rem;
}

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

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-card.active {
  border-color: var(--primary-color);
}

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

.faq-btn i {
  color: var(--primary-color);
  transition: transform 0.2s ease;
}

.faq-card.active .faq-btn i {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.2rem 1.1rem 1.2rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  display: none;
}

.faq-card.active .faq-content {
  display: block;
}

/* Footer */
.footer-wrap {
  background: #0b1120;
  color: #94a3b8;
  padding: 2.8rem 0 5rem 0;
  font-size: 0.85rem;
  border-top: 1px solid #1e293b;
}

.disclaimer-text {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.footer-credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid #1e293b;
  padding-top: 1.4rem;
}

/* Mobile Sticky Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 0.6rem 1rem;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
  z-index: 999;
  border-top: 1px solid var(--border-color);
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/* Media Queries */
@media (max-width: 900px) {
  .hero-grid, .about-row, .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-mentor-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .main-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  section {
    padding: 3rem 0;
  }

  .hero-heading {
    font-size: 1.95rem;
  }

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

  .hero-checklist, .about-pillars, .inclusions-strip {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .contact-form-box {
    padding: 1.5rem;
  }

  .notice-phone {
    display: none;
  }

  .mobile-bottom-bar {
    display: block;
  }

  .footer-wrap {
    padding-bottom: 5.5rem;
  }
}
