@media all and (min-width: 1025px) {
    .a-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
    }

    .a-nav>ul>li {
        padding: 0;
        margin-right: 30px;
        display: flex;
        align-items: center;
        position: relative;
        padding-bottom: 20px;
        margin-bottom: -15px;
    }

    .a-nav li:last-child {
        margin-right: 0;
    }
    .a-nav>ul>li.mobhide {
        display: none;
    }
    .a-nav ul li ul {
        background: var(--white-color);
        visibility: hidden;
        opacity: 1;
        min-width: 250px;
        position: absolute;
        transition: all 0.5s ease;
        margin: 0;
        left: 0;
        display: none;
        top: 54px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.10);
    }

    .a-nav ul li:hover>ul, .a-nav ul li:focus-within>ul, .a-nav ul li ul:hover, .a-nav ul li ul:focus {
        visibility: visible;
        opacity: 1;
        display: block;
    }

    .a-nav ul li ul li:last-child a {
        margin: 0;
    }

    .a-nav ul li ul li {
        width: 100%;
        height: auto;
        padding: 10px;
        border-top: 1px solid #eee;
    }

    .a-nav li a img {
        width: 22px;
    }

    .a-nav li a.active {
        cursor: default;
        filter: grayscale(100%);
    }

    .a-nav li:last-child a:after {
        display: none;
    }

    .a-nav a {
        white-space: nowrap;
        color: #444;
        text-decoration: none;
        /* text-transform: uppercase; */
        position: relative;
        overflow: hidden;
        font-size: 16px;
        font-weight: 500;
    }

    .a-nav a i {
        font-size: 11px;
        margin-left: 5px;
        line-height: 15px;
    }

    .a-nav>ul>li>a::after {
        display: block;
        content: "";
        height: 1px;
        background-color: var(--pri-2);
        position: absolute;
        bottom: 0;
        width: 100%;
        transform: translateX(-101%);
    }

    .a-nav>ul>li:hover>a::after, .a-nav>ul>li.active>a::after {
        transition: transform 0.3s var(--easing);
        transform: translateX(0);
    }

    .a-nav a.animate-out::after {
        transition: transform 0.3s var(--easing);
        transform: translateX(100%);
    }

    .a-nav li:hover>a, .a-nav li.active>a {
        color: var(--pri-2);
    }

    .a-nav>ul>li>a.btn-booking {
        background-color: #fdbd50;
        color: #fff;
        padding: 6px 15px;
        border-radius: 5px;
    }

    .a-nav>ul>li>a.btn-booking::after, .a-nav>ul>li.btn-cart>a::after {
        display: none !important;
    }

    .mobile-nav {
        display: none;
    }

    .mobile-nav a.lang-ar {
        font-family: 'Cairo', sans-serif;
        font-weight: 500;
        padding-left: 15px;
        margin-left: 0px;
        border-left: 1px solid #ccc;
        color: #fdbd50;
    }

    .main-company-item:hover .main-company-txt-inner p {
        opacity: 1;
        visibility: visible;
        height: auto;
    }

    .main-company-item:hover .f-button {
        margin-top: 45px;
        opacity: 1;
        visibility: visible;
        height: auto;
    }
}

