/* =========================================================
   CUI ISLAMABAD CAMPUS
   HERO SECTION
========================================================= */

.islamabad-hero {
    position: relative;
    height: 850px;
    min-height: 850px;
    overflow: hidden;
    background: #082F43;
    isolation: isolate;
}


/* =========================================================
   BACKGROUND VIDEO
========================================================= */

.islamabad-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.islamabad-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(4, 27, 40, .96) 0%, rgba(5, 43, 60, .88) 38%, rgba(8, 80, 104, .55) 70%, rgba(8, 47, 67, .30) 100% );
    z-index: -2;
}


/* =========================================================
   DECORATIVE GLOW
========================================================= */

.islamabad-hero-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    right: -230px;
    bottom: -250px;
    border-radius: 50%;
    background: rgba(8, 127, 140, .16);
    filter: blur(5px);
    z-index: -1;
    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.islamabad-hero-content {
    position: relative;
    max-width: 760px;
    padding-top: 35px;
}


/* =========================================================
   CAMPUS BADGE
========================================================= */

.islamabad-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    margin-bottom: 20px;
    border-radius: 40px;
    color: #d9f3f3;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}


/* =========================================================
   BADGE DOT
========================================================= */

.badge-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e3b33d;
    box-shadow: 0 0 0 4px rgba(227,179,61,.12);
}


/* =========================================================
   HERO HEADING
========================================================= */

.islamabad-hero h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(44px, 4.6vw, 66px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
}


    /* Teal Heading Accent */

    .islamabad-hero h1 span {
        color: #73d1d4;
    }


        /* Gold Heading Accent */

        .islamabad-hero h1 span:last-child {
            color: #e3b33d;
        }


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.islamabad-hero-content > p {
    max-width: 620px;
    margin: 0 0 27px;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.islamabad-hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 38px;
}


/* Common Button */

.islamabad-btn-primary,
.islamabad-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 47px;
    padding: 0 21px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: transform .3s ease, background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.islamabad-btn-primary {
    color: #082F43;
    background: #e3b33d;
    border: 1px solid #e3b33d;
    box-shadow: 0 10px 25px rgba(227,179,61,.16);
}


    .islamabad-btn-primary:hover {
        color: #082F43;
        background: #f0c85a;
        border-color: #f0c85a;
        transform: translateY(-3px);
        box-shadow: 0 15px 32px rgba(227,179,61,.25);
    }


    /* Primary Arrow */

    .islamabad-btn-primary i {
        transition: transform .3s ease;
    }


    .islamabad-btn-primary:hover i {
        transform: translateX(5px);
    }


/* =========================================================
   OUTLINE BUTTON
========================================================= */

.islamabad-btn-outline {
    color: #ffffff;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


    .islamabad-btn-outline:hover {
        color: #ffffff;
        background: rgba(255,255,255,.11);
        border-color: rgba(255,255,255,.50);
        transform: translateY(-3px);
    }


    /* Outline Arrow */

    .islamabad-btn-outline i {
        transition: transform .3s ease;
    }


    .islamabad-btn-outline:hover i {
        transform: translateY(3px);
    }


/* =========================================================
   HERO STATISTICS
========================================================= */

.islamabad-hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 2px;
}


.islamabad-stat {
    min-width: 88px;
}


    /* Number */

    .islamabad-stat h3 {
        margin: 0 0 4px;
        color: #ffffff;
        font-size: 21px;
        font-weight: 800;
        line-height: 1;
    }


    /* Label */

    .islamabad-stat span {
        color: rgba(255,255,255,.56);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .3px;
    }


/* =========================================================
   STAT DIVIDERS
========================================================= */

.islamabad-stat-divider {
    width: 1px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(255,255,255,.17);
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.islamabad-scroll {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.8px;
    z-index: 5;
    transition: color .3s ease;
}


    .islamabad-scroll:hover {
        color: #e3b33d;
    }


/* =========================================================
   MOUSE SCROLL
========================================================= */

.islamabad-mouse {
    position: relative;
    width: 20px;
    height: 30px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
    border: 1.5px solid rgba(255,255,255,.55);
    border-radius: 13px;
}


.islamabad-wheel {
    width: 3px;
    height: 6px;
    border-radius: 5px;
    background: #e3b33d;
    animation: islamabadScrollWheel 1.7s infinite;
}


@keyframes islamabadScrollWheel {

    0% {
        opacity: 0;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
        transform: translateY(8px);
    }

    100% {
        opacity: 0;
        transform: translateY(11px);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .islamabad-hero-content {
        max-width: 700px;
    }

    .islamabad-hero h1 {
        font-size: 58px;
    }
}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 991px) {

    .islamabad-hero {
        height: 820px;
        min-height: 820px;
    }


    .islamabad-hero-content {
        max-width: 680px;
        padding-top: 30px;
    }


    .islamabad-hero h1 {
        font-size: 54px;
        letter-spacing: -1.2px;
    }


    .islamabad-hero-content > p {
        max-width: 600px;
        font-size: 14px;
    }


    .islamabad-hero-stats {
        gap: 18px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .islamabad-hero {
        height: auto;
        min-height: 760px;
    }


    /* Mobile Overlay */

    .islamabad-hero-overlay {
        background: linear-gradient( 180deg, rgba(4,27,40,.91) 0%, rgba(5,43,60,.84) 52%, rgba(8,47,67,.96) 100% );
    }


    /* Content */

    .islamabad-hero-content {
        max-width: 100%;
        padding-top: 105px;
        padding-bottom: 90px;
    }


    /* Badge */

    .islamabad-hero-badge {
        padding: 7px 12px;
        margin-bottom: 17px;
        font-size: 8px;
        letter-spacing: 1.4px;
    }


    /* Heading */

    .islamabad-hero h1 {
        margin-bottom: 17px;
        font-size: 42px;
        line-height: 1.07;
        letter-spacing: -1px;
    }


    /* Description */

    .islamabad-hero-content > p {
        max-width: 100%;
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 1.7;
    }


    /* Buttons */

    .islamabad-hero-buttons {
        gap: 10px;
        margin-bottom: 32px;
        flex-wrap: wrap;
    }


    .islamabad-btn-primary,
    .islamabad-btn-outline {
        min-height: 44px;
        padding: 0 17px;
        font-size: 11px;
    }


    /* Statistics */

    .islamabad-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }


    .islamabad-stat {
        min-width: 0;
    }


        .islamabad-stat h3 {
            font-size: 19px;
        }


        .islamabad-stat span {
            font-size: 9px;
        }


    .islamabad-stat-divider {
        display: none;
    }


    /* Hide scroll on mobile */

    .islamabad-scroll {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .islamabad-hero {
        min-height: 700px;
    }


    .islamabad-hero-content {
        padding-top: 95px;
    }


    .islamabad-hero h1 {
        font-size: 37px;
        letter-spacing: -.8px;
    }


    .islamabad-hero-content > p {
        font-size: 13px;
    }


    .islamabad-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }


    .islamabad-btn-primary,
    .islamabad-btn-outline {
        width: 100%;
    }


    .islamabad-hero-stats {
        gap: 16px;
    }
}
