:root {
    --primary-color: #1a4d2e;
    /* Dark Green */
    --secondary-color: #4f772d;
    /* Light Green */
    --accent-color: #90a955;
    /* Muted Green */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-bg: #f9fafb;
    --dark-bg: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.text-white {
    color: var(--white) !important;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-sub {
    font-size: 0.8rem;
    font-family: var(--font-main);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 10px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-login {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover {
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0;
    /* Reset for sticky nav overlap if needed, but nav is fixed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* About Section */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-info .benefits {
    font-size: 0.9rem;
    margin-bottom: 20px;
    height: 40px;
    /* Fixed height for alignment */
}

/* Subscription Section */
.section-subtitle {
    text-align: center;
    margin-top: -40px;
    margin-bottom: 60px;
    font-size: 1.2rem;
}

.subscription-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.plan-selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plan-option {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.plan-option:hover {
    border-color: var(--accent-color);
}

.plan-option.active {
    border-color: var(--primary-color);
    background-color: rgba(26, 77, 46, 0.05);
}

.plan-option h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.plan-option p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.plan-details {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-features {
    margin: 20px 0;
}

.plan-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.quantity-selector {
    margin-bottom: 20px;
}

.quantity-selector input {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    width: 60px;
    margin-left: 10px;
}

.price-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-display .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-display .period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.discount-badge {
    background-color: #dcfce7;
    color: #166534;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* Features/Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.author {
    margin-top: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--white);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 20px;
    transition: var(--transition);
}

.google-btn:hover {
    background-color: var(--light-bg);
    box-shadow: var(--shadow-sm);
}

.google-btn img {
    width: 20px;
    height: 20px;
}

.payment-summary {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.payment-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 500;
}

.upi-details {
    text-align: center;
    margin-top: 20px;
}

.gpay-option {
    margin-top: 15px;
    text-align: center;
}

.gpay-option .btn {
    width: 100%;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transition: 0.3s;
        text-align: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .about-content,
    .subscription-wrapper,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .modal-content {
        width: 95%;
        padding: 25px;
    }

    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
}