/* Max Width : 1399px */
@media screen and (max-width: 1399px) {
    .book-tab {
        min-width: 150px;
    }

    .consultant-left {
        max-width: 600px;
    }

    .consultant-right {
        max-width: 470px;
    }

    .new-banner-title {
        font-size: 70px;
    }

    .step-before-img {
        max-width: 240px;
        top: -30px;
    }
}

/* Max Width : 1199px */
@media screen and (max-width: 1199px) {
    .new-banner-title {
        font-size: 64px;
    }

    .new-banner-wrapper p {
        margin: 14px 0 28px;
    }

    .new-theme-btn {
        padding: 12px 30px;
        font-size: 17px;
    }

    .new-banner-wrapper {
        padding: 20px 0 70px;
    }

    .form-title {
        font-size: 30px;
    }

    .form-height {
        min-height: 600px;
    }

    .banner-left-before {
        bottom: 120px;
        height: 500px;
        left: -90px;
    }

    .banner-right-before {
        height: 500px;
        right: -120px;
        bottom: 95px;
    }

    /* offer section */

    .section-dark-title {
        font-size: 42px;
    }

    .offer-section {
        padding: 100px 0;
    }

    .offer-left-arrow {
        width: 44px;
    }

    .offer-slider-card {
        width: 340px;
        height: 500px;
    }

    .offer-content-wrapper {
        padding: 20px;
        padding-top: 63% !important;
    }

    /* talk-us-section */
    .talk-us-section {
        padding: 180px 0;
    }

    .section-light-title {
        font-size: 42px;
    }

    .talk-desc {
        padding: 20px 0 28px;
    }

    .book-tab {
        min-width: 120px;
    }

    /* steps section */
    .steps-section {
        padding: 100px 0;
    }

    .single-step-accordion {
        padding: 40px 0;
    }

    .step-que {
        font-size: 28px;
    }

    .step-number {
        margin-right: 50px;
    }

    .step-cross {
        padding: 12px;
        width: 44px;
        height: 44px;
    }

    /* know-more-section */
    .know-more-us-section {
        padding-top: 100px;
    }

    .know-before {
        max-width: 120px;
    }

    .know-sub-title {
        font-size: 22px;
        margin: 20px 0 14px;
    }

    .know-more-card {
        padding: 25px;
    }

    .know-ico {
        width: 56px;
        height: 56px;
    }

    /* institutions section */

    .institutions-title {
        font-size: 28px;
    }

    /* story section */
    .story-card {
        width: 350px;
        height: 420px;
    }

    .story-content {
        max-width: 230px;
    }

    .story-content p {
        line-height: 1.3em;
    }

    .story-content .story-before-quotes {
        font-size: 40px;
    }

    .story-modal-video iframe {
        height: 450px;
    }

    /* consult section */
    .consult-desc {
        font-size: 22px;
        margin: 20px 0 28px;
    }

    .consultant-left {
        max-width: 550px;
    }

    .consultant-right {
        max-width: 340px;
    }

    /* country files section */

    .country-files-section {
        padding: 100px 0;
    }

    /* cta section */
    .cta-left {
        padding: 100px 0 100px 50px;
    }

    .cta-btns .light-theme-btn {
        max-width: 200px;
    }

    .outline-btn {
        padding: 9px 28px;
        max-width: 200px;
        font-size: 18px;
    }

    .cta-section {
        padding: 100px 0;
    }

    .right-img-wrapper {
        justify-content: center;
    }

    .step-before-img {
        right: 60px;
        max-width: 220px;
    }

    .step-ans,
    .step-que {
        max-width: 570px;
    }
}


@media screen and (min-width: 992px) {
    @media (min-width: 992px) {
        .navbar .megamenu {
            background-color: white;
            box-shadow: 3px 3px 26px rgb(35 38 53 / 10%);
        }

        .nav-link img {
            filter: invert(1) brightness(0);
        }
    }
}

/* Max Width : 991px */

