/* --- Global Variables --- */
:root {
    --ayur-green: #2D4F1E;
    --ayur-sage: #5A7D4D;
    --ayur-earth: #8B5E3C;
    --ayur-cream: #FDFCF8;
    --ayur-sand: #F5F2ED;
    --white: #FFFFFF;
    --text-dark: #1A2E12;
    --text-light: #5A7D4D;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(45, 79, 30, 0.08);
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--ayur-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.hero {
    content-visibility: visible;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

ul {
    list-style: none;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--ayur-green);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(45, 79, 30, 0.15);
}

.btn-primary:hover {
    background-color: var(--ayur-sage);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--ayur-green);
    color: var(--ayur-green);
}

.btn-outline:hover {
    background-color: var(--ayur-green);
    color: var(--white);
}

.btn-cta {
    background: linear-gradient(135deg, #8B5E3C 0%, #B3541E 100%);
    color: var(--white);
    box-shadow: 0 8px 15px rgba(179, 84, 30, 0.2);
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #B3541E 0%, #8B5E3C 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(179, 84, 30, 0.3);
    color: var(--white);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-flex;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ayur-green);
    font-family: 'Cormorant Garamond', serif;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--ayur-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

#nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

#nav-menu ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: 0.8;
}

#nav-menu ul li a:hover {
    color: var(--ayur-green);
    opacity: 1;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--ayur-green);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: var(--ayur-sand);
    border-radius: 0 0 0 100px;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(90, 125, 77, 0.1);
    color: var(--ayur-sage);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--ayur-green);
}

.hero-content h1 span {
    color: var(--ayur-earth);
    font-style: italic;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.user-avatars {
    display: flex;
    margin-left: 10px;
}

.user-avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -15px;
    object-fit: cover;
}

.rating .stars {
    color: #FBBF24;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.rating p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0;
}

.hero-image .image-wrapper {
    position: relative;
}

.hero-image img {
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.badge-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(139, 94, 60, 0.1);
    color: var(--ayur-earth);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-badge h3 {
    font-size: 1.5rem;
    margin-bottom: -5px;
}

.floating-badge p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-light);
}

/* --- About Section --- */
.about {
    padding: 8rem 0;
    background-color: var(--white);
}

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

.img-stack {
    position: relative;
    height: 400px;
}

.img-stack img {
    border-radius: 30px;
    position: absolute;
    width: 70%;
    height: 80%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.img-1 {
    top: 0;
    left: 0;
    z-index: 1;
}

.img-2 {
    bottom: 0;
    right: 0;
    z-index: 2;
    transform: translateY(30px);
}

.about-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-content h2 span {
    font-style: italic;
    color: var(--ayur-sage);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--ayur-green);
}

.check-list i {
    color: var(--ayur-sage);
    font-size: 1.2rem;
}

/* --- Treatments Section --- */
.treatments {
    padding: 8rem 0;
    background-color: var(--ayur-sand);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.treatment-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 32px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 79, 30, 0.05);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.icon-red { background-color: #FEF2F2; color: #EF4444; }
.icon-blue { background-color: #EFF6FF; color: #3B82F6; }
.icon-orange { background-color: #FFF7ED; color: #F97316; }
.icon-green { background-color: #F0FDF4; color: #22C55E; }
.icon-purple { background-color: #FAF5FF; color: #A855F7; }
.icon-teal { background-color: #F0FDFA; color: #0D9488; }

.treatment-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.treatment-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.card-link {
    font-weight: 700;
    color: var(--ayur-sage);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    gap: 0.8rem;
}

/* --- Why Choose Us --- */
.why-us {
    padding: 8rem 0;
    background-color: var(--ayur-green);
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.why-content h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

.why-content h2 span {
    color: var(--ayur-sage);
    font-style: italic;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.feature-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.why-stats-card {
    background-color: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.why-stats-card img {
    border-radius: 25px;
    margin-bottom: 2rem;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: -5px;
}

.stat p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    font-weight: 700;
}

/* --- Contact Section --- */
.contact {
    padding: 8rem 0;
    background-color: var(--white);
}

.contact-box {
    background-color: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-wrapper {
    padding: 5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ayur-green);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--ayur-sand);
    background-color: var(--ayur-sand);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--ayur-sage);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(90, 125, 77, 0.1);
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-message i {
    font-size: 4rem;
    color: #22C55E;
    margin-bottom: 1.5rem;
}

.success-message h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* --- Testimonials --- */
.testimonials {
    padding: 8rem 0;
    background-color: var(--ayur-sand);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card .stars {
    color: #FBBF24;
    margin-bottom: 1.5rem;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.testimonial-card .user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .user h4 {
    font-size: 1.1rem;
    margin-bottom: -5px;
}

.testimonial-card .user p {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
}

/* --- Footer --- */
footer {
    background-color: var(--ayur-green);
    color: var(--white);
    padding: 6rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-brand .logo-icon {
    background-color: var(--white);
    color: var(--ayur-green);
}

.footer-brand p {
    opacity: 0.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--ayur-green);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    opacity: 0.6;
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.contact-list i {
    color: var(--ayur-sage);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.4;
}

.legal {
    display: flex;
    gap: 2rem;
}

.legal a {
    font-size: 0.85rem;
    opacity: 0.4;
}

.legal a:hover {
    opacity: 1;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--ayur-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(45, 79, 30, 0.2);
    z-index: 1000;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--ayur-sage);
    transform: translateY(-5px);
}

/* --- WhatsApp Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.tooltip {
    position: absolute;
    right: 100%;
    margin-right: 1rem;
    background-color: var(--white);
    color: var(--ayur-green);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-btn:hover .tooltip {
    opacity: 1;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 1s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .why-grid, .contact-box {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: var(--section-padding) !important;
    }

    .hero {
        padding: 8rem 0 4rem !important;
        text-align: center;
    }

    .hero::before {
        width: 100%;
        height: 50%;
        border-radius: 0 0 50px 50px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-content h2, .section-header h2, .why-content h2, .contact-info h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    #nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid var(--ayur-sand);
    }
    
    #nav-menu.active {
        display: block;
    }
    
    #nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    #nav-menu ul li a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    
    .mobile-toggle {
        display: block;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-actions .btn-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    #nav-menu ul li.mobile-only {
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--ayur-sand);
    }

    #nav-menu ul li.mobile-only .btn-cta {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        display: flex;
        justify-content: center;
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(179, 84, 30, 0.2);
    }

    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
    }
    
    .contact-box {
        border-radius: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 3rem 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .img-stack {
        height: 350px;
        margin-bottom: 2rem;
    }

    .about-images {
        order: 2;
    }

    .about-content {
        order: 1;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-stats-card {
        padding: 1.5rem;
        border-radius: 30px;
    }

    .why-stats-card img {
        height: 200px;
        border-radius: 20px;
    }

    .stats-row {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 0;
    }

    .stat h3 {
        font-size: 2.2rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
    }

    .btn {
        min-height: 48px;
    }

    input, select, button {
        font-size: 16px !important; /* Prevent iOS zoom on focus */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .about-content h2, .section-header h2, .why-content h2, .contact-info h2 {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .floating-badge {
        padding: 1rem;
        bottom: -10px;
        left: -10px;
    }

    .treatment-card {
        padding: 2rem 1.5rem;
    }
}
