/* ========================================
   WHY CHOOSE US SECTION
   Animated Icons & Modern Design
   ======================================== */

.why-choose-section {
    padding: 50px 0;
    margin-top: 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.why-choose-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    font-family: 'Quintessential', cursive;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 18px;
}

/* Why Card */
.why-card {
    background: white;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.why-card:hover {
    transform: translateY(-12px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

/* Animated Icon Container */
.why-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.why-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    padding: 5px;
    background: inherit;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover .why-icon::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.why-icon svg {
    width: 38px;
    height: 38px;
    color: white;
    position: relative;
    z-index: 1;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.why-card:hover .why-icon svg {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1) translateY(0); }
    25% { transform: scale(1.1) translateY(-10px); }
    50% { transform: scale(0.95) translateY(0); }
    75% { transform: scale(1.05) translateY(-5px); }
}

/* Gradient Backgrounds */
.green-gradient {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.blue-gradient {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.purple-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.orange-gradient {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.why-card:hover .green-gradient {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}

.why-card:hover .blue-gradient {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

.why-card:hover .purple-gradient {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.why-card:hover .orange-gradient {
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
}

/* Title & Description */
.why-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.why-card:hover .why-title {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-description {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.why-card:hover .why-description {
    color: #475569;
}

/* Responsive Design */
@media (max-width: 960px) {
    .why-choose-section {
        padding: 45px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 35px;
    }
    
    .why-card {
        padding: 25px 20px;
    }
    
    .why-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
    }
    
    .why-icon svg {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 640px) {
    .why-choose-section {
        padding: 35px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .why-card {
        padding: 20px 16px;
    }
    
    .why-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 14px;
    }
    
    .why-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .why-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .why-description {
        font-size: 0.75rem;
        line-height: 1.5;
    }
}
