﻿:root {
    --primary: #1e824c;
    --primary-dark: #14623a;
    --accent: #e8f5e9;
    --gray: #f5f5f5;
    --text: #1b1b1b;
    --radius: 18px;
    --transition: 0.3s ease;
}

/*======= Features Section =======*/
.features-section {
    position: relative;
    background: #fff;
    padding: 80px 0 60px 0;
    z-index: 1;
    overflow: hidden;
}

.features-bg {
    position: absolute;
    bottom: -120px;
    right: -70px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 60% 40%, var(--accent) 60%, transparent 100%);
    opacity: 0.6;
    z-index: 0;
    animation: featuresBgAnim 12s ease-in-out infinite alternate;
}

@keyframes featuresBgAnim {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.07);
    }
}

/*======= Title =======*/
.features-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 48px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

/*======= Features Grid =======*/
.features-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 36px;
    flex-wrap: wrap;
    z-index: 1;
    position: relative;
}

/*======= Feature Card =======*/
.feature-card {
    background: var(--gray);
    border-radius: var(--radius);
    padding: 36px 28px 30px 28px;
    width: 280px;
    max-width: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px #1e824c13;
    cursor: default;
}

    .feature-card:hover {
        transform: translateY(-10px) scale(1.04);
        box-shadow: 0 12px 30px #1e824c22;
        background: var(--accent);
    }

/*======= Icon =======*/
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px #1e824c1a;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 3s ease-in-out infinite alternate;
}

    .feature-icon img {
        width: 32px;
        height: 32px;
    }

@keyframes iconFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

/*======= Text =======*/
.feature-card h3 {
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.feature-card p {
    color: #333;
    font-size: 1rem;
    margin: 0;
}

/*======= Responsive =======*/
@media (max-width: 900px) {
    .features-grid {
        gap: 20px;
    }

    .feature-card {
        width: 90%;
    }

    .features-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .features-section {
        padding: 40px 0 20px 0;
    }
}
