@media screen and (min-device-width: 1120px) and (max-device-width: 1920px) {
        .semi-sec .exvent-hero-section-04 {
            position: relative;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: 100% 100%;
            height: 260px !important;
            z-index: 1;
        }
    }

    /* Card */
    .custom-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        margin-bottom: 20px;
    }

    /* Section Title */
    .sections-title {
        font-size: 15px;
        font-weight: 600;
        color: #ae4656;
        /* margin-bottom: 15px; */
    }

    /* Info box */
    .infor-box {
        display: flex;
        gap: 10px;
        align-items: start;
        margin-bottom: 15px;
    }

    .info-icon {
        width: 35px;
        height: 35px;
        background: #eef2ff;
        color: #4a6cf7;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 14px;
    }

    .info-content small {
        color: #888;
        font-size: 12px;
    }

    .info-content div {
        font-weight: 400;
        color: #222;
        font-size: 14px;
    }

    /* Main Card */
    .form-card {
        background: #ffffff;
        border-radius: 14px;
        padding: 10px 30px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
        margin-bottom: 10px;
    }

    /* Title */
    .form-title {
        text-align: center;
        font-weight: 600;
        color: #5a3ec8;
        font-size: 17px !important;
        /* margin-bottom: 25px; */
    }

    /* Labels */
    .form-label {
        font-size: 13px;
        font-weight: 500;
        color: #555;
    }

    /* Inputs */
    .form-control,
    .form-select {
        height: 30px !important;
        border-radius: 20px !important;
        padding: 6px 15px !important;
        font-size: 12px !important;
        color: #000 !important;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: #5a3ec8 !important;
        box-shadow: 0 0 0 2px rgba(90, 62, 200, 0.1) !important;
    }

    /* Textarea */
    textarea.form-control {
        border-radius: 20px;
        padding: 6px 15px;
        font-size: 12px;
        color: #000 !important;
        height: auto !important;
    }

    /* Upload Box */
    .upload-box {
        border: 2px dashed #d6d9e0;
        border-radius: 12px;
        padding: 17px 30px;
        text-align: center;
        background: #fafbff;
        transition: 0.3s;
        cursor: pointer;
    }

    .upload-box:hover {
        border-color: #5a3ec8;
        background: #f3f1ff;
    }

    .upload-box i {
        font-size: 28px;
        color: #5a3ec8;
        margin-bottom: 10px;
    }

    /* Image preview */
    .preview-img {
        width: 70px;
        height: 70px;
        border-radius: 10px;
        object-fit: cover;
        margin-right: 8px;
    }

    /* Buttons Center */
    .btn-group-center {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 25px;
    }

    /* Buttons Style */
    .btn-save,
    .btn-Search {
        background: #22a06b;
        border: none;;
        padding: 5px 20px;
        border-radius: 30px;
        font-size: 13px !important;
    }

    .btn-save:hover {
        background: #22a06b !important;
        border: none !important;
        padding: 5px 20px !important;
        border-radius: 30px !important;
        font-size: 13px !important;
    }

    .btn-Search:hover {
        background: #22a06b !important;
        border: none !important;
        padding: 5px 20px !important;
        border-radius: 30px !important;
        font-size: 13px !important;
    }

    .btn-cancels,
    .btn-cancel {
        background: #cd2c2f;
        border: none;
        padding: 5px 20px !important;
        border-radius: 30px;
        font-size: 13px !important;
    }

    .btn-cancels:hover {
        background: #cd2c2f !important;
        border: none !important;
        padding: 5px 20px !important;
        border-radius: 30px !important;
        font-size: 13px !important;
    }

    .btn-cancel:hover {
        background: #cd2c2f !important;
        border: none !important;
        padding: 5px 20px !important;
        border-radius: 30px !important;
        font-size: 13px !important;
    }

    /* Responsive spacing */
    @media (max-width: 768px) {
        .form-card {
            padding: 20px;
        }
    }


    /* Add Event Button */
    .add-btn {
        float: right;
        font-size: 13px !important;
        padding: 3px 12px !important;
        border-radius: 15px !important;
    }

    /* back Event Button */
    .back-btn {
        float: left;
        font-size: 13px !important;
        padding: 3px 12px !important;
        border-radius: 15px !important;
    }

    .event-btn {
        font-size: 13px !important;
        padding: 3px 12px !important;
        border-radius: 15px !important;
    }


    .semi-sec {
        background-color: aliceblue !important;
    }

    .blog-card {
        border: none;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        background: #fff;
        min-height: 450px !important;
        margin-right: 0px !important;
    }

    .blog-body {
        padding: 20px;
    }

    .btn-read {
        font-size: 14px;
        font-weight: 600;
        padding: 4px 14px;
        border-radius: 20px;
        background: #084298;
        color: #fff;
        transition: background 0.3s;
        text-decoration: none;
        float: right;
        margin-top: 10px;
    }

    p {
        font-size: 14px !important;
    }

    .blog-title {
        font-size: 17px !important;
    }

    .blog-meta {
        font-style: italic !important;
    }



    /* colleges list Table css*/

    .table-container {
        background: white;
        padding: 12px 15px;
        border-radius: 20px;
        box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.03);
    }

    .custom-table {
        border-collapse: separate;
        border-spacing: 0 12px;
        /* This creates the gap between rows */
        width: 100%;
        vertical-align: middle;
    }

    /* Header Style */

    .custom-table thead th {
        border: none;
        background-color: #26407e;
        color: #fff;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        padding: 10px 20px;
    }

    /* Row Style */
    .custom-table tbody tr {
        background-color: #fff;
        transition: all 0.2s ease-in-out;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
    }

    .custom-table tbody tr td {
        padding: 15px 20px;
        border: none;
        border-top: 1px solid #f1f4f9;
        border-bottom: 1px solid #f1f4f9;
        min-width: 170px;
    }


    /* Rounded corners for the rows */
    .custom-table tbody tr td:first-child {
        border-left: 1px solid #f1f4f9;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        font-weight: 700;
        color: var(--accent-color);
        min-width: 50px;
    }

    .custom-table tbody tr td:last-child {
        border-right: 1px solid #f1f4f9;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    /* Hover Effect */
    .custom-table tbody tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
        background-color: #fafbff;
    }

    /* Logo & Components */
    .college-logo {
        width: 45px;
        height: 45px;
        object-fit: contain;
        background: #f8fafc;
        padding: 5px;
        border-radius: 10px;
    }

    .college-name {
        font-weight: 700;
        margin: 0;
        color: var(--text-main);
    }

    .badge-type {
        background: #e9edf7;
        color: var(--accent-color);
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .event-count {
        background: linear-gradient(135deg, #05cd99 0%, #00b386 100%);
        color: white;
        padding: 5px 12px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 0.8rem;
    }

    .location-box {
        font-size: 0.85rem;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .btn-details {
        background-color: white;
        border: 1px solid #01b88a;
        color: #01b88a;
        font-weight: 700;
        font-size: 0.8rem;
        padding: 3px 16px;
        border-radius: 10px;
        transition: 0.3s;
    }

    .btn-details:hover {
        background-color: #01b88a;
        color: white;
        border-color: #01b88a;
    }

    .uni-ran-overview {
        color: #ae4656;
    }

    /* Particular clg events list css */
    /* ================= MAIN CARD ================= */
    /* --- Institutional Header --- */
    .college-header {
        background: linear-gradient(356deg, #001f3f, #a1b0c0);
        padding: 20px 0;
        border-bottom: 1px solid var(--card-border);
        margin-bottom: 40px;
    }

    .header-content {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .college-logo-lg {
        /* width: 200px;
        height: 200px; */
        padding: 15px;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        background: white;
    }

    .college-page-name {
        font-family: 'Outfit', sans-serif;
        font-weight: 500;
        font-size: 24px;
        margin-bottom: 10px;
        color: #fff;
    }

    .badge-institutional {
        background: #dbeafe;
        color: #1e40af;
        font-weight: 700;
        padding: 6px 16px;
        border-radius: 100px;
        font-size: 0.85rem;
        text-transform: uppercase;
    }

    /* --- Event Section Styles --- */

    .event-id-tag {
        color: var(--brand);
        font-weight: 800;
        font-size: 0.9rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 10px;
        display: block;
    }

    .event-title {
        font-family: 'Outfit', sans-serif;
        font-weight: 500 !important;
        font-size: 18px;
        margin-bottom: 10px;
        color: #ae4656 !important;
    }

    .event-meta-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        background: #f1f5f9;
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 12px;
    }

    .meta-item {
        display: flex;
        flex-direction: column;
    }

    .meta-item .label {
        font-size: 0.75rem;
        color: #64748b;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .meta-item .value {
        font-weight: 700;
        color: var(--primary);
        font-size: 1rem;
    }

    .event-description {
        color: #475569;
        line-height: 1.8;
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    /* --- 5-Image Gallery Grid --- */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
        background-color: #a9dada;
        padding: 10px;
        border-radius: 10px;
    }

    .gallery-item {
        aspect-ratio: 1/1;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--card-border);
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .gallery-item:hover {
        transform: scale(1.03);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    @media (max-width: 992px) {
        .event-meta-grid {
            grid-template-columns: 1fr;
        }

        .gallery-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .college-name {
            font-size: 1.8rem;
        }

        .header-content {
            flex-direction: column;
            text-align: center;
        }
    }

    .loc-small {
        background-color: #fff;
        padding: 6px 10px;
        border-radius: 10px;
        color: #0e2c4a;
        width: fit-content;
        font-weight: 600;
    }

    .back-link {
        border: none;
        padding: 5px 22px;
        border-radius: 30px;
        font-size: 15px !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* video button css */
    .btn-watch-video {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        background-color: #0f172a !important;
        color: #ffffff !important;
        padding: 16px 4px !important;
        border-radius: 50px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border: 2px solid transparent !important;
        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2) !important;
        font-size: 12px !important;
    }

    .btn-watch-video:hover {
        background-color: #2563eb !important;
        /* Royal Blue */
        color: #ffffff !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3) !important;
    }

    /* Play Icon Container */
    .icon-circle {
        width: 30px !important;
        height: 30px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.9rem !important;
        transition: background 0.3s ease !important;
        margin-bottom: 0px !important;
    }

    .icon-circle::before {
        width: 30px !important;
        height: 30px !important;
    }

    .btn-watch-video:hover .icon-circle {
        background: rgba(255, 255, 255, 0.3) !important;
    }

    /* Pulse Animation */
    .fa-play {
        margin-left: 2px !important;
        /* Visual center adjustment */
        animation: pulse-icon 2s infinite !important;
    }

    @keyframes pulse-icon {
        0% {
            opacity: 1;
            transform: scale(1);
        }

        50% {
            opacity: 0.7;
            transform: scale(1.1);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* lightbox css */
    .lightbox {
        position: fixed;
        z-index: 999999 !important;
        /* VERY HIGH to override header */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        background: rgba(0, 0, 0, 0.95);

        display: none;
        align-items: center;
        justify-content: center;
    }

    /* Force override any parent issues */
    body.lightbox-open {
        overflow: hidden;
    }

    /* Image */
    .lightbox-content {
        max-width: 85%;
        max-height: 85vh;
        border-radius: 12px;
        object-fit: contain;
    }

    /* Close button */
    .lightbox .close {
        position: fixed;
        top: 20px;
        right: 25px;
        font-size: 32px;
        color: #fff;
        z-index: 1000000;
        cursor: pointer;
    }

    /* Arrows */
    .lightbox .prev,
    .lightbox .next {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        font-size: 35px;
        color: #fff;
        padding: 10px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000000;
    }

    .lightbox .prev {
        left: 20px;
    }

    .lightbox .next {
        right: 20px;
    }

    /* ===== MOBILE FIX ===== */
    @media (max-width: 768px) {

        .lightbox {
            padding: 20px;
        }

        .lightbox-content {
            max-width: 100%;
            max-height: 65vh;
            border-radius: 10px;
        }

        /* CLOSE BUTTON (move outside image) */
        .lightbox .close {
            top: 10px;
            right: 15px;
            font-size: 24px;
            background: rgba(0, 0, 0, 0.6);
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        /* ARROWS SMALL + SIDE SAFE */
        .lightbox .prev,
        .lightbox .next {
            font-size: 22px;
            padding: 8px;
            background: rgba(0, 0, 0, 0.5);
        }

        .lightbox .prev {
            left: 5px;
        }

        .lightbox .next {
            right: 5px;
        }
    }

    @media (max-width: 768px) {
        .lightbox {
            align-items: center;
            justify-content: center;
        }

        .lightbox-content {
            margin-top: 20px;
        }
    }



    /* side menu css */
    /* Sidebar */
    .event-sidebar {
        position: sticky;
        top: 20px;
        /* adjust based on header height */
        margin-bottom: 15px;
        align-self: flex-start;
        /* IMPORTANT */
        margin-top: 0px !important;
        background: #f8fafc;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .event-sidebar a {
        display: block;
        padding: 10px 15px;
        margin-bottom: 8px;
        color: #000 !important;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 500;
        transition: 0.3s;
    }

    /* ACTIVE STATE */
    .event-sidebar a.active {
        background: #082751 !important;
        color: #fff !important;
        font-weight: 600;
    }

    /* Hover */
    .event-sidebar a:hover {
        background: #eef4ff;
    }

    /* Right content spacing */
    .event-content {
        height: 100vh;
        overflow-y: auto;
        padding-right: 10px;
    }

    /* Section spacing */
    .event-section {
        padding: 30px;
        margin-bottom: 20px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    /* Mobile view */
    @media (max-width: 768px) {
        #act-head {
            display: block !important;
        }
    }

    .lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 80%;
    max-height: 80%;
}

.close-btn, .prev-btn, .next-btn {
    position: absolute;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.close-btn { top: 20px; right: 30px; }
.prev-btn { left: 30px; }
.next-btn { right: 30px; }


.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;
}

/* IMAGE CENTERED */
.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}

/* NAV BUTTONS */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* HOVER EFFECT */
.prev-btn:hover,
.next-btn:hover,
.close-btn:hover {
    color: #00ffcc;
}
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.video-content {
    position: relative;
    width: 80%;
    max-width: 900px;
}

.video-content iframe {
    width: 100%;
    height: 500px;
    border-radius: 8px;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: none;

    align-items: center;
    justify-content: center;

    z-index: 99999;
}

/* center box */
.video-box {
    position: relative;
    width: 90%;
    max-width: 900px;
}

/* responsive video */
.video-box iframe {
    width: 100%;
    height: 500px;
    border-radius: 10px;
}

/* close button */
.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}
.badge {
    font-size: 16px;
    padding: 6px 10px;
    border-radius: 20px;
}
.bg-warning{
    background-color: #ffc107 !important;
}
.loc{
    font-size:13px !important;
}