@media only screen and (max-width: 1440px) {
    .header__navbar .navbar-nav .nav-link,
    .menu-item a {
        font-size: clamp(13px, 1vw, 24px);
    }

    .hero-two-banner__left-panel-excerpt,
    .hero-two-banner__right-panel-excerpt {
        font-size: clamp(19px, 1.9vw, 36px);
    }
}

@media only screen and (max-width: 1399px) {
    .hero-banner__right-panel-btn {
        width: calc(100% - 100px);
        padding: 6px 15px;
    }
}

@media only screen and (max-width: 1199px) {
    .header__navbar .navbar-nav .nav-link,
    .menu-item a {
        padding: 10px 6px;
    }

    .header__logo {
        max-width: 130px;
    }

    .benifits-section__tab-item-wrapper {
        padding: 60px 30px 30px 30px;
    }
}

@media only screen and (max-width: 1024px) {
    .news-section__articles .news-section__articles-single {
        min-width: calc((100% / 2) - 25px);
    }
}

@media only screen and (max-width: 991px) {
    header {
        background: rgba(var(--clr--white), .8);
        backdrop-filter: blur(100px);
        box-shadow: 0 2px 10px rgba(var(--clr--black), 0.1);
    }

    .header__navbar {
        justify-content: center;
    }

    .header__navbar_toggler {
        position: absolute;
        top: 15px;
        right: 0;
    }

    .header__fixed-header .header__navbar_toggler {
        top: 5px;
    }

    ul#menu-menu,
    ul#header__navbar--menu {
        flex-direction: column;
    }

    .header__navbar--container {
        background: transparent;
        backdrop-filter: unset;
    }

    .header__navbar--container ul#menu-menu,
    .header__navbar--container ul#header__navbar--menu {
        height: 0;
        flex-direction: column;
        transition: height 300ms ease-out;
        -webkit-transition: height 300ms ease-out;
        -moz-transition: height 300ms ease-out;
        -ms-transition: height 300ms ease-out;
        -o-transition: height 300ms ease-out;
    }

    .header__navbar--container.menu-toggled ul#menu-menu,
    .header__navbar--container.menu-toggled ul#header__navbar--menu {
        height: 225px;
        transition: height 300ms ease-out;
        -webkit-transition: height 300ms ease-out;
        -moz-transition: height 300ms ease-out;
        -ms-transition: height 300ms ease-out;
        -o-transition: height 300ms ease-out;
    }
    
    .gutter-top {
        padding-top: 95px;
    }

    .newsletter-section__logo {
        width: 150px;
        margin: 15px auto 0;
    }

    .news-grid__header-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .grid-three > *,
    .grid-four > *,
    .grid-five > * {
        width: calc((100% / 2) - 14px) !important;
    }

    .footer__social-links > * {
        width: 50px !important;
    }

    .hero-two-banner__left-panel-wrapper,
    .hero-two-banner__right-panel-wrapper {
        height: unset;
        padding-top: 30px;
        justify-content: space-between;
        gap: 20px;
    }

    .hero-two-banner__left-panel-wrapper {
        flex-direction: column;
    }

    .hero-two-banner__right-panel-wrapper {
        flex-direction: column-reverse;
    }

    .hero-two-banner__left-panel,
    .hero-two-banner__right-panel {
        width: calc(100% * 2);
    }

    .hero-two-banner__left-panel {
        transform: translate(11px, 0);
        -webkit-transform: translate(11px, 0);
        -moz-transform: translate(11px, 0);
        -ms-transform: translate(11px, 0);
        -o-transform: translate(11px, 0);
    }

    .hero-two-banner__right-panel {
        transform: translate(calc(-50% - 11px), 0);
        -webkit-transform: translate(calc(-50% - 11px), 0);
        -moz-transform: translate(calc(-50% - 11px), 0);
        -ms-transform: translate(calc(-50% - 11px), 0);
        -o-transform: translate(calc(-50% - 11px), 0);
    }

    .hero-two-banner__left-panel-two,
    .hero-two-banner__right-panel-two {
        text-align: center;
        width: 100%;
    }

    .hero-two-banner__left-panel-two .hero-two-banner__panel-image,
    .hero-two-banner__right-panel-two .hero-two-banner__panel-image {
        width: auto;
        height: 500px;
        position: unset;
    }

    .hero-two-banner__left-panel-two .hero-two-banner__panel-image,
    .hero-two-banner__right-panel-two .hero-two-banner__panel-image {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
    }

    .hero-two-banner__left-panel-one,
    .hero-two-banner__right-panel-one {
        text-align: center;
        width: 100%;
        min-height: 270px;
        padding: 25px;
        background: rgba(var(--clr--white), .8);
        backdrop-filter: blur(100px);
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .hero-two-banner__left-panel-btn,
    .hero-two-banner__right-panel-btn {
        margin-inline: auto;
    }

    .hero-two-banner__right-panel-excerpt {
        color: rgb(var(--clr--mbblue));
    }

    .hero-two-banner__right-panel-btn {
        color: rgb(var(--clr--mbblue));
        border-color: rgb(var(--clr--mbblue));
    }

    .hero-two-banner__right-panel-btn:hover {
        color: rgb(var(--clr--white));
        background-color: rgb(var(--clr--mbblue));
        border-color: rgb(var(--clr--mbblue));
    }

    .hero-two-banner__btn-left,
    .hero-two-banner__btn-right {
        width: fit-content;
        padding: 0;
        position: absolute;
        top: 50%;
        z-index: 99;
    }

    .hero-two-banner__btn-left {
        left: -70px;
        transform: translate(0, 0) rotate(90deg);
        -webkit-transform: translate(0, 0) rotate(90deg);
        -moz-transform: translate(0, 0) rotate(90deg);
        -ms-transform: translate(0, 0) rotate(90deg);
        -o-transform: translate(0, 0) rotate(90deg);
    }

    .hero-two-banner__btn-right {
        right: -70px;
        transform: translate(0, 0) rotate(270deg);
        -webkit-transform: translate(0, 0) rotate(270deg);
        -moz-transform: translate(0, 0) rotate(270deg);
        -ms-transform: translate(0, 0) rotate(270deg);
        -o-transform: translate(0, 0) rotate(270deg);
    }

    .hero-banner__left-panel,
    .hero-banner__left-panel-single {
        min-height: 200px;
    }

    .hero-banner__left-panel-item {
        align-items: center;
    }

    .hero-banner__right-panel {
        margin-top: 30px;
    }

    .hero-banner__left-panel-heading,
    .hero-banner__left-panel-exerpt {
        text-align: center;
    }

    .hero-banner__right-panel {
        flex-direction: column;
        gap: 10px;
    }

    .hero-banner__right-panel-single {
        width: 100%;
        padding-top: 0;
    overflow: hidden;
    }

    .hero-banner__right-panel-single-active {
        width: 100%;
        padding-top: 30px;
    }

    .hero-banner__right-panel-single .hero-banner__right-panel-item,
    .hero-banner__right-panel-single .hero-banner__right-panel-image  {
        width: 100%;
        height: 65px;
    }

    .hero-banner__right-panel-single-active .hero-banner__right-panel-item,
    .hero-banner__right-panel-single-active .hero-banner__right-panel-image {
        height: 480px;
    }

    .hero-banner__right-panel-single .hero-banner__right-panel-heading {
        width: 100%;
        height: 65px;
        padding: 25px 20px;
        transform: translate(0, 0) rotate(0deg);
        -webkit-transform: translate(0, 0) rotate(0deg);
        -moz-transform: translate(0, 0) rotate(0deg);
        -ms-transform: translate(0, 0) rotate(0deg);
        -o-transform: translate(0, 0) rotate(0deg);
    }

    .hero-banner__right-panel-single-active .hero-banner__right-panel-heading {
        width: calc(100% - 80px);
        height: fit-content;
        padding: 10px 20px;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }

    .hero-banner__right-panel-single .hero-banner__right-panel-heading > * {
        width: 100%;
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }

    .stats-section__items > .stats-section__item-single,
    .partners-section__items > .partners-section__item-single {
        min-width: calc((100% / 3) - 33px);
    }
}

