﻿/* ================= INNER HERO (COMMON) ================= */
.inner-hero {
    position: relative;
    width: 100%;
    height: 190px;
    background-image: url('/images/banner/affiliation.png'); /* 👈 change if needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

    /* DARK OVERLAY */
    .inner-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to right, rgba(11, 31, 75, 0.75), rgba(11, 31, 75, 0.45) );
        z-index: 1;
    }

    .inner-hero .container {
        position: relative;
        z-index: 2;
        color: #fff;
    }

    .inner-hero h1 {
        font-size: 46px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .inner-hero p {
        font-size: 18px;
        opacity: 0.95;
    }

/* ================= AFFILIATION SECTION ================= */
.affiliation-section {
    padding: 70px 0;
    background: #f8fafc;
}

/* CARD */
.affiliation-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* HEADER */
.affiliation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 26px;
    background: linear-gradient(90deg,#0b1f4b,#1c3d8f);
}

    .affiliation-header h3 {
        margin: 0;
        color: #fff;
        font-size: 20px;
        font-weight: 600;
    }

    .affiliation-header .btn {
        font-weight: 600;
        padding: 8px 16px;
        border-radius: 6px;
    }

/* PDF VIEWER */
.pdf-viewer {
    width: 100%;
    height: 75vh;
    border-top: 1px solid #e5e7eb;
}

    .pdf-viewer iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .inner-hero {
        height: 240px;
    }

        .inner-hero h1 {
            font-size: 30px;
        }

        .inner-hero p {
            font-size: 14px;
        }

    .affiliation-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .pdf-viewer {
        height: 60vh;
    }
}
