        header{
            position: relative;
            z-index: 99999;
        }
        #mainNav {
            color: white;
            z-index: 9999 !important;
            background: transparent !important;
            transition: var(--transition);
        }
        #mainNav {
            transition: background-color 0.3s ease;
        }
        
        #mainNav.navbar-scrolled,
        #mainNav.navbar-expanded {
            background-color: #0c4a99 !important;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        /* Make sure the toggle button has proper contrast */
        .navbar-toggler {
            border-color: rgba(255, 255, 255, 0.5);
        }
        
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            padding: 0;
            margin: 0;
        }

        .logo-nav {
            width: 50px;
            height: 50px;
            object-fit: contain;
            margin-right: 10px;
        }

        .title-nav {
            font-size: 1.1rem;
            font-weight: 700;
            color: white !important;
        }

        .nav-link {
            font-weight: 600;
            padding: 10px 15px !important;
            color: white !important;
            transition: var(--transition);
        }

        .nav-link:hover {
            color: var(--light-blue) !important;
        }
@media (max-width: 1199.98px) {
.nav-link {
            font-size: 0.8rem;
        }
}
        

@media (max-width: 767.98px) {
  .title-nav {
    display: none;
  }
  
  .logo-nav {
    width: 40px;
    height: 40px;
  }
}
        .overlay {
            background: linear-gradient(278deg, rgba(23, 95, 189, 1) 0%, rgba(14, 75, 156, 1) 50%, rgba(6, 49, 105, 1) 100%);
            opacity: 0.65;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }
