.text-section,
.why-choose-section {
    padding: 70px 0;
}

.text-section .text-heading,
.why-choose-section .whyChoose-heading {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 14px;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 24px;
}

.text-section p,
.why-choose-section p {
    font-size: 18px;
    color: var(--ink);
    font-weight: 300;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 10px;
}

.section-head .main-heading,
.bottom-cta h2,
.section-head .sub-heading,
.logo-bar .section-head h2,
.bottom-cta-inner {
    max-width: 900px;
}

.why-choose-section p:last-child {
    padding-bottom: 0;
}

.why-stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 56px;
    gap: 15px;
}

.why-stat-card {
    background: #fff;
    padding:20px;
    text-align: center;
    position: relative;
    border-radius: 10px;
    box-shadow: 0px 5px 30px rgb(141, 141, 141, 0.25);
    transition: background 0.25s ease;
}


.why-stat-num {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 30px);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}

.why-stat-num sup {
    font-size: 0.5em;
    font-weight: 700;
    letter-spacing: 0;
}

.why-stat-label {
    font-size: 18px;
    font-weight: 300;
    color: var(--ink);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
    .why-stats-row {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Reset right-border dividers then re-apply for 3-col layout */
    .why-stat-card:not(:last-child) {
        border-right: none;
    }

    .why-stat-card:not(:nth-child(3n)) {
        border-right: 1px solid var(--line);
    }

    /* Bottom border for top row */
    .why-stat-card:nth-child(-n+3) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 600px) {
    .why-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-stat-card:not(:last-child) {
        border-right: none;
    }

    .why-stat-card:not(:nth-child(3n)) {
        border-right: none;
    }

    .why-stat-card:nth-child(-n+3) {
        border-bottom: none;
    }

    /* 2-col: odd cells get right border */
    .why-stat-card:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    /* Bottom border for all but last row */
    .why-stat-card:not(:nth-last-child(-n+2)) {
        border-bottom: 1px solid var(--line);
    }

    .why-stat-num {
        font-size: 38px;
    }
}

@media (max-width: 768px) {

    .text-section,
    .why-choose-section {
        padding: 40px 0;
    }
}