@media screen and (max-width: 991px) {
    .new-banner-title {
        font-size: 56px;
    }

    p {
        font-size: 16px;
    }

    .new-banner-wrapper p {
        margin: 12px 0 24px;
    }

    .new-theme-btn {
        padding: 10px 24px;
        font-size: 15px;
    }

    .new-banner-wrapper {
        padding: 20px 0 60px;
    }

    .form-title {
        font-size: 28px;
    }

    .form-height {
        min-height: 500px;
    }

    .banner-left-before {
        bottom: 100px;
        height: 400px;
        left: -70px;
    }

    .banner-right-before {
        height: 400px;
        right: -100px;
        bottom: 85px;
    }

    /* offer section */

    .section-dark-title {
        font-size: 36px;
    }

    .offer-section {
        padding: 80px 0;
    }

    .offer-slider-card {
        width: 300px;
        height: 450px;
        margin: 0 auto;
    }

    .offer-slider {
        mask-image: none;
    }

    .offer-content-wrapper {
        padding-top: 50% !important;
        padding: 16px;
    }

    /* talk-us-section */

    .talk-us-section {
        padding: 150px 0;
    }

    .section-light-title {
        font-size: 36px;
    }

    .talk-desc {
        padding: 16px 0 24px;
    }

    .book-tab {
        min-width: 80px;
    }

    .book-ico {
        width: 16px;
    }

    .book-ico span {
        font-size: 14px;
    }

    /* steps-section */

    .white-theme-btn {
        max-width: 160px;
        font-size: 16px;
    }

    .steps-section {
        padding: 80px 0;
    }

    .single-step-accordion {
        padding: 32px 0;
    }

    .step-que {
        font-size: 24px;
    }

    .step-number {
        margin-right: 40px;
    }

    .step-plus,
    .step-minus {
        width: 19px;
        height: 2px;
    }

    .step-before-img {
        display: none;
    }


    /* know-more-section */
    .know-more-us-section {
        padding-top: 80px;
    }

    .know-before {
        max-width: 100px;
    }

    .know-ico {
        width: 48px;
        height: 48px;
    }

    /* story section  */
    .story-card {
        width: 320px;
        height: 400px;
    }

    .story-content {
        max-width: 200px;
    }

    .story-content p {
        font-size: 16px;
        /* -webkit-line-clamp: 8; */
    }

    .story-content .story-before-quotes.btm {
        margin-top: 16px;
    }

    .popup-btn p {
        font-size: 16px;
    }

    /* consult section  */
    .consult-desc {
        font-size: 20px;
        margin: 18px 0 24px;
    }

    .consultant-right {
        max-width: 520px;
        margin-top: 0;
    }

    /* country files section */
    .country-files-section {
        padding: 80px 0;
    }

    .country-card {
        height: 430px;
    }

    .country-card-box {
        padding: 20px;
    }

    .country-content-box {
        padding: 16px 20px;
    }

    .contry-logo {
        width: 38px;
        height: 38px;
    }

    /* cta section */
    .cta-left {
        padding: 40px 20px 40px 20px;
    }

    .cta-section {
        padding: 80px 0;
    }

    /* Header */

    header {
        color: white;
    }

    .section-nav-main .navbar-nav .nav-item .nav-link {
        color: white;
    }

    .col-megamenu {
        color: white;
    }

    .col-megamenu ul li a {
        color: white !important;
    }

    .res-contact-btn a,
    .signup-hover-btn a {
        color: white;
    }
}

