/* ==========================================
   1. VARIABLES & BASE SETUP
============================================= */
:root {
    /* Brand Colors */
    --brand-primary: #0b28a8;
    --brand-secondary: #3c5494;
    --brand-tertiary: #5b7bce;

    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
}

.text-brand {
    color: var(--brand-primary) !important;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.heading-primary {
    color: var(--brand-primary);
    letter-spacing: -0.5px;
}
.heading-secondary {
    color: var(--brand-secondary);
}
.subheading {
    color: var(--brand-tertiary);
    letter-spacing: 1.5px;
}
.transition {
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nalikule-meta-row {
    margin-bottom: 15px;
}

.nalikule-meta-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.nalikule-meta-row input[type="text"] {
    width: 100%;
    max-width: 100%;
}

.nalikule-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.cl-section-title {
    background: #f0f0f1;
    padding: 10px 15px;
    margin-top: 20px;
    font-weight: bold;
    border-left: 4px solid #2271b1;
}

.cl-image-preview {
    max-width: 250px;
    height: auto;
    display: block;
    margin-top: 10px;
    border: 1px solid #ccc;
}

.research-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.research-meta-row {
    margin-bottom: 15px;
}

.research-meta-row.full-width {
    grid-column: span 2;
}

.research-meta-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1d2327;
}

.research-meta-row input[type="text"],
.research-meta-row select,
.research-meta-row input[type="url"] {
    width: 100%;
    max-width: 100%;
    padding: 5px 8px;
}

.research-meta-row .description {
    font-size: 12px;
    color: #646970;
    margin-top: 4px;
    font-style: italic;
}

.research-divider {
    grid-column: span 2;
    border-top: 1px solid #c3c4c7;
    margin: 10px 0;
    padding-top: 15px;
}

.pdf-upload-flex {
    display: flex;
    gap: 10px;
}

/* ==========================================
   2. BUTTONS
============================================= */
.btn.btn-outline-brand {
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn.btn-outline-brand:hover,
.btn.btn-outline-brand:focus,
.btn.btn-outline-brand:active {
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
    --bs-btn-hover-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 21, 124, 0.15);
}

.btn-cta-accent {
    background-color: var(--brand-primary);
    color: #ffffff;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.btn-cta-accent:hover {
    background-color: var(--brand-secondary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(29, 21, 124, 0.3);
}

/* ==========================================
   3. HEADER & NAVIGATION
============================================= */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: linear-gradient(
        180deg,
        rgba(11, 40, 168, 0.95) 0%,
        rgba(11, 40, 168, 0.4) 60%,
        transparent 100%
    );
}

.top-bar {
    height: 38px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.top-bar .contact-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar .contact-item:hover {
    color: #ffffff;
}

.top-bar .contact-icon {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.top-bar .social-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    padding-left: 1.5rem;
}

.top-bar .social-links::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
}

.top-bar .social-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.top-bar .social-links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.main-navbar .nav-link {
    position: relative;
    cursor: pointer;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 1.25rem 1rem !important;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-item.active > .nav-link,
.main-navbar .nav-item.current-menu-ancestor > .nav-link {
    opacity: 1;
}

.main-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.9rem;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-item.active > .nav-link::after,
.main-navbar .nav-item.current-menu-ancestor > .nav-link::after {
    transform: scaleX(1);
}

.nav-item-parent {
    display: flex;
    align-items: center;
}

.nav-item-parent .nav-link {
    padding-right: 0.2rem !important;
}

.nav-item-parent .dropdown-caret {
    background: none;
    border: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    opacity: 0.8;
    transition: all 0.2s ease;
    padding: 0;
}

.nav-item-parent:hover .dropdown-caret {
    opacity: 1;
}

.nav-item-parent .dropdown-caret i {
    font-size: 11px;
    font-weight: bold;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1200px) {
    .nav-item.dropdown:hover .dropdown-caret i {
        transform: rotate(180deg);
    }
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled .top-bar {
    height: 0;
    opacity: 0;
    overflow: hidden;
    border: none;
}

.site-header.scrolled .main-navbar .nav-link,
.site-header.scrolled .nav-item-parent .dropdown-caret {
    color: #1e293b !important;
}

.site-header.scrolled .main-navbar .nav-link::after {
    background-color: #0b28a8;
}

.site-header.scrolled .search-btn,
.site-header.scrolled .navbar-toggler {
    color: #1e293b !important;
}

.nav-item.dropdown,
.nav-item-parent {
    position: relative;
}

.dropdown-menu {
    position: absolute !important;
    inset: auto auto auto 0 !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 1050;
}

@media (min-width: 1200px) {
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) !important;
        pointer-events: auto;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) !important;
        transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        pointer-events: none;

        margin-top: 12px !important;
        border-radius: 8px;
        padding: 0.5rem;
        min-width: 240px;
        background: #ffffff;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        background: transparent;
    }
}

