/* Benefits Section Styling */
.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0f1a 0%, #141c2e 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/header2.jpg') repeat;
    opacity: 0.03;
    z-index: 0;
}

.benefits-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 0 1rem;
}

.benefit-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(15, 23, 42, 0.7);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon-1,
.benefit-icon-2,
.benefit-icon-3 {
    font-size: 2.8rem;
    margin: 0 auto 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.benefit-icon-2 {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.benefit-icon-3 {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.benefit-card h3 {
    color: #f8fafc;
    font-size: 1.7rem;
    margin: 0 0 1.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.benefit-card h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.benefit-card:hover h3::after {
    width: 80px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
}

.benefit-card p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem 0 0;
    padding: 0 1rem;
    font-weight: 400;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-icon-1,
    .benefit-icon-2,
    .benefit-icon-3 {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .benefit-card h3 {
        font-size: 1.3rem;
    }
    
    .benefit-card p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 4rem 0;
    }
    
    .benefits-content {
        padding: 0 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 3rem auto 0;
        padding: 0;
        gap: 2rem;
    }
    
    .benefit-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .benefit-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .benefit-icon-1,
    .benefit-icon-2,
    .benefit-icon-3 {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    
    .benefit-card p {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .benefits-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        padding: 0.5rem 1.5rem !important;
    }
    
    .benefit-card {
        padding: 1.8rem 1.2rem;
    }
    
    .benefit-card h3 {
        font-size: 1.25rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
}
