﻿/* ================= HERO ================= */

.rnd-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/Content/Images/reaserchagri.jpg') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

    .rnd-hero h1 {
        font-size: 48px;
        font-weight: 700;
    }

    .rnd-hero p {
        font-size: 18px;
        margin-top: 15px;
    }

/* ================= SECTION ================= */

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: 36px;
        font-weight: 700;
    }

    .section-header p {
        color: #666;
        margin-top: 10px;
    }

/* ================= INFRASTRUCTURE ================= */

.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.infra-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    text-align: center;
}

    .infra-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .infra-card h4 {
        padding: 20px;
        font-weight: 600;
    }

    .infra-card:hover {
        transform: translateY(-10px);
    }

/* ================= CROPS ================= */

.crop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.crop-card {
    border-radius: 14px;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.crop-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.crop-content {
    padding: 25px;
    color: #fff;
    min-height: 200px;
}

/* Different Colors */

.maize .crop-content {
    background: linear-gradient(135deg, #f4b400, #e68900);
}

.soybean .crop-content {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
}

.wheat .crop-content {
    background: linear-gradient(135deg, #d7a800, #b8860b);
}

.gram .crop-content {
    background: linear-gradient(135deg, #6a1b9a, #4a148c);
}

.crop-card:hover {
    transform: translateY(-10px);
}

/* Responsive */

@media (max-width: 768px) {
    .rnd-hero h1 {
        font-size: 32px;
    }
}
