/* =========================================================
   JUNAID ZAIDI LIBRARY
========================================================= */

.library-intro-section {
    position: relative;
    padding: 90px 0;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================================
   CONTENT
========================================================= */

.library-intro-content {
    max-width: 610px;
}


    .library-intro-content .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 11px;
        color: #0b858d;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .library-intro-content .section-eyebrow::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .library-intro-content h2 {
        margin: 0 0 20px;
        color: #073b4c;
        font-size: clamp(36px, 4vw, 50px);
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.9px;
    }


        .library-intro-content h2 span {
            color: #0b858d;
        }


    .library-intro-content p {
        margin: 0 0 14px;
        color: #71818a;
        font-size: 13px;
        line-height: 1.85;
    }


/* =========================================================
   IMAGE
========================================================= */

.library-intro-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
    background: #073b4c;
    box-shadow: 0 20px 45px rgba(5,45,55,.10);
}


    .library-intro-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .7s ease;
    }


    .library-intro-image:hover img {
        transform: scale(1.035);
    }


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.library-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(7,59,76,.02) 35%, rgba(7,59,76,.82) 100% );
}


/* =========================================================
   IMAGE LABEL
========================================================= */

.library-image-label {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(7,59,76,.90);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}


.library-image-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(229,184,61,.12);
    color: #e5b83d;
    font-size: 14px;
}


.library-image-label span {
    display: block;
    margin-bottom: 3px;
    color: #55c3c6;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 1.4px;
}


.library-image-label strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.library-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}


    .library-actions .btn-campus-primary,
    .library-actions .btn-campus-outline {
        min-height: 45px;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .library-intro-section {
        padding: 70px 0;
    }


    .library-intro-image {
        height: 420px;
    }
}


@media (max-width: 767px) {

    .library-intro-section {
        padding: 60px 0;
    }


    .library-intro-image {
        height: 350px;
        border-radius: 19px;
    }


    .library-actions {
        flex-direction: column;
        align-items: stretch;
    }


        .library-actions a {
            width: 100%;
            justify-content: center;
        }
}
