/* =========================================================
   Dhat Rog Ayurvedic Landing Page — Main Stylesheet
   Theme: Premium Healthcare / Ayurveda
   ========================================================= */

:root {
    --color-primary: #0F766E;
    --color-primary-dark: #0B5952;
    --color-secondary: #14B8A6;
    --color-accent: #F59E0B;
    --color-bg: #F8FAFC;
    --color-card: #FFFFFF;
    --color-text: #1E293B;
    --color-text-muted: #64748B;
    --font-main: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-soft: 0 10px 30px rgba(15, 118, 110, 0.10);
    --shadow-strong: 0 20px 50px rgba(15, 118, 110, 0.18);
    --transition-base: all 0.3s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    color: var(--color-text);
}

a { text-decoration: none; color: inherit; transition: var(--transition-base); }

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

.section-padding { padding: 90px 0; }
@media (max-width: 767px) { .section-padding { padding: 60px 0; } }

.bg-soft { background-color: #F1F9F8; }

.section-eyebrow {
    display: inline-block;
    background: rgba(15, 118, 110, 0.08);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-heading {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--color-text);
}

.section-text {
    color: var(--color-text-muted);
    font-size: 1.02rem;
    margin-bottom: 20px;
}

/* ===== Buttons ===== */
.btn-primary-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff !important;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
}
.btn-primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    color: #fff !important;
}

.btn-outline-cta {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary) !important;
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-base);
}
.btn-outline-cta:hover {
    background: var(--color-primary);
    color: #fff !important;
    transform: translateY(-3px);
}

.btn-light-cta {
    background: #fff;
    color: var(--color-primary) !important;
    border: none;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.btn-light-cta:hover { transform: translateY(-3px); color: var(--color-primary-dark) !important; }

.btn-outline-light-cta {
    background: transparent;
    border: 2px solid #fff;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}
.btn-outline-light-cta:hover { background: #fff; color: var(--color-primary) !important; }

/* ===== Page Loader ===== */
#page-loader {
    position: fixed; inset: 0;
    background: var(--color-bg);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-spinner {
    width: 54px; height: 54px;
    border: 5px solid rgba(15,118,110,0.15);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Sticky Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--transition-base);
    padding: 6px 0;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.navbar-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1.15rem; color: var(--color-primary);
}
.navbar-brand i { font-size: 1.8rem; color: var(--color-secondary); }
.navbar-brand small { display: block; font-size: 0.65rem; font-weight: 500; color: var(--color-text-muted); }
.nav-link { font-weight: 500; color: var(--color-text) !important; margin: 0 6px; position: relative; }
.nav-link:hover { color: var(--color-primary) !important; }

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    padding: 70px 0 40px;
    background: linear-gradient(180deg, #ECFBF9 0%, var(--color-bg) 100%);
    overflow: hidden;
}
.hero-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(var(--color-secondary) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.08;
    pointer-events: none;
}
.eyebrow-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(245, 158, 11, 0.12);
    color: #B45309;
    font-weight: 600; font-size: 0.85rem;
    padding: 7px 16px; border-radius: 50px;
    margin-bottom: 18px;
}
.hero-heading {
    font-size: 2.6rem; font-weight: 800; line-height: 1.3;
    margin-bottom: 20px; color: var(--color-text);
}
.hero-heading span { color: var(--color-primary); }
.hero-para { color: var(--color-text-muted); font-size: 1.05rem; margin-bottom: 28px; max-width: 560px; }
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust-mini { display: flex; gap: 24px; flex-wrap: wrap; }
.mini-item { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--color-primary-dark); }
.mini-item i { color: var(--color-accent); }

.hero-image-wrap { position: relative; text-align: center; margin-top: 40px; }
.hero-image-shape {
    display: inline-block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 6px solid #fff;
}
.hero-image { display: block; object-fit: cover; width: 100%; max-width: 480px; height: auto; }
.hero-badge-floating {
    position: absolute; bottom: 20px; left: 10px;
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-strong);
    padding: 12px 18px; display: flex; align-items: center; gap: 10px;
}
.hero-badge-floating i { font-size: 1.6rem; color: var(--color-primary); }
.hero-badge-floating strong { display: block; font-size: 0.85rem; }
.hero-badge-floating small { color: var(--color-text-muted); font-size: 0.72rem; }