/* Max Width : 767px */
@media screen and (max-width: 767px) {
    .new-banner-title {
        font-size: 48px;
    }

    p {
        font-size: 14px;
    }

    .new-banner-wrapper p {
        margin: 10px 0 20px;
    }

    .form-tab-img {
        width: 32px;
        height: 32px;
        margin-bottom: 12px;
    }

    .form-tab-txt {
        font-size: 16px;
    }

    .form-tab {
        padding: 14px;
        border-radius: 6px;
    }

    .banner-form-bg {
        padding: 20px;
        border-radius: 3px;
    }

    .new-banner-wrapper {
        padding: 20px 0 40px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-tab-wrapper {
        margin-top: 16px;
    }

    .light-theme-btn {
        padding: 8px 25px;
        border-radius: 40px;
        font-size: 16px;
    }

    .form-height {
        min-height: 400px;
    }

    .banner-left-before {
        display: none;
    }

    .banner-right-before {
        display: none;
    }

    /* offer section */


    .section-dark-title {
        font-size: 30px;
    }

    .offer-left-arrow {
        width: 40px;
    }

    .offer-sub-title {
        font-size: 22px;
    }

    .offer-desc {
        margin: 10px 0;
    }

    /* talk-us-section */
    .talk-us-section {
        padding: 120px 0;
    }

    .section-light-title {
        font-size: 30px;
    }

    .talk-desc {
        padding: 12px 0 20px;
    }

    .book-tab {
        min-width: 120px;
    }

    /* steps-section */
    .steps-section {
        padding: 60px 0;
    }

    .step-que {
        font-size: 20px;
    }

    .step-number {
        margin-right: 30px;
    }

    .step-cross {
        padding: 10px;
        width: 40px;
        height: 40px;
    }

    .step-plus,
    .step-minus {
        width: 17px;
        height: 2px;
    }

    .step-ans p {
        font-size: 16px;
    }

    /* know-more-section */

    .know-more-us-section {
        padding: 60px 0 40px;
    }

    .know-card-wraper {
        margin-top: 20px;
    }

    .know-before {
        max-width: 80px;
    }

    .know-more-card {
        padding: 20px;
    }

    .know-ico {
        padding: 8px;
    }

    /* institutions section  */

    .institutions-title {
        font-size: 24px;
    }

    .institutions-section {
        padding: 40px 0;
    }

    .institutions-slider {
        margin-top: 24px;
    }

    /* story section */
    .story-title-desc {
        font-size: 14px;
    }

    /* .story-card {
        max-width: 300px;
        height: 380px;
    } */

    .stories-section {
        padding: 60px 0;
    }

    .play-ico {
        width: 48px;
    }

    .story-content {
        max-width: 190px;
    }

    /* .story-content p {
        -webkit-line-clamp: 7;
    } */

    .popup-btn p {
        font-size: 16px;
    }

    .popup-play-btn {
        width: 24px;
        height: 24px;
    }

    /* consult section */
    .consult-desc {
        font-size: 18px;
        margin: 16px 0 20px;
    }

    .consultant-section {
        padding: 40px 0;
    }

    /* country files section */
    .country-files-section {
        padding: 40px 0;
    }

    .country-card-box {
        padding: 16px;
    }

    .country-content-box {
        padding: 16px 16px;
    }

    .country-name {
        font-size: 16px;
    }

    .download-ico {
        width: 28px;
        height: 28px;
    }

    .country-card {
        height: 400px;
    }

    .story-modal-video iframe {
        height: 320px;
    }

    /* cta section */
    .outline-btn {
        max-width: 160px;
        padding: 8px 25px;
        font-size: 16px;
    }

    .cta-btns .light-theme-btn {
        max-width: 160px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .step-cross{
        display: none;
    }

    .step-cross-mobile{
        display: block !important;
    }
}

/* Max Width : 575px */
@media screen and (max-width: 575px) {
    .new-banner-title {
        font-size: 40px;
    }

    .new-theme-btn {
        width: 100% !important;
    }

    .light-theme-btn {
        width: 100%;
    }

    .new-banner-wrapper p {
        margin: 8px 0 16px;
    }

    .form-tab-img {
        width: 28px;
        height: 28px;
        margin-bottom: 8px;
    }

    .form-tab-txt {
        font-size: 14px;
    }

    .form-tab {
        padding: 10px;
        border-radius: 4px;
    }

    .banner-form-bg {
        padding: 16px;
        border-radius: 2px;
    }

    .form-title {
        font-size: 20px;
    }

    .light-theme-btn {
        padding: 6px 20px;
        border-radius: 35px;
        font-size: 14px;
    }

    .form-height {
        min-height: 300px;
    }

    .instant-apply-sub-heading {
        margin-block: 16px 20px;
        font-size: 15px;
    }

    /* offer section */

    .section-dark-title {
        font-size: 24px;
    }

    .offer-section {
        padding: 60px 0;
    }

    .offer-slider-card {
        /* width: auto; */
    }

    /* talk-us-section */
    .talk-us-section {
        padding: 100px 0;
    }

    .section-light-title {
        font-size: 24px;
    }

    .book-tab {
        min-width: 100px;
    }

    .book-tab-wrapper {
        gap: 0;
    }

    .white-theme-btn {
        padding: 8px;
        max-width: 100%;
        font-size: 14px;
    }

    .step-que {
        font-size: 16px;
    }

    .step-number {
        margin-right: 20px;
    }

    .step-ans p {
        font-size: 14px;
    }

    /* know-more-section */
    .know-before {
        display: none;
    }

    .know-desc {
        font-size: 14px;
    }

    /* story section */

    .stories-section {
        padding: 40px 0;
    }

    .play-ico {
        width: 34px;
    }

    .country-card {
        height: auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .story-content p {
        font-size: 15px;
    }

    .country-sub-desc {
        font-size: 16px;
    }

    /*  cta section  */

    .outline-btn {
        font-size: 14px;
        max-width: 100%;
    }

    .cta-btns .light-theme-btn {
        max-width: 100%;
        margin-right: 0;
        padding-block: 8px;
    }

    .countriesDropdown.select2-container-multi .select2-choices .select2-search-choice {
        font-size: 14px !important;
    }

    .countriesDropdown .select2-search-choice-close {
        background-size: 13px !important;
    }

    /* About Us Section */
    .about-wrapper {
        padding-inline: 20px;
    }

    .about-us-section {
        padding-bottom: 40px;
    }

    .faq-section {
        padding-top: 40px;
    }

    .faq-que {
        font-size: 18px;
    }

    .faq-close {
        font-size: 24px;
    }

}

/* Max Width : 479px */
@media screen and (max-width: 479px) {
    .new-banner-title {
        font-size: 32px;
    }

    .new-banner-wrapper p {
        margin: 6px 0 12px;
    }

    .new-theme-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .form-title {
        font-size: 18px;
    }

    .form-sub-title {
        font-size: 12px;
    }

    /* offer section */

    .offer-left-arrow {
        width: 32px;
    }

    /* talk-us-section */
    .book-tab {
        min-width: auto;
        padding: 6px;
    }

    .story-card {
        width: 100%;
        height: 450px;
    }

    .faq-img-one {
        width: 160px;
        height: 190px;
    }

    .faq-img-two {
        width: 130px;
        height: 170px;
    }

    .faq-img-three {
        width: 180px;
        height: 200px;
    }

    .faq-img-four {
        width: 190px;
        height: 220px;
    }

}

@media screen and (max-width: 375px) {
    .left-img,
    .right-img {
        width: 50%;
    }
    
    .faq-img-one {
        width: 100%;
        height: auto;
    }

    .faq-img-two {
        width: 100%;
        height: auto;
    }

    .faq-img-three {
        width: 100%;
        height: auto;
    }

    .faq-img-four {
        width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 990px) {
    .consultant-section .container, .container-lg, .container-md, .container-sm {
        max-width: 960px;
    }

    .consultant-section .consultant-right img {
        max-width: auto;
    }

    .consultant-section .consultant-wrap {
        flex-wrap: nowrap;
    }

    .consultant-section .consultant-right {
        max-width: 370px;
    }
}

@media screen and (max-width: 768px) {
    .consultant-section .consultant-right {
        max-width: 300px;
    }

    .consultant-section .consultant-right img {
        max-width: auto;
    }
}


.university-filter-block .title {
    margin: 0;
    font-size: 72px;
    line-height: 1.1em;
    background-image: linear-gradient(118.01deg, #171A23 16.42%, #5A6689 71.98%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: SFProDisplaymedium;
}

.university-filter-block .sub-title {
    color: #171A23B2;
    font-size: 18px;
}

.country-selection-block {
    background-color: #D9D9D999;
    padding: 28px 24px 80px;
    border-radius: 20px;
}

.country-selection-block .country-title-block {
    text-align: center;
}

.country-title-block {
    max-width: 300px;
    margin: auto;
}

.country-title-block .title {
    margin: 0;
    font-size: 28px;
    -webkit-text-fill-color: black;
    font-family: SFProDisplaymedium;
    margin-bottom: 6px;
}

.country-title-block .sub-title {
    color: #171A23B2;
    margin-bottom: 30px;
}

.country-block img {
    border-radius: 100%;
    object-fit: cover;
    width: 45px;
    height: 45px;
}

.com-contry-name {
    font-size: 14px;
    text-transform: uppercase;
    font-family: SFProDisplaymedium;
    color: white;
}

.country-block {
    background: #2D324B;
    color: #fff;
    border-radius: 50px;
    padding: 6px 13px;
    display: flex;
    align-items: center;
    flex-basis: 200px;
    gap: 10px;
    min-height: 75px;
}

.country-block input {
    display: none;
}

/* .country-block:has(input:checked),
.course-type-block:has(input:checked) {
    border: 4px solid #00FFE3;
    box-shadow: 0 0 0 4px #00FFE3;
} */

.country-block,
.course-type-block {
    cursor: pointer;
}

.country-list-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    width: 100%;
    justify-content: center;
    margin: 0 auto;
}