/* CTA BUTTON start */
.cta__btn,
.cta__btn:link,
.cta__btn:visited {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 210px;
    height: 45px;
    padding: 12px 24px;

    background: #0E1014;
    border-radius: 16px;
    border: none;
    cursor: pointer;

    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    white-space: nowrap;
    text-decoration: none;

    transition: all 0.25s ease;
}

.cta__btn:hover,
.cta__btn:focus,
.cta__btn:active {
    background-color: #1a1d22;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.cta__btn:active {
    transform: translateY(0);
}

.cta__btn-icon {
    width: 26px;
    height: 25px;
    background: transparent;
    flex-shrink: 0;
    object-fit: contain;
}

/* Mobile CTA button */
@media (max-width: 768px) {
    .cta__btn {
        box-sizing: border-box !important;
        width: 130px !important;
        height: 20px !important;
        padding: 0 12px !important;
        gap: 10px !important;

        border-radius: 6px !important;

        font-size: 10px !important;
        line-height: 12px !important;
    }

    .cta__btn-icon {
        width: 14px;
        height: 14px;
    }
}

/* CTA BUTTON end */


/* Hero Logo section start */
/* ───────────────────────────────────────────────────── */
/* MAIN CONTAINER */
/* ───────────────────────────────────────────────────– */
.logos {
    width: 100%;
    background: #FDFCF5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 0;
    gap: 40px;
}

.logos__heading {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    display: flex;
    align-items: center;
    text-align: center;
    color: #262A35;
    width: 490px;
}

/* ───────────────────────────────────────────────────── */
/* WRAPPER & SCROLL */
/* ───────────────────────────────────────────────────– */
.logos__wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logos__scroll-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ───────────────────────────────────────────────────── */
/* ROWS */
/* ───────────────────────────────────────────────────– */
.logos__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 80px;
    padding: 0;
    height: 80px;

    /* Critical: Set width to fit all items + duplicates */
    width: max-content;

    /* Smooth animation */
    animation: scroll 60s linear infinite;
}

.logos__row--reverse {
    animation-direction: reverse;
    animation-duration: 65s;
}

/* ───────────────────────────────────────────────────── */
/* ALL LOGOS - UNIFORM SIZE */
/* ───────────────────────────────────────────────────– */
.logos__img {
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
}

.logos__img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* ───────────────────────────────────────────────────── */
/* SCROLL ANIMATION */
/* ───────────────────────────────────────────────────– */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
/* .logos__wrapper:hover .logos__row {
    animation-play-state: paused;
} */

/* ═════════════════════════════════════════════════════ */
/* RESPONSIVE BREAKPOINTS */
/* ═════════════════════════════════════════════════════ */

/* ─ Desktop Large ≥ 1920px ─ */
@media (min-width: 1920px) {
    .logos {
        padding: 80px 0;
        gap: 40px;
    }

    .logos__row {
        gap: 100px;
    }


}

/* ─ Desktop Medium 1280px - 1919px ─ */
@media (min-width: 1280px) and (max-width: 1919px) {
    .logos {
        padding: 80px 0;
        gap: 40px;
    }

    .logos__row {
        gap: 80px;
    }


}

/* ─ Desktop Small / Tablet Large 1024px - 1279px ─ */
@media (min-width: 1024px) and (max-width: 1279px) {
    .logos {
        padding: 60px 0;
        gap: 32px;
    }

    .logos__scroll-inner {
        gap: 32px;
    }

    .logos__row {
        gap: 60px;
    }



    .logos__row {
        animation-duration: 50s;
    }

    .logos__row--reverse {
        animation-duration: 55s;
    }
}

/* ─ Tablet 768px - 1023px ─ */
@media (min-width: 768px) and (max-width: 1023px) {
    .logos {
        padding: 48px 0;
        gap: 28px;
    }

    .logos__scroll-inner {
        gap: 28px;
    }

    .logos__row {
        gap: 50px;
    }



    .logos__row {
        animation-duration: 45s;
    }

    .logos__row--reverse {
        animation-duration: 50s;
    }
}

/* ─ MOBILE SHARED FIX (≤767px) ─ */
/* Fixes: Row 1 not rendering + logos oversized/undersized on mobile   */
/* because .logos__img previously had no explicit height, causing     */
/* SVGs to render at native/unstable sizes and get clipped by         */
/* .logos__wrapper's overflow:hidden.                                 */
@media (max-width: 767px) {
    .logos__row {
        height: auto;
        align-items: center;
    }

    /* Fixed width AND height (not width:auto) is required here.       */
    /* Safari on iOS sometimes fails to auto-size an <img> pointing to */
    /* an SVG that has no explicit width/height in the SVG file itself */
    /* (viewBox-only). That miscalculation throws off the row's total  */
    /* width (width:max-content), which breaks the -50% translateX     */
    /* loop math and causes the row to visibly collapse/jump mid-scroll*/
    /* (seen after the Robin logo). Giving every logo an identical,    */
    /* explicit box removes the ambiguity Safari was getting wrong.    */
    .logos__img {
        width: 90px;
        height: 28px;
        object-fit: contain;
    }
}

/* ─ Mobile Large 480px - 767px ─ */
@media (min-width: 480px) and (max-width: 767px) {
    .logos {
        padding: 32px 0;
        gap: 20px;
    }

    .logos__heading {
        width: 90%;
        font-size: 13px;
        line-height: 140%;
        padding-left: 8px;
    }

    .logos__scroll-inner {
        gap: 20px;
    }

    .logos__row {
        gap: 40px;
    }

    .logos__img {
        width: 96px;
        height: 30px;
    }

    /* Fixed: row 1 was slower (50s) than row--reverse (45s) before.   */
    /* Now synced close together so both rows scroll at matching pace. */
    .logos__row {
        animation-duration: 32s;
    }

    .logos__row--reverse {
        animation-duration: 34s;
    }
}

/* ─ Mobile ≤ 479px ─ */
@media (max-width: 479px) {
    .logos {
        padding: 24px 16px;
        gap: 16px;
    }

    .logos__heading {
        width: 100%;
        font-size: 11px;
        line-height: 130%;
        padding-left: 8px;
    }

    .logos__scroll-inner {
        gap: 16px;
    }

    .logos__row {
        gap: 30px;
    }

    .logos__img {
        width: 76px;
        height: 24px;
    }

    /* Fixed: row 1 was slower (35s) than row--reverse (40s) before —  */
    /* inverted here too. Now synced close together. */
    .logos__row {
        animation-duration: 28s;
    }

    .logos__row--reverse {
        animation-duration: 30s;
    }
}

/* Hero Logo section End */