/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sea-blue: #0077be;
    --dark-sea-blue: #005a87;
    --navy: #1a3a5f;
    --burgundy: #8B0000;
    --dark-burgundy: #660000;
    --shiny-gold: #FFD700;
    --light-gold: #FFEC8B;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --white: #ffffff;
    --red: #dc3545;
    --teal: #20c997;
    --indigo: #6610f2;
    --card-bg: #f8f9fa;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dark-bg: rgba(0, 0, 0, 0.9);
    --gradient-primary: linear-gradient(135deg, var(--sea-blue) 0%, var(--dark-sea-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, #1a3a5f 0%, #2a4a6f 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFEC8B 100%);
    --gradient-btn: linear-gradient(135deg, #2a6b3f 0%, #3a8c57 100%);
    --footer-gradient: linear-gradient(to bottom, #495057, #212529);
    --mobile-nav-gradient: linear-gradient(135deg, #e9ecef 0%, #343a40 100%);
    --card-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --card-header-gradient: linear-gradient(135deg, #2c5c7a 0%, #3a7ca5 100%);
    --body-gradient: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    --mobile-nav-bg: linear-gradient(to bottom, rgba(233, 236, 239, 0.98), rgba(206, 212, 218, 0.98));
    --new-primary: linear-gradient(135deg, var(--sea-blue) 0%, var(--dark-sea-blue) 100%);
    --new-secondary: linear-gradient(135deg, #1a3a5f 0%, #2a4a6f 100%);
    --new-accent: var(--gradient-gold);
    --new-card: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    --new-card-header: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    --new-btn: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--body-gradient);
    overflow-x: hidden;
    padding-top: 112px;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--new-btn);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    will-change: transform;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:hover::before {
    opacity: 1;
}

.submit-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    width: auto;
    min-width: 120px;
}

/* Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    will-change: transform;
}

/* Header Styles */
.header-stripe {
    padding: 12px 0;
}

.stripe-one {
    background: var(--new-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stripe-one::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.stripe-two {
    background: var(--new-secondary);
    color: var(--white);
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 50px;
}

.stripe-two::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.stripe-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.department-info {
    text-align: center;
    flex: 1;
    margin: 0 10px;
}

.department-info h1 {
    font-size: 1.7rem;
    margin-bottom: 4px;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-family: 'Merriweather', serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.department-info p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.logo-left, .logo-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* Image Styles */
.header-logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Navigation Styles - Dark red buttons for PC view */
.main-nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav > ul > li {
    position: relative;
}

.nav-btn {
    padding: 12px 16px;
    display: block;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 4px;
    background: var(--burgundy);
    color: var(--white);
    text-align: center;
    margin: 0 2px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    border: none;
    will-change: transform;
}

.nav-btn:hover,
.nav-btn.active {
    background-color: var(--dark-burgundy);
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--burgundy);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    will-change: transform, opacity;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 4px 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--shiny-gold);
    padding-left: 25px;
}

/* Mobile Navigation Toggle */
.mobile-toggle-container {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
    will-change: transform, opacity;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Dropdown - UPDATED: Removed red colors */
.mobile-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(10px);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: max-height, opacity, visibility;
    transform: translateY(-10px);
}

.mobile-nav-dropdown.active {
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav > li {
    width: 100%;
}

/* UPDATED: Mobile navigation buttons - NO RED COLORS */
.mobile-nav-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    color: var(--dark-gray);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
    will-change: transform;
    border: none; /* Removed any border */
}

.mobile-nav-btn:hover,
.mobile-nav-btn:active,
.mobile-nav-btn.active {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: var(--sea-blue); /* Changed hover color to sea blue instead of red */
}

/* UPDATED: Mobile dropdown menu - NO RED COLORS */
.mobile-dropdown-menu {
    display: none;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 10px 0;
    margin: 10px 0 5px 15px;
    border-left: 3px solid var(--sea-blue); /* Changed from burgundy to sea blue */
    will-change: transform, opacity;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.mobile-dropdown-menu li {
    margin: 8px 0;
}

/* UPDATED: Mobile dropdown menu links - NO RED COLORS */
.mobile-dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-gray);
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
}

.mobile-dropdown-menu li a:hover,
.mobile-dropdown-menu li a:active {
    background-color: rgba(0, 119, 190, 0.1); /* Changed from burgundy to sea blue */
    color: var(--sea-blue); /* Changed to sea blue instead of burgundy */
    padding-left: 25px;
}

.mobile-dropdown-chevron {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    will-change: transform;
    color: var(--dark-gray); /* Ensure chevron is not red */
}

.mobile-dropdown.active .mobile-dropdown-chevron {
    transform: rotate(180deg);
}

/* Mobile Navigation Backdrop */
.mobile-nav-backdrop {
    position: fixed;
    top: 112px;
    left: 0;
    width: 100%;
    height: calc(100vh - 112px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-backdrop.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Page Header - FIXED: Pushed down */
.page-header {
    background: var(--new-primary);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: 'Merriweather', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-in-out;
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Section */
.gallery-section {
    padding: 70px 0;
    background-color: var(--white);
}

.gallery-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.gallery-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

/* Gallery Articles */
.gallery-article {
    background: var(--new-card);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 30px;
    will-change: transform;
}

.gallery-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-header {
    padding: 20px;
    background: var(--new-card-header);
    color: var(--white);
}

.article-header h2 {
    font-size: 1.8rem;
    font-family: 'Merriweather', serif;
    margin: 0;
}

.article-content {
    padding: 30px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.video-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    will-change: transform;
}

.video-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-item:hover .video-img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition);
    z-index: 2;
}

.video-item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--burgundy);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.play-btn:hover {
    background: var(--dark-burgundy);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Play button animation */
.play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--burgundy);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--navy);
    font-family: 'Merriweather', serif;
}

.video-date {
    color: var(--sea-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.video-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    gap: 25px;
    margin-top: 25px;
}

.two-images {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    will-change: transform;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--burgundy);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1102;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--dark-burgundy);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 0, 0, 0.7);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1101;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav:hover {
    background: var(--burgundy);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.95rem;
    text-align: center;
    max-width: 80%;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--burgundy);
    border: none;
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1102;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background: var(--dark-burgundy);
    transform: scale(1.1);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--navy);
    font-family: 'Merriweather', serif;
}

