/* ============================================================
   Human Hobbies â€” Responsive Breakpoints
   Tablet (1024px) â†’ Mobile (768px) â†’ Small Phone (480px)
   ============================================================ */

/* ============================================================
   TABLET â€” max-width: 1024px
   ============================================================ */
.menu-toggle, .mobile-menu {
  display: none !important;
}

@media (max-width: 1024px) {

  /* â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .container {
    padding: 0 5%;
  }

  .section {
    padding: 80px 0;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* â”€â”€ Navbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .nav-links {
    gap: 2px;
  }

  .nav-link {
    padding: 4px 6px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .hero-wrapper {
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-stats {
    gap: 28px;
  }

  /* â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .card {
    padding: 28px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  /* â”€â”€ Split section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .split-section {
    gap: 40px;
  }

  /* â”€â”€ Stats â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  /* â”€â”€ Testimonials â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* â”€â”€ Features â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* â”€â”€ Contact â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .contact-grid {
    gap: 32px;
  }

  /* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 100%;
  }

  /* â”€â”€ CTA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .cta-section {
    padding: 80px 0;
  }

  /* â”€â”€ Auth â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .auth-card {
    padding: 40px 32px;
  }

  /* â”€â”€ All Page Heroes & Headers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .page-header,
  .page-hero,
  .about-hero,
  .features-hero,
  .membership-hero,
  .contact-hero,
  .community-hero,
  .programs-hero,
  .legal-hero {
    padding-top: 0 !important;
    padding-bottom: 60px !important;
  }
}


/* ============================================================
   MOBILE — max-width: 768px
   ============================================================ */
@media (max-width: 768px) {

  /* ── Mobile Biscuit Theme ── */
  :root {
    --bg: #FFFDF7; /* Extremely soft, almost white cream */
    --cream: #FFFDF7;
    --white: #FFFDF7;
    --text: #1a1a2e; /* Restore dark text for readability */
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --border: rgba(0, 0, 0, 0.1);
  }

  /* Force all major sections to be solid biscuit without gradients, EXCLUDING the footer */
  body, main, section:not(.footer), header, 
  .hero, .about-hero, .programs-hero, .contact-hero, .membership-hero, .page-hero, .legal-hero,
  .section:not(.footer), .cta-section, .stats-section, .impact-section, 
  .community-preview, .final-cta {
    background-color: var(--bg) !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    color: var(--text) !important;
  }

  /* Reduce massive empty spaces on mobile caused by old padding for deleted bubbles */
  section:not(.footer), .section:not(.footer), .cta-section, .stats-section, .impact-section, .community-preview, .final-cta, .stats, .features, .pricing {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .hero, .about-hero, .programs-hero, .contact-hero, .membership-hero, .page-hero, .legal-hero {
    padding-top: 100px !important;
    padding-bottom: 40px !important;
  }
  
  /* Ensure text inside previously dark sections is dark on mobile, but exclude buttons/badges and the footer */
  .hero *:not(.btn):not(.badge):not(.hero-badge), 
  .page-hero *:not(.btn):not(.badge),
  .section:not(.footer) *:not(.btn):not(.badge), 
  .cta-section *:not(.btn):not(.badge) {
    color: var(--text) !important;
  }

  /* Explicitly reset the footer to its original dark green styling */
  .footer, footer, .hh-footer {
    background: #004D33 !important; /* Original var(--bg-dark) */
    background-color: #004D33 !important;
  }
  .footer *, footer *, .hh-footer * {
    color: rgba(249, 246, 240, 0.8) !important;
  }
  .footer h3, .footer h4, .footer strong, footer h3, .hh-footer__heading {
    color: #D4AF37 !important; /* Gold color for headings */
  }

  /* ── Layout ────────────────────────────────────────────── */
  
  /* Reduce size and extra spacing of the hero matter (text) on mobile */
  .hero-content p, .hero-text {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
  }
  .hero-title, .hero-content h1 {
    margin-bottom: 12px !important;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* â”€â”€ Navbar: show hamburger, hide desktop nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 24px;
    right: 24px;
    margin: 0;
    background: rgba(0,0,0,0.05);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 4px;
    gap: 5px;
    z-index: 1002 !important;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: #1a1a1a;
    margin: 0 !important;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  .mobile-menu {
    display: block !important;
    position: fixed !important;
    top: -150vh !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: 100vh !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    padding: 100px 24px 32px !important;
    transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: left !important;
    align-items: flex-start !important;
    background: #f9f6f0 !important;
    overflow-y: auto !important;
    z-index: 1001 !important;
  }

  .mobile-menu a {
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    padding: 12px 0;
    display: block;
    width: 100%;
    color: #1a1a1a !important;
  }

  .mobile-menu.active {
    top: 0 !important;
    right: auto !important;
  }

  .navbar {
    height: auto !important;
    padding: 4px 0 !important; /* Reduced from 16px to remove empty space */
    position: relative !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    z-index: 1000;
  }

  .nav-container,
  .navbar .container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  .navbar-brand,
  .nav-brand {
    margin: 0 auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0px !important; /* Reduced from 12px to remove empty space */
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    color: var(--green) !important;
  }

  .navbar-brand img,
  .nav-brand img,
  .nav-logo img {
    width: 180px !important; /* Increased size significantly */
    height: 180px !important; /* Increased size significantly */
    border-radius: 12px !important; /* Adjusted border radius */
    margin-bottom: 0px !important;
  }

  .navbar-brand span,
  .nav-brand span,
  .nav-logo span {
    font-size: 2.8rem !important; /* Increased text size significantly */
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    line-height: 1 !important;
  }

  .hero-app-badge {
    height: 44px;
    width: auto;
  }

  /* ── Hero ────────────────────────────────────────────── */
  .hero {
    min-height: auto;
    padding-top: 0 !important; /* Force 0 padding-top on mobile */
    padding-bottom: 60px !important;
    margin-top: 0 !important;
  }

  /* Force the nav brand to not have any extra bottom margins */
  .nav-brand, .navbar-brand {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .nav-brand span {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Ensure the badge and hero content don't have top margins pushing them down */
  .hero-content {
    margin-top: -30px !important; /* Forcefully pull the hero content up just enough */
    padding-top: 0 !important;
  }

  .hero-badge {
    margin-top: 8px !important; /* Restored to prevent touching */
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    order: 1;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .hero-content p {
    font-size: 1.35rem;
    margin-bottom: 28px;
  }

  .hero-image {
    order: 2;
  }

  .hero-image img {
    max-width: 80%;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
    padding-top: 24px;
  }

  .hero-stat h3 {
    font-size: 1.35rem;
  }

  .hero-stat p {
    font-size: 0.75rem;
  }

  .hero-float {
    display: none;
  }

  /* â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .card {
    padding: 24px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .program-card-image {
    height: 180px;
  }

  .program-card-body {
    padding: 22px;
  }

  .testimonial-card {
    padding: 28px;
  }

  /* â”€â”€ Split section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-image {
    order: -1;
  }

  /* â”€â”€ Stats â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .stats-section {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item h3 {
    font-size: 1.75rem;
  }

  .stat-item p {
    font-size: 0.8rem;
  }

  /* â”€â”€ CTA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .cta-section {
    padding: 64px 0;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-white,
  .cta-buttons .btn-gold {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  /* â”€â”€ Testimonials â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .testimonials-section {
    padding: 64px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* â”€â”€ Features â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .features-section {
    padding: 64px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* â”€â”€ Contact â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-card {
    padding: 28px;
  }

  /* â”€â”€ Forms â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 16px;
  }

  /* â”€â”€ Auth â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .auth-container {
    padding: calc(70px + 24px) 16px 40px;
    align-items: flex-start;
  }

  .auth-card {
    max-width: 100%;
    padding: 32px 24px;
    border-radius: var(--radius-sm);
  }

  .auth-card .auth-logo h2 {
    font-size: 1.25rem;
  }

  .otp-group input {
    width: 44px;
    height: 48px;
    font-size: 1.1rem;
  }

  /* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .footer {
    padding: 60px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto 24px;
  }

  .footer-brand .brand-logo {
    justify-content: center !important;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4 {
    margin-bottom: 14px;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px 0;
  }

  .footer-bottom-links {
    gap: 16px;
  }

  /* â”€â”€ Page header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .page-header {
    padding: calc(70px + 36px) 0 36px;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .page-header p {
    font-size: 0.9rem;
  }

  /* â”€â”€ FAQ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .faq-question {
    padding: 16px 20px;
    font-size: 0.9rem;
  }

  .faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 0.85rem;
  }

  /* â”€â”€ App badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .app-badges {
    justify-content: center;
  }

  /* â”€â”€ Scroll animations â€” reduce distance â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .animate-on-scroll {
    transform: translateY(20px);
  }

  /* â”€â”€ Breadcrumb â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .breadcrumb {
    font-size: 0.78rem;
  }

  /* â”€â”€ Check list â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .check-list li {
    font-size: 0.88rem;
    margin-bottom: 12px;
  }

  /* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .btn-primary,
  .btn-secondary,
  .btn-gold,
  .btn-white {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
  }
}


/* ============================================================
   SMALL PHONE â€” max-width: 480px
   ============================================================ */
@media (max-width: 480px) {

  /* â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-label {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
    margin-bottom: 28px;
  }

  /* â”€â”€ Navbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .navbar {
    height: 64px;
  }

  .nav-logo img {
    height: 32px;
  }

  .nav-logo span {
    font-size: 1.5rem;
  }

  .mobile-menu {
    max-width: 100%;
    padding: 80px 24px 32px;
  }

  .mobile-menu .nav-link {
    padding: 12px 0;
    font-size: 0.95rem;
  }

  /* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .hero {
    padding-top: 0px !important; /* Completely remove empty space between logo and badge */
    padding-bottom: 30px;
  }

  /* Completely remove all decorative blobs, gradients, and shadows from hero in mobile */
  .hero::before,
  .hero::after,
  .hero-image-wrapper::before,
  .hero-image-wrapper::after,
  .hero-content::before,
  .hero-content::after,
  .hero-badge::before,
  .hero-badge::after {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }
  
  /* Remove any remaining text or box shadows in the hero section */
  .hero,
  .hero-content,
  .hero-title,
  .hero-text,
  .hero-badge {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .hero-badge,
  .about-hero__badge,
  [class*="-hero"] .badge,
  .hero .badge {
    margin-bottom: 12px !important;
    background: transparent !important;
  }

  .hero-content h1 {
    font-size: 1.55rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 16px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-around;
  }

  .hero-stat {
    flex: 1;
    min-width: 80px;
    text-align: center;
  }

  .hero-stat h3 {
    font-size: 1.2rem;
  }

  .hero-image img {
    max-width: 90%;
  }

  /* â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  h1 {
    font-size: 1.55rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  h4 {
    font-size: 1rem;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .card {
    padding: 20px;
    border-radius: var(--radius-sm);
  }

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .card-title {
    font-size: 1.05rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .feature-card {
    padding: 24px 20px;
    border-radius: var(--radius-sm);
  }

  .feature-card .card-icon {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }

  .pricing-card {
    padding: 28px 20px;
    border-radius: var(--radius-sm);
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .pricing-features li {
    padding: 8px 0;
    font-size: 0.85rem;
  }

  .program-card-image {
    height: 160px;
  }

  .program-card-body {
    padding: 18px;
  }

  .program-card-title {
    font-size: 1rem;
  }

  .program-card-text {
    font-size: 0.82rem;
  }

  .testimonial-card {
    padding: 22px;
    border-radius: var(--radius-sm);
  }

  .testimonial-text {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
  }

  .testimonial-info h4 {
    font-size: 0.85rem;
  }

  .testimonial-info p {
    font-size: 0.75rem;
  }

  /* â”€â”€ Stats â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .stats-section {
    padding: 48px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-item h3 {
    font-size: 1.4rem;
  }

  .stat-item p {
    font-size: 0.72rem;
  }

  /* â”€â”€ CTA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .cta-section {
    padding: 48px 0;
  }

  .cta-section h2 {
    font-size: 1.3rem;
  }

  .cta-section p {
    font-size: 0.88rem;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-white,
  .cta-buttons .btn-gold {
    max-width: 100%;
  }

  /* â”€â”€ Forms â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .form-group label {
    font-size: 0.82rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 11px 14px;
    font-size: 0.88rem;
    border-radius: var(--radius-xs);
  }

  /* â”€â”€ Auth â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .auth-container {
    padding: calc(64px + 16px) 12px 32px;
  }

  .auth-card {
    padding: 28px 20px;
    box-shadow: var(--shadow);
  }

  .auth-card .auth-logo img {
    height: 40px;
  }

  .auth-card .auth-logo h2 {
    font-size: 1.15rem;
  }

  .auth-card .auth-logo p {
    font-size: 0.82rem;
  }

  .auth-card .btn-primary {
    padding: 14px;
    font-size: 0.9rem;
  }

  .auth-footer {
    font-size: 0.82rem;
  }

  .otp-group {
    gap: 8px;
  }

  .otp-group input {
    width: 40px;
    height: 44px;
    font-size: 1rem;
  }

  /* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-brand .footer-logo img {
    height: 32px;
  }

  .footer-brand .footer-logo span {
    font-size: 1rem;
  }

  .footer-brand p {
    font-size: 0.82rem;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
  }

  .footer-column h4 {
    font-size: 0.85rem;
  }

  .footer-links a {
    font-size: 0.82rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }

  .footer-bottom-links a {
    font-size: 0.75rem;
  }

  /* â”€â”€ Page header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .page-header {
    padding: calc(64px + 28px) 0 28px;
  }

  .page-header h1 {
    font-size: 1.3rem;
  }

  .page-header p {
    font-size: 0.82rem;
  }

  /* â”€â”€ FAQ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .faq-question {
    padding: 14px 16px;
    font-size: 0.85rem;
  }

  .faq-question .faq-icon {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .faq-answer-inner {
    padding: 0 16px 14px;
    font-size: 0.82rem;
  }

  /* â”€â”€ Contact â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .contact-info-item .icon-box {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .contact-info-item h4 {
    font-size: 0.85rem;
  }

  .contact-info-item p {
    font-size: 0.82rem;
  }

  .contact-form-card {
    padding: 22px;
    border-radius: var(--radius-sm);
  }

  /* â”€â”€ Split section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .split-section {
    gap: 24px;
  }

  .split-content h2 {
    font-size: 1.3rem;
  }

  .split-content p {
    font-size: 0.88rem;
  }

  /* â”€â”€ App badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .app-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .app-badge {
    justify-content: center;
    padding: 10px 20px;
  }

  .app-badge .badge-text span {
    font-size: 0.85rem;
  }

  /* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .btn-primary,
  .btn-secondary,
  .btn-gold,
  .btn-white {
    padding: 11px 20px;
    font-size: 0.85rem;
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .btn-lg {
    padding: 13px 28px;
    font-size: 0.9rem;
  }

  /* â”€â”€ Pricing toggle â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .pricing-toggle span {
    font-size: 0.82rem;
  }

  /* â”€â”€ Scroll animation â€” reduce even more â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .animate-on-scroll {
    transform: translateY(15px);
  }

  /* â”€â”€ Check list â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .check-list li {
    font-size: 0.82rem;
    gap: 10px;
    margin-bottom: 10px;
  }

  .check-list li .icon {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }

  /* â”€â”€ Breadcrumb â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  /* ─ Breadcrumb ───────────────────────────────────── */
  .breadcrumb {
    font-size: 0.72rem;
    gap: 6px;
  }

  /* Full page single color fix for mobile */
  html, body, #root, .app, .main-wrapper, main {
    background-color: #FFFDF7 !important;
  }
  section:not(.footer), main, .hero, .stats, .features, .community-preview, .pricing, .testimonials, .final-cta {
    background: transparent !important;
  }
  .community-preview, .final-cta, .impact-section, .newsletter-section {
    color: var(--text-primary) !important;
  }
  .community-preview .section-title, .community-preview .section-subtitle, .final-cta .section-title, .final-cta p, .impact-section h2, .impact-section p {
    color: var(--text-primary) !important;
  }
  .community-stat .label {
    color: #000000 !important;
  }
  .community-stat .number {
    color: var(--gold) !important; /* from image */
  }
  .community-preview::before, .final-cta::before, .impact-section::before {
    display: none !important;
  }
  .final-cta .btn-outline-white {
    color: var(--green) !important;
    border-color: var(--green) !important;
  }
}


/* ============================================================
   LANDSCAPE PHONE â€” special fix for short viewports
   ============================================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .hero-image img {
    max-width: 70%;
  }

  .auth-container {
    min-height: auto;
    padding-top: 80px;
  }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .navbar,
  .menu-toggle,
  .mobile-menu,
  .mobile-overlay,
  .footer,
  .cta-section {
    display: none !important;
  }

  body {
    color: #000;
    /* background removed */
    font-size: 12pt;
  }

  .section {
    padding: 24pt 0;
    page-break-inside: avoid;
  }

  .hero {
    min-height: auto;
    padding: 24pt 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ============================================================
   GLOBAL MOBILE: One box per row on all pages
   ============================================================ */
@media (max-width: 768px) {
  /* All grid containers force single column */
  [class*="grid"],
  [class*="-grid"],
  .grid-2, .grid-3, .grid-4,
  .features-grid, .feature-cards,
  .stats-grid, .stat-grid,
  .footer-grid,
  .mv-grid, .values-grid, .story-grid, .why-join-grid,
  .contact-grid, .info-grid,
  .pricing-grid, .plans-grid,
  .membership-features,
  .hobby-grid, .hobby-cards,
  .programs-grid, .program-cards,
  .community-grid,
  .team-grid, .testimonials-grid,
  .benefits-grid, .feature-benefits,
  .categories-grid, .category-cards {
    grid-template-columns: 1fr !important;
    -ms-grid-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  [class*="grid"],
  [class*="-grid"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Feature Blocks: single column on mobile ─────────────────────────────── */
@media (max-width: 768px) {
  .feature-block {
    display: flex !important;
    flex-direction: column !important;
    direction: ltr !important;
  }
  .feature-block.reverse {
    direction: ltr !important;
  }
  .feature-block .feature-content {
    order: 1 !important;
  }
  .feature-block .feature-visual {
    order: 2 !important;
  }
  .feature-block .feature-visual,
  .feature-block .feature-content {
    width: 100% !important;
    float: none !important;
  }
}

/* ============================================================
   MOBILE: Fix white text that's invisible on cream background
   ============================================================ */
@media (max-width: 768px) {
  /* Any heading/paragraph with white color on non-dark sections */
  h1, h2, h3, h4, h5, h6,
  .section-header h1,
  .section-header h2,
  .section-header h3,
  .section-header p,
  .section-subtitle,
  .section-description,
  .hero-title,
  .hero-subtitle,
  .hero p,
  .features-hero h1,
  .features-hero p,
  .page-hero h1,
  .page-hero p,
  .page-header h1,
  .page-header p {
    color: var(--text) !important;
  }

  /* But preserve white text INSIDE dark sections (footer, CTA, etc.) */
  .footer h1,
  .footer h2,
  .footer h3,
  .footer h4,
  .footer p,
  .cta-section h1,
  .cta-section h2,
  .cta-section p,
  .about-cta h1,
  .about-cta h2,
  .about-cta p,
  .membership-hero h1,
  .membership-hero p,
  .dark-section h1,
  .dark-section h2,
  .dark-section p,
  [style*="background: var(--dark)"] h1,
  [style*="background: var(--dark)"] h2,
  [style*="background: var(--dark)"] p,
  [style*="background: #0a0a0a"] h1,
  [style*="background: #0a0a0a"] h2,
  [style*="background: #0a0a0a"] p {
    color: inherit !important;
  }
}

/* ============================================================
   SMART MOBILE TEXT COLOR FIX
   ============================================================ */
@media (max-width: 768px) {
  /* Fix navbar text (often white) to be dark if the navbar is cream */
  .navbar .nav-brand span,
  .navbar .nav-links a {
    color: #1a1a2e !important;
  }

  /* Only target headings in known cream sections (like index.html/features.html sections) */
  /* Do NOT target .page-hero which has a dark green background in community/programs */
  .hero-title,
  .section-header h2,
  .section-header h3,
  .section-title {
    color: #1a1a2e !important;
  }

  /* Faint text fixes on cream */
  .hero-subtitle,
  .section-subtitle,
  .section-description {
    color: #4b5563 !important; 
  }

  /* Footer "Explore/Support/Legal" headers (blue -> white) */
  .footer h4[style*="6C5CE7"],
  .footer-column h4,
  h4[style*="6C5CE7"] {
    color: #F5E6CC !important;
  }
}

/* ============================================================
   MOBILE BUTTON TEXT FIX (White to Black on Cream Backgrounds)
   ============================================================ */
@media (max-width: 768px) {
  /* Secondary/Outline buttons that are white on desktop, make them dark on mobile cream bg */
  .btn-secondary,
  .btn-outline,
  .btn-outline-light {
    color: #1a1a2e !important;
    border-color: var(--gold) !important;
  }
  
  /* Unless they are inside a truly dark section like footer */
  .footer .btn-secondary,
  .footer .btn-outline,
  [class*="dark"] .btn-secondary,
  [class*="dark"] .btn-outline {
    color: #F5E6CC !important;
  }
}

/* Additional Mobile Subtitle Fixes */
@media (max-width: 768px) {
  .about-hero__subtitle,
  .about-hero p,
  .story-section p,
  .programs-section p,
  .cta-section h2,
  .cta-section p,
  .cta-section .section-title,
  .cta-section .section-label,
  .cta-section .btn-secondary,
  .cta-section .btn-outline,
  .final-cta h2,
  .final-cta p,
  .final-cta .section-title,
  .final-cta .section-label,
  .final-cta .btn-outline-white,
  .about-cta h2,
  .about-cta p,
  .about-cta .about-cta__title,
  .about-cta .about-cta__subtitle,
  [class*="dark"] h1,
  [class*="dark"] h2,
  [class*="dark"] p {
    color: #1a1a2e !important; 
  }
}

/* Force exact biscuit color on mobile without relying on variables */
@media (max-width: 1024px) {
  body, main, section:not(.footer), header, .hero, .section:not(.footer) {
    background-color: #F5E6CC !important;
  }
}
