﻿:root {
    --primary-color: #760122;
    --primary-color-dark: #430013;
    /*--primary-color: #b54321;
    --primary-color-dark: #823017;*/
    --secondary-color: #c69609;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: beige;
    overflow-x: hidden;
}

a, button {
    text-decoration: none !important;
/*    border: none !important;*/
    outline: none !important;
    box-shadow: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a365d;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 4px; 
}

::-webkit-scrollbar-track {
    background: beige; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color)); 
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, var(--secondary-color), var(--primary-color)); 
    }

/* Marquee Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    overflow: hidden;
    padding: 4px 0;
    font-size: 0.95rem;
    color: #4a5568;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1001;
}

.top-content {
    display: flex;
    justify-content: space-between;
}

.top-left-content, .top-right-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.top-link {
    color: beige;
    padding: 1px 10px;
    transition: color 0.3s ease;
    border: dashed 1px var(--secondary-color);
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

    .top-link:hover {
        color: var(--secondary-color);
        border: solid 1px var(--secondary-color);
    }

    .top-link i {
        margin-right: 6px;
    }

/* Header */
.main-header {
    background: beige;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 5px 0;
    position: relative;
    z-index: 1000;
    transition: all 0.4s ease;
}

    .main-header.header-hidden {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-section:hover .logo-img {
    transform: scale(1.05);
}

.institution-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.short-name {
    display: none;
}

.location {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
    text-align: center;
}

.location2 {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 15px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 18px;
    transition: all 0.3s ease;
    background: rgba(44, 82, 130, 0.05);
    border: dashed 1px var(--primary-color);
}

    .contact-link:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(44, 82, 130, 0.15);
        border: none;
    }

    .contact-link i {
        font-size: 0.9rem;
        color: var(--primary-color);
    }

    .contact-link span {
        font-size: 0.85rem;
        font-weight: 500;
    }

