.navbar {
    /* background-color: #0057ab;  */
    transition: background-color 0.3s ease-in-out;
}

.navbar.transparent {
    background-color: transparent !important;
}

.navbar.scrolled {
    background-color: #0057ab;

}
#brand-logo {
    transition: opacity 0.3s ease-in-out;
}

.navbar.transparent #brand-logo {
    content: url("../images/N4.png"); 
}

.navbar.scrolled #brand-logo {
    content: url("../images/NW4.png"); 
}

.nav-item a.nav-link {
    color: #fff !important; 
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    padding: 30px 20px !important; 
    transition: background-color 0.3s ease, color 0.3s ease;
}


.nav-item .nav-link.active {
    background-color: rgba(0, 0, 0, 0.2); 
    color: #fff !important;
    /* padding: 30px 35px; */
}


.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 992px) {
    .nav-item a.nav-link {
        padding: 10px 15px; 
    }
}


.preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    /* background-color: #000; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.bg-image {
    background: url('../images/slider/1.2.jpg') center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);  
}
 
.z-1 {
    position: relative;
    z-index: 1;
}
 
@media (max-width: 768px) {
    .caption h1 {
        font-size: 2rem;
    }

    .caption p {
        font-size: 1rem;
    }
}