.services-container {
    display: flex;
    gap: 2rem;
    background-color: var(--bg-mint);
    font-family: 'Inter', sans-serif;
    align-items: flex-start;
    width: 100%;
    padding-top: 7rem;
    padding-bottom: 5rem;
}

.service-section {
    flex: 1;
    margin: 0 0 0 7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1100px;
    /* Increased slightly */
}

.sidebar-section {
    flex: 0 0 15%;
}

.services-title {
    color: var(--primary-green);
    font-size: 2.2rem;
    /* Larger title */
    margin-bottom: 3.5rem;
    font-weight: 700;
    text-align: left;
    position: relative;
}

/* Optional: Add a small decorative line under title */
.services-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: #2E7D32;
    /* Match primary green */
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    /* Softer, deeper shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 360px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #2E7D32, #4CAF50);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px -10px rgba(46, 125, 50, 0.15), 0 0 15px rgba(46, 125, 50, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-image {
    width: 100%;
    max-width: 110px;
    /* Reduced to balance */
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.service-title {
    text-align: center;
    margin: 0.5rem 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2E7D32;
    line-height: 1.3;
}

.service-description {
    font-size: 0.95rem;
    /* More readable */
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-button {
    background: linear-gradient(135deg, #2E7D32 0%, #236B43 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
    margin-top: auto;
}

.service-button:hover {
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.3);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #358f39 0%, #2a7e4e 100%);
}

@media (max-width: 968px) {
    .services-container {
        flex-direction: column;
        padding-top: 5rem;
    }

    .service-section {
        max-width: 100%;
        margin: 0;
        padding: 2rem 1rem;
    }

    /* Hide desktop grid on mobile */
    .desktop-view {
        display: none !important;
    }

    /* Show mobile view on mobile */
    .mobile-view {
        display: block !important;
        margin-top: 1rem;
        max-width: 100vw;
        overflow: hidden;
    }

    .services-title {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .services-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Swiper Styling for Services */
    .services-mobile {
        width: 100%;
        max-width: 100%;
        padding-bottom: 20px;
        overflow: hidden;
        display: block !important;
    }

    .swiper {
        width: 100%;
        max-width: 100vw;
        padding-bottom: 50px;
        overflow: visible;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .service-card {
        width: 300px;
        min-height: 380px;
        /* Slightly reduced */
        margin: 0 auto;
        padding: 2rem 1.5rem;
        /* Adjusted padding for mobile */
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
        /* Better shadow */
    }

    /* Mobile Navigation Buttons */
    .mobile-nav-buttons {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 20px;
        padding: 0 10px;
        width: 100%;
    }

    .btn-nav-mobile {
        background-color: #2E7D32;
        color: white;
        padding: 10px 18px;
        border-radius: 50px;
        font-size: 0.85rem;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .swiper-pagination {
        position: static !important;
        width: auto !important;
    }

    .swiper-pagination-bullet-active {
        background-color: #2E7D32 !important;
    }
}

/* Default: Hide mobile view on desktop */
.mobile-view {
    display: none;
}

.desktop-view {
    display: grid;
}