:root {
    --primary-color: #002157;
    --secondary-color: #FCBB01;
}


.topbar {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #888;
    line-height: 1.6;
}


.topbar a {
    text-decoration: none;
    color: #000;
    margin-right: 20px;
    font-size: 0.90rem;
}

.topbar a:hover {
    color: #0A2463;
}

.navbar {
    top: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    z-index: 1000;
    min-height: 60px;
}

/* Container Layout */
.navbar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

/* Flex Alignment */
.logo {
    flex: 1 1 auto;
}


.nav-links {
    font-family: 'Poppins', sans-serif;
    flex: 2 1 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}


.nav-actions {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    margin-left: auto;
}

.img-whatsapp {
    width: 200px;
}

.company-logo {
    width: 130px;
}

/* Navigation link styles */
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 450;
}

.nav-links a:hover {
    color: #0A2463;
}

/* Topbar Styles */
.topbar {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar a:hover {
    color: #0A2463;
}

.nav-actions-mobile {
    display: none;
}

.nav-links ul.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Nav link style */
.nav-links ul.nav-menu li a.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s ease;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Toggle button for dropdown */
.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 5px;
    color: #000;
    padding: 5px;
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 100%;
    /* Appear below the button */
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1000;
}

/* Dropdown menu items */
.dropdown-menu li {
    list-style: none;
}

/* Links inside the dropdown */
.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

/* Hover effect for dropdown items */
.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

/* Hover underline animation */
.nav-links ul.nav-menu li a.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links ul.nav-menu li a.nav-link:hover::after {
    width: 100%;
}

/* Active state underline */
.nav-links ul.nav-menu li a.nav-link.active::after {
    width: 100%;
}

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

    .topbar {
        display: none;
    }

    .company-logo {
        margin: 0 auto;
        /* Center horizontally */
        display: block;
        text-align: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .dropdown-toggle {
        margin-left: 0px;
    }

    .nav-actions {
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .img-whatsapp {
        width: 180px;
    }

    .nav-actions-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-actions {
        display: none;
    }

    .nav-links ul.nav-menu {
        display: grid;
    }
}