



/* --- Variables & Reset --- */
:root {
    --primary-color: #5D4037; /* Earthy Brown */
    --secondary-color: #E67E22; /* Saffron/Clay */
    --accent-color: #388E3C; /* Leaf Green */
    --bg-light: #FDFBF7; /* Cream/Off-white */
    --bg-contrast: #F3F1ED; /* Darker Cream */
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 30px rgba(0,0,0,0.2);

    
}



* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
html { scroll-behavior: smooth; }

/* --- Navigation --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background-color: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.logo { display: flex; align-items: center; }
.logo-img { height: 85px; width: auto; transition: transform 0.3s ease; object-fit: contain; }
.logo:hover .logo-img { transform: scale(1.05); }

.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 2rem; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: 0.3s; position: relative; padding-bottom: 5px; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--secondary-color); transition: width 0.3s ease-out; }
.nav-links a:hover { color: var(--secondary-color); }
.nav-links a:hover::after { width: 100%; }
.btn-donate { background-color: var(--secondary-color); color: white !important; padding: 0.5rem 1.2rem; border-radius: 25px; }
.btn-donate:hover { background-color: #d35400; transform: scale(1.05); }
.menu-toggle { display: none; cursor: pointer; }

/* --- Hero Section --- */
.hero { height: 90vh; background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/images/cow_2.jpg'); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; animation: fadeIn 1.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-content h1 { font-family: var(--font-heading); font-size: 3.5rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.subtitle { display: block; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase; color: #f1c40f; font-weight: 600; }
.hero-buttons { margin-top: 2rem; }
.btn { padding: 12px 35px; border-radius: 30px; text-decoration: none; font-weight: 600; margin: 0 10px; transition: all 0.3s ease; display: inline-block; }
.btn-primary { background-color: var(--secondary-color); color: white; border: 2px solid var(--secondary-color); }
.btn-secondary { background-color: transparent; color: white; border: 2px solid white; }
.btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* --- About Section --- */
.about-section { padding: 5rem 10%; background-color: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.shloka { font-weight: 700; font-size: 1.2rem; color: var(--secondary-color); }
.translation { font-style: italic; font-size: 0.9rem; color: #7f8c8d; margin-bottom: 1.5rem; }
.features-list { list-style: none; margin-top: 1.5rem; }
.features-list li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; }
.features-list i { color: var(--accent-color); margin-right: 15px; font-size: 1.2rem; transition: transform 0.4s ease; }
.features-list li:hover i { transform: rotate(360deg) scale(1.2); }
.about-image img { width: 100%; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.15); transition: transform 0.5s ease; }
.about-image img:hover { transform: scale(1.02); }

/* --- Knowledge Section --- */
.knowledge-section { padding: 5rem 10%; background-color: var(--bg-light); }
.gir-cow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.gir-image img { width: 100%; border-radius: 15px; box-shadow: var(--shadow); transition: transform 0.3s; }
.gir-image img:hover { transform: scale(1.02); }
.gir-content h3 { font-family: var(--font-heading); font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; }
.gir-content p { margin-bottom: 1.5rem; color: #555; }
.a2-box { background-color: #fff; border-left: 5px solid var(--secondary-color); padding: 1.5rem; border-radius: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.a2-box h3 { font-size: 1.5rem; color: var(--secondary-color); display: flex; align-items: center; gap: 10px; }
.benefits-title { text-align: center; font-family: var(--font-heading); font-size: 2rem; color: var(--primary-color); margin-bottom: 2rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.benefit-card { background: white; padding: 2rem; text-align: center; border-radius: 15px; box-shadow: var(--shadow); transition: all 0.3s ease; border-bottom: 4px solid transparent; }
.benefit-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-bottom: 4px solid var(--secondary-color); }
.icon-box { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 1rem; }
.benefit-card h4 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--primary-color); }
.benefit-card p { font-size: 0.9rem; color: #666; }



/* --- GALLERY STYLES (Clean - No Overlay) --- */
.gallery-section {
    padding: 5rem 5%;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #eee; /* Placeholder color */
    aspect-ratio: 3 / 2; /* Reserves space to prevent layout shift */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

/* Nice Zoom effect on hover */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Products Section --- */
.products-section { padding: 5rem 5%; background-color: var(--bg-contrast); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--primary-color); }
.product-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 3rem; }
.product-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s ease; width: 350px; display: flex; flex-direction: column; position: relative; }
.product-card:hover { transform: translateY(-15px); box-shadow: var(--shadow-hover); }
.product-img { height: 300px; width: 100%; position: relative; background-color: #fff; overflow: hidden; }
.slider-container { width: 100%; height: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; opacity: 0; transition: opacity 0.4s ease-in-out, transform 0.8s ease; }
.product-card:hover .slide.active { transform: scale(1.1); }
.slide.active { opacity: 1; z-index: 1; }

.prev-btn, .next-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9); color: var(--primary-color);
    border: 1px solid #ddd; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer; z-index: 10; border-radius: 50%; width: 35px; height: 35px;
    display: flex; justify-content: center; align-items: center;
    transition: 0.3s; font-size: 0.9rem; opacity: 0;
}
.product-card:hover .prev-btn, .product-card:hover .next-btn { opacity: 1; }
.prev-btn:hover, .next-btn:hover { background-color: var(--secondary-color); color: white; border-color: var(--secondary-color); transform: translateY(-50%) scale(1.1); }
.prev-btn { left: 10px; } .next-btn { right: 10px; }