.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: #334155 !important;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    transition: all 0.2s ease;
    background: transparent !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8fafc !important;
    color: #0b28a8 !important;
    padding-left: 1.4rem;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: rgba(11, 40, 168, 0.05) !important;
    color: #0b28a8 !important;
    font-weight: 600;
}

.search-btn {
    width: 38px;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.site-header.scrolled .search-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.z-index-top {
    z-index: 1060;
}
@media (max-width: 1199.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 100%;
        max-width: 400px;
        height: 100vh !important;
        background: #0b28a8;
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        z-index: 1040;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 1.5rem 5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition:
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.4s ease,
            visibility 0.4s ease !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: none !important;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .navbar-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0;
        margin: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-item-parent {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        background: transparent;
        transition: background-color 0.2s ease;
    }

    .main-navbar .nav-link {
        flex: 1;
        font-size: 1.15rem !important;
        font-weight: 500;
        letter-spacing: 0.2px;
        color: #ffffff !important;
        padding: 1.1rem 0.5rem !important;
        text-align: left;
        white-space: normal;
        display: flex;
        align-items: center;
    }

    .main-navbar .nav-link::after {
        display: none;
    }

    .nav-item-parent .dropdown-caret {
        flex: 0 0 44px;
        height: 44px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        transition: all 0.2s ease;
        box-shadow: none !important;
    }

    .nav-item-parent .dropdown-caret:active {
        background: rgba(255, 255, 255, 0.15);
    }

    .nav-item-parent .dropdown-caret i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .nav-item-parent .dropdown-caret[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

    .nav-item-parent .dropdown-caret[aria-expanded="true"] {
        background: #ffffff;
        color: #0b28a8;
        border-color: #ffffff;
    }

    .nav-item .dropdown-menu {
        flex: 0 0 100%;
        position: static !important;
        float: none;
        background: transparent;
        border: none;
        box-shadow: none !important;
        margin: 0 0 0.5rem 0.5rem !important;
        padding: 0.25rem 0 0.5rem 1rem;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        display: none;
    }

    .nav-item .dropdown-menu.show {
        display: block;
        animation: smoothReveal 0.3s ease forwards;
    }

    .navbar-collapse .nav-item .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1rem;
        font-weight: 400;
        padding: 0.75rem 1rem !important;
        white-space: normal;
        background: transparent !important;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

    .navbar-collapse .nav-item .dropdown-menu .dropdown-item:hover,
    .navbar-collapse .nav-item .dropdown-menu .dropdown-item:focus,
    .navbar-collapse .nav-item .dropdown-menu .dropdown-item:active,
    .navbar-collapse .nav-item .dropdown-menu .dropdown-item.active {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .site-header.scrolled .navbar-collapse .nav-link,
    .site-header.scrolled .navbar-collapse .dropdown-caret {
        color: #ffffff !important;
    }

    .site-header.scrolled
        .navbar-collapse
        .nav-item-parent
        .dropdown-caret[aria-expanded="true"] {
        color: #0b28a8 !important;
    }

    .site-header.scrolled .navbar-collapse .dropdown-item {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .site-header.scrolled .navbar-collapse .dropdown-item:hover,
    .site-header.scrolled .navbar-collapse .dropdown-item.active {
        color: #ffffff !important;
    }
}

@keyframes smoothReveal {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   4. HERO SECTION
============================================= */
.site-hero {
    position: relative;
    height: 60vh;
    /* min-height: 600px; */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.front-page-hero {
    position: relative;
    height: 89vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.site-hero.layout-hero.overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 40, 168, 0.65) 0%,
        rgba(11, 40, 168, 0.15) 50%,
        rgba(11, 40, 168, 0.45) 100%
    );
    z-index: 1;
}

.site-hero.layout-hero .container {
    position: relative;
    z-index: 2;
}

.site-hero.layout-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.4);
}
/* ==========================================
   HERO QUICK LINKS BAR (FLAT & PROFESSIONAL)
============================================= */
.hero-overlap-bar {
    margin-top: -55px;
    position: relative;
    z-index: 10;
}

.quick-links-wrapper {
    background-color: var(--brand-primary);
    border-radius: 4px;
    gap: 15px;
}

.quick-link-item {
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
    min-width: 110px;
    padding: 12px 10px;
    border-radius: 6px;
}

.quick-link-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.quick-link-item .ql-icon {
    font-size: 26px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.quick-link-item:hover .ql-icon {
    transform: scale(1.1);
}

.quick-link-item .ql-text {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   5. CARDS (News & Faculties)
============================================= */
.news-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
}

.news-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition:
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.news-img-wrapper img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-card:hover .news-img-wrapper {
    box-shadow: 0 15px 35px rgba(11, 40, 168, 0.15);
}

.news-img-wrapper img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.news-meta {
    color: var(--brand-tertiary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.news-title {
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: var(--brand-primary);
}

.news-category {
    color: var(--brand-primary);
    background-color: rgba(11, 40, 168, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.news-date {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.news-date i {
    color: var(--brand-tertiary);
    font-size: 0.95rem;
}

.news-title {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
    margin-top: 0.5rem;
}

.news-card:hover .news-title {
    color: var(--brand-primary);
}

.faculty-card {
    position: relative;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faculty-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faculty-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(29, 21, 124, 0.95) 0%,
        rgba(29, 21, 124, 0.2) 60%,
        transparent 100%
    );
    transition: background 0.4s ease;
}

.faculty-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem;
    color: #ffffff;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.faculty-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.faculty-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
}
.faculty-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}
.faculty-link i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faculty-card:hover .faculty-img {
    transform: scale(1.08);
}
.faculty-card:hover .faculty-overlay {
    background: linear-gradient(
        to top,
        rgba(29, 21, 124, 0.98) 0%,
        rgba(29, 21, 124, 0.5) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}
.faculty-card:hover .faculty-link i {
    transform: translateX(8px);
}

/* ==========================================
   MOBILE TYPOGRAPHY & BUTTON OVERRIDES
============================================= */
@media (max-width: 767.98px) {
    .news-title {
        color: var(--text-main);
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.4;
        transition: color 0.3s ease;
        margin-top: 0.5rem;
    }
}

/* ==========================================
   6. FACILITIES BENTO GRID
============================================= */
.facility-img-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.facility-img-wrapper img {
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.facility-img-wrapper:hover img {
    transform: scale(1.05);
}

.facility-floating-box {
    background-color: var(--brand-primary);
    padding: 3rem 2.5rem;
    max-width: 480px;
    pointer-events: auto;
}

.facility-floating-box .divider {
    width: 50px;
    height: 3px;
    background-color: var(--brand-tertiary);
}

@media (max-width: 991px) {
    .center-float {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        margin-top: -60px;
    }
}

/* ==========================================
   7. PRINCIPAL & SEARCH 
============================================= */
.principal-photo-clean {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.principal-quote {
    color: var(--brand-primary);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.3;
    font-weight: 700;
}

.modal-backdrop.show {
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.search-input-clean {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--brand-primary);
}
.search-input-clean::placeholder {
    color: #94a3b8;
}

/* ==========================================
   8. CALL TO ACTION (Seamless Open Layout)
============================================= */
.cta-image-wrapper {
    overflow: hidden;
    position: relative;
}

.cta-image {
    min-height: 200px;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-image-wrapper:hover .cta-image {
    transform: scale(1.05);
}
/* ==========================================
   9. FOOTER & NEWSLETTER
============================================= */
.newsletter-input {
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
}

.newsletter-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(29, 21, 124, 0.1);
    outline: none;
}

.btn-subscribe {
    background-color: #111111;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background-color: var(--brand-secondary);
    color: #ffffff;
}

.footer-main {
    background-color: var(--brand-primary);
    color: rgba(255, 255, 255, 0.75);
}

.footer-heading {
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem !important;
    padding-left: 0 !important;
}

.footer-main ul,
.footer-main .footer-links,
.footer-main .menu > ul,
.footer-main div > ul {
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
    display: block !important;
}

.footer-main li,
.footer-main .footer-links li {
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0.85rem !important;
    text-align: left !important;
    display: block !important;
}

.footer-main li a,
.footer-main .footer-links a {
    padding-left: 0 !important;
    margin-left: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block !important;
}

.footer-main li a:hover,
.footer-main .footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(6px);
}

.footer-main li::before,
.footer-main li a::before {
    display: none !important;
    content: none !important;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    padding: 0 !important;
    margin: 0 !important;
}

.social-icons a:hover {
    color: #ffffff !important;
    background-color: var(--brand-secondary);
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 767.98px) {
    .footer-main .col-lg-4,
    .footer-main .col-lg-4 p,
    .footer-main .col-lg-4 h3 {
        text-align: center !important;
    }

    .footer-main .col-lg-4 .social-icons {
        justify-content: center !important;
    }

    .footer-main li a:hover {
        transform: translateY(-2px);
    }
}

/* ==========================================
  10. LEADERSHIP ARCHIVE LAYOUT
============================================= */
.clean-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.principal-wide-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.principal-tall-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.leadership-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .leadership-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .leadership-grid-layout {
        grid-template-columns: repeat(4, 1fr);
    }
    .tall-principal-wrapper {
        grid-row: span 2;
    }
}

/* ==========================================
   10B. LEADERSHIP FLIP CARDS
============================================= */
.flip-card-container {
    perspective: 1000px;
    height: 350px;
    width: 100%;
}

.flip-card-lg {
    height: 520px;
}

.flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.flip-card-container:hover .flipper {
    transform: rotateY(180deg);
}

.flipper .front,
.flipper .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.flipper .front {
    background-size: cover;
    background-position: center top;
    background-color: var(--brand-secondary);
    z-index: 2;
    transform: rotateY(0deg);
}

.flipper .front::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(29, 21, 124, 0.9) 0%,
        transparent 60%
    );
}

.flipper .front .box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    color: #fff;
    z-index: 3;
}

.flipper .front .box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.flipper .front .box p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-accent);
    margin-bottom: 0;
    font-weight: 600;
}

.flipper .back {
    transform: rotateY(180deg);
    background-color: #ffffff;
}

.bg-brand-primary {
    background-color: var(--brand-primary) !important;
}
.bg-brand-secondary {
    background-color: var(--brand-secondary) !important;
}

/* ==========================================
   11. HISTORY TIMELINE
============================================= */
.timeline-clean {
    position: relative;
    padding-left: 2rem;
}

.timeline-clean::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 2px;
    background: rgba(29, 21, 124, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 6px;
    left: -2rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 4px solid var(--brand-accent);
    z-index: 2;
}

.timeline-date {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.timeline-content {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.border-brand {
    border-left-color: var(--brand-primary);
}

@media (max-width: 768px) {
    .timeline-clean {
        padding-left: 1.5rem;
    }
    .timeline-item::before {
        left: -1.5rem;
        width: 14px;
        height: 14px;
    }
    .timeline-clean::before {
        left: 5px;
    }
    .timeline-content {
        padding: 1.5rem;
    }
}

.faculty-hero,
.program-hero {
    position: relative;
    height: 90vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.faculty-hero.overlay::before,
.program-hero.overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(29, 21, 124, 0.75) 0%,
        rgba(29, 21, 124, 0.4) 100%
    );
    z-index: 1;
}

.faculty-hero h1,
.program-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-row {
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.stat-item {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.dept-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(29, 21, 124, 0.08);
}

.dept-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--brand-primary);
    font-size: 1.5rem;
}

.dept-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.dept-hod {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.nalikule-meta-row {
    margin-bottom: 15px;
}

.nalikule-meta-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.nalikule-meta-row input[type="text"],
.nalikule-meta-row select {
    width: 100%;
    max-width: 100%;
}

.dept-hod span {
    font-weight: 600;
    color: var(--text-main);
}

.program-card-sm {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.program-card-sm:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(29, 21, 124, 0.1);
}

.program-card-sm .program-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.program-card-sm .program-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-card-sm:hover .program-img-wrapper img {
    transform: scale(1.05);
}

.program-card-sm .program-meta {
    display: inline-block;
    margin: 1.25rem 1.5rem 0.5rem;
    padding: 0.35rem 0.85rem;
    background: var(--bg-light);
    color: var(--brand-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
}

.program-card-sm .program-title {
    padding: 0.75rem 1.5rem 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.program-card-sm:hover .program-title {
    color: var(--brand-primary);
}

.program-card-sm .program-link {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.program-card-sm .program-link i {
    transition: transform 0.3s ease;
}

.program-card-sm:hover .program-link i {
    transform: translateX(5px);
}

.no-programs-box {
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
}

.no-programs-box i {
    color: var(--brand-tertiary);
}

.max-w-600 {
    max-width: 600px;
}

.program-detail-layout {
    margin-top: 3rem;
}

.program-facts-box {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.fact-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.fact-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.fact-label {
    display: block;
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.fact-value {
    font-size: 1rem;
}

.program-duration-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.program-faculty-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--brand-tertiary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.program-faculty-badge:hover {
    background: var(--brand-secondary);
    color: #ffffff;
    transform: translateY(-2px);
}

.career-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--bg-light);
    color: var(--brand-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    margin: 0 0.5rem 0.5rem 0;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.career-tag:hover {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

/* Responsive */
@media (max-width: 991px) {
    .stat-row {
        margin-top: 2rem;
    }
}

/* ==========================================
   NEWS & UPDATES PAGE STYLES
============================================= */

.filter-btn {
    background-color: #ffffff;
    color: var(--text-muted);
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--brand-tertiary);
    color: var(--brand-primary);
}

.filter-btn.active {
    background-color: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 4px 10px rgba(29, 21, 124, 0.2);
}

.pagination-brand .page-link {
    color: var(--brand-primary);
    border: none;
    margin: 0 3px;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-brand .page-link:hover {
    background-color: var(--bg-light);
    color: var(--brand-primary);
}

.pagination-brand .page-item.active .page-link {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(29, 21, 124, 0.2);
}

.bg-brand-tertiary {
    background-color: var(--brand-tertiary) !important;
}

.search-box input:focus {
    box-shadow: 0 0 0 4px rgba(29, 21, 124, 0.1) !important;
    outline: none;
}

/* ==========================================
    CONTACT US PAGE STYLES 
============================================= */

.contact-dept-card {
    border-color: rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease-in-out;
}

.contact-dept-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary) !important;
}

.dept-icon-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(29, 21, 124, 0.05);
    border: 1px solid rgba(29, 21, 124, 0.12);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    transition: all 0.2s ease;
}

.contact-dept-card:hover .dept-icon-circle {
    background-color: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

.contact-form-clean .form-control,
.contact-form-clean .form-select {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    border-color: rgba(0, 0, 0, 0.15);
    transition: border-color 0.2s ease;
}

.contact-form-clean .form-control:focus,
.contact-form-clean .form-select:focus {
    background-color: #ffffff !important;
    border-color: var(--brand-primary) !important;
    box-shadow: none !important;
    outline: none;
}

.text-brand-primary {
    color: var(--brand-primary) !important;
}

.text-brand-tertiary {
    color: var(--brand-tertiary) !important;
}

.bg-brand-primary {
    background-color: var(--brand-primary) !important;
}

/* ==========================================
    LIBRARY PAGE STYLES
============================================= */

.flat-link-card {
    border-color: rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease-in-out;
}

.flat-link-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary) !important;
    background-color: #fcfcfc !important;
}

.flat-link-card:hover .dept-icon-circle {
    background-color: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

.flat-service-card {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.flat-service-card:hover {
    border-color: var(--brand-primary) !important;
}

.schedule-table td {
    background-color: transparent !important;
}

.schedule-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.hover-lift {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08) !important;
}

.rounded-circle.shadow-sm {
    background-color: #f8f9fa;
}

.rounded-pill {
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.flat-service-card {
    border: 1px solid transparent !important;
}

.flat-service-card:hover {
    border-color: rgba(0, 0, 0, 0.05) !important;
    background-color: #fff !important;
}

/* ==========================================
   16. 404 ERROR PAGE 
============================================= */
.error-404-clean {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.error-404-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin-bottom: 2.5rem;
}

.error-404-eyebrow {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.error-404-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-404-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.error-404-search {
    max-width: 420px;
    margin: 0 auto 2.5rem;
}

.error-404-search .search-form {
    display: flex;
    gap: 0.5rem;
}

.error-404-search .search-field {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.error-404-search .search-field:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.error-404-search .search-submit {
    padding: 0.85rem 1.5rem;
    background-color: var(--brand-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.error-404-search .search-submit:hover {
    background-color: var(--brand-secondary);
}

.error-404-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.error-404-actions .btn-cta-accent,
.error-404-actions .btn-outline-brand {
    box-shadow: none !important;
}

.error-404-actions .btn-cta-accent:hover,
.error-404-actions .btn-outline-brand:hover {
    box-shadow: none !important;
    transform: none;
}

@media (max-width: 576px) {
    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================
   17. CUSTOM SCROLLBAR 
============================================= */
html,
body {
    scrollbar-width: thin;
    scrollbar-gutter: auto;
}

*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

*::-webkit-scrollbar-track {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

*::-webkit-scrollbar-thumb {
    background: var(--brand-primary) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--brand-secondary) !important;
}

*::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

*::-webkit-scrollbar-corner {
    background: transparent !important;
}

/* ==========================================
    SPLASH SCREEN
   ========================================== */
#site-splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fafaf9;
    overflow: hidden;
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.8s;
}

#site-splash-screen.splash-hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: animationFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: float 4s ease-in-out infinite;
}
.splash-progress-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: var(--brand-primary);
    border-radius: 9999px;
    width: 30%;
    animation: sleekSweep 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.splash-logo {
    width: 112px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 20;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

.splash-title {
    font-size: 1.5rem;
    font-family: sans-serif;
    font-weight: 700;
    color: #292524;
    letter-spacing: -0.025em;
    margin-bottom: 0.375rem;
}

.splash-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #a8a29e;
    margin-bottom: 2.5rem;
}

.splash-progress-track {
    width: 16rem;
    height: 2px;
    background-color: rgba(231, 229, 228, 0.6);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.splash-progress-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: var(--brand-primary);
    border-radius: 9999px;
    width: 30%;
    animation: sleekSweep 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes animationFadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}
@keyframes sleekSweep {
    0% {
        left: -35%;
        width: 30%;
    }
    50% {
        width: 50%;
    }
    100% {
        left: 100%;
        width: 30%;
    }
}

a:visited {
    color: var(--bs-link-color, inherit);
}

a.btn:visited,
a.btn-outline-brand:visited {
    color: var(--bs-btn-color, inherit);
}

.custom-filter-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}
.custom-filter-pills::-webkit-scrollbar {
    display: none;
}
.custom-filter-pills .filter-btn {
    background-color: #ffffff;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    cursor: pointer;
}
.custom-filter-pills .filter-btn:hover {
    border-color: #003366;
    color: #003366;
    background-color: #f8f9fa;
}
.custom-filter-pills .filter-btn.active {
    background-color: #003366 !important;
    border-color: #003366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.25);
    transform: translateY(-2px);
}

/* ==========================================
    SKELETON LOADER
   ========================================== */
.skeleton-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.skeleton-img {
    width: 100%;
    height: 220px;
}
.skeleton-meta {
    width: 35%;
    height: 12px;
    margin: 20px 20px 15px;
    border-radius: 4px;
}
.skeleton-title {
    width: 85%;
    height: 24px;
    margin: 0 20px 10px;
    border-radius: 4px;
}
.skeleton-title.short {
    width: 50%;
    margin-bottom: 30px;
}

.skeleton-img,
.skeleton-meta,
.skeleton-title {
    background: #f6f7f8;
    background-image: linear-gradient(
        to right,
        #f6f7f8 0%,
        #edeef1 20%,
        #f6f7f8 40%,
        #f6f7f8 100%
    );
    background-repeat: no-repeat;
    background-size: 800px 100%;
    animation: shimmer 1.5s infinite linear forwards;
}

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }
    100% {
        background-position: 400px 0;
    }
}

/* ==========================================
   PAGINATION BUTTONS
   ========================================== */
.pagination-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.pagination-container .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    background-color: #ffffff;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagination-container .page-numbers:hover:not(.current):not(.disabled) {
    background-color: #f8f9fa;
    border-color: #003366;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.pagination-container .page-numbers.current {
    background-color: #003366;
    border-color: #003366;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.25);
}
.pagination-container .page-numbers.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #f8f9fa;
}
.pagination-container .page-numbers.dots {
    border: none;
    background: transparent;
    pointer-events: none;
    min-width: auto;
    padding: 0 4px;
}

/* ==========================================
   FEATURED EVENTS
============================================= */
.events-carousel-wrap {
    max-width: 650px;
    padding: 0 70px;
}

.event-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(11, 40, 168, 0.12);

    transform: translateZ(0);
    backface-visibility: hidden;
}

.event-card .event-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    backface-visibility: hidden;
}

.event-card:hover .event-img {
    transform: scale(1.05);
}

.event-card .event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(11, 40, 168, 0.92) 0%,
        rgba(11, 40, 168, 0.35) 55%,
        rgba(11, 40, 168, 0.05) 100%
    );
    transition: opacity 0.3s ease;
}

