* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding-top: 94px; /* To account for fixed navbar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    height: 94px;
    width: 100%;
    background-color: #FDFFF5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
}

.logo-container a {
    text-decoration: none;
    color: inherit;
}

.logo-div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.2rem;
    line-height: 1.2;
}

.time {
    font-weight: bold;
    color: #000080;
}

.time1 {
    font-size: 0.9rem;
    color: #000080;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #000080;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-menu a:hover {
    background: #000080;
    color: #FDFFF5;
}

.nav-menu a.active {
    background: #000080;
    color: #FDFFF5;
}

.toggle-btn {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #000080;
    margin: 3px 0;
    transition: 0.3s;
}

/* Page Header - Following Academics Style */
.page-header {
    background: linear-gradient(rgba(30, 67, 137, 0.7), rgba(30, 67, 137, 0.7)), url(images/1756439626204.jpg) center/cover no-repeat;
    position: relative;
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Gallery Filter Section */
.gallery-filter {
    padding: 40px 0;
    background: white;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.filter-btn {
    padding: 10px 20px;
    background: #f5f7fa;
    border: 2px solid #e2e3f1;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1e4389;
}

.filter-btn.active, .filter-btn:hover {
    background: #1e4389;
    color: white;
    border-color: #1e4389;
}

/* Gallery Grid Section */
.gallery-section {
    padding: 80px 0;
    background: #f5f7fa;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #1e4389;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #ffcc00;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
}
.gallery-item img {
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 67, 137, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    text-align: center;
    padding: 20px;
}

.gallery-caption h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.gallery-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.view-btn {
    display: inline-block;
    background: #ffcc00;
    color: #1e4389;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #ffd633;
    transform: translateY(-2px);
}

/* Events Highlights Section */
.events-section {
    padding: 80px 0;
    background: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.event-card {
    background: #f5f7fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 25px;
}

.event-date {
    background: #1e4389;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.event-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #1e4389;
    margin-bottom: 10px;
}

.event-desc {
    color: #555;
    margin-bottom: 15px;
}

/* Video Gallery Section */
.video-section {
    padding: 80px 0;
    background: #f5f7fa;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: #e2e3f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail i {
    font-size: 4rem;
    color: #1e4389;
    cursor: pointer;
    transition: color 0.3s;
}

.video-thumbnail:hover i {
    color: #2c5cc0;
}

.video-content {
    padding: 20px;
}

.video-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #1e4389;
    margin-bottom: 10px;
}

.video-desc {
    color: #555;
    font-size: 0.9rem;
}

/* Call to Action */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e4389 0%, #2c5cc0 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffcc00;
    color: #1e4389;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #ffd633;
    transform: translateY(-3px);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    background: #000080;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffcc00;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-content ul {
    list-style: none;
}

.footer-content ul li {
    margin-bottom: 10px;
}

.footer-content a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #ffcc00;
}

.social-icon {
    display: flex;
    gap: 15px;
}

.social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.social-icon a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 900px) {
    .toggle-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 94px;
        flex-direction: column;
        background-color: #FDFFF5;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}