/* ════════════════════════════════════════════════════════════
   WHY CHOOSE CHALKWALK - DARK BACKGROUND WITH CUSTOM SPACING
   ════════════════════════════════════════════════════════════ */

#seo-why {
    background: #1a1a1a !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%) !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
#seo-why::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px);
    pointer-events: none;
}

/* Glowing accent */
#seo-why::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

#seo-why .container {
    position: relative;
    z-index: 2;
}

/* ════════════════════════════════════════════════════════════
   SECTION HEADER
   ════════════════════════════════════════════════════════════ */

.why-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-section-header h2 {
    color: #ffffff !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    font-family: 'Muli', sans-serif !important;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

/* Elegant underline */
.why-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c0392b, #e74c3c);
    border-radius: 2px;
}

/* ════════════════════════════════════════════════════════════
   CARDS WRAPPER - FLEXBOX WITH CUSTOM SPACING
   ════════════════════════════════════════════════════════════ */

.why-cards-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════
   INDIVIDUAL CARDS - DARK THEME WITH GLASSMORPHISM
   ════════════════════════════════════════════════════════════ */

.why-card {
    flex: 1 1 0;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Gradient overlay on hover */
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

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

/* Top accent line */
.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px 16px 0 0;
}

.why-card:hover::after {
    transform: scaleX(1);
}

/* Hover effects */
.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(192, 57, 43, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(192, 57, 43, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

/* ════════════════════════════════════════════════════════════
   ICON STYLING - VIBRANT & ANIMATED
   ════════════════════════════════════════════════════════════ */

.why-icon-wrap {
    width: 75px !important;
    height: 75px !important;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.2) 0%, rgba(231, 76, 60, 0.15) 100%) !important;
    border: 2px solid rgba(192, 57, 43, 0.3);
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 24px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    box-shadow: 
        0 8px 20px rgba(192, 57, 43, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

/* Glowing ring effect */
.why-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #c0392b;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.why-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover .why-icon-wrap {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%) !important;
    border-color: #e74c3c;
    box-shadow: 
        0 12px 30px rgba(192, 57, 43, 0.4),
        0 0 0 4px rgba(192, 57, 43, 0.2),
        inset 0 2px 8px rgba(255, 255, 255, 0.2);
    transform: scale(1.15) rotate(8deg);
}

.why-card:hover .why-icon-wrap::after {
    opacity: 0.6;
    transform: scale(1.2);
}

.why-card:hover .why-icon-wrap::before {
    opacity: 1;
}

/* Icon itself */
.why-icon-wrap .fas {
    font-size: 2rem !important;
    color: #e74c3c !important;
    margin: 0 !important;
    transition: all 0.4s ease !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.why-card:hover .why-icon-wrap .fas {
    color: #ffffff !important;
    transform: scale(1.1) rotate(-8deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* ════════════════════════════════════════════════════════════
   TEXT STYLING
   ════════════════════════════════════════════════════════════ */

.why-card p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    transition: color 0.3s ease !important;
}

.why-card p strong {
    color: #ffffff !important;
    font-weight: 700 !important;
    display: block;
    margin: 0;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    line-height: 1.4;
    font-family: 'Muli', sans-serif;
}

.why-card:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.why-card:hover p strong {
    color: #e74c3c !important;
    transform: scale(1.02);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ════════════════════════════════════════════════════════════ */

@media (max-width: 1199px) {
    .why-cards-wrapper {
        gap: 25px;
    }
    
    .why-card {
        flex: 0 1 calc(25% - 19px);
        padding: 35px 20px;
    }
}

@media (max-width: 991px) {
    #seo-why {
        padding: 70px 0 !important;
    }
    
    .why-section-header {
        margin-bottom: 50px;
    }
    
    .why-section-header h2 {
        font-size: 2rem !important;
    }
    
    .why-cards-wrapper {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .why-card {
        flex: 0 1 calc(50% - 10px);
        min-width: 0;
        padding: 32px 20px;
    }
    
    .why-icon-wrap {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 20px !important;
    }
    
    .why-icon-wrap .fas {
        font-size: 1.85rem !important;
    }
}

@media (max-width: 767px) {
    #seo-why {
        padding: 60px 0 !important;
    }
    
    .why-section-header {
        margin-bottom: 40px;
    }
    
    .why-section-header h2 {
        font-size: 1.75rem !important;
    }
    
    .why-cards-wrapper {
        gap: 18px;
        flex-wrap: wrap;
    }
    
    .why-card {
        flex: 0 1 100%;
        min-width: 0;
        padding: 30px 20px;
    }
    
    .why-icon-wrap {
        width: 65px !important;
        height: 65px !important;
        margin-bottom: 18px !important;
    }
    
    .why-icon-wrap .fas {
        font-size: 1.75rem !important;
    }
    
    .why-card p strong {
        font-size: 1rem;
    }
    
    .why-card p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 575px) {
    #seo-why {
        padding: 50px 0 !important;
    }
    
    .why-section-header h2 {
        font-size: 1.5rem !important;
    }
    
    .why-card {
        padding: 28px 18px;
    }
    
    .why-icon-wrap {
        width: 60px !important;
        height: 60px !important;
    }
    
    .why-icon-wrap .fas {
        font-size: 1.6rem !important;
    }
}

/* ════════════════════════════════════════════════════════════
   ANIMATION ENHANCEMENTS
   ════════════════════════════════════════════════════════════ */

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

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

.why-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.why-card:nth-child(1) { animation-delay: 0.1s; }
.why-card:nth-child(2) { animation-delay: 0.2s; }
.why-card:nth-child(3) { animation-delay: 0.3s; }
.why-card:nth-child(4) { animation-delay: 0.4s; }

/* Icon pulse on hover */
.why-card:hover .why-icon-wrap {
    animation: pulse 1.8s ease-in-out infinite;
}