@media only screen and (max-width: 767px) {
    .header__logo {
        max-width: 110px;
    }

    .newsletter-section__form-wrapper {
        text-align: center;
        width: 100%;
        padding-top: 30px;
        padding-left: 0;
        margin-left: 0;
        border-left: 0;
    }

    .single-article__wrapper {
        padding: 10px;
    }

    .footer__social-links {
        width: 180px;
        gap: 10px;
    }

    .footer__social-links > * {
        width: 40px !important;
    }

    .footer__social-icons a {
        font-size: 14px;
        width: 40px;
        height: 40px;
    }

    .newsletter-section__form {
        margin-block: 20px;
    }

    .news-grid__filter-wrapper {
        flex-direction: column;
    }

    .news-grid__filter-wrapper > * {
        width: 100% !important;
    }

    .news-grid__news-wrapper > * {
        width: 100% !important;
    }

    .news-grid__news-wrapper {
        max-height: 650px;
        padding: 15px;
        overflow: auto;
    }

    .news-grid__wrapper {
        padding-inline: 15px;
    }

    .section-row {
        padding: 2.5rem 12px;
    }

    .form-section__form-wrapper {
        padding: 25px;
    }

    .form-control {
        padding: 15px;
    }

    select.form-control {
        padding: 16px 45px 17px 15px !important;
    }
    
    .news-grid__filter select {
            padding: 10px 45px 10px 10px !important;
    }

    .testimonials-section__items-single {
        padding: 20px;
    }

    .testimonials-section__items .owl-nav button.owl-prev,
    .testimonials-section__items .owl-nav button.owl-next {
        width: 25px;
        height: 25px;
    }

    .testimonials-section__items .owl-nav button.owl-prev {
        left: -10px;
    }

    .testimonials-section__items .owl-nav button.owl-next {
        right: -10px;
    }

    .testimonials-section__items {
        padding-inline: 15px;
    }

    .benifits-section__nav-link-mentee,
    .benifits-section__nav-link-mentor {
        width: fit-content;
    }

    .benifits-section__tab-content-wrapper > * {
        width: 100% !important;
    }

    .benifits-section__tab-item-wrapper {
        text-align: left;
    }

    .benifits-section__tab-item {
        margin-top: 0;
        margin-left: 35px;
    }

    .benifits-section__tab-item-wrapper {
        padding: 15px 15px 15px 50px;
    }

    .benifits-section__tab-item-title {
        margin-bottom: 10px;
    }

    .benifits-section__tab-item-icon {
        width: 75px;
        height: 75px;
        top: 50%;
        left: 0;
    }

    .about-section__excerpt {
        column-count: 2;
    }

    .about-section__excerpt p {
        break-inside: avoid;
    }

    .about-section__image {
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
    }

    .news-section__btn {
        font-size: 18px;
        padding: 5px 30px !important;
        margin: 35px auto 0;
        border: 3px solid rgb(var(--clr--mbblue));
        border-radius: 25px;
        -webkit-border-radius: 25px;
        -moz-border-radius: 25px;
        -ms-border-radius: 25px;
        -o-border-radius: 25px;
    }

    .news-section__btn:hover {
        color: rgb(var(--clr--white));
        background-color: rgb(var(--clr--mbblue));
        border: 3px solid rgb(var(--clr--mbblue));
    }

    .owl-nav button.owl-prev, .owl-nav button.owl-next {
        font-size: 18px;
    }

    .news-section__articles .owl-stage-outer {
        overflow: visible;
    }

    .hero-two-banner__left-panel-two .hero-two-banner__panel-image,
    .hero-two-banner__right-panel-two .hero-two-banner__panel-image {
        width: auto;
        max-width: 100%;
        height: 350px;
        object-fit: contain;
        object-position: center bottom;
    }

    .hero-banner__left-panel, .hero-banner__left-panel-single {
        min-height: 230px;
    }

    .stats-section__items > .stats-section__item-single,
    .partners-section__items > .partners-section__item-single {
        min-width: calc((100% / 2) - 25px);
    }
}