.event-date-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: #ffffff;
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    text-align: center;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.event-date-badge .day {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.event-date-badge .month {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-secondary);
    margin-top: 0.2rem;
}

.event-tag {
    display: inline-block;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 1rem;
}

.event-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    z-index: 1;
    color: #fff;
}

.event-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.event-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.85rem;
}

.event-meta-row i {
    color: #fff;
    margin-right: 0.4rem;
}

.event-cta {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.event-cta i {
    transition: transform 0.3s ease;
}

.event-card:hover .event-cta i {
    transform: translateX(6px);
}

.event-carousel-control {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: var(--brand-secondary);
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.event-carousel-control:hover {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(11, 40, 168, 0.25);
}

.control-prev {
    left: -65px;
}
.control-next {
    right: -65px;
}

@media (max-width: 991.98px) {
    .events-carousel-wrap {
        padding: 0 50px;
    }
    .control-prev {
        left: -45px;
    }
    .control-next {
        right: -45px;
    }
    .event-carousel-control {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767.98px) {
    .events-carousel-wrap {
        padding: 0;
    }
    .event-carousel-control {
        display: none;
    }
    .event-card {
        aspect-ratio: 4 / 5;
    }
}

/* ==========================================
   SINGLE EVENT PAGE — BODY CONTENT
============================================= */
.single-event-body p {
    margin-bottom: 1.5rem;
}

.single-event-body h2,
.single-event-body h3,
.single-event-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: inherit;
}

.single-event-body ul,
.single-event-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.back-to-events-btn {
    transition: all 0.3s ease;
}

.back-to-events-btn:hover,
.back-to-events-btn:hover i {
    color: #fff !important;
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.single-event-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.single-event-body a {
    color: var(--brand-primary);
    text-decoration: underline;
}

.single-event-body > *:last-child {
    margin-bottom: 0;
}

/* ==========================================
   ANNOUNCEMENTS LIST
============================================= */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-left: 4px solid var(--brand-tertiary);
    border-radius: 10px;
    padding: 1.1rem 1.5rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.announcement-item:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 25px rgba(11, 40, 168, 0.1);
    border-left-color: var(--brand-primary);
}

.announcement-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(11, 40, 168, 0.08);
    color: var(--brand-primary);
}

.announcement-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.announcement-top-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.announcement-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.7rem;
    border-radius: 30px;
    background: rgba(11, 40, 168, 0.08);
    color: var(--brand-primary);
}

