
        /* Custom variables for Bootstrap compatibility  theme */
        
    :root {
    /* ===== Dark Mint + White Theme ===== */

    /* Primary Mint Shades */
    --bs-primary: #0F766E;                 /* Dark Mint */
    --bs-primary-rgb: 15, 118, 110;
    --bs-secondary: #14B8A6;               /* Light Mint */

    /* Accent Mint */
    --bs-info: #6EE7B7;

    /* Links */
    --bs-link-color: #0F766E;
    --bs-link-hover-color: #0A5E58;

    /* Background */
    --bs-body-bg: #FFFFFF;

    /* Text Neutral */
    --bs-body-color: #0F2C2A;
}

/* Updated Header Gradient – Dark Mint → Light Mint */
.custom-teal-gradient {
    background: linear-gradient(to right, #0F766E, #14B8A6);
}


/* Staff Card Hover Shadow */
.staff-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(15, 118, 110, 0.20) !important;
}

/* Section Headings Border (HOD, Faculty, etc.) */
h2.border-start {
    border-color: #0F766E !important;
}
/* Smooth content transition */
#content-area {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease;
}

#content-area.is-loading {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}
.staff-card {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp 300ms ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Titles and Highlight Text */
#modal-name,
#modal-title,
#modal-designation {
    color: #0F766E !important;
}

/* Gallery & Event Mint Badge */
.badge.text-bg-info {
    background-color: #14B8A6 !important;
}

     .gallery-img {
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.col:hover .gallery-img {
    transform: scale(1.05);
}

.col:hover .gallery-overlay {
    opacity: 1;
}
  
        
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bs-body-bg);
        }

        /* Custom gradient for the header background */
       

        /* Tab styling adaptation */
        .tab-button {
            transition: all 0.2s ease-in-out;
            border-bottom: 3px solid transparent;
           /* color: #6c757d; /* text-gray-500 */
            padding-top: 0.75rem !important; /* py-3 */
            padding-bottom: 0.75rem !important;
        }

        .tab-button:hover {
            color: #fae102; 
        }

       

        /* Staff Card Hover Effect */
        .staff-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .staff-card:hover {
            transform: translateY(-5px);
            /* Custom shadow to match original effect */
            box-shadow: 0 0.5rem 1rem rgba(13, 148, 136, 0.15) !important;
        }

          /*modal style opens*//* Modal Overlay */
       /* Fix modal close button visibility on mobile */
/* ================================
   DESKTOP (Default)
================================ */
#staff-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 1055;
    padding: 0.75rem;
}
#staff-modal > .bg-white {
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 1rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
}


#staff-modal.show {
    display: flex !important;
}

#staff-modal > div {
    opacity: 1 !important;
    display: block !important;
    position: relative !important;
}
/* Header layout */

#staff-modal .p-4.bg-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
    padding-right: 2.5rem !important; /* space for close button */
    position: relative; /* allows absolute close button on mobile */
}
#staff-modal .bg-primary {
    flex-shrink: 0;
    position: relative;
}

/* Title handling */
#staff-modal .p-4.bg-primary h3,
#staff-modal #modal-title {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#staff-modal .modal-body,
#staff-modal .p-4.row {
    flex: 1 1 auto;
    min-height: 0;              /* 🔴 REQUIRED */
    overflow-y: auto;           /* 🔴 REQUIRED */
    -webkit-overflow-scrolling: touch;
}

/* Close button base style */
#staff-modal .btn-close {
    flex-shrink: 0 !important;
    width: 1.25rem;
    height: 1.25rem;
    z-index: 10;
}
/* Ensure modal header allows absolute positioning */
#staff-modal .bg-primary {
    position: relative;
    overflow: visible !important;
}
#staff-modal .modal-body,
#staff-modal .p-4.row {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Force close button visibility */
#staff-modal .btn-close {
    z-index: 1056 !important;   /* above modal header */
    opacity: 1 !important;
}
#staff-modal h3,
#staff-modal h4 {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
}

#staff-modal p,
#staff-modal li {
    font-size: clamp(0.8rem, 2.8vw, 0.95rem);
}

/* ================================
   MOBILE FIXES (≤ 576px)
================================ */

@media (max-width: 576px) {

    #staff-modal .p-4.bg-primary {
        padding: 0.85rem 1rem !important;
        padding-right: 2.5rem !important; /* space for close */
    }

    #staff-modal #modal-title {
        font-size: 0.9rem !important;
        line-height: 1.1rem !important;
        max-width: calc(100% - 2.5rem);
    }

/* Close button – ALWAYS visible */
    #staff-modal .btn-close {
        position: absolute !important;
        top: 0.5rem !important;
        right: 0.5rem !important;
        z-index: 1060 !important;
        opacity: 1 !important;
        transform: scale(0.9);
    }

    /* Reduce header padding */
    #staff-modal .p-4.bg-primary {
        padding: 0.85rem 1rem !important;
        padding-right: 1.5rem !important;
    }

    /* Shrink title safely */
    #staff-modal .p-4.bg-primary h3,
    #staff-modal #modal-title {
        font-size: 0.85rem !important;
        line-height: 1rem !important;
        max-width: 70%;
    }

    /* Fix close button position on small screens */
    #staff-modal .btn-close {
        position: absolute !important;
        top: 0.6rem !important;
        right: 0.6rem !important;
        transform: scale(0.9);
    }
}
.staff-photo-container {
    width: 100px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 360px) {
    #staff-modal > .bg-white {
        max-height: 95vh;
        border-radius: 0.75rem;
    }

    #staff-modal .bg-primary {
        padding-right: 3rem;
    }
}

