/* Professional Navbar */
:root {
    --nav-bg: #1a1a1a;
    --nav-text: #ffffff;
    --nav-accent: #007bff;
    /* Original Blue Accent */
    --nav-height: 100px;
}

.main-navbar {
    background-color: var(--nav-bg);
    min-height: var(--nav-height);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--nav-accent);
    /* Solid professional accent line */
}

.nav-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand img {
    height: 65px;
    width: auto;
}

/* Contact Info - Bold & Visible */
.nav-contact-info {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    white-space: normal;
    text-align: left;
    margin-right: auto;
    margin-left: 30px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    /* Separator line from logo */
    height: 50px;
}

.nav-contact-info a {
    color: #fff;
    text-decoration: none;
    margin-left: 5px;
    font-weight: 700;
    /* Bolder */
}

.nav-contact-info a:hover {
    color: var(--nav-accent);
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    /* Professional look */
    letter-spacing: 1px;
    opacity: 0.9;
    transition: color 0.2s;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--nav-accent);
    /* Color change instead of underline width */
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
}

.nav-toggle-icon {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
    top: -9px;
}

.nav-toggle-icon::after {
    bottom: -9px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .nav-contact-info {
        order: 3;
        width: 100%;
        margin: 10px 0 0 0;
        justify-content: center;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: none;
        /* Remove desktop separator */
        padding-top: 15px;
        padding-left: 0;
        height: auto;
    }

    .nav-toggle {
        display: block;
        order: 2;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;

        /* FIX: Use Opacity & Visibility to prevent peeking */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        /* Slight slide effect */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 998;
        border-bottom: 3px solid var(--nav-accent);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Force full centering */
    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-contact-info {
        font-size: 0.9rem;
    }
}