:root {

    --primary-color: #0077B6;
    --secondary-color: #00B4D8;
    --background-color: #F8F9FA;
    --text-color: #333333;
    --error-color: #D72638;
    --card-color: #FFFFFF; 
}



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit; 
}

h1{
    font-family: 'Poppins', 'sans-serif';
    color: var(--primary-color);
    font-size: 2.6rem;
    margin-bottom: 1em;
}

body{

    background-color: var(--background-color);
    font-family: 'Montserrat', sans-serif;
}

button{
    font-family: 'Poppins', sans-serif;
}

p{
    font-family: 'Inter', sans-serif;
}

hr{
    border: none;
    height: 1px;
    background-color: #cacaca;
    margin-bottom: 2em;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin: auto;
    margin-top: 1em;
    z-index: 10;
}

.nav-logo {
    color: var(--primary-color);
    font-size: 2.6rem;
    font-weight: bolder;
    margin: 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    width: 40%;
    list-style-type: none;
    position: relative;
    align-items: center;
}

.nav-links li {
    position: relative;
}

a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
    transition: 0.3s ease-in-out;
}

a:hover {
    color: var(--secondary-color);
}

button:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    transition: 0.3s ease-in-out;
}

.active {
    color: var(--primary-color);
}

.active:hover {
    color: var(--primary-color);
}


.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropbtn {
    cursor: pointer;
    display: block;
    width: 100%;
    
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--card-color);
    min-width: 180px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1000;
    padding: 0; 
    text-align: left;

}

.dropdown-content li {
    list-style: none;

}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px;
    display: flex;
    transition: 0.3s;
    gap: 10%;
    align-items: center;

}

.dropdown-content i{
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.dropdown-content a:hover {
    background: var(--secondary-color);
    color: white;
}


.dropdown:hover .dropdown-content {
    display: block;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background: black;
    border-radius: 2px;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 60%;
        padding: 1em;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        background-color: var(--background-color);
        z-index: 10;
    
    }

 

    .nav-links.open {
        display: flex;
        width: 100%;
        text-align: center;
        font-size: 1.6rem;
        margin-top: 0;
        gap: 1em;
        box-shadow: none;
    }

    .dropdown-content {
        position: static;
        display: none;
        background-color: var(--background-color);
    }

    .dropdown:hover .dropdown-content {
        display: block;
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo {
        font-size: 2.2rem;
    }
}

@media (max-width: 1550px) {
    .nav-links {
        width: 70%;
    }
}

@media (max-width: 880px) {
    .nav-links {
        width: 85%;
    }
}

