@media only screen and (max-width: 1024px) {
    .about-success-stat {
        height: 258px;
        position: relative;
    }

    .about-success-stat .inner-block {
        height: 228px;
    }

    .video-block img {
        height: 257px;
    }

    .about-video .video-block::before {
        width: 257px;
        height: 257px;
    }

    .about-success-stat span.count {
        font-size: 75px;
    }
}
@media screen and (min-width:992px){
    header.header{
        padding: 20px 0 10px 0;
        position: fixed;
        top: 0;
        width: 100%;
        background-color: #ffffff;
        z-index: 999999;
        box-shadow: 0px 0px 11px rgb(0 0 0 / 10%);
    }
    /* main{
        margin-top: 190px;
    } */
    .section-banner-slider{
        margin-top: 140px;
    }
    .page_title_wrapper{
        margin-top:95px;
    }
    .mainnav{
        margin-left: 10px;
        margin-right: 50px;
    }
    .search_box{
        position: absolute;
        right: 10px;
    }
    .search_box form input{
        width: 40px;
        transition: width .3s ease-in-out;
    }
    .search_box form input:active, .search_box form input:focus, .search_box form input:hover{
        width: 250px;
    }
    .mainnav nav ul li:not(:last-child) {
        margin-right: 10px;
    }
}

@media screen and (min-width: 1200px) {
    .our_team_section .our_team_left {
        width: 50%;
        padding: 40px 20px;
    }

    .our_team_section .our_team_right {
        width: 50%;
    }

    .our_team_section {
        position: relative;
        height: 380px;
        background-color: #cd9479;
    }
    .mainnav{
        margin-left: 10px;
        margin-right: 10px;
    }
    .search_box{
        position: relative;
        right: 0;
    }
    .search_box form input{
        width: 250px;
        transition: width .3s ease-in-out;
    }
    .search_box form input:active, .search_box form input:focus, .search_box form input:hover{
        width: 250px;
    }
    .mainnav nav ul li:not(:last-child) {
        margin-right: 21px;
    }
}

