﻿/* Hero Section Background */
.pesticides-hero-section {
    background: url('/Content/Images/pesticidesbc.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    color: white;
}

/* Overlay Filter */
.pesticides-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

/* Content Box */
.pesticides-hero-content {
    max-width: 960px;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1.5s ease-in-out;
}

/* Heading */
.pesticides-heading {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

/* Description Paragraph */
.pesticides-description {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Animation */
@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.products-section {
    padding: 60px 20px;
    background-color: #f4f9f6;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #2e7d32;
    animation: fadeInDown 1s ease-in-out;
}
/* Grid Section for Pesticides */
.pesticides-grid-section {
    padding: 60px 20px;
    background-color: #fefefe;
}

.section-heading {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 40px;
}

.pesticide-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

    .pesticide-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }

.image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
}

.pesticide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
}

.pesticide-card:hover .pesticide-img {
    transform: scale(1.05);
}

.card-title,
.card-subtitle,
.card-text {
    text-align: center;
    animation: fadeInZoom 0.8s ease-out;
    transition: all 0.3s ease-in-out;
}

/* Card Title */
.card-title {
    font-size: 1rem;
    font-weight: 200;
    color: #2e7d32;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Card Subtitle */
.card-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

/* Card Text */
.card-text {
    font-size: 0.95rem;
    color: #444;
    padding: 0 10px;
}

/* Subtle animation */
@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Glow effect on hover */
.card:hover .card-title,
.card:hover .card-subtitle,
.card:hover .card-text {
    color: #1b5e20;
    text-shadow: 0 0 5px rgba(34, 139, 34, 0.4);
}
.product-brand-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1b5e20;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding: 5px 10px;
    position: relative;
    display: inline-block;
    animation: fadeInUp 1s ease-out;
    background: linear-gradient(90deg, #e8f5e9, #ffffff);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(27, 94, 32, 0.1);
    transition: all 0.3s ease-in-out;
}

    .product-brand-title span {
        color: #2e7d32;
    }

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Glow Effect */
.card:hover .product-brand-title {
    color: #2e7d32;
    text-shadow: 0 0 6px rgba(46, 125, 50, 0.4);
    transform: scale(1.03);
}
