/* ============================================
   SWAASTH.COM — MAIN STYLESHEET
   India's #1 Holistic Health Platform
   ============================================ */

:root {
  --green: #1A6B3A;
  --green-dark: #0f4424;
  --green-light: #E8F5E9;
  --teal: #0E7C7B;
  --teal-light: #E0F4F4;
  --gold: #C8952A;
  --gold-light: #FFF8E7;
  --red: #D64933;
  --purple: #534AB7;
  --purple-light: #EEEDFE;
  --white: #ffffff;
  --gray-50: #F8FAFB;
  --gray-100: #F1F5F0;
  --gray-200: #E2EBE0;
  --gray-400: #9AAE96;
  --gray-600: #5A7055;
  --gray-800: #1C2B1A;
  --text: #1C2B1A;
  --text-muted: #5A7055;
  --border: #D6E8D0;
  --shadow: 0 1px 3px rgba(26,107,58,0.08);
  --shadow-md: 0 4px 16px rgba(26,107,58,0.12);
  --radius: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 15px; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5 { font-family: var(--font-heading); font-weight: 600; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin-bottom: 1rem; color: var(--text-muted); }

/* ---- UTILITIES ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--gray-50); }
.section-title { text-align: center; margin-bottom: 12px; color: var(--text); }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.05rem; margin-bottom: 44px; max-width: 600px; margin-left: auto; margin-right: auto; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: .5px; }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-gold { background: var(--gold-light); color: var(--gold); }
.badge-teal { background: var(--teal-light); color: var(--teal); }
.badge-purple { background: var(--purple-light); color: var(--purple); }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; text-decoration: none; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-secondary:hover { background: var(--green); color: var(--white); text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #a97820; color: var(--white); text-decoration: none; }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: var(--green-light); text-decoration: none; }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: var(--white); text-decoration: none; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ---- NAVBAR ---- */
.navbar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--green); text-decoration: none; }
.nav-logo:hover { text-decoration: none; color: var(--green); }
.logo-icon { width: 36px; height: 36px; background: var(--green); border-radius: 50% 50% 50% 20%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-leaf { width: 18px; height: 18px; fill: white; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 7px 13px; border-radius: var(--radius-full); font-size: 14px; color: var(--text-muted); font-weight: 500; transition: all .15s; text-decoration: none; }
.nav-link:hover { background: var(--green-light); color: var(--green); text-decoration: none; }
.nav-link.active { color: var(--green); background: var(--green-light); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle { font-size: 13px; padding: 5px 10px; border: 1px solid var(--border); border-radius: var(--radius-full); background: transparent; cursor: pointer; color: var(--text-muted); }
.nav-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; }

/* ---- HERO ---- */
.hero { background: var(--green); padding: 70px 0 60px; color: var(--white); overflow: hidden; position: relative; }
.hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 400px; height: 400px; background: rgba(255,255,255,.04); border-radius: 50%; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-full); padding: 5px 14px; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 20px; }
.hero h1 { color: var(--white); margin-bottom: 8px; }
.hero-tagline { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stat-val { font-size: 1.5rem; font-weight: 700; color: var(--white); }
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.7); }
.hero-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; }
.hero-card-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.hero-form .field { margin-bottom: 12px; }
.hero-form label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .3px; }
.hero-form input, .hero-form select { width: 100%; padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text); background: var(--white); transition: border-color .15s; outline: none; }
.hero-form input:focus, .hero-form select:focus { border-color: var(--green); }
.hero-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.wapp-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* ---- CATEGORIES ---- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px 16px; text-align: center; cursor: pointer; transition: all .2s; text-decoration: none; display: block; }
.cat-card:hover { border-color: var(--green); background: var(--green-light); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.cat-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text); }
.cat-count { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* ---- CARDS ---- */
.card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .2s; }
.card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-img { width: 100%; height: 160px; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.card-body { padding: 18px; }
.card-tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-full); display: inline-block; margin-bottom: 9px; text-transform: uppercase; letter-spacing: .3px; }
.card-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 8px; }
.card-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 12px; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--green); }

