html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Poppins", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

/* ================= NAVBAR ================= */
.navbar {
    background: linear-gradient(#efefef, #fafafa);
    padding: 0.2rem 0;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.navbar-nav .nav-link {
    color: #6d6d6d;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.7rem 1.2rem;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #004996;
}

.navbar-toggler {
    border: none;
}

#headerlogo {
    background: url('/assets/images/logo.png') no-repeat top center;
    position: absolute;
    top: 0;
    height: 134px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    background-size: contain;
}

.navbar-left {
    margin-right: auto;
}

.navbar-right {
    margin-left: auto;
}

/* ======= Responsive Navbar ======= */
@media (max-width: 1024px) {

    .vertical-line,
    #headerlogo {
        display: none !important;
    }

    .navbar {
        background: linear-gradient(#efefef, #fafafa);
        padding: 0.2rem 0;
        position: relative;
        z-index: 10;
        backdrop-filter: blur(8px);
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-nav {
        border-radius: 5px;
        padding: 0rem;
        text-align: left;
    }

    .navbar-nav .nav-link {
        color: #333;
        padding: 0.5rem;
        display: block;
        border-bottom: 2px solid #e0e0e0;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #004996;
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 5px;
    }

}

/* ================= Brand ================= */

.brand-text {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 30px rgba(138, 137, 137, 0.5);
    padding: 15px;
}

.brand-box {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 8px;
    width: 190px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
    .brand-box {
        width: 140px;
        height: 140px;
        padding: 5px;
    }
}

@media (max-width: 576px) {
    .brand-box {
        width: 120px;
        height: 120px;
        padding: 10px;
    }
}

/* ================= MODAL STYLE ================= */
.modal-content {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 30px rgba(138, 137, 137, 0.5);
    border: 1px solid #000000;
    border-radius: 0px;
    max-height: 50vh;
    max-width: 600px;
    overflow-y: auto;
    margin: auto;
    font-size: 14px;
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
    color: #000000;
}

.fixed-close-btn {
    position: absolute;
    position: fixed;
    align-self: end;
    background-color: #fff8f8;
    color: #fff;
    border: 1px solid #000000;
    border: none;
    border-radius: 50%;
    opacity: 1;
    padding: 8px;
    width: 8px;
    height: 8px;
    z-index: 10;
}

/* ================= FOOTER ================= */
footer {
    width: 100%;
    padding: 0.5rem;
    margin-top: 50px;
    text-align: center;
    color: #fff;
    bottom: 0;
    left: 0;
}

/* ================= SLIDER ================= */
.slider-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.slider-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.slider-container img.active {
    opacity: 1;
}

/* ================= Custom Scroll ================= */

.custom-scroll::-webkit-scrollbar {
    width: 10px;
}

.custom-scroll::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 30px rgba(138, 137, 137, 0.5);

}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(65, 65, 65, 0.6);
    transition: background-color 0.3s ease;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(36, 36, 36, 0.6);
}