body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #004aad;
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav .logo img {
    height: 70px; /* Adjust the height as needed */
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 14px 16px;
    display: block;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    color: #050a30;
    background-color: #fff;
    border-radius: 4px;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background-color: #004aad;
    color: white;
    margin-top: 120px; /* Adjust to prevent content from being hidden behind the fixed nav */
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
}

.hero .btn {
    background-color: #fff;
    color: #050a30;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #ddd;
}

.about .btn {
    background-color: #004aad;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.about .btn:hover {
    color: #004aad;
    background-color: #fff;
}

.about, .projects, .contact {
    padding: 60px 20px;
    text-align: center;
}

.about h2, .projects h2, .contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.project {
    margin-bottom: 40px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #004aad;
    color: white;
}

.not-found {
    text-align: center;
    padding: 100px 20px;
}

.not-found h1 {
    font-size: 100px;
    margin-bottom: 20px;
}

.not-found p {
    font-size: 24px;
    margin-bottom: 40px;
}

.not-found .btn {
    background-color: #004aad;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.not-found .btn:hover {
    background-color: #003a8c;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .hero {
        text-align: left;
        padding: 100px 20px;
        background-color: #004aad;
        color: white;
        margin-top: 60px; /* Adjust to prevent content from being hidden behind the fixed nav */
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
        height: 60px;
    }

    nav .logo img {
        height: 40px; /* Adjust the height as needed */
        margin-bottom: 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #004aad;
    }

    nav ul li {
        text-align: center;
        margin: 0;
    }

    nav ul li a {
        padding: 10px;
    }

    .burger {
        padding-right: 5%;
        display: block;
    }
    
    .nav-active {
        display: flex;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}