/* RTI Button */
.rti-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    background-size: 400%;
    color: beige;
    transition: all 0.4s ease;
    font-weight: 600;
    border-radius: 18px;
    padding: 8px 12px;
}

    .rti-link:hover {
        background-position: 0%;
        color: beige;
        border: dashed 1px var(--primary-color-dark);
    }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1002;
}

    .mobile-menu-toggle span {
        width: 28px;
        height: 3px;
        background: #1a365d;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 4px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -4px);
    }

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999;
}

    .main-nav.nav-sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    color: beige;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

    .nav-link:hover {
        background: var(--primary-color-dark);
    }

    .nav-link i.fa-chevron-down {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: beige;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

.dropdown-menu a,
.dropdown-menu .sub-nav-link {
    border: none !important;
    outline: none !important;
    display: flex;
    align-items: center;
    padding: 4px 10px;
    color: var(--primary-color);
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .dropdown-menu a:hover,
    .dropdown-menu .sub-nav-link:hover {
        background: var(--primary-color);
        color: beige;
        padding-left: 24px;
    }

/* Sub-Dropdown Styles */
.sub-dropdown {
    position: relative;
}

.sub-nav-link {
    justify-content: space-between;
}

    .sub-nav-link i.fa-chevron-right {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

.sub-dropdown:hover .fa-chevron-right {
    transform: rotate(90deg);
}

.sub-dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: beige;
    min-width: 240px;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.15);
    border-radius: 0 8px 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateX(5px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 0;
}

.sub-dropdown:hover > .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

    .sub-dropdown-menu li:last-child {
        border-bottom: none;
    }

.sub-dropdown-menu a {
    display: block;
    padding: 4px 10px;
    color: var(--primary-color);
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .sub-dropdown-menu a:hover {
        background: var(--primary-color);
        color: beige;
        padding-left: 24px;
    }

/* Main Content */
.main-content {
    min-height: calc(100vh - 450px);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: beige;
    border-top: 5px solid var(--secondary-color);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-section h3,
.footer-section h4 {
    color: beige;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

    .footer-section h4::after {
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background: var(--secondary-color);
        margin-top: 10px;
    }

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
}

.footer-description {
    color: #cbd5e0;
    line-height: 1.8;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 18px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.12);
        color: beige;
        border-radius: 50%;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

        .social-links a:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(49, 130, 206, 0.4);
        }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 12px;
    }

        .footer-links li i {
            color: var(--secondary-color);
            font-size: 0.9rem;
            margin-right: 7px;
        }

    .footer-links a {
        color: #cbd5e0;
        transition: all 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

    .contact-item i {
        color: var(--secondary-color);
        font-size: 1.2rem;
        margin-top: 4px;
        min-width: 20px;
    }

    .contact-item div {
        line-height: 1.7;
    }

    .contact-item strong {
        color: beige;
        display: block;
        margin-bottom: 6px;
    }

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    border-bottom: 1px dashed #d6ad5c;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

    .footer-bottom-links a {
        color: #cbd5e0;
        font-size: 0.95rem;
        transition: color 0.3s ease;
    }

        .footer-bottom-links a:hover {
            color: beige;
        }

.footer-bottom2 a {
    color: blanchedalmond;
}

    .footer-bottom2 a:hover {
        color: var(--secondary-color);
    }

/* Mobile Header Actions */
.mobile-header-actions {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .institution-name {
        font-size: 1.2rem;
    }

    .contact-info {
        gap: 10px;
    }

    .contact-link span {
        font-size: 0.8rem;
    }

    .header-actions {
        gap: 10px;
    }
}

@media (max-width: 655px) {
    .location {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .full-name {
        display: none;
    }

    .short-name {
        display: block;
        font-size: 1.2rem;
    }

    .location {
        display: none;
    }

    .location2 {
        display: block;
        color: #1a365d;
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {


    .main-header {
        padding: 12px 0;
    }

    .header-content {
        position: relative;
    }

    .logo-section {
        text-align: center;
        gap: 4px;
    }

    .institution-name {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 60px;
        height: 60px;
    }

    .header-actions {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        gap: 10px;
    }

        .header-actions .language-dropdown,
        .header-actions .contact-link {
            display: none !important;
        }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: beige;
        flex-direction: column;
        overflow-y: auto;
        transition: left 0.4s ease-in-out;
        z-index: 1001;
        padding-top: 100px;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
    }

        .nav-menu.active {
            left: 0;
            top: 18px;
        }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        justify-content: space-between;
        padding: 10px 20px;
        font-size: 1.05rem;
        border-right: none;
        color: var(--primary-color);
        
    }
        .nav-link:hover {
            background: var(--secondary-color);
            color: beige;
        }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: none;
    }

    .dropdown-menu a,
    .dropdown-menu .sub-nav-link {
        color: beige;
        background: var(--secondary-color);
        padding: 12px 40px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .dropdown-menu a:hover,
        .dropdown-menu .sub-nav-link:hover {
            background: var(--secondary-color);
            color: var(--primary-color);
            padding-left: 45px;
        }

    .sub-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .sub-dropdown.active .sub-dropdown-menu {
        max-height: max-content;
    }

    .sub-dropdown-menu a {
        background: #8f6c07;
        color: beige;
        padding: 12px 60px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .sub-dropdown-menu a:hover {
            background: var(--primary-color);
            color: beige;
            padding-left: 65px;
        }

    .sub-nav-link {
        justify-content: space-between;
        padding: 12px 40px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .sub-nav-link i.fa-chevron-right {
            transform: none;
        }

    .sub-dropdown.active .fa-chevron-right {
        transform: rotate(90deg);
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        backdrop-filter: blur(4px);
    }

    .mobile-header-actions {
        display: block;
    }

    .header-actions-mobile {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 10px 0;
    }

        .header-actions-mobile .contact-link {
            display: flex !important;
            padding: 8px 10px;
            font-size: 0.9rem;
            color: var(--primary-color);
        }

    .contact-link i {
        color: var(--primary-color);
    }

    .header-actions-mobile .language-dropdown {
        display: block !important;
        position: relative;
    }

        .header-actions-mobile .language-dropdown .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: beige;
            min-width: 150px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            border-radius: 10px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1002;
        }

        .header-actions-mobile .language-dropdown.active .dropdown-menu {
            opacity: 1;
            visibility: visible;
            max-height: 500px;
            margin-left: 20px;
            margin-right: 20px;
        }

        .header-actions-mobile .language-dropdown .dropdown-menu a {
            color: #2c3e50;
            padding: 12px 20px;
            border-bottom: 1px solid #e2e8f0;
        }

            .header-actions-mobile .language-dropdown .dropdown-menu a:hover {
                background: #f7fafc;
                color: #2c5282;
                padding-left: 24px;
            }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section h4::after {
        margin: 10px auto 0;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .main-header {
        padding: 10px 0;
    }
    .main-header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
    }

    .institution-name {
        font-size: 0.9rem;
    }

    .location {
        font-size: 0.5rem;
    }

    .logo-img {
        width: 55px;
        height: 55px;
    }

    .mobile-menu-toggle {
        padding: 6px;
    }

        .mobile-menu-toggle span {
            width: 24px;
            height: 2px;
        }

    .nav-menu {
        width: 100%;
        padding-top: 70px;
    }

    .nav-link {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .dropdown-menu a {
        padding: 10px 35px;
        font-size: 0.9rem;
    }

        .dropdown-menu a:hover {
            padding-left: 40px;
        }

    .sub-nav-link {
        padding: 10px 35px;
        font-size: 0.9rem;
    }

    .sub-dropdown-menu a {
        padding: 10px 50px;
        font-size: 0.9rem;
    }

        .sub-dropdown-menu a:hover {
            padding-left: 55px;
        }

    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-grid {
        gap: 35px;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    .footer-bottom-links a {
        font-size: 0.85rem;
    }

    .contact-details {
        gap: 15px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 3rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: beige;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(49, 130, 206, 0.3);
        background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    }

.btn-secondary {
    background: transparent;
    color: #3182ce;
    border: 2px solid #3182ce;
}

    .btn-secondary:hover {
        background: #3182ce;
        color: beige;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(49, 130, 206, 0.2);
    }

.btn-outline {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #e2e8f0;
}

    .btn-outline:hover {
        background: #f7fafc;
        border-color: #cbd5e0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

/* Card Styles */
.card {
    background: beige;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    }

.card-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-bottom: 1px solid #e2e8f0;
}

.card-body {
    padding: 25px;
}

.card-footer {
    padding: 20px 25px;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(44, 82, 130, 0.95) 100%), url('~/images/hero-bg.jpg') center/cover no-repeat;
    color: beige;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
        animation: shimmer 4s infinite linear;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-description {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 45px;
    opacity: 0.9;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
}

.stat-item {
    text-align: center;
    padding: 35px 25px;
    background: beige;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

    .stat-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

.stat-number {
    font-size: 3.25rem;
    font-weight: 700;
    color: #3182ce;
    display: block;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1.15rem;
    color: #4a5568;
    font-weight: 500;
}

/* News & Events */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.news-item {
    background: beige;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

    .news-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

.news-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 1.15rem;
    transition: transform 0.4s ease;
}

.news-item:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 30px;
}

.news-date {
    color: #3182ce;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1a365d;
    line-height: 1.4;
}

.news-excerpt {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 25px;
}

.read-more {
    color: #3182ce;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

    .read-more:hover {
        color: #2c5282;
        gap: 14px;
    }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    animation: slideInLeft 1s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    animation: slideInRight 1s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading States */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Print Styles */
@media print {
    .main-nav,
    .mobile-menu-toggle,
    .hero-actions,
    .social-links {
        display: none !important;
    }

    .main-header {
        position: static;
        box-shadow: none;
        border-bottom: 2px solid #1a365d;
    }

    .main-footer {
        background: beige;
        color: #2c3e50;
        box-shadow: none;
        border-top: 2px solid #1a365d;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.3);
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .main-nav {
        background: #000;
    }

    .main-footer {
        background: #000;
    }

    .card {
        border: 3px solid #000;
    }

    .btn {
        border: 2px solid #000;
    }
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px var(--secondary-color);
    z-index: 1000;
    border: none;
    font-size: 24px;
}

    .scroll-to-top:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 6px 14px var(--primary-color-dark);
    }

    .scroll-to-top.visible {
        opacity: 0.9;
        visibility: visible;
    }

    .scroll-to-top:active {
        transform: translateY(2px);
    }

@keyframes pulsse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.scroll-to-top .fas {
    animation: pulsse 2s infinite;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 850px) {
    .top-bar {
        display: none;
    }
    .main-header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
    }
}


/* Department Breadcrumb */
.department-breadcrumb {
    background-color: beige;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* Active state for department navigation */
.nav-item.dropdown.active > .nav-link {
    color: var(--primary-color-dark);
    font-weight: 600;
}

/* Ensure dropdown stays open when parent is active on mobile */
@media (max-width: 992px) {
    .nav-item.dropdown.active > .dropdown-menu {
        display: block;
    }
}


/* VISITOR COUNTER STYLING */
.visitor-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

    .visitor-counter i {
        color: #00d4ff;
    }
