/* Feature Banners Section */
.feature-banners {
    margin: 30px auto;
    padding: 0 15px;
}

.banners-wrapper {
    position: relative;
    overflow: hidden;
}

.banners-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transition: transform 0.3s ease;
}

.banner-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-item:hover img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.banner-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.banner-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Banner dots for mobile */
.banner-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(146, 194, 59, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dots .dot.active {
    background-color: #92c23b;
    transform: scale(1.2);
}

.mobile-only {
    display: none;
}

/* Feature Sections */
.feature-sections {
    margin: 40px auto;
    padding: 0 15px;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-section {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(146, 194, 59, 0.15);
    border-color: #92c23b;
}

.feature-section a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.section-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #92c23b, #a8d152);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.section-icon i {
    font-size: 2rem;
    color: white;
}

.feature-section:hover .section-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #a8d152, #92c23b);
}

.feature-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-section p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #92c23b;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.section-link i {
    transition: transform 0.3s ease;
}

.feature-section:hover .section-link {
    color: #7ba832;
}

.feature-section:hover .section-link i {
    transform: translateX(-3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .feature-banners {
        margin: 20px auto;
    }

    .banners-container {
        display: flex;
        transition: transform 0.3s ease;
        width: 300%;
    }

    .banner-item {
        min-width: 100%;
        margin-left: 0;
        aspect-ratio: 1/1;
    }

    .banner-overlay {
        padding: 20px 15px 15px;
    }

    .banner-overlay h3 {
        font-size: 1.1rem;
    }

    .banner-overlay p {
        font-size: 0.85rem;
    }

    .mobile-only {
        display: flex;
    }

    .banner-dots {
        display: flex;
    }

    /* Feature Sections Mobile */
    .feature-sections {
        margin: 30px auto;
    }

    .sections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-section {
        padding: 25px 20px;
    }

    .section-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .section-icon i {
        font-size: 1.8rem;
    }

    .feature-section h3 {
        font-size: 1.2rem;
    }

    .feature-section p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .banner-overlay {
        padding: 15px 10px 10px;
    }

    .banner-overlay h3 {
        font-size: 1rem;
    }

    .banner-overlay p {
        font-size: 0.8rem;
    }

    .feature-section {
        padding: 20px 15px;
    }

    .section-icon {
        width: 55px;
        height: 55px;
    }

    .section-icon i {
        font-size: 1.6rem;
    }
}

/* Desktop hover effects */
@media (min-width: 769px) {
    .banner-item {
        cursor: pointer;
    }

    .banner-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(146, 194, 59, 0.1), rgba(146, 194, 59, 0.05));
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .banner-item:hover::before {
        opacity: 1;
    }

    .banner-overlay {
        z-index: 2;
    }

    .sections-grid {
        gap: 40px;
    }
}

/* Animation for banner loading */
@keyframes bannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-item {
    animation: bannerFadeIn 0.6s ease forwards;
}

.banner-item:nth-child(1) {
    animation-delay: 0.1s;
}

.banner-item:nth-child(2) {
    animation-delay: 0.2s;
}

.banner-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Animation for feature sections */
@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-section {
    animation: sectionFadeIn 0.8s ease forwards;
}

.feature-section:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-section:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-section:nth-child(3) {
    animation-delay: 0.6s;
}
