/* ============================================================
   ERIC WELLNESS — COMPREHENSIVE RESPONSIVE STYLESHEET
   Mobile-First, All Pages, All Sections
   ============================================================ */

/* ============================================================
   GLOBAL OVERRIDES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

img, video, iframe, embed, object { max-width: 100%; }

/* ============================================================
   DESKTOP ONLY — Hide mobile elements
   ============================================================ */
@media (min-width: 993px) {
  .mobile-toggle { display: none !important; }
  .mobile-nav-drawer { display: none !important; }
}

/* ============================================================
   TABLET & MOBILE — 992px and below
   ============================================================ */
@media (max-width: 992px) {

  /* NAV */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .nav-menu,
  .nav-phone,
  .header-enquire-btn { display: none !important; }

  /* CONTAINER */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* HERO */
  .hero-section {
    padding-top: 110px !important;
    padding-bottom: 30px !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    min-height: auto !important;
  }
  .hero-content {
    padding-left: 0 !important;
    text-align: center !important;
  }
  .hero-content h1,
  .hero-content h1[style] {
    font-size: 34px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }
  .hero-subtext {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-btns,
  .hero-btns[style] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    justify-content: center !important;
  }
  .hero-btns .btn { width: 100% !important; justify-content: center !important; }
  .hero-founder-row,
  .hero-founder-row[style] { justify-content: center !important; }
  .hero-badge-card,
  .hero-badge-card[style] { display: none !important; }

  /* PAGE HERO FULL — course & contact pages */
  .page-hero-full {
    min-height: auto !important;
    padding-top: 120px !important;
    padding-bottom: 40px !important;
    width: 100% !important;
  }
  .page-hero-full h1,
  .page-hero-full h1[style] {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  .page-hero-full p[style] { font-size: 14px !important; max-width: 100% !important; }

  /* Force inline hero grids to single column */
  .page-hero-full .container,
  .page-hero-full > .container { display: block !important; }

  /* CONTACT GRID — inline style grid */
  section > .container[style*="grid-template-columns"],
  section > .container[style*="display: grid"],
  .container[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    display: grid !important;
    gap: 24px !important;
  }

  /* All inline grids */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.1fr 0.9fr"],
  [style*="grid-template-columns: 0.9fr 1.1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.1fr"],
  [style*="grid-template-columns: 320px 1fr"],
  [style*="grid-template-columns: 1fr 320px"],
  [style*="grid-template-columns: 1.15fr 0.85fr"],
  [style*="grid-template-columns: 0.85fr 1.15fr"] {
    grid-template-columns: 1fr !important;
  }

  /* MISSION */
  .mission-section { padding: 0 0 24px 0 !important; margin-top: -15px !important; }
  .mission-banner-card { padding: 28px 18px !important; text-align: center !important; }
  .mission-card-content { max-width: 100% !important; padding-left: 0 !important; }
  .mission-card-content h2 { font-size: 24px !important; }
  .mission-desc { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .stats-row { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .stat-block { justify-content: center !important; }

  /* SESSIONS / SPECIALIZATION */
  .sessions-row,
  .special-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }

  /* ABOUT (homepage) */
  .about-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .about-left img { min-height: 300px !important; height: 300px !important; }

  /* TRUST BAR */
  .trust-flex { flex-wrap: wrap !important; gap: 16px !important; }
  .trust-item { border-right: none !important; flex: 0 0 calc(50% - 8px) !important; }

  /* TESTIMONIALS */
  .testimonial-card { flex: 0 0 calc(50% - 14px) !important; }
  .carousel-arrow { display: none !important; }

  /* FAQ + CONTACT */
  .faq-contact-grid { grid-template-columns: 1fr !important; gap: 28px !important; }

  /* FOOTER */
  .footer-top { grid-template-columns: repeat(2, 1fr) !important; gap: 28px !important; }
  .newsletter-form { flex-direction: column !important; gap: 10px !important; }
  .newsletter-form input,
  .newsletter-form .btn { width: 100% !important; justify-content: center !important; }

  /* ABOUT PAGE */
  .about-story-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-story-section { padding: 60px 0 !important; }
  .founder-card-wrapper { grid-template-columns: 1fr !important; gap: 32px !important; padding: 32px 20px !important; }
  .about-founder-section { padding: 60px 0 !important; }
  .vpp-grid,
  .values-grid,
  .teachers-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
  .vpp-section,
  .values-section,
  .teachers-section { padding: 60px 0 !important; }
  .on-mission-cta-section { padding: 50px 0 60px !important; }
  .on-mission-card { padding: 50px 20px !important; }
  .on-mission-card h2 { font-size: 28px !important; }

  /* COURSE DETAIL GRIDS */
  .learn-grid { grid-template-columns: 1fr !important; display: grid !important; }
  .benefits-five-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
  .courses-three-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .course-list-item,
  .course-list-item.right-image {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 24px 18px !important;
  }
  .course-list-item .course-image { order: -1 !important; height: 220px !important; }
  .course-list-item .course-content .btn { width: 100% !important; justify-content: center !important; }

  /* Section inline padding */
  section[style*="padding: 75px 0"],
  section[style*="padding: 80px 0"],
  section[style*="padding: 90px 0"] { padding: 44px 0 !important; }
}

/* ============================================================
   MOBILE — 768px and below
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 14.5px; }
  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }

  .container { padding-left: 16px !important; padding-right: 16px !important; }

  /* PAGE HERO */
  .page-hero { padding-top: 110px !important; padding-bottom: 32px !important; }
  .page-hero h1 { font-size: 22px !important; line-height: 1.3 !important; }
  .page-hero p { font-size: 14px !important; }

  /* PAGE HERO FULL */
  .page-hero-full { padding-top: 110px !important; padding-bottom: 36px !important; }
  .page-hero-full h1,
  .page-hero-full h1[style] { font-size: 22px !important; }

  /* HERO */
  .hero-section { padding-top: 100px !important; }
  .hero-content h1,
  .hero-content h1[style] { font-size: 26px !important; }
  .hero-section .eyebrow { text-align: center !important; }

  /* SECTION TITLES */
  .section-title-center h2 { font-size: 22px !important; }
  .section-title-center { margin-bottom: 28px !important; }

  /* SESSIONS */
  .sessions-row,
  .special-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* TRUST BAR */
  .trust-flex { flex-direction: column !important; gap: 10px !important; }
  .trust-item { flex: 0 0 100% !important; padding: 8px 0 !important; }

  /* TESTIMONIALS */
  .testimonial-card { flex: 0 0 100% !important; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-bottom { flex-direction: column !important; gap: 12px !important; text-align: center !important; }

  /* ABOUT */
  .about-story-img-frame img { height: 260px !important; }
  .story-exp-badge { bottom: -12px !important; right: 12px !important; }
  .about-story-section,
  .about-founder-section,
  .vpp-section,
  .values-section,
  .teachers-section { padding: 48px 0 !important; }
  .founder-card-wrapper { padding: 24px 16px !important; }
  .founder-portrait { max-width: 100% !important; height: 280px !important; }
  .story-highlights { grid-template-columns: 1fr !important; }
  .story-actions { flex-direction: column !important; align-items: stretch !important; }
  .story-actions .btn { width: 100% !important; justify-content: center !important; }

  /* VPP / VALUES / TEACHERS */
  .vpp-grid,
  .values-grid,
  .teachers-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* MISSION CTA */
  .on-mission-card { padding: 40px 14px !important; }
  .on-mission-card h2 { font-size: 22px !important; }
  .on-mission-card p { font-size: 15px !important; }

  /* LEARN / COURSES */
  .learn-grid { grid-template-columns: 1fr !important; }
  .benefits-five-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .courses-three-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* CONTACT */
  .connect-col { padding: 24px 16px !important; }
  .info-card { padding: 24px 16px !important; }
  .info-card .leaf-branch-img { display: none !important; }

  /* INLINE OVERRIDES */
  div[style*="padding: 40px"],
  div[style*="padding: 36px"] { padding: 20px 14px !important; }
  section[style*="padding: 75px 0"],
  section[style*="padding: 80px 0"],
  section[style*="padding: 90px 0"],
  section[style*="padding: 70px 0"] { padding: 36px 0 !important; }

  /* All inline grid column fixes */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.1fr 0.9fr"],
  [style*="grid-template-columns: 0.9fr 1.1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.1fr"],
  [style*="grid-template-columns: 320px 1fr"],
  [style*="grid-template-columns: 1fr 320px"],
  [style*="grid-template-columns: 1.15fr 0.85fr"],
  [style*="grid-template-columns: 0.85fr 1.15fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Arch image frame */
  [style*="border-radius: 180px 180px 20px 20px"] {
    max-width: 240px !important;
    height: 260px !important;
    margin: 16px auto 0 !important;
  }

  /* Buttons */
  .hero-btns .btn { width: 100% !important; justify-content: center !important; }

  /* WhatsApp */
  .whatsapp-float {
    bottom: 14px !important;
    right: 14px !important;
    width: 46px !important;
    height: 46px !important;
  }
}

/* ============================================================
   SMALL MOBILE — 480px and below
   ============================================================ */
@media (max-width: 768px) {
  .site-header-logo { height: 48px !important; max-width: 220px !important; }
}
@media (max-width: 480px) {
  .site-header-logo { height: 42px !important; max-width: 190px !important; }
  .site-footer-logo { height: 56px !important; max-width: 240px !important; }
  .nav-container { height: 72px !important; }

  .hero-section { padding-top: 88px !important; }
  .hero-content h1,
  .hero-content h1[style] { font-size: 22px !important; }

  .page-hero { padding-top: 96px !important; }
  .page-hero h1 { font-size: 18px !important; }
  .page-hero-full { padding-top: 96px !important; }
  .page-hero-full h1,
  .page-hero-full h1[style] { font-size: 20px !important; }

  .stats-row { grid-template-columns: 1fr !important; }
  .sessions-row { grid-template-columns: 1fr !important; }
  .session-col { padding: 20px 14px !important; }
  .benefits-five-grid { grid-template-columns: 1fr !important; }
  .benefit-card-5 { padding: 20px 12px !important; }

  .btn { font-size: 13px !important; padding: 12px 20px !important; }

  .course-list-item { padding: 16px 12px !important; }
  .course-list-item .course-image { height: 180px !important; }

  .trust-item { width: 100% !important; }

  section.page-hero-full h1,
  section.page-hero-full h1[style] { font-size: 20px !important; }
  .connect-col,
  .info-card { padding: 18px 12px !important; border-radius: 8px !important; }

  .accordion-header { font-size: 13.5px !important; padding: 14px 0 !important; }

  .footer-col h4 { font-size: 15px !important; margin-bottom: 14px !important; }
  .newsletter-form { flex-direction: column !important; }
  .newsletter-form input,
  .newsletter-form .btn { width: 100% !important; }
  .site-footer { padding: 48px 0 28px !important; }

  [style*="padding: 80px 0"],
  [style*="padding: 75px 0"],
  [style*="padding: 90px 0"],
  [style*="padding: 70px 0"] { padding: 36px 0 !important; }

  .mobile-nav-drawer {
    top: 72px !important;
    height: calc(100vh - 72px) !important;
  }
}

/* ============================================================
   EXTRA SMALL — 360px and below
   ============================================================ */
@media (max-width: 360px) {
  .container { padding-left: 12px !important; padding-right: 12px !important; }
  .hero-content h1,
  .hero-content h1[style] { font-size: 20px !important; }
  .page-hero h1,
  .page-hero-full h1,
  .page-hero-full h1[style] { font-size: 17px !important; }
  .btn { padding: 11px 16px !important; font-size: 12.5px !important; }
  .section-title-center h2 { font-size: 18px !important; }
}
