.alumni-video-trigger {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    overflow: hidden;
    background: #081b35;
    box-shadow: 0 18px 45px rgba(3, 78, 162, 0.18);
    cursor: pointer;
    isolation: isolate;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.alumni-video-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        transparent 35%,
        rgba(2, 23, 49, 0.85) 100%
    );
    pointer-events: none;
}

.alumni-video-trigger .video-thumbnail {
    display: block;
    width: 100%;
    height: 45vh;
    object-fit: cover;
    transition:
        transform 0.65s ease,
        opacity 0.35s ease;
}

.alumni-video-trigger:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(3, 78, 162, 0.28);
}

.alumni-video-trigger:hover .video-thumbnail {
    transform: scale(1.045);
    opacity: 0.9;
}

.box.single-institure-tabbing
    .tab-content
    .alumni-video-trigger
    .alumni-play-control {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: auto;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #0874d8 0%, #034ea2 72%);
    box-shadow: 0 12px 30px rgba(3, 78, 162, 0.42);
    backdrop-filter: blur(8px);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.alumni-play-control::before {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: inherit;
    background: rgba(3, 78, 162, 0.12);
}

.alumni-play-control i {
    position: relative;
    z-index: 1;
    margin-left: 4px;
    font-size: 23px;
}

.alumni-video-trigger:hover .alumni-play-control {
    transform: scale(1.1);
    background: linear-gradient(135deg, #034ea2 0%, #022f64 100%);
    box-shadow: 0 16px 38px rgba(3, 78, 162, 0.52);
}
 
.alumni-video-meta {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    text-align: left;
}

.alumni-video-meta strong {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.alumni-video-meta small {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 30px;
    background: rgba(3, 78, 162, 0.8);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.alumni-video-trigger:focus-visible {
    outline: 3px solid #034ea2;
    outline-offset: 4px;
}

.alumni-video-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 15, 31, 0.88);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(12px);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.alumni-video-popup.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.alumni-video-popup__dialog {
    position: relative;
    width: min(100%, 1000px);
    overflow: hidden;
    border: 3px solid #034ea2;
    border-radius: 24px;
    background: #fff;
    box-shadow:
        0 0 0 7px rgba(3, 78, 162, 0.18),
        0 30px 90px rgba(0, 0, 0, 0.55),
        0 12px 35px rgba(3, 78, 162, 0.32);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.alumni-video-popup.is-open .alumni-video-popup__dialog {
    transform: translateY(0) scale(1);
}

.alumni-video-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
    padding: 14px 76px 14px 22px;
    border-bottom: 1px solid rgba(3, 78, 162, 0.16);
    background: linear-gradient(135deg, #f4f9ff 0%, #fff 58%, #edf6ff 100%);
}

.alumni-video-popup__heading {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.alumni-video-popup__icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #034ea2, #0874d8);
    box-shadow: 0 8px 18px rgba(3, 78, 162, 0.25);
    font-size: 15px;
}

.alumni-video-popup__copy {
    min-width: 0;
}

.alumni-video-popup__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #034ea2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.alumni-video-popup__title {
    display: block;
    overflow: hidden;
    margin: 0;
    color: #12243a;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.alumni-video-popup__status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(3, 78, 162, 0.18);
    border-radius: 30px;
    color: #034ea2;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
}

.alumni-video-popup__status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #19a75c;
    box-shadow: 0 0 0 4px rgba(25, 167, 92, 0.13);
}

.alumni-video-popup__content {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.alumni-video-popup__content iframe,
.alumni-video-popup__content video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.alumni-video-popup__close {
    position: absolute;
    top: 15px;
    right: 17px;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(3, 78, 162, 0.22);
    border-radius: 50%;
    color: #034ea2;
    background: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 7px 20px rgba(3, 78, 162, 0.16);
    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease;
}

.alumni-video-popup__close:hover {
    transform: rotate(90deg);
    color: #fff;
    background: #034ea2;
}

.alumni-video-popup__close:focus-visible {
    outline: 3px solid rgba(3, 78, 162, 0.35);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .alumni-video-trigger,
    .alumni-video-popup__dialog {
        border-radius: 16px;
    }

    .alumni-video-trigger .video-thumbnail {
        height: 300px;
    }

    .box.single-institure-tabbing
        .tab-content
        .alumni-video-trigger
        .alumni-play-control {
        width: 58px;
        height: 58px;
    }

    .alumni-play-control i {
        font-size: 19px;
    }

    .alumni-video-meta {
        right: 16px;
        bottom: 15px;
        left: 16px;
    }

    .alumni-video-meta strong {
        font-size: 14px;
    }

    .alumni-video-popup {
        padding: 15px;
    }

    .alumni-video-popup__header {
        min-height: 68px;
        padding: 11px 62px 11px 14px;
    }

    .alumni-video-popup__icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .alumni-video-popup__title {
        font-size: 14px;
    }

    .alumni-video-popup__status {
        display: none;
    }

    .alumni-video-popup__close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }
}

/* top button  */

.scroll-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 999;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #034ea2;
    box-shadow: 0 10px 28px rgba(3, 78, 162, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.9);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    color: #034ea2;
    background: #fff;
    box-shadow: 0 13px 34px rgba(3, 78, 162, 0.45);
    transform: translateY(-4px);
}

.scroll-to-top:focus-visible {
    outline: 3px solid rgba(3, 78, 162, 0.35);
    outline-offset: 4px;
}

.scroll-to-top__progress {
    position: absolute;
    inset: -3px;
    width: 58px;
    height: 58px;
    overflow: visible;
    pointer-events: none;
    transform: rotate(-90deg);
}

.scroll-to-top__progress circle {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 163.36;
    stroke-dashoffset: 163.36;
    filter: drop-shadow(0 0 2px rgba(3, 78, 162, 0.5));
}

.scroll-to-top i {
    position: relative;
    z-index: 1;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .scroll-to-top {
        right: 16px;
        bottom: 18px;
        width: 46px;
        height: 46px;
    }

    .scroll-to-top__progress {
        inset: -3px;
        width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-to-top,
    .scroll-to-top i {
        transition: none;
    }
}

/* end top botton */
