/* General Body and Typography */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Navigation Bar */
nav {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #C8102E;
}

.site-logo {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo a:hover .site-logo {
    transform: scale(1.1);
}

/* Section Styling */
section {
    background: #fff;
    margin: 2rem auto;
    padding: 2rem;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #002868;
    border-bottom: 2px solid #C8102E;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

h1 {
    text-align: center;
}

h2 {
    font-size: 1.8rem;
}

/* Lists */
ul {
    list-style-type: disc;
    padding-left: 20px;
}

ul li {
    margin-bottom: 0.5rem;
}

/*Hero-section*/
.hero-section {
    text-align: center;
    color: #fff;
    padding: 4rem 2rem;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #fff;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    color: #fff;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #0d1b2a;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Contact Section */
address {
    font-style: normal;
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
}

.contact-info .fas {
    margin-right: 10px;
    color: #f0a500;
}

.contact-info a {
    text-decoration: none;
    color: #0d1b2a;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #C8102E;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    background: #0d1b2a;
    color: #fff;
    margin-top: 2rem;
}

/* Back-to-Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #C8102E;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top i {
    font-size: 1.5rem;
}

.back-to-top:hover {
    background-color: #C8102E;
}

/* Burger styles */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-left: 1rem;
    z-index: 1100;
}

.burger div {
    width: 28px;
    height: 4px;
    background-color: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Burger animation when active */
.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-6px, 6px);
}
.burger.toggle .line2 {
    opacity: 0;
}
.burger.toggle .line3 {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Close button for navigation */
.nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1200;
    display: none;
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        background: #0d1b2a;
        flex-direction: column;
        align-items: center;      
        justify-content: center;  
        padding-top: 0;           
        transition: right 0.3s ease;
        z-index: 1200;
        box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    }
    .nav-links.nav-active {
        right: 0;
    }
    .nav-links li {
        opacity: 1;
        margin: 1.2rem 0;
        width: 100%;
        text-align: center;       
    }
    .burger {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1300;
    }
    .nav-close {
        display: block;
        position: absolute;
        top: 18px;
        left: 18px;
        font-size: 2rem;
        z-index: 1301;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav li {
        margin: 0.5rem 0;
    }
}
