:root {
    --primary-color: #0066cc;
    --secondary-color: #003366;
    --text-color: #ffffff;
    --background-color: rgba(0, 51, 102, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: rgba(0, 51, 102, 0.1);
    z-index: 1000;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.nav-links a, .nav-links button {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links button:hover {
    color: var(--primary-color);
}

.nav-links button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.4s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: var(--background-color);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
}

main {
    padding-top: 105px;
}

section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.content {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    z-index: 1;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

footer {
    background-color: var(--background-color);
    padding: 2rem;
    text-align: center;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        padding: 1rem;
    }

    .nav-links.active a, .nav-links.active button {
        margin: 0.5rem 0;
    }
}
/* Add this to the existing CSS file */

nav {
    height: 105px; /* Set a fixed height for the nav bar */
}

main {
    padding-top: 0; /* Remove the top padding */
}

section {
    min-height: calc(100vh - 105px); /* Subtract nav height from section height */
    padding-top: 105px; /* Add padding to push content below nav */
    margin-top: -105px; /* Offset the padding to align with nav */
}
nav {
    height: 105px; /* Set a fixed height for the nav bar */
}

main {
    padding-top: 0; /* Remove the top padding */
}

section {
    min-height: 100vh; /* Keep full viewport height for sections */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.content {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    z-index: 1;
    margin-top: 105px; /* Add top margin to push content below nav */
}

/* Add this new rule */
#home {
    min-height: calc(100vh - 105px);
    margin-top: 105px;
}

/* Update the existing media query */
@media screen and (max-width: 768px) {
    /* ... existing styles ... */

    .content {
        margin-top: 80px; /* Adjust for smaller nav on mobile */
    }

    #home {
        min-height: calc(100vh - 80px);
        margin-top: 80px;
    }
}