.wave-divider { line-height: 0; }
.wave-divider svg { width: 100%; height: 60px; display: block; }
.wave-divider path { fill: var(--color-bg); }

@media (max-width: 991px) {
    .hero-heading { font-size: 2rem; }
    .hero-badge-floating { position: static; margin-top: 16px; justify-content: center; }
}

/* ===== Trust Section ===== */
.trust-section { padding: 50px 0; margin-top: -20px; }
.trust-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 30px 22px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: var(--transition-base);
}
.trust-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.trust-icon {
    width: 66px; height: 66px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%; color: #fff; font-size: 1.6rem;
}
.trust-card h3 { font-size: 1rem; margin-bottom: 8px; }
.trust-card p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* ===== About / Ayurveda Section ===== */
.rounded-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); }
.about-image-wrap { position: relative; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { margin-bottom: 12px; font-weight: 500; display: flex; align-items: flex-start; gap: 10px; }
.check-list i { color: var(--color-secondary); margin-top: 3px; }

/* ===== Icon Cards (Causes) ===== */
.icon-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    display: flex; align-items: center; gap: 18px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
    height: 100%;
}
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.icon-card-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(245,158,11,0.12); color: var(--color-accent);
    border-radius: 14px; font-size: 1.4rem;
}
.icon-card h3 { font-size: 1rem; margin: 0; }

/* ===== Symptom Cards ===== */
.symptom-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 30px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: var(--transition-base);
    border-top: 4px solid var(--color-secondary);
}
.symptom-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.symptom-icon { font-size: 2rem; color: var(--color-primary); margin-bottom: 12px; }
.symptom-card h3 { font-size: 0.95rem; margin: 0; }

/* ===== Herbs Section ===== */
.herb-capsule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}
.herb-capsule {
    background: var(--color-card);
    border: 1px solid rgba(15,118,110,0.15);
    border-radius: 50px;
    padding: 14px 20px;
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 0.92rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
}
.herb-capsule:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff; transform: translateY(-4px);
}
.herb-capsule i { color: var(--color-accent); font-size: 1.1rem; }
.herb-capsule:hover i { color: #fff; }

/* ===== Why Us ===== */
.why-us-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: var(--transition-base);
}
.why-us-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.why-us-icon {
    width: 70px; height: 70px; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(15,118,110,0.08); color: var(--color-primary);
    border-radius: 50%; font-size: 1.8rem;
}
.why-us-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-us-card p { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; }

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    max-width: 640px;
}
.testimonial-stars { color: var(--color-accent); margin-bottom: 16px; font-size: 1.1rem; }
.testimonial-card p { font-size: 1.05rem; font-style: italic; color: var(--color-text); margin-bottom: 24px; }
.testimonial-user { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial-user img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--color-secondary); }
.testimonial-user strong { display: block; font-size: 0.95rem; }
.testimonial-user small { color: var(--color-text-muted); }
.carousel-control-prev, .carousel-control-next { width: 5%; }
.carousel-nav-icon {
    width: 44px; height: 44px; background: var(--color-primary); color: #fff;
    border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}

