body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
    overflow-x: hidden;
}
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #0c4a6e;
}
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1200/400') center/cover no-repeat;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}
.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
nav {
    transition: all 0.3s ease;
}
nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.nav-active {
    color: #0369a1;
    font-weight: 600;
}
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #0c4a6e;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}
.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid #0c4a6e;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.left {
    left: 0;
}
.right {
    left: 50%;
}
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}
.right::after {
    left: -12px;
}
    .content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);    }
.content h2 {
    color: #0c4a6e;
    font-weight: 600;
    margin-bottom: 10px;
}
.event-year {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #0c4a6e;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 500;
}
        /* 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.Timeline a {
    color: #3b82f6;
}

nav ul li.Timeline 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;
    }
}