/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    
}

/* Container */
.container {
    width: 100%;
    padding: 0;
    margin: 0;
    
}


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background-color: #474B4F;
    color: #fff;
    flex-wrap: wrap; 
    height: 90px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px; 
}

.nav-logo .logo {
    width: 75px;
    height: 90px;
    margin-right: -5px;

}

.nameslogan h1 {
    font-size: 24px;
    margin: 0;
    color: #fff;
}

.nameslogan h5 {
    font-size: 10px;
    margin: 0;
    margin-left: 25px;
    color: #fff;
}

.nav-logo a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
    display: flex; /* Align items */
    align-items: center; /* Center vertically */
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-around;
    
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; 
}

.nav-menu .menu-items {
    margin-left: 20px;
}

.nav-menu .menu-items a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

.nav-menu .menu-items a:hover {
    color: #ff9900;
}

/* Dropdown content styling */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #474B4F;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links within dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Show dropdown on hover (for desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Hover effect for dropdown links */
.dropdown-content a:hover {
    background-color: #414040;
}

/* Media query for mobile */
@media (max-width: 768px) {
    .dropdown:hover .dropdown-content {
        display: none; /* Disable hover effect on mobile */
    }
}


/* Dropdown content styling */
.dropdown-content1 {
    display: none;
    position: absolute;
    background-color: #474B4F;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: left;
}

/* Links within dropdown */
.dropdown-content1 a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Show dropdown on hover (for desktop) */
.dropdown:hover .dropdown-content1 {
    display: block;
}

/* Hover effect for dropdown links */
.dropdown-content1 a:hover {
    background-color: #414040;
}

/* Media query for mobile */
@media (max-width: 768px) {
    .dropdown:hover .dropdown-content1 {
        display: none; /* Disable hover effect on mobile */
    }
}


/* Hamburger Menu Styles */
.hamburger {
    display: none; 
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    margin-left: auto;
    align-items: center;
}

.hamburger .bar {
    width: 30px; 
    height: 3px;
    background-color: #ffffff;
    margin: 0 5px;
    transition: all 0.3s ease;
}



/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 15px; 
    }

    .nameslogan h1 {
        font-size: 18px; 
    }

    .nameslogan h5 {
        font-size: 8px;
        margin-left: 10px; 
    }

    .nav-menu .menu-items a {
        font-size: 16px; 
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-item {
        display: none; 
        width: 100%;
        justify-content: center;
        padding: 30px 0 ;    
    }

    .nav-menu {
        display: block;
        width: 100%;
        padding: 0;
        background-color: #333;
    }

    .nav-menu .menu-items {
        padding: 20px 20px;
        border-bottom: 1px solid #444;
    }

    .nav-menu .menu-items a {
        display: block;
        width: 100%;
        justify-content: center;
    }




    .hamburger {
        display: flex;
        margin-top: 30px;
    }

    .nav-item.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        margin-top: 60px;
        
        
    }

    /* Toggle open styles for the hamburger */
    .hamburger.open .bar:nth-child(1) {
        transform: rotate(45deg);
        transform-origin: 5% 10%;
    }

    .hamburger.open .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open .bar:nth-child(3) {
        transform: rotate(-45deg);
        transform-origin: left center;
    }
}

@media (max-width: 480px) {
    .nav-menu .menu-items a {
        font-size: 14px; 
    }

    .navbar {
        padding: 0 10px; 
    }
}
