﻿body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

/* Hero Section */
.products-hero-section {
    background-image: url('../Content/Images/vegetabl.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

    .products-hero-section .overlay {
        background-color: rgba(0, 100, 0, 0.6);
        padding: 50px;
        border-radius: 20px;
    }

.hero-heading {
    font-size: 3rem;
    font-weight: 700;
    animation: fadeInDown 1s ease-in-out;
}

.hero-subtext {
    font-size: 1.2rem;
    margin-top: 10px;
    animation: fadeInUp 1s ease-in-out;
}

/* Product Grid */
.product-grid-section {
    padding: 50px 20px;
    background-color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2e7d32;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.product-card {
    background-color: #f0fff0;
    padding: 0px;
    border-radius: 0px;
    box-shadow: 0 8px 16px rgba(0, 100, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 24px rgba(0, 100, 0, 0.2);
    }

    .product-card img {
        max-width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 12px;
    }

    .product-card h3 {
        font-size: 1.3rem;
        color: #1b5e20;
        margin-top: 15px;
    }

    .product-card p {
        font-size: 0.95rem;
        margin-top: 10px;
        color: #555;
    }

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Fix */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 2rem;
    }

    .product-card img {
        height: 150px;
    }
}
.view-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #43a047, #2e7d32);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.3);
    transition: all 0.3s ease-in-out;
    animation: pulse 2s infinite;
}

    .view-more-btn:hover {
        background: linear-gradient(135deg, #66bb6a, #1b5e20);
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(46, 125, 50, 0.5);
    }

/* Animation: Pulse */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(46, 125, 50, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .benefits-list li {
        margin-bottom: 10px;
        font-size: 15px;
        color: #222;
        padding-left: 25px;
        position: relative;
        line-height: 1.6;
    }

        .benefits-list li::before {
            content: "✔";
            color: #2e7d32;
            position: absolute;
            left: 0;
            font-weight: bold;
        }
.product-grid-section {
    padding: 60px 20px;
    text-align: center;
    background: #f8fafc;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #1a365d;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    .product-card img {
        max-width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .product-card h3 {
        font-size: 1.3rem;
        color: #2d3748;
        margin-bottom: 10px;
    }

.short-info {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 10px;
}

.more-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease;
}

.product-card:hover .more-info {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}

.more-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.more-info li {
    font-size: 0.9rem;
    color: #2d3748;
    margin: 5px 0;
    position: relative;
    padding-left: 18px;
}

    .more-info li::before {
        content: "✔";
        position: absolute;
        left: 0;
        color: #16a34a;
    }

.view-more-wrapper {
    margin-top: 40px;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
    transition: all 0.3s ease;
}

    .view-more-btn:hover {
        background: linear-gradient(135deg, #15803d, #16a34a);
        transform: scale(1.05);
    }