/* ---- LEAD SECTION ---- */
.lead-section { background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%); padding: 56px 0; color: var(--white); }
.lead-inner { display: grid; grid-template-columns: 1fr 480px; gap: 48px; align-items: center; }
.lead-content h2 { color: var(--white); margin-bottom: 12px; }
.lead-content p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 24px; }
.lead-perks { display: flex; flex-direction: column; gap: 10px; }
.lead-perk { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.9); }
.perk-icon { width: 24px; height: 24px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.lead-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; }
.lead-form-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .3px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text); background: var(--white); outline: none; transition: border-color .15s; font-family: var(--font); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); }
.form-full { grid-column: 1 / -1; }
.wapp-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.wapp-row input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--green); }

/* ---- TOOLS STRIP ---- */
.tools-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tool-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px 14px; text-align: center; cursor: pointer; transition: all .2s; text-decoration: none; display: block; }
.tool-card:hover { border-color: var(--teal); background: var(--teal-light); transform: translateY(-2px); text-decoration: none; }
.tool-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.tool-name { font-size: 13px; font-weight: 600; color: var(--text); }
.tool-desc { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ---- DOCTORS ---- */
.doctor-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: all .2s; }
.doctor-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.doctor-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.doctor-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.doctor-spec { font-size: 12px; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.doctor-info { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.doctor-stars { color: var(--gold); font-size: 13px; margin-bottom: 6px; }
.doctor-fee { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.doctor-btns { display: flex; gap: 8px; }
.doctor-btns .btn { flex: 1; justify-content: center; font-size: 12px; padding: 8px 10px; }

/* ---- STATS BAND ---- */
.stats-band { background: var(--green); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.15); }
.stat-item:last-child { border-right: none; }
.stat-val { font-size: 2.2rem; font-weight: 800; color: var(--white); font-family: var(--font-heading); }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ---- NEWSLETTER ---- */
.newsletter { background: var(--gray-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.nl-form { display: flex; gap: 10px; margin-top: 24px; }
.nl-form input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-full); font-size: 14px; outline: none; }
.nl-form input:focus { border-color: var(--green); }
.nl-form .btn { white-space: nowrap; }
.nl-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* ---- DONATE STRIP ---- */
.donate-strip { background: var(--gold-light); border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); padding: 28px 0; }
.donate-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.donate-text h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.donate-text p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---- TESTIMONIALS ---- */
.testi-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 12px; }
.testi-text { font-size: 14px; color: var(--text-muted); font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--green); flex-shrink: 0; }
.testi-name { font-size: 13px; font-weight: 700; color: var(--text); }
.testi-loc { font-size: 11px; color: var(--text-muted); }

/* ---- CONTEST CARDS ---- */
.contest-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: all .2s; }
.contest-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.contest-prize { font-size: 1.5rem; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.contest-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.contest-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.contest-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.timer { color: var(--red); font-weight: 600; }

/* ---- FOOTER ---- */
.footer { background: var(--green-dark); color: rgba(255,255,255,.8); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { color: var(--white); font-size: 1.4rem; font-weight: 700; font-family: var(--font-heading); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--white); text-decoration: none; transition: background .15s; }
.social-link:hover { background: rgba(255,255,255,.25); text-decoration: none; color: var(--white); }
.footer-heading { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.7); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.disclaimer { background: rgba(0,0,0,.2); padding: 14px 20px; font-size: 12px; color: rgba(255,255,255,.5); text-align: center; line-height: 1.6; }

/* ---- SUCCESS / THANK YOU ---- */
.success-msg { background: var(--green-light); border: 1.5px solid var(--green); border-radius: var(--radius); padding: 16px; text-align: center; display: none; }
.success-msg.show { display: block; }
.success-msg p { color: var(--green); font-weight: 600; margin: 0; }

/* ---- CRISIS BAR ---- */
.crisis-bar { background: var(--red); color: var(--white); text-align: center; padding: 10px 20px; font-size: 13px; font-weight: 600; }
.crisis-bar a { color: var(--white); text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .lead-inner { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }
}
@media (max-width: 600px) {
  .section { padding: 40px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .donate-inner { flex-direction: column; text-align: center; }
  .nl-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .doctor-btns { flex-direction: column; }
}
