/* Features Section - Updated with Certifications */

.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f4ff 50%, #f0f8ff 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 191, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 102, 204, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a2332;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00BFFF, #0066CC);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #5a6c7d;
    font-weight: 400;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00BFFF, #0066CC);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(0, 102, 204, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0066CC;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #00BFFF, #0066CC);
    color: white;
    transform: scale(1.1);
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #00BFFF, #0066CC);
    opacity: 0.2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.feature-card h3 .counter {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00BFFF, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 .unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2332;
}

.feature-card p {
    color: #5a6c7d;
    line-height: 1.4;
    font-size: 0.95rem;
    margin: 0;
}

.feature-card p strong {
    color: #0066CC;
    font-weight: 700;
    display: inline;
    font-size: 1rem;
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}