@media only screen and (max-width: 575px) {
    .newsletter-section__form-btn {
        padding-inline: 6px;
    }

    .news-grid__news-pagination .pagination {
        flex-direction: column;
        gap: 5px;
    }

    .form-section__form-wrapper {
        padding-inline: 15px;
    }

    .hero-two-banner__left-panel,
    .hero-two-banner__right-panel {
        width: calc((100% * 2) - 20px);
    }

    .hero-two-banner__left-panel {
        transform: translate(21px, 0);
        -webkit-transform: translate(21px, 0);
        -moz-transform: translate(21px, 0);
        -ms-transform: translate(21px, 0);
        -o-transform: translate(21px, 0);
    }

    .hero-banner__right-panel-single-active .hero-banner__right-panel-item,
    .hero-banner__right-panel-single-active .hero-banner__right-panel-image {
        height: 380px;
    }

    .hero-banner__right-panel-single-active .hero-banner__right-panel-body {
        width: calc(100% - 20px);
    }

    .hero-banner__right-panel-single .hero-banner__right-panel-body {
        left: 10px;
    }

    .hero-banner__right-panel-single-active .hero-banner__right-panel-item:before {
        height: 100%;
    }

    .hero-banner__right-panel-single-active .hero-banner__right-panel-heading {
        width: calc(100% - 30px);
    }

    .news-section__articles .news-section__articles-single {
        min-width: 100%;
    }
}

@media only screen and (max-width: 425px) {
    .news-grid__filter-item {
        flex-direction: column;
    }

    .benifits-section__nav-link-mentee,
    .benifits-section__nav-link-mentor {
        padding-inline: 25px !important;
    }

    .hero-banner__right-panel-btn {
        width: calc(100% - 20px);
    }

    .news-grid__news-pagination .pagination,
    .news-grid__news-pagination:not(:has(.pagination)) {
        flex-direction: column;
    }

    .news-grid__news-pagination .next,
    .news-grid__news-pagination .prev {
        font-size: 18px;
    }
}