/* =========================================
   WHY CHOOSE US SECTION - WHITE WITH PATTERN
   White Background with African Legal Pattern
   Dark Text with Gold Accents
   ========================================= */

/* WHY CHOOSE US SECTION - White Background with Pattern */
section[style*="Why Choose Us"],
section:has([style*="Why Choose Us"]),
section:has(h2:contains("Built on Integrity")),
.why-choose-section,
.wka-why-choose-section {
    background-color: #ffffff !important;
    background-image: none !important;
    background-attachment: initial !important;
    position: relative !important;
    padding: 80px 0 !important;
    overflow: hidden !important;
}

/* African Legal Pattern Overlay */
section[style*="Why Choose Us"]::before,
section[style*="Why Choose Us"]::after,
section:has([style*="Why Choose Us"])::before,
section:has([style*="Why Choose Us"])::after,
.why-choose-section::before,
.why-choose-section::after {
    content: none !important;
    background: none !important;
    display: none !important;
}

/* Ensure content is above pattern */
section[style*="Why Choose Us"]>div,
section:has([style*="Why Choose Us"])>.container,
.why-choose-section>.container {
    position: relative !important;
    z-index: 1 !important;
}

/* ==========================================
   TYPOGRAPHY - DARK WITH GOLD ACCENTS
   ========================================== */

/* Section Tag */
section[style*="Why Choose Us"] span[style*="border-radius: 50px"],
section:has([style*="Why Choose Us"]) span[style*="border-radius: 50px"],
.why-choose-section .section-tag {
    background: rgba(128, 0, 32, 0.1) !important;
    color: #800020 !important;
    border: 1px solid rgba(128, 0, 32, 0.2) !important;
    padding: 10px 24px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

/* Section Title */
section[style*="Why Choose Us"] h2,
section:has([style*="Why Choose Us"]) h2,
.why-choose-section h2 {
    color: #1a1a1a !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
}

section[style*="Why Choose Us"] h2 span,
section:has([style*="Why Choose Us"]) h2 span,
.why-choose-section h2 span {
    color: #800020 !important;
}

/* ==========================================
   FEATURE CARDS - Premium Design
   ========================================== */
section[style*="Why Choose Us"] [style*="border-radius: 16px"][style*="box-shadow"],
section:has([style*="Why Choose Us"]) [style*="border-radius: 16px"][style*="background: #fff"],
.why-choose-section .feature-card {
    background: #ffffff !important;
    border: 1px solid rgba(128, 0, 32, 0.08) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
}

section[style*="Why Choose Us"] [style*="border-radius: 16px"]:hover,
.why-choose-section .feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(128, 0, 32, 0.12) !important;
    border-color: rgba(128, 0, 32, 0.2) !important;
}

/* Card top accent on hover */
section[style*="Why Choose Us"] [style*="border-radius: 16px"]::before,
.why-choose-section .feature-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #800020 0%, #FFD700 50%, #800020 100%) !important;
    transform: scaleX(0) !important;
    transition: transform 0.4s ease !important;
}

section[style*="Why Choose Us"] [style*="border-radius: 16px"]:hover::before,
.why-choose-section .feature-card:hover::before {
    transform: scaleX(1) !important;
}

/* Feature Icons */
section[style*="Why Choose Us"] [style*="border-radius: 50%"][style*="background"],
.why-choose-section .feature-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%) !important;
    border: 2px solid rgba(128, 0, 32, 0.15) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1rem !important;
    transition: all 0.4s ease !important;
}

section[style*="Why Choose Us"] [style*="border-radius: 16px"]:hover [style*="border-radius: 50%"],
.why-choose-section .feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #800020 0%, #600018 100%) !important;
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.3) !important;
}

section[style*="Why Choose Us"] [style*="border-radius: 50%"] i,
.why-choose-section .feature-icon i {
    font-size: 1.75rem !important;
    color: #800020 !important;
    transition: color 0.3s ease !important;
}

section[style*="Why Choose Us"] [style*="border-radius: 16px"]:hover [style*="border-radius: 50%"] i {
    color: #ffffff !important;
}

/* Feature Titles */
section[style*="Why Choose Us"] h4,
.why-choose-section h4 {
    color: #1a1a1a !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

/* Feature Descriptions */
section[style*="Why Choose Us"] [style*="border-radius: 16px"] p,
.why-choose-section .feature-card p {
    color: #666 !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

/* ==========================================
   STATS SECTION
   ========================================== */
section[style*="Why Choose Us"] [style*="display: flex"][style*="justify-content"],
.why-choose-section .stats-container {
    margin-top: 3rem !important;
    padding: 2rem !important;
    background: linear-gradient(135deg, #800020 0%, #600018 100%) !important;
    border-radius: 20px !important;
    display: flex !important;
    justify-content: space-around !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
}

section[style*="Why Choose Us"] [style*="display: flex"] [style*="text-align: center"],
.why-choose-section .stat-item {
    text-align: center !important;
}

section[style*="Why Choose Us"] [style*="font-size: 2"],
.why-choose-section .stat-number {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #FFD700 !important;
    display: block !important;
}

section[style*="Why Choose Us"] [style*="text-align: center"] span:last-child,
.why-choose-section .stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    section[style*="Why Choose Us"] [style*="display: grid"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {

    section[style*="Why Choose Us"],
    .why-choose-section {
        padding: 60px 0 !important;
    }

    section[style*="Why Choose Us"] h2 {
        font-size: 1.75rem !important;
    }

    section[style*="Why Choose Us"] [style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }

    section[style*="Why Choose Us"] [style*="display: flex"][style*="justify-content"] {
        flex-direction: column !important;
        align-items: center !important;
    }
}
