/* =====================================================
   ALFAISAL UNIVERSITY
   PARTNERS PAGE
   CSS PREFIX: partners-
===================================================== */


/* =====================================================
   1. BASE
===================================================== */

.partners-page {
    width: 100%;
    color: #071a43;
    font-family: inherit;
    overflow: hidden;
}

.partners-page *,
.partners-page *::before,
.partners-page *::after {
    box-sizing: border-box;
}

.partners-container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}


/* =====================================================
   2. PARTNER SECTIONS
===================================================== */

.partners-section {
    width: 100%;
    padding: 85px 0;
    background: #ffffff;
}

.partners-section-light {
    background: #f5faf4;
}


/* =====================================================
   3. SECTION HEADINGS
===================================================== */

.partners-heading {
    max-width: 950px;
    margin-bottom: 42px;
}

.partners-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #80e387 !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.partners-heading h2 {
    margin: 0 0 16px;
    color: #071a43 !important;
    font-family: inherit;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
}

.partners-heading h3 {
    margin: 0 0 18px;
    color: #071a43 !important;
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.partners-heading p {
    max-width: 850px;
    margin: 0;
    color: #4c5a70 !important;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.85;
}


/* =====================================================
   4. PARTNER GALLERY
===================================================== */

.partners-gallery {
    width: 100%;
    margin-top: 35px;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #edf0f3;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(7, 26, 67, .045);
    overflow: hidden;
}

.partners-gallery img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border: none;
    border-radius: 6px;
}


/* =====================================================
   5. FINAL CTA SECTION
===================================================== */

.partners-cta {
    width: 100%;
    padding: 85px 0;
    background: #071a43;
}

.partners-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.partners-cta-content {
    max-width: 850px;
    flex: 1;
}

.partners-cta .partners-eyebrow {
    color: #80e387 !important;
}

.partners-cta h2 {
    margin: 0 0 22px;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
}

.partners-cta p {
    max-width: 850px;
    margin: 0;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85;
}


/* =====================================================
   6. CTA BUTTONS
===================================================== */

.partners-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    flex-shrink: 0;
}


/* Main button */

.partners-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 53px;
    padding: 15px 28px;

    background: #80e387;
    color: #071a43 !important;
    border: 2px solid #80e387;
    border-radius: 50px;

    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;

    transition: all .3s ease;
}


/* Main button hover */

.partners-btn:hover {
    background: transparent;
    border-color: #80e387;
    color: #ffffff !important;
}


/* Secondary button */

.partners-btn-outline {
    background: transparent;
    border: 2px solid #80e387;
    color: #ffffff !important;
}


/* Secondary button hover */

.partners-btn-outline:hover {
    background: #80e387;
    border-color: #80e387;
    color: #071a43 !important;
}


/* =====================================================
   7. TABLET RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .partners-section {
        padding: 70px 0;
    }

    .partners-heading h2 {
        font-size: 40px;
    }

    .partners-heading h3 {
        font-size: 22px;
    }

    .partners-cta {
        padding: 70px 0;
    }

    .partners-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .partners-cta-content {
        max-width: 100%;
    }

    .partners-cta h2 {
        font-size: 40px;
    }

    .partners-cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

}


/* =====================================================
   8. MOBILE RESPONSIVE
===================================================== */

@media (max-width: 600px) {

    .partners-container {
        width: 90%;
    }

    .partners-section {
        padding: 55px 0;
    }

    .partners-heading {
        margin-bottom: 28px;
    }

    .partners-eyebrow {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .partners-heading h2 {
        font-size: 32px;
        line-height: 1.25;
    }

    .partners-heading h3 {
        font-size: 19px;
        line-height: 1.45;
    }

    .partners-heading p {
        font-size: 15px;
        line-height: 1.8;
    }

    .partners-gallery {
        margin-top: 25px;
        padding: 8px;
        border-radius: 10px;
    }

    .partners-gallery img {
        width: 100%;
        height: auto;
    }

    .partners-cta {
        padding: 60px 0;
    }

    .partners-cta-inner {
        gap: 28px;
    }

    .partners-cta h2 {
        font-size: 32px;
        line-height: 1.25;
    }

    .partners-cta p {
        font-size: 15px;
        line-height: 1.8;
    }

    .partners-cta-buttons {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .partners-btn {
        width: 100%;
        min-height: 50px;
        padding: 13px 22px;
        font-size: 16px;
    }

}


/* =====================================================
   9. SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .partners-heading h2 {
        font-size: 28px;
    }

    .partners-heading h3 {
        font-size: 18px;
    }

    .partners-cta h2 {
        font-size: 28px;
    }

    .partners-gallery {
        padding: 5px;
    }

}