
body {
    background-color: #f0f4f8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}
        
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 5rem 1rem 3rem;
    margin-bottom: 2rem;
}
        
.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
        
.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}
        
.event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
        
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
        
.event-category {
    font-size: 0.8rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
        
.timeline-container {
    position: relative;
    width: 50%;
    padding: 10px 40px;
}
        
.timeline-container.left {
    left: 0;
}
        
.timeline-container.right {
    left: 50%;
}
        
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
        
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #1e3a8a;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 5px;
}
        
.content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
        
.content::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid #1e3a8a;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
        
.left .content::after {
    right: -17px;
}
        
.right .content::after {
    left: -17px;
}
        
.event-year {
    display: inline-block;
    background-color: #1e3a8a;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: bold;
}
        
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
            
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
            
    .timeline-container.right {
        left: 0%;
    }
            
    .content::after {
        left: -17px;
    }
}
        
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
        
.tab-content {
    display: none;
}
        
.tab-content.active {
    display: block;
}
        
.category-label {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    background-color: #f3f4f6;
    transition: all 0.3s ease;
}
        
.category-label:hover {
    background-color: #e2e8f0;
}
        
.category-input:checked + .category-label {
    background-color: #1e3a8a;
    color: white;
}

        /* Footer styling */
footer {
    background: linear-gradient(to right, #000428, #004e92);
    color: white !important;
    padding: 30px 0;
}

footer p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 5px 0;
}

footer img.logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}
        
@media screen and (max-width: 768px) {
    .timeline::after {
    left: 31px;
    }
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    .left::after, .right::after {
        left: 18px;
    }
    .right {
        left: 0%;
    }
}

/* Navigation Bar Styling */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .text-blue-900 {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
}

nav ul li a:hover {
    color: #3b82f6;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li.Event a {
    color: #3b82f6;
}

nav ul li.Event a::after {
    width: 100%;
}

/* Mobile menu button (add to your HTML if needed) */
.mobile-menu-button {
    display: none;
    cursor: pointer;
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    /* Mobile menu when active */
    nav ul.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active li {
        margin: 10px 0;
        text-align: center;
    }
}