@media all and (max-width: 1024px) {
    .mobile-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
    }

    header .right-side .top, header .right-side .btm, .mm-listview>li.btn-cart {
        display: none;
    }
    .mobile-nav a.lang-ar {
        font-family: 'Cairo', sans-serif;
        font-weight: 500;
        padding-left: 15px;
        margin-left: 0px;
        border-left: 1px solid #ccc;
        color: #fdbd50;
    }
    .main-company-item {
        width: 100vw;
        height: 50vh;
    }
    .company-values .flex-values {
        flex-direction: column;
    }
    .company-values .flex-values .card-values {
        width: 100%;
        display: flex;
        align-items: center;
    }
    .company-values .flex-values .card-values .img {
        width: 40%;
    }
    .company-values .flex-values .card-values .dtls {
        width: 60%;
    }
    .main-company-item.active .main-company-txt-inner {
        padding-top: 0;
    }

    .main-company-item.active .main-company-txt-inner p {
        opacity: 1;
        visibility: visible;
        height: auto;
    }

    .main-company-item.active .cm-button-style04 {
        margin-top: 45px;
        opacity: 1;
        visibility: visible;
        height: 60px;
    }

    .main-banner-wrap-content h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .main-company-con, .main-company-img {
        height: auto;
    }

    .factsfigurewrap {
        flex-direction: column;
    }

    .main-partners-li {
        width: 33%;
    }

    .factsfigurewrap .mapWrap {
        flex-basis: 100%;
        width: 500px;
        margin: auto;
    }

    .company-visual-1 .main-company-img, .company-visual-2 .main-company-img {
        height: 100%;
    }

    .main-company-txt-inner {
        padding-top: 60px;
    }

    .main-company-txt-inner p, .main-company-txt-inner a {
        opacity: 1;
        visibility: visible;
        height: auto;
        margin: 0 0 15px 0;
    }

    .whyus-wrap::after {
        height: 50%;
    }

    #about .column {
        flex: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .joblist ul li {
        width: 33%;
    }
    .company-values .flex-values .card-values .img::before {
        display: none;
    }
    .section-team .single-person {
        width: 30%;
        max-width: 30%;
    }
    .servicewrap h3 {
        font-size: 1.5rem;
        line-height: 35px;
    }
    .btn-flex {
        flex-direction: column;
    }
    .packing-book .form-timeslot .radio {
        width: calc(50% - 10px);
    }
    .packing-book .radio label:hover .timeslot {
        border: none;
        background: #2080ce;
        color: #fff;
    }
    .packages-wrap .pack-card {
        width: calc(33.33% - 20px);
    }
    .section-team .single-person {
        padding: 10px;
    }
    .section-team .single-person .person-info .full-name {
        font-size: 20px;
        line-height: 28px;
    }
    .section-team .single-person .person-image {
        padding: 20px;
        margin: 0;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .im_portfolio .content .inner .portfolio_heading .title {
        font-size: 24px;
        margin-bottom: 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .im_portfolio .content .inner .portfolio_heading .title {
        font-size: 24px;
        margin-bottom: 0;
    }
    .packages-wrap .pack-card {
        width: calc(50% - 20px);
    }
}

@media only screen and (max-width: 767px) {
    .im_portfolio .content .inner .portfolio_heading .title {
        font-size: 22px;
        margin-bottom: 0;
    }
    .progressBarContainer {
        display: none !important;
    }
}

@media only screen and (max-width: 767px) {
    .im_portfolio .content .inner .portfolio_hover {
        bottom: 15px;
    }
}

@media (max-width: 767px) {
    .modal {
        position: fixed;
        top: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        margin: 0;
    }

    .modal.fade {
        top: -100px;
    }

    .modal.fade.in {
        top: 20px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 820px) {
    .joblist ul li {
        width: 33%;
    }
}

@media only screen and (max-device-width: 480px) {
    .abtWrap {
        display: grid;
    }

    .abtWrap .img {
        width: 60%;
        justify-self: center;
        padding: 2vw;
    }

    .abtWrap .dtls {
        width: 84%;
        margin: 8%;
    }

    #about .key-skills ul {
        justify-content: left;
    }

    #about .key-skills li {
        flex: 0 0 calc(100% - 20px);
    }

    #about .key-skills ul {
        padding: 0;
    }

    .main-partners-li .txt h5 {
        padding-bottom: 20px;
    }

    .main-partners-li .txt h5 {
        opacity: 1;
    }

    #about .inner {
        width: 100%;
    }

    #about .company .con2 h3 {
        padding: 4vw 2vw 5vw 2vw;
    }

    #about .company .con2 .titCopy2 {
        padding-left: 10px;
        margin-right: 0;
    }

    #about .company .con2 .inner {
        height: 550px;
        padding: 0;
    }

    #about .titCopy2 {
        max-width: 100%;
    }

    .main-tit {
        line-height: 45px;
        font-size: 35px;
    }

    .whyus {
        display: grid;
        padding: 15px;
        background: white;
    }

    .column {
        margin-top: 5vw;
    }
}

@media only screen and (min-width: 768px) and (max-width: 820px) {
    #about .key-skills li {
        flex: 0 0 calc(50% - 20px);
    }

    #about .company .con2 .inner {
        height: 400px;
        padding: 0;
        width: 100%;
    }

    #about .titCopy2 {
        max-width: 100%;
    }

    #about .company .con2 .titCopy2 {
        padding-left: 10px;
        margin-right: 0;
    }

    #about .company .con2 h3 {
        padding: 2vw;
    }
}