/* ===== Doctor CTA Banner ===== */
.doctor-cta-banner {
    background: linear-gradient(120deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.doctor-cta-banner h2 { color: #fff; font-size: 1.8rem; margin-bottom: 10px; }
.doctor-cta-banner p { color: rgba(255,255,255,0.88); margin: 0; }
.doctor-cta-img { border-radius: var(--radius-md); }

/* ===== FAQ ===== */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 14px;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-card);
    padding: 18px 22px;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body { color: var(--color-text-muted); padding: 18px 22px; }

/* ===== Lead Form (Glassmorphism) ===== */
.lead-form-section {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary) 60%, var(--color-secondary));
    position: relative;
}
.glass-form-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-strong);
}
.lead-form-section .section-eyebrow { background: rgba(255,255,255,0.18); color: #fff; }
.text-light-muted { color: rgba(255,255,255,0.85); }
.glass-input {
    background: rgba(255,255,255,0.9) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px 16px !important;
}
.glass-input:focus { box-shadow: 0 0 0 3px rgba(245,158,11,0.4) !important; }
.form-label { color: #fff; font-weight: 500; font-size: 0.92rem; margin-bottom: 6px; }
.req { color: var(--color-accent); }
.glass-checkbox { color: #fff; font-size: 0.9rem; }
.glass-checkbox a { color: var(--color-accent); text-decoration: underline; }
.invalid-feedback-custom { color: #FFD9B0; font-size: 0.8rem; margin-top: 4px; min-height: 18px; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; }

.btn-form-submit {
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 14px 44px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.02rem;
    box-shadow: 0 10px 30px rgba(245,158,11,0.4);
    transition: var(--transition-base);
}
.btn-form-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(245,158,11,0.5); }
.btn-form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-server-message { font-weight: 600; font-size: 0.92rem; }
.form-server-message.success { color: #A7F3D0; }
.form-server-message.error { color: #FCA5A5; }

/* ===== Contact Section ===== */
.contact-info-card {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 34px 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    height: 100%;
}
.contact-info-card i { font-size: 1.8rem; color: var(--color-primary); margin-bottom: 14px; }
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-info-card p { color: var(--color-text-muted); margin: 0; }
.map-placeholder { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }

/* ===== Footer ===== */
.site-footer {
    background: #0B2E2B;
    color: rgba(255,255,255,0.75);
    padding: 70px 0 24px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: #fff; }
.footer-brand i { color: var(--color-secondary); font-size: 1.6rem; }
.footer-about { font-size: 0.88rem; line-height: 1.7; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-links a { color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--color-secondary); }
.footer-links i { margin-right: 6px; color: var(--color-secondary); }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: var(--transition-base);
}
.social-icons a:hover { background: var(--color-secondary); transform: translateY(-3px); }
.footer-divider { border-color: rgba(255,255,255,0.12); margin: 40px 0 24px; }
.disclaimer-box {
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
}
.disclaimer-box i { color: var(--color-accent); margin-right: 8px; }
.footer-bottom { text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ===== Floating Buttons ===== */
.floating-buttons {
    position: fixed;
    right: 20px; bottom: 90px;
    display: flex; flex-direction: column; gap: 12px;
    z-index: 900;
}
.fab-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem;
    box-shadow: var(--shadow-strong);
    transition: var(--transition-base);
}
.fab-btn:hover { transform: scale(1.1); color: #fff; }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--color-primary); }
.fab-appointment { background: var(--color-accent); }

@media (min-width: 768px) {
    .floating-buttons { bottom: 30px; }
}

/* ===== Mobile Sticky CTA ===== */
.mobile-sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0;
    display: flex; z-index: 950;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
}
.mobile-cta-btn {
    flex: 1; text-align: center;
    padding: 14px 8px;
    font-weight: 600; font-size: 0.88rem;
    color: #fff;
}
.mobile-cta-btn.call { background: var(--color-primary); }
.mobile-cta-btn.book { background: var(--color-accent); }
@media (min-width: 768px) {
    .mobile-sticky-cta { display: none; }
}

/* ===== Back To Top ===== */
#backToTop {
    position: fixed; left: 20px; bottom: 90px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff; border: none;
    display: none; align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-strong);
    z-index: 900;
    transition: var(--transition-base);
}
#backToTop:hover { background: var(--color-primary-dark); }
@media (min-width: 768px) { #backToTop { bottom: 30px; } }

/* ===== Success Modal ===== */
.success-modal-content { border-radius: var(--radius-lg); border: none; }
.success-icon { font-size: 3.5rem; color: var(--color-secondary); }

/* ===== Utility ===== */
::selection { background: var(--color-secondary); color: #fff; }
