.contact {
    padding: 5px;
    background-color: #172A63;
    font-size: 12px !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: transparent;
    position: absolute;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: white;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    /* Better for visibility */
    transition: color 0.3s ease;
    /* Smooth hover effect */
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
    /* Subtle hover effect */
}

.nav-links a.active::after {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    background: white;
    position: absolute;
    bottom: -5px;
    left: 25%;
    /* Centers the underline */
    transition: all 0.3s ease;
    background-image: linear-gradient(90deg, rgb(0, 135, 101), rgb(0, 135, 101) 33%, rgb(240, 240, 236) 33%, rgb(240, 240, 236) 66%, rgb(206, 43, 60) 66%, rgb(206, 43, 60) 100%);
}

.circle-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.circle {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border: 1px solid #253E8B;
    border-radius: 50%;
}

/* Search and menu toggle styles remain the same */
.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-icon {
    font-size: 18px;
}

.menu-toggle {
    display: none;
}

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

    .home-page .nav-links {
        display: block !important;
    }

    .navbar {
        padding: 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        padding: 20px;
        gap: 15px;
        align-items: center;
        transform: none;
        left: 0;
    }

    .nav-links a.active::after {
        width: 20%;
        /* Better for mobile */
        left: 40%;
        /* Centers the underline on mobile */
    }

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

    .menu-toggle {
        display: block;
        width: 25px;
        height: 50px;
        position: relative;
        cursor: pointer;
        font-size: 24px;
        color: white;
        background-image: url('../images/header/icon-mob.png');
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center;
    }

    .circle {
        display: none;
    }
}

/* tablet  */

@media (min-width: 768px) and (max-width: 991px) {
    .nav-links {
        gap: 20px;
        left: 57%;
    }
}