/* Features Section Styles - Pixel Perfect Match */

.features-section {
    background: #ffffff;
    padding: 80px 0;
}

.features-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight-text {
    position: relative;
    color: #1a1a1a;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    border-radius: 2px;
}

.features-subtitle {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #E0F2FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon i {
    font-size: 20px;
    color: #1E40AF;
}

.feature-image {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    height: 200px;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.feature-content {
    padding: 20px 30px 30px;
    text-align: center;
    margin-top: 10px;
}

.feature-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-description {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-title {
        font-size: 2.25rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .features-section {
        padding: 60px 0;
    }
    
    .features-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .features-subtitle {
        font-size: 0.95rem;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        top: 15px;
        background: #E0F2FE;
    }
    
    .feature-icon i {
        font-size: 18px;
        color: #1E40AF;
    }
    
    .feature-image {
        height: 180px;
    }
    
    .feature-content {
        padding: 15px 25px 25px;
        margin-top: 8px;
    }
    
    .feature-title {
        font-size: 1.125rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 50px 0;
    }
    
    .features-title {
        font-size: 1.75rem;
        margin-bottom: 14px;
    }
    
    .features-subtitle {
        font-size: 0.9rem;
        padding: 0 20px;
    }
    
    .feature-card {
        margin-bottom: 25px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        top: 12px;
        background: #E0F2FE;
    }
    
    .feature-icon i {
        font-size: 16px;
        color: #1E40AF;
    }
    
    .feature-image {
        height: 160px;
    }
    
    .feature-content {
        padding: 12px 20px 20px;
        margin-top: 6px;
    }
    
    .feature-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: 40px 0;
    }
    
    .features-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .features-subtitle {
        font-size: 0.85rem;
        padding: 0 15px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        top: 10px;
        background: #E0F2FE;
    }
    
    .feature-icon i {
        font-size: 14px;
        color: #1E40AF;
    }
    
    .feature-image {
        height: 140px;
    }
    
    .feature-content {
        padding: 10px 18px 18px;
        margin-top: 5px;
    }
    
    .feature-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .feature-description {
        font-size: 0.8rem;
    }
}

/* Animation Effects */
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid #000000;
    }
    
    .feature-title {
        color: #000000;
    }
    
    .feature-description {
        color: #333333;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .feature-card {
        animation: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .feature-image img {
        transition: none;
    }
}
