body, html {
    overflow-x: hidden;
}

/* Base Styles */
body { 
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 auto;
}

nav {
    background-color: #0D5B9C;
    padding: 15px 0; /* Reduce side padding to prevent overflow */
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative; /* To contain absolutely positioned elements */
}

.navbar-logo img {
    height: 70px;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    position: relative; /* Necessary for positioning sub-menu */
}

.navbar-menu li {
    position: relative; /* To help position the dropdown */
}

.navbar-menu a {
    text-decoration: none;
    color: #FFF;
    font-weight: bold;
    padding: 10px; /* Add some padding for better usability */
    display: block; /* Ensure the entire area is clickable */
}

/* Submenu styling for parent items */
.menu-item-has-children > a {
    position: relative;
    padding-right: 25px; /* Increased space for dropdown indicator */
    cursor: pointer; /* Indicate that it's clickable */
}

/* Dropdown Arrow Indicator */
.menu-item-has-children > a::after {
    content: ' ▼';
    font-size: 0.8em;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Submenu styling */
.navbar-menu li ul {
    display: none; /* Hide sub-menu by default */
    position: absolute; /* Position relative to parent */
    top: 100%; /* Display right below the parent */
    left: 0;
    background-color: #eceff1; /* Light gray background for submenu */
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Optional: shadow for dropdown */
    z-index: 1000; /* Make sure dropdown stays on top */
    min-width: 200px; /* Increased minimum width for better visibility */
    white-space: nowrap; /* Prevent items from wrapping */
}

.navbar-menu li ul li a {
    padding: 10px 20px; /* Increased horizontal padding for better spacing */
    color: #000;
    display: block;
    text-decoration: none;
}

/* Show sub-menu on hover (Desktop) */
.navbar-menu li:hover > ul {
    display: block; /* Show the sub-menu on hover */
}

/* Optional: Style changes on hover */
.navbar-menu li:hover > a {
    background-color: #b0bec5; /* Slightly darker background on hover */
}

.navbar-menu li ul li a:hover {
    background-color: #cfd8dc; /* Lighter background for sub-menu items on hover */
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none; /* Hidden by default on larger screens */
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    z-index: 1100;
    transition: transform 0.3s ease;
    position: relative;
    width: 30px;   
    height: 30px;
}

.mobile-menu-toggle .menu-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #FFF;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Change hamburger to X when active */
.mobile-menu-toggle.active .menu-icon {
    transform: rotate(90deg); /* Simple rotation for demonstration */
    /* You can use different transformations or SVG icons for a proper X */
}



/* Footer styles */
footer {
    background-color: #eceff1;
    padding: 20px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {

    .navbar-logo img {
        height: 35px;
        width: 127px;
        padding-left: 10px;
    }
}