.announcement-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.announcement-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.announcement-item:hover .announcement-title {
    color: var(--brand-primary);
}

.announcement-arrow {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-tertiary);
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.announcement-item:hover .announcement-arrow {
    background: var(--brand-primary);
    color: #ffffff;
    transform: translateX(3px);
}

.announcement-item.is-deadline {
    border-left-color: #f59e0b;
}
.announcement-item.is-deadline .announcement-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}
.announcement-item.is-deadline .announcement-badge {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}
.announcement-item.is-deadline:hover {
    border-left-color: #f59e0b;
}

.announcement-item.is-alert {
    border-left-color: #dc2626;
}
.announcement-item.is-alert .announcement-icon {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}
.announcement-item.is-alert .announcement-badge {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}
.announcement-item.is-alert:hover {
    border-left-color: #dc2626;
}

@media (max-width: 576px) {
    .announcement-item {
        padding: 1rem;
        gap: 0.85rem;
    }
    .announcement-top-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .announcement-arrow {
        display: none;
    }
    .announcement-title {
        white-space: normal;
    }
}

/* ==========================================
   FOOTER LINKS
   ========================================== */

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:active,
.footer-links a:focus {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.footer-links a::before {
    content: "\F285";
    font-family: "bootstrap-icons";
    font-size: 0.7rem;
    color: var(--brand-tertiary);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
}

.footer-links a:hover,
.footer-links a:hover:visited {
    color: #ffffff !important;
    transform: translateX(6px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-main a:visited {
    color: inherit;
}
/* ==========================================
   EVENTS PAGE — ANNOUNCEMENTS SIDEBAR
============================================= */
.announcements-panel {
    background: #fff;
    padding: 1.75rem;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.announcement-item {
    display: block;
    text-decoration: none;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    border-left: 4px solid var(--brand-secondary);
    background: #f8f9fc;
    transition: all 0.25s ease;
}

.announcement-item:hover {
    background: #eef1fb;
    transform: translateX(3px);
}

.announcement-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.announcement-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: var(--brand-secondary);
    color: #fff;
}

.announcement-date {
    font-size: 0.75rem;
    color: #8a8f9c;
}

.announcement-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

.announcement-notice {
    border-left-color: var(--brand-secondary);
}
.announcement-notice .announcement-badge {
    background: var(--brand-secondary);
}

.announcement-deadline {
    border-left-color: #f0ad4e;
}
.announcement-deadline .announcement-badge {
    background: #f0ad4e;
}

.announcement-alert {
    border-left-color: #dc3545;
}
.announcement-alert .announcement-badge {
    background: #dc3545;
}

.announcements-view-all {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-primary);
    text-decoration: none;
}

.announcements-view-all:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .announcements-panel {
        padding: 1.25rem;
    }
}

/* ==========================================
   DOWNLOADS PAGE
============================================= */
.download-row {
    border-color: #e2e4e7 !important;
    border-left: 3px solid transparent !important;
    transition: all 0.3s ease;
}

.download-row:hover {
    background-color: #ffffff !important;
    border-color: #e2e4e7 !important;
    border-left: 3px solid var(--bs-primary, #1a1a1a) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}
.gallery-archive-page {
    background-color: #f9f9fb;
    padding: 40px 0;
}
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-landing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.nalikule-media-box .nalikule-media-type-switch,
.nalikule-media-box .nalikule-video-source-switch {
    margin-bottom: 12px;
}

.nalikule-media-box .nalikule-radio {
    margin-right: 20px;
    font-weight: 600;
}

.nalikule-media-preview {
    margin-bottom: 10px;
    max-width: 320px;
}

.nalikule-media-preview img,
.nalikule-media-preview video {
    max-width: 100%;
    height: auto;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    display: block;
}

.nalikule-media-placeholder {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f1;
    border: 1px dashed #c3c4c7;
    color: #787c82;
    border-radius: 4px;
}
.gallery-card:hover .gallery-overlay {
    opacity: 1 !important;
}

.gallery-card:hover .transition-scale {
    transform: scale(1.05);
}

.transition-scale {
    transition: transform 0.4s ease-in-out;
}

.transition {
    transition: all 0.3s ease-in-out;
}


.video-card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(11, 40, 168, 0.08) !important; 
}

.video-thumbnail-wrap {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.play-btn-circle {
    background-color: var(--brand-primary) !important;
    width: 65px;
    height: 65px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    box-shadow: 0 4px 15px rgba(11, 40, 168, 0.4) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card:hover .play-btn-circle {
    transform: scale(1.15);
    background-color: var(--brand-secondary) !important;
    box-shadow: 0 8px 25px rgba(11, 40, 168, 0.6) !important;
}

.transition-scale {
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-card:hover .transition-scale {
    transform: scale(1.08);
}

.card-category-tag {
    color: var(--brand-primary);
    background-color: rgba(11, 40, 168, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1 !important;
}
.gallery-card:hover .transition-scale,
.video-card:hover .transition-scale {
    transform: scale(1.05);
}
.video-card:hover .play-btn-circle {
    background-color: var(--bs-primary) !important;
    transform: scale(1.15);
}
.transition-scale {
    transition: transform 0.4s ease-in-out;
}
.transition {
    transition: all 0.3s ease-in-out;
}

.landing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
}
.landing-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.icon-box {
    border: 2px solid #111;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.landing-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}
.landing-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}
.landing-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}
.landing-card-footer .count {
    display: flex;
    align-items: center;
    gap: 6px;
}
.landing-card-footer .divider {
    color: #ccc;
}
.landing-card-footer .link-btn {
    color: #111;
    text-decoration: none;
}
.landing-card-footer .link-btn:hover {
    text-decoration: underline;
}
/* ==========================================
   GALLERY LANDING CARDS
============================================= */
.gallery-landing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.landing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.landing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(11, 40, 168, 0.12);
    border-color: transparent;
}

.landing-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.landing-card .icon-box {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(11, 40, 168, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.landing-card:hover .icon-box {
    background: var(--brand-primary);
    color: #ffffff;
    transform: rotate(-6deg) scale(1.05);
}

.landing-card-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.landing-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.landing-card-footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.landing-card-footer .count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-tertiary);
}

.landing-card-footer .divider {
    color: #e2e8f0;
    font-weight: 300;
}

.landing-card-footer .link-btn {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-primary);
    text-decoration: none;
    position: relative;
    padding-right: 1.1rem;
    transition: all 0.25s ease;
}

.landing-card-footer .link-btn::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
}

.landing-card-footer .link-btn:hover {
    color: var(--brand-secondary);
}

.landing-card-footer .link-btn:hover::after {
    transform: translate(4px, -50%);
}

@media (max-width: 767.98px) {
    .gallery-landing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .landing-card {
        padding: 2rem;
    }
}
/* ==========================================
   PHOTO GALLERY GRID
============================================= */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.photo-grid-item {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #e2e8f0;
}

.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.photo-grid-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 40, 168, 0);
    transition: background 0.25s ease;
}

