﻿/* ===== R&D Section ===== */
.rnd-section {
    padding: 80px 20px;
    background: #fff5f7; /* soft light pink */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.rnd-title {
    font-size: 42px;
    font-weight: 800;
    color: #6a1b9a;
    margin-bottom: 20px;
}

.rnd-description {
    font-size: 18px;
    color: #333;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.rnd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ===== Crop Card ===== */
.rnd-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    text-align: center;
}

    .rnd-card h3 {
        font-size: 24px;
        font-weight: 700;
        margin: 15px 0;
        color: #6a1b9a;
    }

    .rnd-card p {
        font-size: 16px;
        line-height: 1.5;
        color: #555;
        font-weight: 500;
    }

/* Crop Images */
.rnd-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Crop specific colors */
.rnd-card.wheat {
    background: #fff7e6;
    border-top: 5px solid #fbbf24;
}

.rnd-card.tur {
    background: #fff0f5;
    border-top: 5px solid #ec4899;
}

.rnd-card.maize {
    background: #e0f7fa;
    border-top: 5px solid #06b6d4;
}

.rnd-card.udad {
    background: #f0fdf4;
    border-top: 5px solid #10b981;
}

.rnd-card.soybean {
    background: #fffde7;
    border-top: 5px solid #facc15;
}

.rnd-card.others {
    background: #fefce8;
    border-top: 5px solid #f97316;
}

/* Hover Animation */
.rnd-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.rnd-card h3:hover {
    color: #ff4081;
    transition: color 0.3s ease;
}
