﻿/* Reset default margin and padding */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,800;0,900;1,100;1,200;1,300;1,400;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
html, body {
    scroll-behavior: smooth;
    background-color: #fbe9d0;
}

/* Agro Products Section */
main {
    padding: 20px;
    background-color: #fbe9d0;
    text-align: center;
}

main h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

main .intro {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    font-style: italic;
    line-height: 1.5;
}

/* Product Grid */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;

}

/* Product Cards */
.product {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Product Images */
.product img {
    width: 100%; /* Full width of the container */
    height: 200px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensures image fills the container without distortion */
    border-bottom: 1px solid #ddd;
}

/* Product Titles */
.product h3 {
    background-color: #874f41;
    margin: 0;
    padding: 10px;
    font-size: 1.2rem;
    color: white;
}

.product p {
    padding: 10px;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

/* Disposable Items Section */
.Disposable {
    margin-top: 80px;
    margin-bottom: 40px;
}

.Disposable h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.Disposable .intro {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    font-style: italic;
}

/* Footer Styles */


/* Responsive Styles */
@media (max-width: 1024px) {
    main h1 {
        font-size: 2rem;
    }

    main .intro {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .product-list {
        gap: 15px;
    }

    .product img {
        height: 180px;
    }

    .Disposable h1 {
        font-size: 2rem;
    }

    .Disposable .intro {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    main h1 {
        font-size: 1.8rem;
    }

    main .intro {
        font-size: 1rem;
    }

    .product img {
        height: 150px;
    }

    .product h3 {
        font-size: 1rem;
    }

    .product p {
        font-size: 0.9rem;
    }

    .Disposable h1 {
        font-size: 1.8rem;
    }

    .Disposable .intro {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    main h1 {
        font-size: 1.5rem;
    }

    main .intro {
        font-size: 0.9rem;
    }

    .product-list {
        grid-template-columns: 1fr; /* Single column layout for small screens */
    }

    .product img {
        height: 120px;
    }

    .product h3 {
        font-size: 0.9rem;
    }

    .product p {
        font-size: 0.8rem;
    }

    .Disposable h1 {
        font-size: 1.5rem;
    }

    .Disposable .intro {
        font-size: 0.8rem;
    }
}
.whatsapp {
            font-size: 50px; /* Increase icon size */
            color: #25D366; /* WhatsApp green */
            text-decoration: none; /* Remove underline */
            position: fixed;
            bottom: 90px;
            right: 35px;
        }

        .whatsapp:hover {
            color: #1ebe5d; /* Slightly darker green on hover */
}