@media only screen and (max-width: 1500px) {
    header .btn {
        margin-inline-start: 0;
        font-size: 15px;
    }
    
    .header-med .head-inner ul {
        gap: 16px;
    }
    
    .header-med .head-inner ul li a {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {}

@media (max-width: 1024px) {}

@media (max-width: 991px) {

    .col,
    .col-1,
    .col-10,
    .col-11,
    .col-12,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-auto,
    .col-lg,
    .col-lg-1,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-auto,
    .col-md,
    .col-md-1,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-auto,
    .col-sm,
    .col-sm-1,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-auto,
    .col-xl,
    .col-xl-1,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-auto {
        width: 100%;
        max-width: 100%;
        flex: auto;
    }

    .nav-inner {
        display: none;
    }

    .logo-h {
        max-width: 180px;
    }

    .item.res-menu {
        display: block;
    }

    .head-inner .menu-left {
        gap: 20px;
    }

    header .btn {
        display: none;
    }

    .search-box-btn.search-box-outer {
        display: none;
    }

    .side-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .side-header .logo-h {
        max-width: 180px;
    }

    .search-mobile {
        margin: 30px 0px 20px;
    }

    .search-mobile .form-group {
        display: flex;
        justify-content: space-between;
        /* border-width: 1px; */
        /* border-style: solid; */
        /* border-color: rgb(221, 221, 221); */
        /* border-image: initial; */
        border-radius: 8px;
    }

    .search-mobile .form-group input {
        width: calc(100% - 56px);
        height: 50px;
        border: none !important;
        padding: 0 10px;
        border-radius: 0px;
        color: #333;
        border-radius: 8px;
    }

    .search-mobile .form-group button {
        width: 50px;
        height: 50px;
        background: #fff;
        color: var(--main-color);
        font-weight: 900;
        font-size: 20px;
        border: none;
        border-radius: 8px;
    }

    .sidebar-btn {
        margin-top: 30px;
    }

    .banner-block,
    .banner-block .container>.row {
        height: 527px;
        padding: 75px 0 40px;
    }

    .banner-block .banner-inner .banner-text h1 {
        font-size: 25px;
        line-height: 35px;
        max-width: calc(100% - 130px);
    }

    .banner-small-img {
        width: 120px;
        height: 80px;
        border-radius: 10px;
    }

    .banner-block .banner-inner .banner-bottom {
        max-width: 100%;
        padding: 0;
    }

    .banner-block .banner-inner .banner-bottom .banner-text-bottom {
        padding: 20px 20px 75px;
        display: block;
        text-align: center;
    }

    .banner-block .banner-inner .banner-bottom .banner-text-bottom p {
        margin-inline-end: 0;
        font-size: 12px;
        line-height: 21px;
        margin: 0 0 15px;
        text-align: center;
    }

    .btn {
        font-size: 15px;
        min-height: 45px;
    }

    .home-counter {
        display: none;
    }

    .banner-control-bottom-in .banner-nav {
        display: none;
    }

    .banner-control-bottom-in {
        margin-bottom: 20px;
        right: 0;
        left: 0;
        margin: 0 auto;
        min-height: 20px;
    }

    .banner-pagination .swiper-pagination.home-pagination .num-slider-h .line-h {
        width: 20px;
        background: var(--main-color);
        height: 8px;
    }

    .banner-pagination .swiper-pagination.home-pagination {
        gap: 5px;
        width: 100% !important;
        justify-content: center;
    }

    .banner-pagination .swiper-pagination.home-pagination .num-slider-h .swiper-pagination-bullet.swiper-pagination-bullet-active+.line-h {
        width: 45px;
    }

    .banner-control-bottom-in .banner-control-bottom-all-in {
        justify-content: center;
    }

    .banner-block .banner-inner .banner-text {
        margin-bottom: 20px;
    }

    .banner-pagination {
        width: 100%;
    }

    .about-h {
        padding-block: 50px;
    }

    .about-h .col-md-5 {
        order: 1 !important;
    }

    .about-h .col-md-7 {
        order: 2 !important;
    }

    .about-h .col-md-12 {
        order: 3 !important;
    }

    .about-img {
        margin-bottom: 30px;
    }

    .about-text {
        max-width: 100%;
    }

    .about-text h3 {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 14px;
    }

    .about-text p {
        font-size: 15px;
        line-height: 25px;
        margin-bottom: 12px;
    }

    .about-counter {
        padding: 20px;
        justify-content: center;
        gap: 20px;
    }

    .about-counter .item {
        width: calc(50% - 10px);
    }

    .counter-block {
        text-align: center;
    }

    .counter-block h4 {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 0;
    }

    .counter-block .counter-item {
        font-size: 30px;
        line-height: 40px;
    }

    .programes-h::before,
    .news-h::before,
    footer::before {
        height: 50px;
    }

    .programes-h {
        padding-top: 50px;
    }

    .title-flex {
        display: block;
    }

    .title-flex .btn {
        margin-top: 20px;
    }

    .title h3 {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 12px;
    }

    .title p {
        font-size: 14px;
        line-height: 24px;
    }

    .programe-block {
        height: 370px;
    }

    .courses-h {
        padding-block: 50px;
    }

    .news-all .slick-dots {
        /*filter: brightness(0) invert(1);*/
    }

    .reviews-h {
        padding-block: 50px;
    }

    .reviews-h .title-flex {
        display: flex;
        flex-direction: column;
        align-items: start;
        -webkit-align-items: start;
        gap: 30px;
    }

    .title-flex .title h3 {
        margin: 0;
    }

    .reviews-h .title-flex .btn {
        margin: 0;
    }

    .reviews-all .item {
        margin-bottom: 40px;
    }

    .reviews-all::before,
    .reviews-all::after {
        width: 12%;
        opacity: 0;
    }

    .footer-top {
        padding-block: 60px 40px;
    }

    .foot-block {
        margin: 10px 0;
        height: auto;
        padding: 30px 20px;
    }

    .foot-block-s .logo-f {
        max-width: 150px;
    }

    .foot-block-s h3 {
        font-size: 18px;
        line-height: 28px;
    }

    .copy-right {
        text-align: center;
        margin-bottom: 20px;
    }

    .copy-right p {
        font-size: 15px;
        line-height: 25px;
    }

    .footer-bottom .row {
        padding-top: 30px;
    }

    .ryad-logo {
        float: none;
    }

    .upTop {
        color: #F5E8E8 !IMPORTANT;
    }

    .btn:hover {
        color: #fff;
    }

    .btn.btn-border:hover {
        color: var(--main-color) !important;
    }

    .breadcrumb-h {
        padding-block: 160px 50px;
    }

    .text-bread h1 {
        font-size: 20px;
        line-height: 30px;
    }

    .about-more-h {
        padding-block: 50px;
    }

    .about-more-h::before {
        height: 45px;
    }

    .about-block {
        padding: 20px;
    }

    .about-block h3 {
        margin-bottom: 14px;
        font-size: 25px;
        line-height: 35px;
    }

    .about-block p {
        font-size: 14px;
        line-height: 24px;
    }

    .about-block.flex-block {
        display: block;
    }

    .about-block.flex-block .text-inner,
    .about-block.flex-block .more-text-inner {
        padding: 0;
        width: 100%;
    }

    .about-block.flex-block .more-text-inner {
        margin-top: 20px;
    }

    .mobile-menu .menu-box .navigation li.menu-item-has-children>a::after {
        content: "\f107";
        font-family: 'Font Awesome 6 Pro';
    }

    .mobile-menu .menu-box .navigation li.menu-item-has-children>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu .menu-box .navigation li .sub-menu {
        margin: 0 20px 20px !important;
    }

    .mobile-menu .menu-box .navigation li.current-menu-item a {
        color: var(--sec-color);
    }


    .table-h table thead {
        display: none;
    }

    .table-h table tr {
        display: block;
        margin-bottom: 15px;
    }

    .table-h table thead tr th,
    .table-h table tbody tr td {
        padding: 14px 16px;
        font-size: 15px;
        margin: 12px 0;
    }

    .table-h table td::before {
        content: attr(data-label) ": ";
    }

    .table-h table tr td:first-child {
        display: none;
    }

    .table-h table tr td:nth-child(2) {
        margin-top: 0;
        color: var(--main-color);
        cursor: pointer;
        display: flex;
        position: relative;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E");
        background-size: .6em;
        background-position: calc(100% - 97%) center;
        background-repeat: no-repeat;
        padding-inline-end: 37px;
    }

    .table-h table tbody tr td {
        display: none;
    }

    .table-h table tbody tr td.show {
        display: block;
        position: relative;
    }

    .table-h table tbody tr td:nth-child(2)::after {
        background: #eeeeee;
        border: 1px solid #99dcbd;
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
    }

    .table-h table tbody tr::after {
        opacity: 0;
    }

    .table-h table tbody tr td::after {
        content: "";
        position: absolute;
        background: #FFFFFF;
        border: 1px solid #E3E3E3;
        box-shadow: 0px 6px 12px 0px #0000000A;
        border-radius: 8px;
        inset: 0;
        z-index: -1;
    }

    .body-inner {
        padding-block: 50px;
    }

    .frame-block {
        padding: 25px;
    }

    .frame-block h3 {
        font-size: 26px;
        line-height: 36px;
        margin-bottom: 15px;
    }

    .frame-block p {
        font-size: 15px;
    }

    .frame-block ul li {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .frame-sidebar {
        padding: 30px 20px;
        height: auto;
        margin: 0;
    }

    .frame-content .item h4 {
        font-size: 16px;
        line-height: 26px;
        max-width: calc(100% - 44px);
    }

    .frame-content .item .icon {
        width: 38px;
        height: 38px;
        line-height: 38px;
    }

    .research-inner .frame-sidebar {
        padding: 30px 20px;
    }

    .married-page .container>.row {
        flex-direction: column-reverse;
    }

    .married-steps .steps button .text-step-btn {
        display: none;
    }

    .married-steps .steps {
        display: flex;
    }

    .married-steps .steps button {
        border: none;
        padding: 0;
        margin: 0;
        width: auto;
        flex: auto;
    }

    .married-steps {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .step-terms .item {
        padding: 25px 20px;
    }

    .step-terms .item h3 {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 12px;
    }

    .step-terms .item p,
    .step-terms .item ul li {
        font-size: 14px;
        line-height: 24px;
    }

    .form-inner-h,
    .req-page .form-inner-h {
        padding: 25px 20px;
    }

    .form-inner-h .form-group label {
        margin-bottom: 10px;
    }

    .form-group .btn.btn-full {
        margin-top: 20px;
    }

    .form-inner-h .form-group .form-control {
        font-size: 14px;
    }

    .file-preview .file-preview-thumbnails {
        flex-direction: row-reverse;
    }

    .fieldset:last-child .form-step {
        padding: 25px 20px;
    }

    .fieldset:last-child .form-step .text-step-inner p {
        font-size: 14px;
        line-height: 24px;
    }

    .fieldset:last-child .form-step .step-title-in {
        margin-bottom: 20px;
    }

    .p-pages p {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 25px;
    }

    .p-pages {
        margin-bottom: 20px;
    }

    .single-scales-inner2 .form-group {
        padding: 25px 30px;
    }

    .single-scales-inner2 .form-group>label {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 26px;
    }

    .form-group .chooseInputs_H .item span {
        padding-inline-start: 32px;
        font-size: 15px;
        line-height: 25px;
    }

    .form-group .chooseInputs_H .item span::before {
        margin: 0 7px;
        width: 18px;
        height: 18px;
        top: 8px;
    }

    .form-group .chooseInputs_H .item input:checked+span::before {
        box-shadow: inset 0 0 0 3px #fff;
    }

    .all-pages {
        margin-top: 50px;
    }


    .single-imgs .col-md-6:nth-child(1) {
        order: 2;
    }

    .slider-single-nav .swiper-slide {
        width: calc(50% - 10px);
    }


    .single-imgs .big-img {
        height: 350px;
    }

    .single-imgs-big {
        margin-bottom: 30px;
    }

    .single-imgs .small-img {
        height: 80px;
        margin-bottom: 10px;
    }

    .slider-single-nav {
        height: 280px;
    }

    .single-text .text-inner {
        margin: 0 0 20px;
    }

    .single-text {
        padding: 20px;
    }

    .single-title-news h3 {
        font-size: 28px;
        line-height: 38px;
    }

    .single-news-inner .img {
        height: 350px;
    }

    .form-page2 .form-inner-h {
        padding: 30px 20px;
    }

    .contact-page .form-inner-h {
        margin-bottom: -50px;
    }
    
    [dir="ltr"] .table-h table tr td:nth-child(2) {
        background-position: calc(100% - 5%) center;
        font-size: 14px;
        padding-inline-end: 37px;
    }

    .single-text .text-inner h3 {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 25px;
    }
    
    .sidebar-btn .btn {
        background: #fff;
        color: var(--main-color);
        border: 2px solid var(--main-color);
    }
    
    .about-img .about-num {
        bottom: 0;
        margin: 14px;
        font-size: 15px;
        padding: 15px;
        border-radius: 15px;
    }
    
    .about-h .row {
        flex-direction: column-reverse;
    }
    
    .news-h {
        padding-block: 50px;
    }
    
    .news-block .details .details-btn {
        bottom: 0;
        opacity: 1;
        margin: 10px 0 0;
    }
    
    .news-all .item .news-block {
        height: 99%;
    }
    
    .reviews-all .slick-dots {
        filter: brightness(0) invert(1);
    }
    
    .num-sh {
        padding: 15px;
        border-radius: 15px;
        font-size: 15px;
    }
    
    .programe-block.center-block .link-block::after {
        opacity: 1;
        transform: none;
    }

.head-inner .menu-left .lang-h {
    display: none;
}

.reviews-h.reviews-inner .slick-dots {
    filter: none;
}

}

@media (max-width: 768px) {}

@media (max-width: 767px) {}

@media (max-width: 600px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {}

@media (max-width: 390px) {}

@media (max-width: 360px) {}