@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
body, * {
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #EC1C25 ; 
    --secondary-color:#F2EEEE;
    --tertiary-color:#545557;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px 5px 0px;
    color: black;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    z-index: 1;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
    height: 50px;
}

.navbar.sticky {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.logo {
    display: flex;
    justify-content: center;
    height: auto;
    width: auto;
    margin-left: 20px;
}

.logo img{
    height: 90px;
    width: 150px;
    border: none;
    outline: none;
    filter: none;
}
.navigation{
    margin-right: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.nav-links a.active {
    color: var(--primary-color);
    text-decoration: underline;
    opacity: 1;
}

.menu-toggle{
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle svg{
    stroke:white;
    height: auto;
    width: 30px;
}

.mobile-nav {
    display: none ;
}

.close-btn{
    display: none;
}
.menu-toggle {
    display: none;
}

.nav-links a:hover, 
.nav-links-mobile a:hover {
    color: var(--primary-color);
}

.nav-links a.active,.nav-links a.focus  {  
    text-decoration: underline;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    body, *{
        margin: 0;
    }
    
    .nav-links {
        display: none; 
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        height: auto;
        width: auto;
        fill: white;
        stroke: white;
        margin-right: 10px;
    }
    
    .mobile-nav {
        visibility: hidden;
        position: fixed;
        right: 0;
        top: 0;
        width: 250px;
        height: 100vh;
        background: rgb(201, 198, 198);
        color: white;
        transition: transform 0.3s ease-in-out, visibility 0.3s;
        transform: translateX(100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 10000;
    }

    .mobile-nav.open {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-nav a {
        display: block;
        color: black;
        padding: 10px 20px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2)
    }

    .mobile-nav.open .nav-links-mobile {
        display: flex !important; 
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .mobile-nav-links {
        width: 100%;
        text-align: center;
    }

    .nav-links-mobile {
        display: none !important;
        flex-direction: column;
        list-style: none;
        padding: 0;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        flex: 1;
    }
    
    .mobile-nav.open .nav-links-mobile {
        display: flex !important;
    }

    .nav-links-mobile   li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 15px;
    }
    
    .nav-links-mobile a {
        text-decoration: none;
        color: black;
        font-size: 1.2em;
        display: block;
        transition: 0.3s;
    }
    
    .close-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        cursor: pointer;
    }
    
    .close-btn svg {
        height: 30px;
        width: 30px;
    }

}
