/* Features Section Enhanced */
.features {
    padding: 20px 0;
    background: linear-gradient(to bottom, #f8fffe 0%, #ffffff 50%, #f0f8f0 100%);
    position: relative;
}

.features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(44,85,48,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.features .container {
    position: relative;
    z-index: 2;
}

.features h2 {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 24px;
    position: relative;
    font-weight: 700;
}

.features h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1300px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.feature-card {
    background: white;
    padding: 50px 35px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(44, 85, 48, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(44, 85, 48, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(74, 124, 89, 0.05), transparent);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    width: 300px;
    height: 300px;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(44, 85, 48, 0.15);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: inline-block;
    padding: 25px;
    /* background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color)); */
    border-radius: 50%;
    border: 3px solid var(--text-dark);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}


.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(0deg);
    /* background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color)); */
}

.feature-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    color: var(--primary-color),;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: #000000;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}



/* Responsive Design Enhanced */
@media (max-width: 768px) {


    .features {
        padding: 80px 0;
    }

    .features h2 {
        font-size: 2.4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


}

@media (max-width: 480px) {


    .features {
        padding: 60px 0;
    }

    .features h2 {
        font-size: 2rem;
    }

}