/* ===================================================
   CAR FINANCING PAGE
   =================================================== */

/* ----- Hero Section ----- */
.cf-hero {
    text-align: center;
}

.main_text.cf-description {
    text-align: center;
    max-width: 1050px;
}

/* ----- Bank Partners Logo Grid Section ----- */
.cf-partners__grid {
    display: grid;
    padding: 40px;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    background-color: #F5F2F0;
    border-radius: 8px;
    overflow: hidden;
}

/* First 4 items → span 3 cols each (3×4 = 12) */
.cf-partners__item:nth-child(-n+4) {
    grid-column: span 3;
}

/* Remaining items → span 4 cols each (4×3 = 12) */
.cf-partners__item:nth-child(n+5) {
    grid-column: span 4;
}

.cf-partners__item {
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding-bottom: 30px;
}

.cf-partners__item:nth-child(8),
.cf-partners__item:nth-child(9),
.cf-partners__item:nth-child(10) {
    padding-bottom: 0;
}

.cf-partners__item:hover {
    /*background-color: #eef2f6;*/
    transform: scale(1.03);
}

.cf-partners__item img {
    object-fit: cover;
    transition: filter 0.3s ease;
}

/* ----- Highlights Section ----- */
.cf-highlights__item {
    display: flex;
    align-items: center;
    gap: 100px;
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 20%);
}

.cf-highlights__item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 20%);
}

.cf-highlights__label {
    width: 590px;
}

.cf-highlights__label span {
    font-size: 24px;
    line-height: 78px;
    font-weight: 600;
    color: #111111;
}

.cf-highlights__label h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #000;
    letter-spacing: -0.2px;
}

.cf-highlights__desc {
    flex: 1;
    min-width: 0;
}


.cf-highlights__desc p {
    max-width: 100%;
}

/* ===================================================
   RESPONSIVE — Tablet (992px – 1280px)
   =================================================== */
@media (min-width: 992px) and (max-width: 1280px) {
    /* .cf-partners__grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .cf-partners__item:nth-child(n) {
        grid-column: auto;
    } */

    .cf-partners__item img {
        max-width: 130px;
        max-height: 40px;
    }

    .cf-highlights__item {
        gap: 35px;
        padding: 30px 0;
    }

    .cf-highlights__label {
        width: 350px;
    }

    .cf-highlights__label span {
        font-size: 16px;
        line-height: 60px;
    }
}

/* ===================================================
   RESPONSIVE — Tablet (768px – 1280px)
   =================================================== */
@media (min-width: 768px) and (max-width: 991px) {
    /* .cf-partners__grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .cf-partners__item:nth-child(n) {
        grid-column: auto;
    } */

    .cf-partners__item img {
        max-width: 130px;
        max-height: 40px;
    }

    .cf-highlights__item {
        gap: 35px;
        padding: 30px 0;
    }

    .cf-highlights__label {
        width: 275px;
    }

    .cf-highlights__label span {
        font-size: 16px;
        line-height: 40px;
    }
}

/* ===================================================
   RESPONSIVE — Mobile (max-width: 767px)
   =================================================== */
@media screen and (max-width: 767px) {
    .cf-partners__grid {
        border-radius: 8px;
        padding: 40px 20px;
        gap: 15px;
    }

    .main_text.cf-description {
        max-width: 100%;
    }

    /* Highlights — stack vertically on mobile */
    .cf-highlights__item {
        flex-direction: column;
        gap: 12px;
        padding: 19px 0 0 0;
        border-top: 0;
    }

    .cf-highlights__label {
        width: 100%;
    }

    .cf-highlights__label span {
        font-size: 16px;
        line-height: 40px;
    }

    .cf-highlights__item:last-child {
        border-bottom: 0;
    }

    .cf-partners__item img {
        max-width: 110px;
    }
}


@media screen and (max-width: 600px) {
    .cf-partners__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cf-partners__item:nth-child(n) {
        grid-column: auto;
    }
}