@media only screen and (max-width: 991px) {
   
    .mobile_menubtn {
        position: relative;
        display: block;
        width: 38px;
        height: 22px;
        z-index: 999999;
    }

    /* Icon 3 */
    #nav-icon3 {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
    }

    #nav-icon3 span {
        display: block;
        position: absolute;
        height: 4px;
        width: 28px;
        background: #000000;
        border-radius: 0;
        opacity: 1;
        left: 5px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    #nav-icon3.open span {
        background: #000000;
    }

    #nav-icon3 span:nth-child(1) {
        top: 0;
    }

    #nav-icon3 span:nth-child(2),
    #nav-icon3 span:nth-child(3) {
        top: 9px;
    }

    #nav-icon3 span:nth-child(4) {
        top: 18px;
    }

    #nav-icon3.open span:nth-child(1) {
        top: 18px;
        width: 0%;
        left: 50%;
    }

    #nav-icon3.open span:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #nav-icon3.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #nav-icon3.open span:nth-child(4) {
        top: 18px;
        width: 0%;
        left: 50%;
    }

    .mainnav nav {
        background: #3c3f89;
        border-left: 2px solid #000000;
        box-sizing: border-box;
        position: fixed;
        z-index: 999999;
        overflow: auto;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        transition: all 0.3s ease 0s;
        padding: 15px 0 0 20px;
    }

    nav.main-menu ul li a {
        font-size: 16px;
        color: #fff;
    }

    .wrapper {
        position: relative;
        left: 0;
        transition: all 0.3s ease 0s;
    }

    .olay {
        visibility: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: rgba(255, 255, 255, 0.75);
        transition: all 0.6s ease 0s;
        opacity: 0;
        z-index: -1;
    }

    .menuopen {
        overflow: hidden;
    }

    .menuopen .wrapper {
        left: -300px;
    }

    .menuopen .olay {
        visibility: visible;
        opacity: 1;
        z-index: 99999;
    }

    .menuopen .mainnav nav {
        right: 0;
    }

    .mainnav nav>ul {
        display: block;
    }

    .mainnav nav>ul>li {
        overflow: hidden;
    }

    .mainnav nav>ul>li>a {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        line-height: normal;
        min-height: 44px;
    }

    .mainnav nav ul li ul {
        position: static;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        /* box-shadow: inset 0 4px 10px rgb(0 0 0 / 10%); */
        padding: 10px 0;
    }

    .mainnav nav a.listarrow {
        width: calc(100% - 40px);
    }

    .mainnav nav ul li .submenu_btn {
        display: block;
        width: 40px;
        height: 44px;
        background: url('../images/chevron-down-solid.svg') no-repeat center center;
        background-size: 14px auto;
        position: absolute;
        right: 0;
        top: 0;
        transform: none;
        transition: 0.15s ease-in;
    }

    .mainnav nav ul li .submenu_btn.open {
        transform: rotate(180deg);
    }

    .mainnav nav>ul ul li a {
        font-size: 15px;
        letter-spacing: 0.2px;
    }

    .mainnav nav>ul ul .submenu_btn {
        height: 34px;
    }

    .mainnav nav ul li ul li a {
        padding-left: 30px;
        padding-right: 15px;
    }

    .mainnav .btn {
        padding: 0 30px;
        margin-right: 20px;
    }

    .search_box {
        order: 2;
        margin-top: 15px;
    }

    .mobile_menubtn {
        order: 3;
        margin-top:0px;
    }

    .search_box form input {
        width: 180px;
    }

    .logo img {
        width: 180px;
        height: auto;
    }

    .header .row .d-flex {
        flex-wrap: wrap;
    }

    header.header {
        padding:10px 0;
    }

    .menu-item-has-children .sub-menu {
        position: relative;
        width: 100%;
        top: 0;
        padding: 10px 20px 10px 20px;
        max-height: 250px;
        overflow-y: auto;
        background-color: #aa8672;
    }

    .menu-item-has-children .sub-menu li {
        width: 100%;
    }

    .menu-item-has-children .sub-menu li a {
        padding-left: 0;
    }

    /* .menu-item-has-children{
    display: flex;
    justify-content: space-between;
    align-items: center;
} */
    .menu-item-has-children .navArrow {
        background-image: url(https://aimpl.com/approval/ws-execution/corion/wp-content/uploads/2023/08/down-arrow-white.png);
        position: absolute;
        right: 0;
        top: 15px;
    }

    .menu-item-has-children.open .navArrow {
        background-image: url(https://aimpl.com/approval/ws-execution/corion/wp-content/uploads/2023/08/up-arrow-white.png);
    }



    .about-info-block h2 {
        font-size: 32px;
    }

    .about-success-stat {
        height: 210px;
    }

    .about-success-stat .inner-block {
        height: 181px;
    }

    .about-video .video-block::before {
        width: 181px;
        height: 181px;
    }

    .video-block img {
        height: 181px;
    }

    .about-success-stat span.count {
        font-size: 60px;
    }

    .about-success-stat span.count small {
        font-size: 22px;
    }

    section.section-about .container>.row {
        align-items: center;
    }

    .program-block h4 {
        font-size: 18px;
    }

    .section-banner-slider .slide-block .slider-caption h3 {
        font-size: 40px;
    }

    section.section-about-program h2,
    .testimonial-box h3,
    section.section-fertility-services h3,
    .banner-block-section h3,
    section.section-about-center .container-small>h3 {
        font-size: 32px;
    }

    .section-about,
    section.section-about-program,
    .section-testimonial,
    .banner-block-section,
    section.section-about-center {
        padding: 40px 0;
    }

    section.section-fertility-services {
        padding: 40px 0 20px;
    }

    .section-fertility-services ul li {
        margin-bottom: 30px;
    }

    section.section-company-stats {
        padding: 60px 0 40px;
    }

    section.section-about-program h5 {
        margin-bottom: 30px;
    }

    .section-fertility-services ul li h5 {
        font-size: 13px;
    }

    .about-center-block img {
        height: 300px;
    }

    .container-small {
        padding: 0 12px;
    }

    section.section-about-center .container-small>h3 {
        margin-bottom: 15px;
    }

    footer.footer {
        padding: 40px 0 0 0;
    }

    .director_information-section .team_director_image {
        text-align: center;
    }
}

@media only screen and (max-width: 767px) {
    .our_team_section .team_director_information{
        padding-right: 0;
    }
    .yotube_video_section .yvs_box_wrapper .yvs_video_wrapper {
        height: auto;
    }

    .yotube_video_section .yvs_box_wrapper .yvs-btn {
        height: 100%;
    }

    footer.footer .container .row>.d-flex {
        flex-direction: column;
    }

    .all_mediacal_team_section .modal .modal-dialog .modal-content .modal-body .team_details_wrapper {
        width: 100%;
    }

    .all_mediacal_team_section .modal .modal-dialog .modal-content .modal-body .team_information {
        width: 100%;
        padding-left: 0px;
    }

    .amt_wrapper {
        margin: 0 auto;
    }

    .all_nurse_section .ans_box_wrapper {
        margin: auto;
    }

    .cps_wrapper img.alignleft {
        margin-right: 40px;
        float: none;
        margin-top: 0;
    }

    .cps_wrapper img.alignright {
        margin-left: 40px;
        float: none;
        margin-top: 0;
    }

    .clinic_tour_section .tour-slider .slick-list {
        margin: 0;
    }

    .clinic_tour_section .tour-slider .slick-next.slick-arrow {
        bottom: -25px;
    }

    .clinic_tour_section .tour-slider .slick-prev.slick-arrow {
        bottom: -25px;
    }

    .yotube_video_section .yvs_box_wrapper .yvs_video_wrapper .modal .modal-dialog .modal-content .close-btn {
        right: 0;
    }

    .academinc_qualification .qualification_heading_wrapper {
        width: 100%;
    }

    .academinc_qualification .qualification_details_wrapper {
        width: 100%;
        margin-top: 10px
    }

    .aq_heading {
        text-align: center;
    }

}

@media only screen and (max-width: 600px) {
    .section-banner-slider .slide-block .slider-caption h3 {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .section-banner-slider .slide-block img {
        height: 280px;
        object-fit: cover;
    }


    section.section-about-program h2,
    .testimonial-box h3,
    section.section-fertility-services h3,
    .banner-block-section h3,
    section.section-about-center .container-small>h3 {
        font-size: 24px;
    }

    .section-about,
    section.section-about-program,
    .section-testimonial,
    .banner-block-section,
    section.section-about-center {
        padding: 25px 0;
    }

    section.section-fertility-services {
        padding: 25px 0 10px;
    }

    .section-fertility-services ul li {
        margin-bottom: 15px;
    }

    section.section-company-stats {
        padding: 40px 0;
    }

    section.section-about-program h5 {
        margin-bottom: 15px;
    }

    .section-fertility-services ul li h5 {
        font-size: 13px;
    }

    .about-center-block img {
        height: 250px;
    }

    .about-info-bottom {
        padding-right: 0;
    }

    section.section-about .container {
        padding: 0 12px;
    }

    .about-success-stat {
        height: 225px;
    }

    .about-success-stat .inner-block {
        height: 195px;
    }

    .about-video .video-block::before {
        width: 195px;
        height: 195px;
    }

    .video-block img {
        height: 195px;
    }

    section.section-company-stats .row-cols-1>*:not(:last-child) {
        margin-bottom: 40px;
    }

    .stat-block .icon {
        top: -15px;
        left: 105px;
    }

    .program-block h4 {
        font-size: 16px;
    }

    .quote-slider blockquote br {
        display: none;
    }

    .section-fertility-services ul li {
        flex: 0 0 50%;
    }

    .banner-block-section h4 {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .about-center-block img {
        margin-bottom: 0;
    }

    .section-about-center .row>.col:not(:last-child) {
        margin-bottom: 20px;
    }

    footer.footer {
        padding: 25px 0 0 0;
    }

    footer.footer .container .row>.d-flex .footer-menu {
        flex-wrap: wrap;
    }

    .footer-menu>div {
        flex: 0 0 33.33%;
        margin-bottom: 25px;
    }

    .footer-contact-information {
        padding-left: 0;
    }

    .footer-contact-information::before {
        display: none;
    }

    .footer-menu>div:last-child {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 480px) {
    .footer-menu>div {
        flex: 0 0 50%;
        margin-bottom: 25px;
    }
}