﻿/* ===============================
   Crop Calendar Styles - Agvetos Pvt. Ltd
================================ */

.crop-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #ecfccb 100%);
    padding: 100px 40px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

.crop-header h1 {
    font-size: 42px;
    color: #065f46;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.crop-header p {
    font-size: 18px;
    color: #374151;
    max-width: 800px;
    margin: 0 auto 60px;
}

.crop-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* Crop Cards */
.crop-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 320px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .crop-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

/* Crop Icon */
.crop-icon {
    font-size: 60px;
    margin-bottom: 10px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.crop-card h2 {
    font-size: 28px;
    color: #0f766e;
    margin-bottom: 20px;
}

/* Table Styles */
.crop-table {
    width: 100%;
    border-collapse: collapse;
}

    .crop-table th {
        background: #10b981;
        color: #fff;
        padding: 10px;
        border-radius: 10px 10px 0 0;
        font-size: 16px;
        text-transform: uppercase;
    }

    .crop-table td {
        padding: 10px;
        border-bottom: 1px solid #e5e7eb;
        font-size: 16px;
        color: #374151;
    }

    .crop-table tr:last-child td {
        border-bottom: none;
    }

/* Footer */
.crop-footer {
    margin-top: 80px;
    font-size: 20px;
    color: #166534;
    font-weight: 600;
}

/* Animation on Scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

    [data-animate].visible {
        opacity: 1;
        transform: translateY(0);
    }

[data-animate="fade-down"] {
    transform: translateY(-60px);
}

    [data-animate="fade-down"].visible {
        transform: translateY(0);
    }

/* Responsive Design */
@media (max-width: 992px) {
    .crop-header h1 {
        font-size: 34px;
    }

    .crop-card {
        width: 90%;
        max-width: 360px;
    }
}
/* ===== Crop Chart Image Section ===== */
.crop-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
}

.crop-chart-img {
    max-width: 900px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    opacity: 0;
    transform: translateY(40px);
}

    .crop-chart-img.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .crop-chart-img:hover {
        transform: scale(1.03);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

/* Responsive */
@media (max-width: 768px) {
    .crop-chart-img {
        max-width: 95%;
    }
}
