﻿/* ========== PRODUCT SLOGAN SECTION ========== */
.product-slogan-section {
    position: relative;
    height: 70vh;
    background: url('/Content/Images/pestbk.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

    .product-slogan-section .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.55);
    }

.slogan-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.slogan-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.slogan-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.slogan-btn {
    padding: 12px 28px;
    background: #4ECDC4;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s ease;
}

    .slogan-btn:hover {
        background: #FF6B6B;
        transform: translateY(-3px);
    }

/* ========== PRODUCT SECTION ========== */
.pesticide-section {
    position: relative;
    padding: 80px 20px;
    background: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

    .pesticide-section .overlay {
        display: none; /* kept for consistency if needed */
    }

.section-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #222;
}

.section-slogan {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #555;
}

/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Card */
.product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }

/* Image */
.product-image {
    width: 100%;
    height: 325px; /* fixed card height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

    .product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* FULL IMAGE visible */
        transition: transform 0.4s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Info */
.product-info {
    padding: 15px;
    text-align: center;
}

    .product-info h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
        color: #111;
    }

    .product-info p {
        font-size: 1rem;
        color: #444;
    }
