/* =====================================================
   PARTNERS SECTION
   All classes prefixed cxp- and scoped under .cxp-section
   so nothing here can collide with other components.
===================================================== */

.cxp-section {
    overflow: hidden;
}

.cxp-section *,
.cxp-section *::before,
.cxp-section *::after {
    box-sizing: border-box;
}

.cxp-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding: 120px;
    background: linear-gradient(to right, #ffffff, #ffbd88);
}

/*==========================
    Left content
==========================*/

.cxp-section .cxp-text {
    width: 38%;
    max-width: 500px;
    flex-shrink: 0;
}

.cxp-section .cxp-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: #122560;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.cxp-section .cxp-heading {
    font-size: 45px;
    font-weight: 600;
    line-height: 1.05;
    margin: 0 0 30px;
    font-style: poppins;
    
}

.cxp-section .cxp-heading-main {
    display: block;
    color: #122560;
}

.cxp-section .cxp-heading-highlight {
    display: block;
    color: #F28C28;
}

.cxp-section .cxp-description {
    color: #000000;
    line-height: 1.6;
    font-size: 18px;
    margin-bottom: 40px;
}

.cxp-section .cxp-description p {
    margin: 0;
}

.cxp-section .cxp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    border: 2px solid #F28C28;
    border-radius: 50px;
    color: #F28C28;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
}

.cxp-section .cxp-btn:hover {
    background: #F28C28;
    color: #fff;
}

.cxp-section .cxp-btn svg {
    transition: .35s;
}

.cxp-section .cxp-btn:hover svg {
    transform: translateX(5px);
}

/*==========================
    Right area
==========================*/

.cxp-section .cxp-logos {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    min-height: 460px;
    position: relative;

    /* soft fade at both edges instead of a hard cut */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
}

/*==========================
    Rows

    No CSS animation here - GSAP
    drives the tracks. Two engines
    on one element fight each other.
==========================*/

.cxp-section .cxp-row {
    overflow: hidden;
    width: 100%;
}

.cxp-section .cxp-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    will-change: transform;
}

/*==========================
    Card

    Every card is the same width.
    GSAP measures scrollWidth / 2 and
    assumes both halves match, so a
    single odd-sized card opens a gap
    that reads as an empty slot.
==========================*/

.cxp-section .cxp-card {
    /* width: 185px;
    height: 145px; */
     width: 200px;
    height: 175px;

    background: rgba(255, 255, 255, .28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 2px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: .35s;
    overflow: hidden;
}

.cxp-section .cxp-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .42);
}

.cxp-section .cxp-card img {
    /* width: 70%;
    height: 70%; */
     width: 90%;
    height: 90%;
    object-fit: contain;
    background: transparent;
}

/*==========================
    Responsive
==========================*/

@media (max-width: 1200px) {

    .cxp-inner {
        padding: 90px 60px;
        gap: 50px;
    }

    .cxp-section .cxp-heading {
        font-size: 52px;
    }

    .cxp-section .cxp-text {
        width: 42%;
    }

    .cxp-section .cxp-card {
        width: 165px;
        height: 130px;
    }
}

@media (max-width: 991px) {

    .cxp-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 40px;
    }

    .cxp-section .cxp-text {
        width: 100%;
        max-width: 100%;
    }

    .cxp-section .cxp-heading {
        font-size: 46px;
    }

    .cxp-section .cxp-logos {
        width: 100%;
        min-height: 340px;
    }
}

@media (max-width: 768px) {

    .cxp-inner {
        padding: 60px 24px;
    }

    .cxp-section .cxp-heading {
        font-size: 38px;
    }

    .cxp-section .cxp-description {
        font-size: 16px;
    }

    .cxp-section .cxp-card {
        width: 145px;
        height: 115px;
    }
}

@media (max-width: 480px) {

    .cxp-section .cxp-heading {
        font-size: 32px;
    }

    .cxp-section .cxp-btn {
        padding: 13px 24px;
        font-size: 14px;
    }

    .cxp-section .cxp-card {
        width: 128px;
        height: 105px;
    }
}

/*==========================
    Reduced motion
==========================*/

@media (prefers-reduced-motion: reduce) {

    .cxp-section .cxp-card,
    .cxp-section .cxp-btn,
    .cxp-section .cxp-btn svg {
        transition: none;
    }
}