@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    /* Updated Palette with darker overlays for hero readability */
    --primary-color: #2D3D16;
    /* Deep Herbal Green */
    --secondary-color: #6B4423;
    /* Earthy Brown */
    --accent-color: #C4920F;
    /* Muted Gold/Yellow */
    --highlight-color: #4A7C2C;
    /* Vibrant Herbal Green for buttons */
    --bg-light: #F8F9F5;
    /* Cream/Off-White */
    --bg-white: #ffffff;
    --text-dark: #2D3D16;
    /* Deep green for text */
    --text-muted: #5e5e5e;
    --shadow-soft: 0 4px 20px rgba(45, 61, 22, 0.08);
    /* Green-tinted shadow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    /* Universal Font Change */
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Jost', sans-serif;
    /* Universal Jost */
    font-weight: 700;
    color: var(--primary-color);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 6px;
    /* Slightly less rounded for professional look */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--highlight-color);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 124, 44, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    /* Darkens on hover */
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--highlight-color);
    color: var(--highlight-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.section-header p {
    color: var(--text-muted);
    font-style: italic;
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
}

/* Header Logo Restore with Text */
.logo {
    display: flex;
    align-items: center;
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 55px;
    margin-right: 12px;
    vertical-align: middle;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    /* Slight 3D depth to logo */
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.1);
}

.logo div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo small {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* Header */
header {
    background-color: rgba(253, 251, 247, 0.95);
    /* Matches bg-light */
    position: sticky;
    /* Sticky is often better than fixed for access */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--accent-color);
    /* Turmeric accent */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Hero Section Updates */
.hero {
    /* Reduced height slightly to show content faster */
    height: 90vh;
    /* Darker overlay 'very low lighting' effect */
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45)), url('images/hero_pharma.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s forwards;
    opacity: 0;
}

/* Ensure text pops */
.hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    /* White text for contrast against dark herbal bg */
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    /* Strong shadow */
    font-weight: 700;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 400;
    /* Regular weight for Jost */
    color: #f0f0f0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    padding: 20px;
}

.about-img-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.about-text h3 {
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Benefits Section */
.benefits {
    background-color: #f4f9f4;
    /* Very light green */
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Products Section - With Leaf Animation */
.products {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    /* Important for containing falling leaves */
}

/* Enhanced Leaf Animation ("Scroll Effect") */
.leaf-bg {
    position: absolute;
    top: -50px;
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.6;
    /* Increased visibility */
    z-index: 1;
    pointer-events: none;
    /* Use 'both' to keep state, animation defined below */
    animation: leafFall linear infinite;
    text-shadow: 2px 5px 5px rgba(0, 0, 0, 0.1);
    /* 3D leaf shadow */
}

@keyframes leafFall {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        /* Fade in quickly */
    }

    100% {
        transform: translateY(100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* More leaves with varied timing/colors */
.leaf-1 {
    left: 5%;
    animation-duration: 15s;
    animation-delay: 0s;
    color: #2d5a27;
    font-size: 20px;
}

.leaf-2 {
    left: 15%;
    animation-duration: 22s;
    animation-delay: 4s;
    color: #5d4037;
    font-size: 28px;
}

.leaf-3 {
    left: 25%;
    animation-duration: 18s;
    animation-delay: 2s;
    color: #4f772d;
    font-size: 24px;
}

.leaf-4 {
    left: 40%;
    animation-duration: 20s;
    animation-delay: 8s;
    color: #8B4513;
    font-size: 32px;
}

.leaf-5 {
    left: 55%;
    animation-duration: 25s;
    animation-delay: 1s;
    color: #2d5a27;
    font-size: 22px;
}

.leaf-6 {
    left: 70%;
    animation-duration: 19s;
    animation-delay: 6s;
    color: #5d4037;
    font-size: 30px;
}

.leaf-7 {
    left: 85%;
    animation-duration: 24s;
    animation-delay: 3s;
    color: #4f772d;
    font-size: 26px;
}

.leaf-8 {
    left: 95%;
    animation-duration: 17s;
    animation-delay: 9s;
    color: #8B4513;
    font-size: 18px;
}

.leaf-9 {
    left: 10%;
    animation-duration: 28s;
    animation-delay: 12s;
    color: #2d5a27;
    font-size: 25px;
}

.leaf-10 {
    left: 60%;
    animation-duration: 21s;
    animation-delay: 5s;
    color: #4f772d;
    font-size: 29px;
}


.product-category {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    /* Keep content above leaves */
}

.category-title {
    text-align: center;
    margin-bottom: 30px;
}

.category-title h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    /* Soft rounded */
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 90, 39, 0.15);
}

.product-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.product-info p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.product-benefits {
    list-style: none;
    text-align: left;
    margin: 10px 0 20px 0;
    padding: 0;
    font-size: 0.85rem;
}

.product-benefits li {
    margin-bottom: 6px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-benefits li i {
    color: var(--highlight-color);
    font-size: 0.7rem;
}

.weight-selector {
    margin-bottom: 20px;
}

.weight-selector label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.weight-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s;
}

.weight-select:focus {
    border-color: var(--highlight-color);
    outline: none;
    background: white;
}

.product-btn {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.btn-whatsapp-enquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    width: 100%;
    cursor: pointer;
}

.btn-whatsapp-enquiry:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Gallery - keeping similar but refining */
.gallery {
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 90, 39, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Contact */
.contact {
    background-color: var(--bg-light);
}

.contact-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    color: white;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-form {
    padding: 50px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background-color: #fcfcfc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
}

/* 3D Glassmorphism Footer Design */
footer {
    background: linear-gradient(135deg, #1a4d2e 0%, #0d2818 100%);
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 50px, 100% 0, 100% 100%, 0% 100%);
    /* Angled top for 3D feel */
    margin-top: -50px;
    /* Overlap with previous section */
}

/* Footer Background Pattern */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1h2v2H1V1zm4 0h2v2H5V1zm4 0h2v2H9V1z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    /* Glass effect */
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    /* Deep 3D Shadow */
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

/* Footer specific logo styling */
.footer-logo-img {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img img {
    height: 70px;
    margin-right: 15px;
    background: white;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo-text h3 {
    color: white;
    /* Gold/Yellow */
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Merriweather', serif;
}

.footer-logo-text small {
    color: #ddd;
    font-size: 0.8rem;
    display: block;
}

.footer-logo p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    margin-top: 5px;
    transform: scaleX(0.5);
    transform-origin: left;
    transition: transform 0.3s;
}

.footer-links:hover h4::after {
    transform: scaleX(1);
}

.footer-links ul li a {
    color: #ccc;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-disclaimer {
    margin-top: 40px;
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #bbb;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-grid,
    .contact-container,
    .about-features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        padding: 30px;
    }

    .footer-logo,
    .footer-links {
        min-width: 100%;
        text-align: center;
    }

    .footer-logo-img {
        justify-content: center;
    }

    .footer-links h4::after {
        margin-left: auto;
        margin-right: auto;
        transform-origin: center;
    }
}