@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Urbanist", sans-serif;
}

/* --- Top Bar Styles --- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #fff;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 60px;
}

.contact-container {
    display: flex;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.contact-info i {
    color: #0a6595;
    font-size: 18px;
    margin-right: 10px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    font-size: 14px;
    color: #333;
}

.contact-text span {
    font-size: 12px;
    color: #666;
}

/* --- Navigation Styles --- */
.navigation {
    background-color: #0a6595;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex; /* Display flex by default for desktop */
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-right: 30px;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: #e0e0e0;
}

/* Underline for the first nav link (e.g., Home) */
.nav-links a:first-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

.appointment-btn {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.appointment-btn:hover {
    background-color: white;
    color: #0a6595;
}

/* Hamburger menu - hidden by default on desktop */
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
}

/* --- Responsive Styles --- */

/* Tablet View Adjustments (Example: 992px) */
@media screen and (max-width: 992px) {
    .top-bar {
        padding: 15px 30px; /* Adjust padding */
    }
    .navigation {
        padding: 15px 30px; /* Adjust padding */
    }
    .nav-links a {
        margin-right: 20px; /* Adjust spacing */
        font-size: 15px;
    }
    .appointment-btn {
        padding: 8px 15px; /* Adjust padding */
        font-size: 14px;
    }
}

/* Mobile View Adjustments (768px and below) */
@media screen and (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: center;
        padding: 15px 20px;
    }

    .logo-container {
        margin-bottom: 15px; /* Add space below logo */
        width: 100%;
        text-align: center;
    }

    .logo-container img {
        height: 50px; /* Slightly smaller logo */
    }

    .contact-container {
        /* Hide the contact info container on mobile */
        display: none;
    }

    .navigation {
        position: relative;
        padding: 10px 20px;
        /* Adjust layout for mobile nav bar */
        display: flex;
        justify-content: flex-end; /* Push hamburger to the right */
        align-items: center;
    }

    .nav-links {
        display: none; /* Hide nav links by default */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position below the navigation bar */
        left: 0;
        width: 100%;
        background-color: #0a6595;
        padding: 0;
        margin: 0;
        z-index: 100;
        border-top: 1px solid rgba(255, 255, 255, 0.2); /* Add separator */
    }

    /* Show nav links when hamburger is active */
    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 20px;
        margin: 0; /* Reset margin */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        color: white;
        text-decoration: none;
        width: 100%; /* Make links take full width */
    }

    /* Remove the underline style specifically for mobile nav links */
    .nav-links a:first-child::after {
        display: none;
    }

    .hamburger-menu {
        display: block; /* Show hamburger icon */
    }

    .appointment-btn {
        /* Hide the appointment button on mobile */
        display: none;
    }

    /* Animation for hamburger menu icon change (X) */
    .hamburger-menu.active i:before {
        content: "\f00d"; /* Font Awesome's X icon */
    }
}