@media only screen and (max-width: 1150px) {
    header {
        padding: 0 25px;
    }

    .a-nav>ul>li {
        margin-right: 20px;
    }
    .package-dtls.services-dtls .col-md-6 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 1200px) {
    .main-support-txt h5 {
        font-size: 20px;
    }

    footer .first-row h6 {
        font-size: 14px;
    }

    .mapWrap {
        max-height: 480px;
    }

    #about .company .con2 .inner {
        padding: 0 50px;
    }

    .inner-banner-wrap .visualArea .main-tit {
        font-size: 45px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .main-company-txt-inner h3 {
        font-size: 2rem;
    }

    .main-company-txt-inner p {
        font-size: 1rem;
        width: auto;
    }

    .carousel_service {
        display: grid;
        grid-template-columns: 50% 50%;
        row-gap: 5vw;
    }
    .packages-wrap .pack-card {
        width: calc(33.33% - 20px);
    }
}

@media only screen and (min-width: 768px) {
    .main-banner-wrap-image-1 {
        display: flex;
    }

    .main-banner-wrap-image-2 {
        display: none;
    }
}

@media only screen and (max-width: 991px) {
    .main-company-con {
        display: flex;
        flex-direction: column;
    }

    footer .first-row .femerg, footer .second-row {
        display: none;
    }

    footer .third-row {
        padding-top: 20px;
        margin-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    footer .first-row .femerg:nth-child(3), footer .first-row .femerg:nth-child(2) {
        display: block;
    }

    .whyus {
        padding: 0;
        flex-wrap: wrap;
    }

    .whyus .column {
        flex: 47%;
        margin-bottom: 20px;
    }

    .whyus-wrap::after {
        display: none;
    }

    .main-partners-li {
        width: 50%;
    }

    .carousel_service {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .carousel_service .mt--30 {
        width: 48%;
    }

    .abtWrap {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
    }

    .abtWrap .dtls {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    #about .company .con2 .inner {
        height: auto;
    }

    .post-module {
        width: calc(50% - 30px);
        max-width: 50%;
    }

    .careerwrap .dtls p {
        font-size: 18px;
    }

    .joblist ul li {
        width: 50%;
    }
}

@media only screen and (max-width: 767px) {
    .medicalteam.section-team .single-person, .section-team .single-person {
        width: calc(50% - 10px);
        max-width: calc(50% - 30px);
    }

    .medicalteam.section-team .single-person .person-info .full-name {
        font-size: 16px;
    }

    #index .main-container {
        padding: 5.5vh 5vw;
    }

    .carousel_service, .main-banner-wrap-area .aboutwrap {
        display: block;
    }

    .carousel_service {
        display: grid;
        grid-template-columns: 50% 50%;
        row-gap: 5vw;
    }

    .carousel_service>div {
        margin-bottom: 20px;
    }

    .main-banner-wrap-content {
        padding: 10px;
    }

    .main-banner-wrap-content, .main-banner-wrap-image {
        width: 100%;
    }

    .main-banner-wrap-image-1 {
        display: none;
    }

    .main-banner-wrap-image-2 {
        display: block;
        margin-bottom: 30px;
    }

    .whyus {
        display: block;
    }

    .whyus>div {
        margin-bottom: 20px;
    }

    .main-company-txt-inner h3 {
        font-size: 2rem;
    }

    .main-company-txt-inner p {
        font-size: 1rem;
        width: auto;
    }

    .imgWrapDevice1 {
        display: none;
    }

    .imgWrapDevice2 {
        display: block;
    }

    .inner-banner-wrap .visualArea .main-tit {
        font-size: 2rem !important;
        line-height: 2rem !important;
    }

    .inner-banner-wrap .visualArea::after {
        background: url(../images/inner_ban.png) no-repeat bottom -20px right -10px !important;
        background-size: auto 80% !important;
    }

    .carousel_service .mt--30 {
        width: 100%;
    }

    .main-banner-wrap-content {
        width: 100%;
        padding-right: 0;
    }

    .main-banner-wrap-area .aboutwrap {
        background-color: #f9f5f4;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-banner-wrap-image {
        width: 80%;
        margin-top: 25px;
    }

    .joblist ul li {
        width: 100%;
    }

    .applyform .row>.col-md-6:first-child {
        display: none;
    }

    .applyform .row>.col-md-6:last-child {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .visual-progress {
        display: none;
    }

    .intro, .fullscreen-bg {
        height: 60vh;
    }

    .main-visual .main-visual-slider .slick-slide .vs-bg video {
        min-height: 60vh;
        width: auto;
        height: 60vh;
    }

    .main-visual .main-visual-slider .slick-slide .vs-tit h2 {
        font-size: 2rem;
    }

    footer .first-row {
        flex-direction: column;
        gap: 25px;
    }

    .inner-banner-wrap .visualArea::before {
        display: none;
    }

    .inner-banner-wrap .visualArea::after {
        opacity: 0.5;
    }

    #about .column {
        flex-direction: column;
    }

    #about .column .im_portfolio {
        width: 100%;
    }

    #about .column .content {
        width: 100%;
        padding-left: 0px;
    }

    .main-visual .main-visual-slider .slick-slide .vs-tit {
        height: 100%;
    }

    .main-visual .main-visual-slider .slick-slide .vs-tit .maxinner {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .main-banner-wrap-content h1 {
        font-size: 22px;
        line-height: 35px;
    }
    .post-module {
        width: calc(33% - 30px);
        max-width: 33%;
    }
    .packages-wrap .pack-card {
        width: calc(50% - 20px);
    }
    .col-md-8, .col-md-4, .col-md-6, .col-md-7, .col-md-9 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .woocommerce form .form-row-first, .woocommerce-page form .form-row-first,
    .woocommerce form .form-row-last, .woocommerce-page form .form-row-last {
        float: none;
        width: 100%;
    }
    .packagecaro .slick-arrow {
        display: none !important;
    }
    .packagecaro .slick-dots {
        gap: 8px;
    }
    .packagecaro .slick-dots li button {
        width: 10px;
        height: 10px;
    }
    .packages-wrap .pack-card {
        width: calc(50% - 20px);
    }
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
    .main-partners-li {
        width: auto
    }

    .newswrap .column {
        display: grid;
        grid-template-columns: 100%;
    }

    .post-module {
        width: 100%;
        max-width: 90%;
    }

    .post-module .post-content .post-meta {
        margin: 3vw 0 0;
    }

    .whyus {
        display: grid;
        grid-template-columns: 50% 50%;
    }
}

