/* =====================================================
   WHY PEOPLE CHOOSE US - RED SECTION FIX
   इस code को assets/css/style.css की सबसे आखिरी line में जोड़ें
   index.php को replace नहीं करना है
   ===================================================== */

/* पूरा Why People Choose Us section */
.why-choose-us {
    width: 100%;
    margin: 0 !important;
    padding: 42px 20px 38px !important;
    background: #a61010 !important;
    color: #ffffff !important;
    text-align: center !important;
    overflow: hidden !important;
}

/* ऊपर वाला heading */
.why-choose-us .section-title {
    margin: 0 0 28px !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: center !important;
}

.why-choose-us .section-title::after,
.why-choose-us .section-title::before {
    display: none !important;
}

.why-choose-us .section-title,
.why-choose-us .section-title h2 {
    color: #ffffff !important;
}

/* तीनों figures एक सी line और ऊपर की तरफ */
.why-choose-us .stats-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 0 !important;
}

.why-choose-us .stat-box {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 22px !important;
    text-align: center !important;
    color: #ffffff !important;
}

/* Number को ऊपर और स्पष्ट रखें */
.why-choose-us .stat-number {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #ffd21a !important;
    font-size: clamp(30px, 4vw, 52px) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
}

/* नीचे के words ऊपर लाए गए हैं */
.why-choose-us .stat-box p,
.why-choose-us .stat-box h4 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

.why-choose-us .stat-box p {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

.why-choose-us .stat-box h4 {
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* बीच की vertical lines */
.why-choose-us .divider {
    flex: 0 0 1px !important;
    width: 1px !important;
    height: 88px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.35) !important;
}

/* Mobile view */
@media (max-width: 767.98px) {
    .why-choose-us {
        padding: 30px 12px 28px !important;
    }

    .why-choose-us .section-title {
        margin-bottom: 22px !important;
    }

    .why-choose-us .section-title h2 {
        font-size: 26px !important;
        line-height: 1.15 !important;
    }

    .why-choose-us .stats-row {
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }

    .why-choose-us .stat-box {
        flex: 0 0 33.333% !important;
        padding: 0 6px !important;
    }

    .why-choose-us .stat-number {
        font-size: 25px !important;
        margin-bottom: 9px !important;
    }

    .why-choose-us .stat-box p {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    .why-choose-us .stat-box h4 {
        font-size: 17px !important;
    }

    .why-choose-us .divider {
        height: 72px !important;
        margin-top: 4px !important;
    }
}

/* बहुत छोटी screen पर words टूटें नहीं */
@media (max-width: 380px) {
    .why-choose-us .stat-box {
        padding: 0 3px !important;
    }

    .why-choose-us .stat-number {
        font-size: 21px !important;
    }

    .why-choose-us .stat-box p {
        font-size: 12px !important;
    }

    .why-choose-us .stat-box h4 {
        font-size: 15px !important;
    }
}

/* PATCH समाप्त */


/* =====================================================
   MOBILE SIDE-SCROLL AND LAYOUT FIX
   केवल mobile view के लिए
   ===================================================== */

html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

@media (max-width: 767.98px) {
    .why-choose-us {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .why-choose-us .stats-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .why-choose-us .stat-box {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 33.333% !important;
        box-sizing: border-box !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .why-choose-us .stat-number {
        white-space: nowrap !important;
        font-size: clamp(19px, 6vw, 28px) !important;
    }

    .why-choose-us .stat-box p,
    .why-choose-us .stat-box h4 {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        font-size: clamp(11px, 3.5vw, 16px) !important;
    }

    .why-choose-us .divider {
        flex: 0 0 1px !important;
        width: 1px !important;
        max-width: 1px !important;
        height: 72px !important;
        margin-left: 2px !important;
        margin-right: 2px !important;
    }
}

/* MOBILE SIDE-SCROLL FIX समाप्त */


/* =====================================================
   MOBILE HORIZONTAL SCROLL FIX
   केवल mobile content को viewport के अंदर रखें
   ===================================================== */

.why-choose-us,
.why-choose-us * {
    box-sizing: border-box !important;
}

.why-choose-us {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.why-choose-us .stats-row {
    max-width: 100% !important;
    overflow: hidden !important;
}

@media (max-width: 767.98px) {
    .why-choose-us .stats-row {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .why-choose-us .stat-box {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0 4px !important;
        overflow: hidden !important;
    }

    /* Mobile में divider अतिरिक्त width बना रहे थे, इसलिए उन्हें छिपाएँ */
    .why-choose-us .divider {
        display: none !important;
    }

    .why-choose-us .stat-number,
    .why-choose-us .stat-box p,
    .why-choose-us .stat-box h4 {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }
}

/* MOBILE HORIZONTAL SCROLL FIX समाप्त */