/* Custom Navbar Styles */
#mainNav {
    background: #1a2037 !important;
    transition: all 0.3s ease;
    border-bottom: none !important;
}

/* Override all navbar background states to maintain consistent color */
#mainNav.navbar-shrink {
    background: #1a2037 !important;
}

@media (min-width:992px) {
    #mainNav {
        background-color: #1a2037 !important;
    }
    
    #mainNav.navbar-shrink {
        background-color: #1a2037 !important;
    }
}

#mainNav .navbar-brand {
    color: #fff !important;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

#mainNav .navbar-brand:hover,
#mainNav .navbar-brand:focus {
    color: #fff !important;
}

#mainNav .navbar-brand img {
    height: 40px;
    margin-right: 12px;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon-custom {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

#mainNav .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

#mainNav .navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

#mainNav .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#mainNav .navbar-nav .nav-link i {
    margin-right: 6px;
}

#mainNav.navbar-scrolled {
    background: #1a2037 !important;
}

/* Section heading colors */
.section-heading {
    color: #1a2037;
}

/* Home icon colors */
.home-icon {
    color: #1a2037;
}

/* Contact links */
.contact-link {
    color: #1a2037;
}