.tag { position: absolute; top: 15px; left: 15px; background-color: var(--primary-color); color: white; padding: 4px 12px; font-size: 0.8rem; border-radius: 5px; text-transform: uppercase; font-weight: bold; z-index: 15; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.tag.best-value { background-color: var(--secondary-color); }
.flash-badge { position: absolute; top: 15px; right: 15px; color: white; font-size: 0.75rem; font-weight: 800; padding: 6px 14px; border-radius: 50px; text-transform: uppercase; z-index: 20; letter-spacing: 0.5px; box-shadow: 0 2px 5px rgba(0,0,0,0.3); animation: pulse-animation 1.5s infinite; }
.flash-badge.limited { background-color: #d32f2f; }
.flash-badge.bestseller { background-color: #f39c12; animation: none; }
@keyframes pulse-animation { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); } 70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); } }

.product-info { padding: 1.5rem; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; background-color: #fff; z-index: 2; }
.product-info h3 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--primary-color); transition: color 0.3s; }
.product-card:hover h3 { color: var(--secondary-color); }
.product-specs { list-style: none; margin: 10px 0; text-align: left; padding-left: 20px; font-size: 0.9rem; color: #666; }
.product-specs li { margin-bottom: 5px; } .product-specs i { color: var(--secondary-color); margin-right: 8px; }
.price { font-weight: 700; color: var(--accent-color); font-size: 1.3rem; margin: 0.5rem 0 1rem; }
.discount { text-decoration: line-through; color: #999; font-size: 1rem; margin-left: 10px; font-weight: 400; }
.btn-cart { background-color: var(--primary-color); color: white; border: none; padding: 12px 20px; border-radius: 5px; cursor: pointer; transition: 0.3s; width: 100%; font-size: 1rem; font-weight: 600; }
.btn-cart:hover { background-color: var(--secondary-color); }

/* --- NEW ORDER SECTION STYLES --- */
.order-section {
    padding: 5rem 5%;
    background-color: #fff;
    scroll-margin-top: 80px; /* Offset for sticky navbar */
}

.order-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.order-items-list {
    min-height: 100px;
    margin-bottom: 2rem;
}

.empty-state {
    text-align: center;
    color: #999;
    padding: 2rem 0;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* Order Item Rows */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary-color);
}

.item-info h4 { font-size: 1.1rem; color: var(--primary-color); }
.item-info span { font-size: 0.9rem; color: #666; }

.item-controls { display: flex; align-items: center; gap: 20px; }
.btn-remove { color: #d32f2f; cursor: pointer; font-size: 1.1rem; transition: transform 0.2s; }
.btn-remove:hover { transform: scale(1.2); }

.order-total-bar {
    border-top: 2px dashed #ddd;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.total-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-final-checkout {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-final-checkout:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}


/* --- CUSTOMER REVIEWS SECTION --- */
.reviews-section {
    padding: 5rem 5%;
    background-color: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--secondary-color); /* Orange top border */
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.customer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.review-header h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.stars {
    color: #f1c40f; /* Gold Star Color */
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-date {
    display: block;
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.launch-badge {
    background-color: #d35400; /* Dark Orange */
    color: white;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    box-shadow: 0 4px 10px rgba(211, 84, 0, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* 2. Simple Initials for Reviews (Instead of fake photos) */
.customer-initial {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
}

/* 3. "Be the First" Invite Card */
.invite-card {
    background-color: #fff8e1; /* Light yellow bg */
    border: 2px dashed var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.invite-content i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.btn-small {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
}


/* --- FIXED & SMOOTH FAQ STYLES --- */
.faq-section {
    padding: 5rem 10%;
    background-color: #fff;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden; /* Keeps it neat when closed */
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #ddd;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

.faq-question .icon {
    transition: transform 0.4s ease;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* THE SMOOTH ANIMATION PART */
.faq-answer {
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Smooth sliding effect */
    background-color: #fafafa;
}

.answer-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    /* font-style: italic; Kept your italic request */
}

/* --- ACTIVE STATE --- */
.faq-item.active {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.15);
}

.faq-item.active .faq-question {
    color: var(--secondary-color);
}

.faq-item.active .icon {
    transform: rotate(180deg);
}

/* --- SCROLL REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(30px); /* Start slightly lower */
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0); /* Float up into place */
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
    }
}

/* --- Footer --- */
footer { background-color: #2c2c2c; color: white; padding: 4rem 5% 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { margin-bottom: 1.5rem; color: var(--secondary-color); font-family: var(--font-heading); }
.footer-section p { margin-bottom: 10px; color: #bdc3c7; }
.socials a { color: white; font-size: 1.5rem; margin-right: 15px; transition: 0.3s; display: inline-block; }
.socials a:hover { color: var(--secondary-color); transform: translateY(-5px); }
.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 1rem; font-size: 0.9rem; color: #7f8c8d; }
.footer-link { color: #bdc3c7; text-decoration: none; transition: color 0.3s; }
.footer-link:hover { color: var(--secondary-color); text-decoration: underline; }

/* --- 1. WhatsApp Floating Button (Bottom) --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    text-decoration: none;
    z-index: 2000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background-color: #128c7e; animation: none; }
@keyframes whatsapp-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); transform: scale(1); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); transform: scale(1.05); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); transform: scale(1); } }

/* --- 2. Floating Cart Button (Stacked Above WhatsApp) --- */
.cart-float {
    position: fixed;
    bottom: 110px; /* Stacks above WhatsApp */
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none; /* Important since it's an <a> tag now */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: transform 0.3s;
}
.cart-float:hover { transform: scale(1.1); background-color: var(--secondary-color); }

.cart-count {
    position: absolute; top: -5px; right: -5px;
    background-color: #d32f2f; color: white;
    font-size: 12px; font-weight: bold; width: 24px; height: 24px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 2px solid white;
}

/* ... Existing code ... */

/* --- NEW CART ITEM STYLING (With Qty Controls) --- */

/* Wrapper for controls inside the row */
.item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* The Qty Control Container */
.cart-qty-control {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 2px;
}

/* Small + and - Buttons */
.qty-mini-btn {
    width: 25px;
    height: 25px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.qty-mini-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* The Number Display */
.qty-display {
    min-width: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.item-price-total {
    min-width: 60px;
    text-align: right;
    font-size: 1rem;
    color: var(--primary-color);
}

/* Mobile Tweak for Order Summary */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column; /* Stack info and controls on phone */
        align-items: flex-start;
        gap: 10px;
    }
    
    .item-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* --- MOVING PURITY STRIP STYLES --- */
.purity-strip {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 0; /* Slightly reduced padding for sleeker look */
    overflow: hidden;
    white-space: nowrap;
}

/* The track that holds both sets of items */
.purity-track {
    display: inline-block;
    animation: marquee 35s linear infinite;
}

.purity-track:hover {
    animation-play-state: paused;
}

/* A single set of items */
.purity-set {
    display: inline-flex;
    align-items: center;
}

/* --- UPDATED VISUAL BADGE STYLE (Matches your image) --- */
.purity-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0 15px;
    
    /* Dark Brown Background like the image */
    background-color: #4E342E; 
    
    /* Gold Border */
    border: 1px solid #FFC107; 
    
    /* Round Pill Shape */
    padding: 10px 25px;
    border-radius: 50px;
    
    /* Shadow for depth */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.purity-item:hover {
    background-color: #3E2723; /* Darker brown on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.purity-item i {
    font-size: 1.5rem;
    color: #FFC107; /* Bright Gold Icon */
    margin-bottom: 0;
}

.purity-item span {
    font-weight: 600;
    font-size: 1rem;
    color: #FFF; /* White Text */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* The Animation Keyframes (No change here) */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .purity-track { animation-duration: 20s; }
    
    .purity-item {
         margin: 0 10px;
         padding: 8px 15px; /* Smaller badges on mobile */
    }
    
    .purity-item i { font-size: 1.3rem; }
    .purity-item span { font-size: 0.85rem; }
}

.visit-section {
    padding: 5rem 5%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: white;
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.visit-text h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #f1c40f;
}

.visit-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.visit-details {
    list-style: none;
}

.visit-details li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.visit-details i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.visit-form-box {
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent white */
    padding: 2.5rem;
    border-radius: 15px;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.visit-form-box h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.input-group {
    margin-bottom: 15px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-book-visit {
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-book-visit:hover {
    background-color: #d35400;
}

/* Mobile Adjustments for new sections */
@media (max-width: 768px) {
    .visit-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .purity-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .visit-text {
        text-align: center;
    }
    
    .visit-details {
        text-align: left;
        display: inline-block;
    }
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .navbar { flex-direction: column; align-items: flex-start; }
    .menu-toggle { display: block; position: absolute; top: 1.5rem; right: 5%; }
    .menu-toggle .bar { width: 25px; height: 3px; margin: 5px auto; background-color: var(--primary-color); display: block; }
    .nav-links { display: none; width: 100%; flex-direction: column; margin-top: 1rem; }
    .nav-links li { margin: 1rem 0; text-align: center; }
    .nav-links.active { display: flex; }
    .hero-content h1 { font-size: 2.2rem; }
    .about-grid, .gir-cow-grid, .gallery-grid { grid-template-columns: 1fr; }
    .product-card { width: 100%; }
    
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 28px; }
    .cart-float { bottom: 90px; right: 20px; width: 50px; height: 50px; font-size: 20px; }
    .logo-img { height: 60px; }
}


/* --- PRODUCT DETAILS (PREMIUM LOOK & ANIMATION) --- */
.product-deep-dive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; /* Increased gap for a cleaner look */
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid #eee; /* Softer separator line */
}

/* Headings & Subtext */
.detail-box h3 {
    color: #4a3f35; /* Dark Brown from image */
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.small-note {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    font-style: italic;
}

/* --- ATTRACTIVE NUTRITION TABLE --- */
.nutrition-table {
    width: 100%;
    border-collapse: separate; /* Essential for spacing rows */
    border-spacing: 0 12px; /* Adds space between the "pills" */
    margin-top: 10px;
}

/* The Row (Card) Style */
.nutrition-table tr {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); /* Soft shadow */
    transition: all 0.3s ease;
}

/* Hover Effect: Lift the Row */
.nutrition-table tr:hover {
    transform: scale(1.02) translateY(-3px); /* Grow slightly and lift */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    background-color: #fffbf0; /* Light cream tint */
}

/* Cell Styling */
.nutrition-table td {
    padding: 18px 25px;
    font-size: 1rem;
    
    /* NEW: Darker Color & Bolder Weight */
    color: #2d241e; /* Deep Dark Brown (almost black) */
    font-weight: 600; /* Make text bolder */
    
    border: none;
}

/* Left Cell (Nutrient Name) */
.nutrition-table td:first-child {
    border-top-left-radius: 50px; /* Round left side */
    border-bottom-left-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px; /* Space between icon and text */
}

/* Right Cell (Value) */
.nutrition-table td:last-child {
    border-top-right-radius: 50px; /* Round right side */
    border-bottom-right-radius: 50px;
    font-weight: 700;
    text-align: right;
    color: #4a3f35; /* Dark Brown */
    background-color: rgba(241, 196, 15, 0.1); /* Subtle Gold Background for value */
}

/* --- ICON ANIMATION --- */
.nutrition-table i {
    width: 35px;
    height: 35px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    
    /* ... existing styles ... */
    color: #555; /* Darker gray icon (was #aaa) */
    /* ... */
}


/* When you hover the row, the icon lights up */
.nutrition-table tr:hover i {
    background-color: var(--secondary-color); /* Turns Orange/Gold */
    color: white;
    transform: rotate(360deg); /* Spun around once */
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .nutrition-table td {
        padding: 15px;
        font-size: 0.9rem;
    }
    .nutrition-table i {
        width: 30px;
        height: 30px;
    }
}

/* --- ATTRACTIVE BENEFITS LIST (Premium Style) --- */
.benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between cards */
}

/* The Card Itself */
.benefit-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff; /* Clean White Background */
    border-radius: 15px; /* Smooth rounded corners */
    border: 1px solid #fcfcfc;
    border-left: 5px solid var(--secondary-color); /* Gold accent line on left */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03); /* Very subtle shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy smooth animation */
    cursor: default;
}

/* Hover Effect: The Card Floats Up */
.benefit-list li:hover {
    transform: translateY(-8px) scale(1.02); /* Lifts up and grows slightly */
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.15); /* Warm glow shadow */
    background: #fffbf0; /* Very light cream tint on hover */
}

/* --- THE ICON Styling --- */
.benefit-list i {
    background: #fff3e0; /* The Beige/Cream Circle from your image */
    color: var(--secondary-color); /* Your Brand Orange/Gold */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

/* Icon Animation on Hover */
.benefit-list li:hover i {
    background: var(--secondary-color); /* Icon turns solid gold */
    color: #fff; /* Symbol turns white */
    transform: rotate(10deg) scale(1.1); /* Tults and grows */
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.4); /* Glow effect */
}

/* Text Styling */
.benefit-list div {
    flex: 1; /* Takes remaining space */
}

.benefit-list strong {
    display: block;
    color: #4a3f35; /* Dark Brown (Premium Text) */
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.benefit-list p {
    margin: 0;
    font-size: 0.95rem;
    color: #777;
    line-height: 1.5;
}


/* Mobile Adjustment */
@media (max-width: 768px) {
    .product-deep-dive {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 4rem;
    }
    .benefit-list li {
        padding: 10px; /* Slightly less padding on mobile */
    }
}




/* --- CHECKOUT MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dim background */
    display: none; /* Hidden initially */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 80px;
    resize: none;
}

.order-summary {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.confirm-btn {
    width: 100%;
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.confirm-btn:hover {
    background-color: #128C7E;
}


/* --- FOOTER BOTTOM BAR --- */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); /* Thin divider line */
    padding-top: 20px;
    margin-top: 40px;
    
    /* Flexbox creates the "Left - Right" layout */
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; /* Wraps on mobile */
    gap: 15px;
}

/* Legal Links Styling */
.footer-legal a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--secondary-color); /* Gold on hover */
}

.footer-legal span {
    color: #555; /* The divider pipe color */
    margin: 0 5px;
}

/* Mobile Fix: Stack them on small screens */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- STORY ZIG-ZAG SECTION --- */
.story-section {
    padding: 60px 5%;
    background-color: #fdfbf7; /* Light cream background */
}

.story-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px; /* Space between rows */
    gap: 40px;
}

/* The Image Side */
.story-img {
    flex: 1; /* Takes 50% width */
}

.story-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.story-img img:hover {
    transform: scale(1.02); /* Subtle zoom on hover */
}

/* The Text Side */
.story-text {
    flex: 1; /* Takes 50% width */
    padding: 20px;
}

.story-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.story-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* --- THE REVERSE TRICK (For Row 2) --- */
.story-row.reverse {
    flex-direction: row-reverse; /* Swaps Left and Right! */
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .story-row, .story-row.reverse {
        flex-direction: column; /* Stack vertically on phone */
        text-align: center;
        margin-bottom: 50px;
    }
    
    .story-text {
        padding: 0;
    }
}


/* --- PARALLAX DIVIDER --- */
.parallax-quote {
    /* Replace with your wide FARM/COW photo */
    background-image: url('/images/cow_5.webp'); 
    
    /* The "Window" Effect */
    background-attachment: fixed; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Dark Overlay so text is readable */
.parallax-quote::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* Darkens the image */
}

.quote-content {
    position: relative;
    color: white;
    z-index: 1;
}

.quote-content h2 {
    font-size: 2.5rem;
    font-family: var(--font-heading); /* Your fancy font */
    margin-bottom: 10px;
}

