.site-logo-img {

    height: 55px !important;
    object-fit: contain;
    display: block;
}

.bi {
    font-size: 12px;
}

.topbar .btn-outline-danger {
    border: 2px solid red;
    color: red;
    font-weight: 500;
    background-color: transparent;
    transition: 0.3s ease-in-out;
}

.topbar .btn-outline-danger:hover {
    background-color: red;
    color: white;
}

@media (max-width: 991.98px) {
    .dropdown-menu.custom-grid {
        display: none;
        position: static !important;
        box-shadow: none;
        width: 100%;
        padding: 10px 15px;
    }

    .nav-item.dropdown.show .dropdown-menu.custom-grid {
        display: block;
    }
}

@keyframes bounceIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.animate-on-hover:hover i {
    animation: bounceIcon 0.6s infinite;
}

.navbar-nav .nav-link {
    color: #333 !important;
}

.navbar-nav .nav-link:hover {
    color: #004aad !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s ease;
}

.dropdown-link:hover {
    color: #004aad;
}

.dropdown-link img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.nav-link {
    padding: 10px 15px;
}

.navbar-nav .nav-item {
    position: relative;
    white-space: nowrap;
}

.dropdown-chat {
    position: relative;
}

.chat-dropdown-box {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 999;

    width: 500px;
    padding: 1.5rem 2rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);

    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-chat:hover .chat-dropdown-box {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-link {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s ease;
}

.dropdown-link img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    object-fit: contain;
}

.dropdown-menu-explore {
    position: absolute;
    left: 0;
    top: 100%;
    width: 85vw;
    height: auto;

    background: white;
    z-index: 999;
    padding: 2rem;
    border: none;
    border-radius: 2px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    justify-content: space-between;
}

.dropdown-menu-explore .container {
    max-width: 1240px;
}

@media (max-width: 576px) {
    .dropdown-menu-discover {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: unset;
        max-width: 100%;
    }

    .dropdown-menu-explore {
        height: auto;
        padding: 1rem;
    }
}

.testprep-dropdown-grid {
    width: 360px;
    left: 50% !important;
    transform: translateX(-50%);
    right: auto !important;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    background: #fff;
    border: none;
    padding: 1.25rem 1rem;
    margin-top: 0.5rem;
    position: absolute;
    z-index: 999;
}

.testprep-img-link {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: box-shadow 0.2s, border 0.2s, padding 0.2s;
    padding: 10px;

    background: transparent;
}

.testprep-img-link:hover {
    border: 2.5px solid #004aad;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.12),
        0 1.5px 6px rgba(0, 0, 0, 0.08);
    background: #f8fbff;
    padding: 10px;
}

.testprep-img {
    max-width: 100%;
    max-height: 100%;
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: filter 0.2s, transform 0.2s;
}

.testprep-img-link:hover .testprep-img {
    filter: none;
    transform: scale(0.92);
}

@media (max-width: 576px) {
    .testprep-dropdown-grid {
        width: 100% !important;
        min-width: unset;
    }

    .testprep-img-link {
        height: 60px;
        padding: 6px;
    }

    .testprep-img {
        width: 32px;
        height: 32px;
    }
}

.dropdown-testprep:hover .testprep-dropdown-grid {
    display: block;
}

.dropdown-testprep .testprep-dropdown-grid {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 999;
}

.dropdown-testprep {
    position: relative;
}

.dropdown-testprep .testprep-dropdown-grid {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 999;
}

.dropdown-testprep:hover .testprep-dropdown-grid,
.dropdown-testprep.show .testprep-dropdown-grid {
    display: block;
}

.destination-hover:hover .dropdown-menu {
    display: block;
}

.destination-dropdown {
    width: 750px;
    background-color: #fff;
    z-index: 999;
}

.destination-col {
    width: 32%;
}

.destination-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #002147;
    font-family: "Rubik", sans-serif;
    font-size: 15px;
    padding: 6px 8px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.destination-item:hover {
    background-color: #f8f9fa;
}

.flag {
    width: 24px;
    height: 16px;
    object-fit: contain;
    margin-right: 10px;
}

.arrow {
    width: 14px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.destination-item:hover .arrow {
    opacity: 1;
}

.destination-hover {
    position: relative;
}

.destination-dropdown {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 600px;
    background-color: #fff;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: block;

}

.header__wrap.stricky.d-lg-none.stricked-menu.stricky-fixed {
    background-color: #fff;
}

.destination-hover:hover .dropdown-menu,
.destination-hover:focus-within .dropdown-menu,
.destination-dropdown:hover,
.destination-dropdown:focus {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    display: block;
}

@media (max-width: 991.98px) {
    .destination-dropdown {
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .xb-header-menu-scroll {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .xb-has-dropdown .xb-has-dropdown>.xb-dropdown-menu {
        margin-left: 1rem;
        background: #f9f9f9;
        box-shadow: none;
    }

    .xb-menu-primary>.xb-has-dropdown>.xb-dropdown-menu {
        margin-left: 0;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .xb-has-dropdown .xb-has-dropdown>.xb-dropdown-menu {
        max-height: 60vh;
        overflow-y: auto;
    }
}

.xb-has-dropdown .xb-dropdown-menu {
    display: none;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0;
    padding: 0.5rem 1rem;
    position: static;
    width: 100%;
}

.xb-has-dropdown.open>.xb-dropdown-menu {
    display: block;
}

@media (max-width: 991.98px) {
    .xb-header-menu-scroll {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .xb-has-dropdown .xb-has-dropdown>.xb-dropdown-menu {
        margin-left: 1rem;
        background: #f9f9f9;
        box-shadow: none;
    }

    .xb-menu-primary>.xb-has-dropdown>.xb-dropdown-menu {
        margin-left: 0;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .xb-has-dropdown .xb-has-dropdown>.xb-dropdown-menu {
        max-height: 60vh;
        overflow-y: auto;
    }
}

.xb-has-dropdown .xb-has-dropdown>.xb-dropdown-toggle {
    font-weight: 500;
    color: #004aad;
}

.xb-arrow {
    margin-left: 8px;
    border: solid #888;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform 0.2s;
    width: 7px;
    height: 7px;
    vertical-align: middle;
}

.xb-has-dropdown.open>.xb-dropdown-toggle .xb-arrow {
    transform: rotate(-135deg);
}