
/* =========================================
   GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #26352b;
}

.payment-page {
    width: 100%;
    min-height: 100vh;
}


/* =========================================
   ORIGINAL PAYMENT BANNER STYLE
========================================= */

.payment-banner {
    position: relative;
    width: 100%;
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0px 5%;

    background: rgba(0, 39, 0, 0.788);

    color: #ffffff;
    text-align: center;
}

.payment-banner-content {
     max-width: 850px;
}
.payment-banner-content h1 {
    color: #ffffff;
    font-size: clamp(30px, 4vw, 20px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
}



/* =========================================
   BAYAD CENTER FEATURE
========================================= */

.bayad-feature {
    width: 100%;
    padding: 15px 10px;

    background: #d4e6f7;
}

.bayad-feature-container {
    width: 100%;
    max-width: 1140px;
    min-height: 450px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 5px;
}


/* BAYAD IMAGE */

.bayad-image-link {
    display: block;
    width: 100%;
    height: 520px;

    overflow: hidden;
}

.bayad-feature-image {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform .3s ease;
}

.bayad-image-link:hover .bayad-feature-image {
    transform: scale(1.025);
}


/* BAYAD TEXT */

.bayad-feature-content {
    max-width: 590px;
    padding: 25px 0;
}

.feature-label {
    display: block;
    margin-bottom: 5px;

    font-size: 25px;
    font-weight: 500;
    color: #252d35;
}

.bayad-feature-content h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.08;
    font-weight: 800;

    color: #252d35;
    margin-bottom: 25px;
}

.bayad-feature-content p {
    max-width: 570px;

    font-size: 18px;
    line-height: 1.8;
    color: #3c4b5b;
}


/* =========================================
   OTHER PAYMENT PARTNERS
========================================= */

.other-payment-partners {
    width: 100%;
    padding: 25px 35px 75px;

    background: #ffffff;
}

.partners-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-heading {
    text-align: center;
    margin-bottom: 0px;
}

.partners-heading span {
    display: inline-block;
    margin-bottom: 7px;

    color: #6d963f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* FIVE LOGOS IN ONE ROW */

.partners-row {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    align-items: center;
    gap: 25px;
}

.partner-logo {
    width: 100%;
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    background: #ffffff;
    border: 1px solid #e9eee7;
    border-radius: 12px;

    text-decoration: none;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.partner-logo img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 175px;
    max-height: 90px;

    object-fit: contain;

    transition: transform .3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    border-color: #a8c78b;
    box-shadow: 0 8px 20px rgba(40, 83, 52, .10);
}

.partner-logo:hover img {
    transform: scale(1.06);
}

.partner-logo:focus-visible {
    outline: 3px solid #8cae42;
    outline-offset: 4px;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .bayad-feature-container {
        min-height: 400px;
        gap: 20px;
    }

    .bayad-image-link {
        height: 400px;
    }

    .feature-label {
        font-size: 21px;
    }

    .bayad-feature-content h2 {
        font-size: 25px;
    }

    .bayad-feature-content p {
        font-size: 15px;
    }

    .partners-row {
        gap: 15px;
    }

    .partner-logo {
        height: 110px;
        padding: 12px;
    }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .payment-banner {
        min-height: 120px;
        padding: 40px 20px;
    }

    .payment-banner-content p {
        font-size: 14px;
    }

     .payment-banner-content h1 {
        font-size: 20px;
        letter-spacing: 1px;
    }


    /* BAYAD FEATURE */

    .bayad-feature {
        padding: 35px 18px 45px;
    }

    .bayad-feature-container {
        display: flex;
        flex-direction: column;
        gap: 25px;

        min-height: auto;
    }

    .bayad-image-link {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .bayad-feature-image {
        object-fit: contain;
    }

    .bayad-feature-content {
        width: 100%;
        max-width: none;
        padding: 0 5px;
    }

    .feature-label {
        font-size: 19px;
    }

    .bayad-feature-content h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .bayad-feature-content p {
        font-size: 15px;
        line-height: 1.7;
    }


    /* OTHER PARTNERS */

    .other-payment-partners {
        padding: 45px 20px 55px;
    }

    .partners-heading {
        margin-bottom: 28px;
    }

    .partners-row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;

        gap: 15px;

        overflow-x: auto;
        padding: 10px 3px 18px;

        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .partner-logo {
        flex: 0 0 145px;
        height: 105px;

        scroll-snap-align: start;
    }

    .partner-logo img {
        max-width: 120px;
        max-height: 75px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .payment-banner-content h1 {
        font-size: 29px;
    }

    .bayad-feature-content h2 {
        font-size: 25px;
    }

    .partner-logo {
        flex-basis: 130px;
        height: 95px;
    }
}