.photo-grid-item:hover::after {
    background: rgba(11, 40, 168, 0.15);
}

.photo-grid-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 1199.98px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
}
/* ==========================================
   PHOTO GALLERY
============================================= */
.photo-grid-item {
    position: relative;
}

.photo-grid-date-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.photo-grid-item:hover .photo-grid-date-badge {
    opacity: 1;
    transform: translateY(0);
}

.fancybox-caption-custom h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.fancybox-caption-custom .fancybox-date {
    display: inline-block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.6rem;
}

.fancybox-caption-custom .fancybox-discussion {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.fancybox-caption-custom .fancybox-discussion p:last-child {
    margin-bottom: 0;
}

.video-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}
.btn-close:focus {
    box-shadow: none;
    outline: none;
}
.pointer-events-none {
    pointer-events: none;
}
/* ==========================================
   CLUBS AND SOCIETIES
============================================= */
.club-card-item {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.club-card-item:hover {
    border-color: #adb5bd !important;
    transform: translateY(-3px);
}

.text-hover-brand:hover {
    color: var(--bs-primary, #1a1a1a) !important;
}

/* ==========================================
   MASTER FIX: INSTITUTIONAL MENU & UX FIXES
============================================= */
@media (min-width: 1200px) {
    .main-navbar button.dropdown-caret,
    .nav-item-parent .dropdown-caret {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    .main-navbar .nav-item-parent > a.nav-link {
        padding-right: 1.1rem !important;
    }
}

@media (min-width: 1200px) {
    .dropdown-menu {
        margin-top: 12px !important;
    }

    .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        background: transparent;
        z-index: -1;
    }
}

.dropdown-menu {
    padding: 0.5rem 0 !important;
    overflow: visible !important;
}

.dropdown-item {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: #334155 !important;
    padding: 0.65rem 1.5rem !important;
    border-radius: 0 !important;
    border: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
    background: transparent !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(11, 40, 168, 0.03) !important;
    color: #0b28a8 !important;
}

.dropdown-menu li.current-menu-item > a.dropdown-item,
.dropdown-menu li.active > a.dropdown-item {
    background-color: rgba(11, 40, 168, 0.08) !important;
    color: #0b28a8 !important;
    font-weight: 600 !important;
}

.dropdown-menu li.current-menu-item > a.dropdown-item::after,
.dropdown-menu li.active > a.dropdown-item::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background-color: #0b28a8;
}