.video-info p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Footer Styles */
footer {
    background: var(--footer-gradient);
    color: var(--white);
    padding: 50px 0 15px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    font-family: 'Merriweather', serif;
    color: var(--white);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--shiny-gold);
}

.footer-column ul li {
    margin: 8px 0;
}

.footer-column ul li a {
    opacity: 0.85;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--white);
}

.footer-column ul a:hover {
    opacity: 1;
    color: var(--shiny-gold);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
    will-change: transform;
}

.social-icons a:hover {
    background-color: var(--shiny-gold);
    color: var(--dark-gray);
    transform: translateY(-3px);
}

.newsletter {
    margin-bottom: 22px;
}

.newsletter h4 {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--white);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 10px 14px;
    background-color: var(--shiny-gold);
    color: var(--dark-gray);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.newsletter-form button:hover {
    background-color: #e6b800;
}

.footer-logos {
    display: flex;
    gap: 15px;
    margin-top: 18px;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    max-width: 120px;
    height: auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    color: var(--white);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .department-info h1 {
        font-size: 1.4rem;
    }
    
    .page-header-content h1 {
        font-size: 2.5rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 92px;
        font-size: 13px;
    }
    
    .mobile-toggle-container {
        display: block;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    .stripe-two {
        min-height: 50px;
    }
    
    .stripe-content {
        flex-direction: row;
        text-align: center;
        gap: 5px;
    }
    
    .logo-left, .logo-right {
        display: flex;
        flex: 0 0 auto;
    }
    
    .header-logo {
        height: 60px;
    }
    
    .department-info {
        flex: 1;
        margin: 0 5px;
    }
    
    .department-info h1 {
        font-size: 0.85rem;
        margin-bottom: 2px;
        font-family: 'Merriweather', serif;
    }
    
    .department-info p {
        font-size: 0.65rem;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .page-header-content p {
        font-size: 1rem;
    }
    
    .gallery-section {
        padding: 50px 0;
    }
    
    .gallery-intro p {
        font-size: 0.9rem;
    }
    
    .article-header h2 {
        font-size: 1.4rem;
    }
    
    .article-content p {
        font-size: 0.9rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .two-images {
        grid-template-columns: 1fr;
    }
    
    .gallery-img {
        height: 250px;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .video-modal-content {
        max-width: 95%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px 4px 0 0;
    }
    
    .newsletter-form button {
        border-radius: 0 0 4px 4px;
    }
    
    .footer-logos {
        justify-content: center;
    }
    
    .footer-logo-img {
        max-width: 100px;
    }
    
    .mobile-nav-backdrop {
        top: 92px;
        height: calc(100vh - 92px);
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 82px;
        font-size: 12px;
    }
    
    .department-info h1 {
        font-size: 0.75rem;
    }
    
    .department-info p {
        font-size: 0.6rem;
    }
    
    .page-header {
        padding: 70px 0 30px;
    }
    
    .page-header-content h1 {
        font-size: 1.7rem;
    }
    
    .page-header-content p {
        font-size: 0.9rem;
    }
    
    .gallery-section {
        padding: 40px 0;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    .video-description {
        font-size: 0.85rem;
    }
    
    .gallery-img {
        height: 200px;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .header-logo {
        height: 50px;
    }
    
    .stripe-content {
        gap: 3px;
    }
    
    .footer-column h3 {
        font-size: 1rem;
    }
    
    .footer-column ul li a {
        font-size: 0.8rem;
    }
    
    .social-icons a {
        width: 34px;
        height: 34px;
    }
    
    .newsletter h4 {
        font-size: 0.85rem;
    }
    
    .mobile-nav-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .mobile-dropdown-menu li a {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* Accessibility Features */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .play-btn::before {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --sea-blue: #000080;
        --dark-sea-blue: #000066;
        --burgundy: #800000;
        --dark-burgundy: #600000;
        --shiny-gold: #ffd700;
        --light-gold: #ffcc00;
        --light-gray: #ffffff;
        --dark-gray: #000000;
        --white: #ffffff;
    }
    
    .btn {
        border: 2px solid var(--dark-gray);
    }
    
    .video-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--shiny-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header-stripe,
    .main-nav,
    .hamburger-menu,
    .mobile-nav-dropdown,
    .social-icons,
    .newsletter,
    .footer-logos {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
        padding-top: 0;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .page-header {
        background: #fff !important;
        color: #000 !important;
        padding: 20px 0;
    }
    
    .gallery-article {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .video-overlay,
    .play-btn {
        display: none !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    footer {
        background: #fff;
        color: #000;
        padding: 20px 0;
    }
    
    .footer-bottom {
        border-top: 1px solid #000;
    }
}