/* ==========================================================================
   WHY CHOOSE BARAKA HEALTHNET - SECTION STYLES
   Colors: Green (#056718), Orange (#F7941D)
   Path: assets/css/why-choose.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES & BASE ISOLATION
   -------------------------------------------------------------------------- */
:root {
    --bhn-primary-green: #056718;
    --bhn-dark-green: #034410;
    --bhn-primary-orange: #F7941D;
    --bhn-light-orange: #fff4e8;
    --bhn-text-dark: #1f2937;
    --bhn-text-muted: #4b5563;
    --bhn-bg-light: #f9fafb;
    --bhn-white: #ffffff;
    --bhn-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --bhn-shadow-md: 0 10px 25px -5px rgba(5, 103, 24, 0.08);
    --bhn-shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
    --bhn-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-choose-section,
.why-choose-section * {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------------------------------
   2. MAIN SECTION & DECORATIVE BACKGROUNDS
   -------------------------------------------------------------------------- */
.why-choose-section {
    position: relative;
    padding: 100px 20px;
    background-color: var(--bhn-bg-light);
    overflow: hidden;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--bhn-text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.wave-top-left {
    top: -80px;
    left: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at top left, var(--bhn-primary-green) 0%, rgba(5, 103, 24, 0.05) 70%, transparent 100%);
    border-radius: 0 0 100% 0;
}

.curve-bottom-right {
    bottom: -100px;
    right: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at bottom right, var(--bhn-light-orange) 0%, rgba(247, 148, 29, 0.15) 60%, transparent 100%);
    border-radius: 100% 0 0 0;
}

.dots-pattern {
    position: absolute;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(var(--bhn-primary-green) 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.15;
    z-index: 1;
}

.dots-left { top: 120px; left: 40px; }
.dots-right { bottom: 140px; right: 30px; }

/* --------------------------------------------------------------------------
   3. CONTAINER & HEADER
   -------------------------------------------------------------------------- */
.why-container {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.why-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 60px auto;
}

.subtitle-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.subtitle-wrapper .line {
    width: 35px;
    height: 2px;
    background-color: var(--bhn-primary-orange);
    display: inline-block;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--bhn-primary-green);
    text-transform: uppercase;
}

.header-icon-divider {
    color: var(--bhn-primary-green);
    font-size: 15px;
    margin: 4px 0 14px 0;
    animation: bhn-pulse 2s infinite;
}

.main-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px !important;
}

.title-green {
    color: var(--bhn-primary-green);
    display: block;
}

.title-orange {
    color: var(--bhn-primary-orange);
    display: block;
}

.header-description {
    color: var(--bhn-text-muted);
    font-size: 16px;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   4. TWO-COLUMN LAYOUT
   -------------------------------------------------------------------------- */
.why-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.why-image-column {
    flex: 1 1 460px;
    position: relative;
}

.why-content-column {
    flex: 1 1 500px;
}

/* --------------------------------------------------------------------------
   5. IMAGE FRAME & FLOATING BADGE
   -------------------------------------------------------------------------- */
.image-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--bhn-shadow-lg);
    background-color: var(--bhn-white);
}

.image-frame img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    max-height: 520px;
    object-fit: cover;
    display: block;
    border-radius: 28px;
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(145deg, var(--bhn-dark-green) 0%, var(--bhn-primary-green) 100%);
    color: var(--bhn-white);
    padding: 28px 22px 22px 22px;
    border-top-right-radius: 26px;
    max-width: 220px;
    box-shadow: 6px -6px 20px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.badge-icon {
    position: absolute;
    top: -18px;
    left: 22px;
    background: var(--bhn-primary-orange);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bhn-white);
    font-size: 16px;
    border: 3px solid var(--bhn-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.experience-badge h3 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 !important;
    line-height: 1;
    color: var(--bhn-white) !important;
}

.badge-title {
    font-size: 14px;
    font-weight: 700;
    margin: 6px 0 8px 0;
    display: block;
    letter-spacing: 0.5px;
}

.badge-subtext {
    font-size: 11px;
    opacity: 0.92;
    line-height: 1.45;
    margin: 0;
}

/* --------------------------------------------------------------------------
   6. CONTENT COLUMN & 2x2 FEATURE CARDS
   -------------------------------------------------------------------------- */
.content-header h3 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px !important;
}

.green-text { color: var(--bhn-primary-green); }
.orange-text { color: var(--bhn-primary-orange); }

.short-line {
    width: 40px;
    height: 3px;
    background-color: var(--bhn-primary-green);
    margin-bottom: 16px;
    border-radius: 2px;
}

.content-header p {
    color: var(--bhn-text-muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 30px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.why-card {
    background: var(--bhn-white);
    padding: 22px;
    border-radius: 18px;
    box-shadow: var(--bhn-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--bhn-transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bhn-shadow-md);
    border-color: rgba(5, 103, 24, 0.1);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--bhn-white);
    transition: var(--bhn-transition);
}

.why-card:hover .icon-wrapper {
    transform: scale(1.08);
}

.accent-green .icon-wrapper { background-color: var(--bhn-primary-green); }
.accent-orange .icon-wrapper { background-color: var(--bhn-primary-orange); }

.card-details h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0 !important;
}

.accent-green .card-details h4 { color: var(--bhn-primary-green); }
.accent-orange .card-details h4 { color: var(--bhn-primary-orange); }

.card-details p {
    font-size: 12.5px;
    color: var(--bhn-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   7. SPLIT CALL-TO-ACTION BUTTON
   -------------------------------------------------------------------------- */
.why-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--bhn-dark-green);
    border-radius: 50px;
    overflow: hidden;
    text-decoration: none !important;
    transition: var(--bhn-transition);
    box-shadow: var(--bhn-shadow-sm);
}

.why-btn:hover {
    background-color: var(--bhn-primary-green);
    box-shadow: var(--bhn-shadow-md);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--bhn-white);
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    letter-spacing: 0.3px;
}

.btn-icon {
    background-color: var(--bhn-primary-orange);
    color: var(--bhn-white);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--bhn-transition);
}

.why-btn:hover .btn-icon {
    background-color: #e08213;
    padding-left: 24px;
}

/* --------------------------------------------------------------------------
   8. ANIMATIONS & MEDIA QUERIES
   -------------------------------------------------------------------------- */
@keyframes bhn-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

@media (max-width: 992px) {
    .why-wrapper {
        gap: 40px;
    }
    
    .main-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 16px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 28px;
    }

    .image-frame img {
        min-height: 350px;
    }

    .experience-badge {
        position: relative;
        max-width: 100%;
        border-radius: 0 0 28px 28px;
        box-shadow: none;
    }
}