@media (max-width: 360px) {
    #staff-modal > .bg-white {
        max-height: calc(100vh - 0.5rem);
        border-radius: 0.75rem;
    }

    #staff-modal .p-4.row {
        padding: 0.75rem !important;
    }
}

  /*modal style closed*/
        
        /*.staff-photo-container {
            background-color: #cbd5e1;  Slate 300 
        }*/
    /* ============================================
   PROFESSIONAL UNIVERSITY HEADER + NAVIGATION
============================================ */

/* ------------ TOP HEADER AREA ------------ */

.gp-header-wrapper {
   background: linear-gradient(90deg, #000328, #00458E);


    color: white;
}

.gp-topbar {
    padding: 12px 0;
}

.gp-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.gp-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.gp-subtitle {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ----------- PROFESSIONAL NAVBAR ----------- */

/* ================= NAVBAR BASE ================= */

.gp-navbar {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding-left: 50px;
    position: relative;
    z-index: 9999;
    
}

.gp-nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 12px 0;
    margin: 0;
}

/* ================= MENU LINKS ================= */

.gp-link {
    position: relative;
    display: block;
    padding: 6px 0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #000328;
}

.gp-link:hover {
    color: #0F766E;
}

/* underline animation (desktop only) */
.gp-link::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 3px;
    background: #0F766E;
    border-radius: 5px;
    transition: width 0.3s;
}

.gp-link:hover::after {
    width: 100%;
}

/* ================= DROPDOWN ================= */

.gp-dropdown {
    position: relative;
}

.gp-drop-panel {
    position: absolute;
    top: 42px;
    left: 0;
    background: #ffffff;
    min-width: 230px;
    padding: 12px 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: none;
}

.gp-dropdown:hover .gp-drop-panel {
    display: block;
}

.gp-drop-panel a {
    display: block;
    padding: 10px 18px;
    font-size: 0.95rem;
    color: #0F2C2A;
    text-decoration: none;
}

.gp-drop-panel a:hover {
    background: #0F766E;
    color: #e6f9f4;
}

/* ================= HAMBURGER BUTTON ================= */

.gp-menu-toggle {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #0F766E;
}

/* ================= MOBILE ================= */

@media (max-width: 991.98px) {

    /* hide menu by default */
    .gp-navbar {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    /* show when toggled */
    .gp-navbar.open {
        max-height: 1000px;
    }

    .gp-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.5rem 0;
    }

    .gp-nav li {
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
    }

    .gp-link {
        padding: 0.75rem 1rem;
    }

    .gp-link::after {
        display: none;
    }

    /* dropdown inside mobile */
    .gp-drop-panel {
        position: static;
        box-shadow: none;
        border-radius: 0;
        display: none;
        padding-left: 1rem;
        background: #f9fafb;
    }

    .gp-dropdown.open .gp-drop-panel {
        display: block;
    }
}

/* ================= DESKTOP ================= */

@media (min-width: 992px) {
    .gp-navbar {
        max-height: none;
        overflow: visible;
    }
}
@media (max-width: 360px) {
    #staff-modal > .bg-white {
        max-height: 95vh;
        border-radius: 0.75rem;
    }

    #staff-modal .bg-primary {
        padding-right: 3rem;
    }
}
/* Tabs container */
#tab-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#tab-navigation .tab-button {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
    font-size: 0.9rem;
}

/* ================= SUB MENU ================= */

.gp-sub-dropdown {
    position: relative;
}

.gp-sub-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    font-size: 0.95rem;
    color: #0F2C2A;
    cursor: pointer;
    text-decoration: none;
}

.gp-sub-trigger:hover {
    background: #0F766E;
    color: #e6f9f4;
}

.gp-arrow {
    font-size: 14px;
}

/* Sub panel (desktop) */
.gp-sub-panel {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: none;
    animation: slideRight 0.25s ease;
}

/* Show submenu */
.gp-sub-dropdown.open > .gp-sub-panel {
    display: block;
}

/* Sub panel links */
.gp-sub-panel a {
    display: block;
    padding: 10px 18px;
    font-size: 0.95rem;
    color: #0F2C2A;
    text-decoration: none;
}

.gp-sub-panel a:hover {
    background: #0F766E;
    color: #e6f9f4;
}

/* ================= MOBILE ================= */
@media (max-width: 991.98px) {
    .gp-sub-panel {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #eefcf7;
        padding-left: 1rem;
        animation: slideDown 0.25s ease;
    }
}

/* Desktop hover support for sub menus */
@media (min-width: 992px) {
    .gp-sub-dropdown:hover > .gp-sub-panel {
        display: block;
    }
}

/*Notice Board style sheet*/
.notice-board-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 10px;
}

.notice-scroll-track {
    position: absolute;
    width: 100%;
}

.notice-item {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    background: #fff;
    transition: background 0.3s ease;
}

.notice-item:hover {
    background: #f4f8fb;
}

.notice-title {
    font-weight: 600;
    font-size: 14px;
    color: #cc3e00;
}

.notice-date {
    font-size: 12px;
    color: #6c757d;
    margin-top: 3px;
}

.notice-empty {
    text-align: center;
    color: #999;
    padding: 20px;
}



.badge-new {
    background: #dc2626; /* red-600 */
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1;
    letter-spacing: 0.04em;
}
#tab-navigation .tab-button {
    color: #fae102 !important;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease;
}

#tab-navigation .tab-button.active {
    background: var(--bs-primary);
    color: #ffffff !important;
    box-shadow: 0 5px 12px rgba(255, 99, 99, 0.35);
}