@media only screen and (min-width: 481px) {
    .imgWrapDevice1 {
        display: none;
    }

    .imgWrapDevice2 {
        display: block;
    }
}

@media only screen and (max-device-width: 480px) {
    #about .company .con2 .inner {
        width: auto
    }

    .abtWrap .img {
        width: 100%;
    }

    .careerwrap {
        display: grid !important;
        grid-template-columns: 100% !important;
    }

    .careerwrap .dtls {
        width: auto;
        margin: 8px;
    }

    .careerwrap .dtls h4 {
        margin: 10px 0 10px 0;
    }

    .careerwrap .dtls h3 {
        font-size: 25px;
        line-height: 35px;
        margin-bottom: 8px;
    }

    .careerwrap .dtls p {
        font-size: 19px;
        line-height: 30px;
    }

    .careerwrap .img {
        width: 80%;
        justify-self: center;
        margin-bottom: 20px;
    }

    .main-title {
        font-size: 25px;
        line-height: 15px;
    }

    .joblist ul li {
        width: 100%;
    }

    .row {
        display: grid !important;
        padding: 10px;
    }

    .col-md-6 {
        max-width: 100%;
        padding: 10px;
    }

    .applyform .main-title {
        text-align: center;
    }

    .imgWrapDevice1 {
        display: block;
    }

    .imgWrapDevice2 {
        display: none;
    }

    .newswrap .column {
        display: grid;
    }

    .post-module {
        width: 100% !important;
        max-width: 92% !important;
    }

    .post-module .post-content .post-meta {
        margin: 8vw 0 0;
    }

    .carousel_service {
        grid-template-columns: 100%;
    }

    .section-team {
        display: grid;
    }

    .section-team .single-person {
        width: 100%;
        max-width: 100%;
    }

    .medicalteam.section-team .single-person {
        width: 100%;
        max-width: 100%;
    }

    .main-company-txt-inner h3 {
        font-size: 1.5rem;
    }

    .factsfigurewrap, #about .key-skills ul {
        display: block;
    }

    .main-partners-li {
        width: 100%
    }

    .cm-button-style04 {
        width: 40vw;
    }

    .main-company-item.active .cm-button-style04 {
        margin-top: 10px;
    }

    .cm-button-style04 strong {
        text-indent: 15px;
    }

    .cm-button-style04 i {
        right: 10px;
    }

    .main-visual .main-visual-slider .slick-slide .vs-tit h2 {
        font-size: 22px;
    }

    .factsfigurewrap .mapWrap {
        display: none
    }

    .loader__image, .loader__content .inner {
        width: 100vw;
    }

    .loader__title {
        width: 100%;
        font-size: 28px;
        line-height: 35px;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width:1024px) and (orientation: portrait) {
    .loader__image, .loader__content .inner {
        width: 60vw
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width:1024px) and (orientation: landscape) {
    .loader__image, .loader__content .inner {
        width: 40vw
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width:767px) {
    .careerwrap {
        display: grid;
    }

    .careerwrap .dtls {
        width: 100%;
    }

    .careerwrap .img {
        width: 100%;
    }

    .joblist ul li {
        width: 100%;
    }

    .row {
        display: grid;
        padding: 10px;
    }

    .col-md-6 {
        max-width: 100%;
    }

    .post-module {
        width: 100% !important;
        max-width: 92% !important;
    }

    .medicalteam.section-team .single-person {
        width: calc(50% - 10px);
        max-width: calc(50% - 30px);
    }

    .a-menu .c-subnav li {
        font-size: 3vw;
    }

    .a-menu .c-column:nth-child(2) {
        width: 100%;
        display: grid;
    }
}

/* About Us */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #about .company .con2 .inner {
        padding: 4vh 4vw;
        width: auto;
    }

    #about .company .con2 {
        background: url(../images/bg_company02.png) no-repeat 80% 0;
    }
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .abtWrap {
        display: block;
    }

    .abtWrap .dtls {
        width: 60%;
        margin-left: 0%;
    }

    .abtWrap .img, .abtWrap .dtls {
        width: 100%;
        padding: 20px 0;
    }

    .abtWrap .img {
        width: 60%;
        margin: auto;
    }

    #about .key-skills ul {
        display: block;
    }

    #about .company .con2 {
        background: url(../images/bg_company02.png) no-repeat 80% 0;
        background-size: auto;
    }

    #about .company .con2 .inner {
        padding: 4vw 6vw;
        width: auto;
    }
    .packing-book .form-timeslot .radio {
        width: 100%;
    }
}
@media only screen and (max-device-width: 768px) {
    .main-banner-wrap-area .aboutwrap {
        flex-direction: column;
        gap: 15px;
    }
    .main-banner-wrap-content, .main-banner-wrap-image {
        width: 100%;
        padding-right: 0px;
    }
    .main-banner-wrap-content h1 {
        font-size: 24px;
        line-height: 32px;
    }
}

