﻿/* ===== Services Section ===== */
.services-section {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f2fd, #f1f8e9);
    font-family: 'Roboto', sans-serif;
}

.services-container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

/* Grid layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Card styles */
.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
}

    .service-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 15px;
        transition: transform 0.5s ease;
    }

    .service-card h3 {
        font-size: 22px;
        font-weight: 700;
        margin: 15px 0 10px;
        color: #2e7d32;
    }

    .service-card p {
        font-size: 16px;
        color: #555;
        line-height: 1.6;
        margin-bottom: 15px;
    }

.btn-view-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: #43a047;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

    .btn-view-more:hover {
        background-color: #388e3c;
        transform: translateY(-5px);
    }

/* Different colors per sector */
.service-card.government h3 {
    color: #1565c0;
}

.service-card.ngo h3 {
    color: #ff6f00;
}

.service-card.nabard h3 {
    color: #2e7d32;
}

.service-card.farmers h3 {
    color: #6a1b9a;
}

.service-card.private h3 {
    color: #c2185b;
}

/* Hover effects */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

    .service-card:hover img {
        transform: scale(1.08) rotate(1deg);
    }

/* Fade-in animation */
.service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .service-card img {
        height: 180px;
    }
}
