@media (min-width:1440px) {

    .hs1-main-bg::before {
        content: "";
        background-image: url(../../images/home-bg-1.png);
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: calc(100% + 100px);
        background-repeat: no-repeat;
        background-size: 470px 700px;
    }

    .why-choose-box {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

}

@media (max-width:1440px) {

    .hiw-box-left {
        display: none;
    }

    .features-box {
        background-color: #ffff;
        -webkit-box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.15);
        box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.15);
        border: 0.5px solid rgba(0, 0, 0, 0.00);

        & path {
            fill: var(--rlms-primary-darkest);
        }
    }

}


@media (max-width:1439px) and (min-width:768px) {

    .features-box-wrapper {
        gap: 20px;
        -webkit-box-pack: initial;
        -ms-flex-pack: initial;
        justify-content: initial;
    }

    .features-box {
        padding: 20px;
        -webkit-box-flex: 1;
        -ms-flex: 1 0 240px;
        flex: 1 0 240px;
    }

    .why-choose-box-wrapper {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;

        &>* {
            -webkit-box-flex: 1;
            -ms-flex: 1;
            flex: 1;
        }
    }
}

@media (max-width:1439px) {

    .ot-programs-box-card-body-right{
        display: none;
    }
    
    .testimonials-box {
        min-height: 352px;
        justify-content: center;
    }
}

@media (min-width:1025px) {

    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        min-width: 160px;
        display: none;
        z-index: 100;
    }

    .nav-dropdown-menu {
        transition: opacity 0.2s ease, transform 0.2s ease;
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
    }

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

    .nav-dropdown-menu a {
        padding: 10px 15px;
    }
}


@media (max-width:1024px) {

    .bring-expert-right {
        width: 100%;
        flex: 1 0 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .bring-expert-left {
        flex: 1 0 100%;
        width: 100%;
    }

    .bring-expert-right {
        width: 100%;
        flex: 1 0 100%;
        display: flex;
        flex-direction: row;
    }

    .nav-sm-login-btn {
        display: block;
    }

    .nav-dropdown-menu li:not(:last-child) {
        padding-bottom: 10px;
    }

    li.nav-dropdown.active {
        border-top: 0.5px solid var(--rlms-border-color);
        border-bottom: 0.5px solid var(--rlms-border-color);
        padding: 10px;
    }

    li.nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .header-item-wrapper nav ul:not(.nav-dropdown-menu) {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-block: 50px;
        padding-inline: 16px;
    }

    .header-right {
        display: none;
    }

    .header-hamburger {
        display: block;
    }

    .dta-box-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 20px;
        max-width: 500px;
        margin-inline: auto;
    }

    .h-sec-common {
        padding-block: 50px;
    }

    .header-item-wrapper nav {
        position: fixed;
        background: white;
        top: var(--header-height);
        z-index: 99;
        left: 0;
        right: 0;
        height: 100dvh;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    body.menu-open .header-item-wrapper nav {
        transform: translateX(0);
    }

    .sb-detail b {
        font-size: 30px;
    }
}

@media (max-width:900px) {

    .statistics-box-wrapper {
        gap: 16px;
    }

    .statistics-box {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
        border-radius: 20px;
    }
}

@media (max-width:767px) {

    .ot-programs-box-card{
        padding: 20px;
        border-radius: 20px;
        min-height: auto;
    }

    .ot-programs-box-card-head b{
        font-size: 20px;
    }

    .ot-programs-box-card-head span{
        font-size: 14px;
    }

    .os-on-info-box-wrapper {
        gap: 15px;
    }

    .wc-ost-box-wrapper .wc-ost-box {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 300px;
    }

    .bring-expert-right>* {
        width: 100%;
        justify-content: space-between;
    }

    #cookie-banner {
        transform: translateX(-50%);
        left: 50%;
        width: 90%;
    }


    .hiw-br-icon {
        & img {
            width: 60px;
        }
    }

    .partners-box {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 150px;
        flex: 0 0 150px;
        height: 65px;
    }

    .footer-language-wrapper {
        right: 10px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-bottom svg {
        height: 20px;
        width: 20px;
    }

    ul.footer-link-wrapper {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        font-size: 14px;
        gap: 10px;

        & li {
            -webkit-box-flex: 0;
            -ms-flex: 0 0 calc(50% - 5px);
            flex: 0 0 calc(50% - 5px);
        }
    }

    .faq-question span {
        font-size: 20px;
    }

    .hiw-box-right ul {
        --li-height: 160px;
    }

    .hiw-box-right ul li {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 10px;

        &:not(:last-child):after {
            width: 24px;
            left: -24px;
            top: 20px;
        }

        &:before {
            top: 5%;
            -webkit-transform: inherit;
            -ms-transform: inherit;
            transform: inherit;
        }
    }

    .hiw-br-icon svg {
        width: 40px;
        height: 40px;
    }

    .why-choose-box {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    .features-box {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
        padding: 16px 10px;

        & svg {
            width: 80px;
            height: 80px;
        }
    }

    .fb-text p {
        font-size: 14px;
    }

    .hr-btns button {
        padding: 12px;
        border-radius: 10px;
        font-size: 14px;
    }

    .hr-btns a {
        font-size: 14px;
    }

    .sb-detail b {
        font-size: 22px;
    }

    .sb-detail span {
        font-size: 12px;
    }

    .sb-inner {
        max-width: 100%;
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        margin-inline: initial;
    }

    section.home-sec-1 {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 30px;
    }
}