@media only screen and (max-device-width: 550px) {
    header {
        padding: 0 10px;
    }
    header .nu-logo img {
        height: 55px;
    }
    .mobile-nav {
        gap: 15px;
    }
    #about .company .con2 .inner {
        width: auto;
        height: auto;
    }

    #about .company .con2 h3 {
        padding: 4vw 2vw 5vw 2vw;
    }

    .factsfigurewrap .mapWrap {
        flex-basis: 100%;
        width: 300px;
        margin: auto;
        height: 400px;
    }
    .company-values .flex-values .card-values {
        flex-direction: column;
    }
    .company-values .flex-values .card-values .img, .company-values .flex-values .card-values .dtls {
        width: 100%;
    }
    .btn-cart {
        position: fixed;
        bottom: 25px;
        right: 15px;
    }
    .mobile-nav .btn-cart>a {
        height: 50px;
        width: 50px;
    }
    .mobile-nav a.lang-ar {
        padding-left: 0px;
        border-left: none;
    }
    .packages-wrap .pack-card {
        width: 100%;
    }
    .call-dtls .btn-flex a {
        font-size: 0;
    }
    .packages-wrap .pack-card {
        width: 100%;
    }
}
@media only screen and (max-device-width: 350px) {
    header .nu-logo img {
        height: 50px;
    }
}