@media (hover: hover) {

    .site-footer .footer-social-icon li a:hover {
        background-color: var(--primary-color);
    }

}

@media screen and (min-width: 768px) {
    .site-footer .footer-col .footer-widget .acnav-label1 svg {
        display: none;
    }

    .site-header .mobile-menu {
        display: none;
    }

}

@media screen and (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }

}

@media screen and (max-width: 1199px) {
    :root {
        --h1: normal 600 40px/1.2 var(--first-font);
        --h2: normal 600 36px/1.2 var(--first-font);
        --h3: normal 600 26px/1.2 var(--first-font);

    }

    .section-title {
        margin-bottom: 20px;
    }

    /* footer */

    .site-footer .footer-wrapper {
        padding: 60px 0;
    }

    .site-footer .footer-logo a {
        max-width: 120px;
    }

    .footer-wrapper .footer-left {
        max-width: 380px;
    }

    .site-footer .footer-right {
        max-width: calc(100% - 400px);
    }

    .site-footer .footer-col:not(:first-child) {
        padding-left: 25px;
    }

    .site-footer .footer-col h2 {
        font-size: 18px;
    }

    .footer-wrapper .footer-left p,
    .site-footer .footer-widget ul li a,
    .site-footer .footer-widget ul li p,
    .footer-bottom p {
        font-size: 16px;
    }

    /************  APPOINTMENT SEC CSS   **********/
    .appointment-sec .check-box-div li {
        max-width: 25%;
        flex: 0 0 25%;
    }

    /***********  HOME BANNER SEC CSS ********/
    .home-banner-sec .banner-content h2 {
        font-size: 50px;
    }

    .doctor-image {
        display: none;
    }

    .banner-card2 {
        margin-top: 0;
    }

    .banner-card {
        padding: 10px 15px;
    }

    .banner-card-wrapper {
        margin-top: 50px;
    }


}

@media screen and (max-width: 991px) {
    :root {
        --h1: normal 600 34px/1.2 var(--first-font);
        --h2: normal 600 28px/1.2 var(--first-font);
        --h3: normal 600 24px/1.2 var(--first-font);
        --h4: normal 600 20px/1.2 var(--first-font);
        --h5: normal 600 18px/1.2 var(--first-font);
        --h6: normal 600 16px/1.2 var(--first-font);
        --common-text: normal 500 14px/1.2 var(--first-font);
    }

    .desk-only {
        display: none !important;
    }

    .pb {
        padding-bottom: 40px;
    }

    .pt {
        padding-top: 40px;
    }

    .subtitle {
        margin-bottom: 10px;
    }

    /********  HEADER CSS  *********/
    .site-header .main-navigationbar .menu-items-col .main-nav>li:not(:last-of-type) {
        padding-right: 15px;
    }

    .site-header .main-navigationbar .logo-col {
        max-width: 85px;
    }

    .site-header .main-navigationbar {
        padding: 15px 0px;
    }

    .site-header .contact-btn .click-btn {
        padding: 10px 15px;
    }

    .site-header .main-navigationbar .menu-items-col .main-nav>li a {
        font-size: 13px;
    }

    /* footer */
    .site-footer {
        margin-top: 40px;
    }

    .site-footer .footer-wrapper {
        padding: 40px 0;
    }

    .footer-wrapper .footer-left {
        max-width: 100%;
    }

    .site-footer .footer-logo {
        text-align: center;
    }

    .site-footer .footer-right {
        max-width: 100%;
        margin: 40px 0 0 0;
    }

    .site-footer .footer-col:not(:first-child) {
        padding-left: 20px;
    }

    /********* APPOINTMENT-SEC CSS  *********/
    .appointment-sec .step-btns {
        justify-content: center;
    }

    .appointment-sec .check-box-div li {
        max-width: 33.33%;
        flex: 0 0 33.33%;
    }

    /*********  HOME BANNER SEC CSS ********/
    .home-banner-sec .banner-content h2 {
        font-size: 40px;
    }

    .home-banner-sec {
        padding: 120px 0 80px;
    }

    .banner-card-wrapper {
        display: none;
    }

    .layer1 {
        top: 25%;
        left: 5%;
    }

    .layer2 {
        top: 65%;
        right: 5%;
    }

    /********** COINTACT US CSS **********/
    .contact-us .contact-form {
        padding: 15px;
    }

    .contact-left-image {
        display: none;
    }


}

@media screen and (max-width:1580px) {
    .about-image-left .row .col-6 {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    :root {
        --h1: normal 600 32px/1.2 var(--first-font);
        --h2: normal 600 26px/1.2 var(--first-font);
        --h3: normal 600 22px/1.2 var(--first-font);
        --h4: normal 600 18px/1.2 var(--first-font);
        --h5: normal 600 16px/1.2 var(--first-font);
    }

    .subtitle {
        font-size: 14px;
    }

    .btn {
        padding: 10px 15px;
    }

    .section-title h2 {
        margin-bottom: 15px;
    }

    .contact-btn .btn:hover {
        background-color: var(--primary-color);
    }

    /***** header css ******/
    .main-nav {
        position: relative;
        width: 100%;
        height: 100%;
        background: var(--white);
        color: var(--black);
        border-top: 1px solid var(--black);
        z-index: 2;
        flex-direction: column;
    }

    .menu-item-left.open {
        display: block;
        order: 3;
        width: calc(100% + 30px);
        height: 100%;
        margin: 15px -15px 0;
    }

    .site-header .main-navigationbar .menu-items-col .main-nav>li {
        width: 100%;
        padding: 10px 15px;
    }

    .site-header .main-navigationbar .menu-items-col .main-nav>li:not(:last-of-type) {
        border-bottom: 1px solid var(--border-color);
    }

    .site-header .contact-btn .click-btn,
    .site-header .mobile-menu .mobile-menu-button {
        padding: 8px 12px;
    }

    .site-header .menu-item-right .contact-btn a span {
        display: none;
    }

    .site-header .menu-item-right .contact-btn a svg {
        display: block;
    }

    .menu-item-left {
        display: none;
    }

    /*****  footer *******/
    .site-footer .footer-wrapper {
        padding: 40px 0 20px;
    }

    .site-footer .footer-logo {
        padding-bottom: 20px;
    }

    .site-footer .footer-right {
        margin: 30px 0 0 0;
    }

    .site-footer .footer-col {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .site-footer .footer-col .footer-widget .acnav-label1 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 0 10px;
        gap: 5px;
    }

    .site-footer .footer-col .footer-widget .acnav-label1 span {
        flex: 1;
        display: block;
    }

    .site-footer .footer-col .acnav-label1 svg {
        height: 11px;
        width: 11px;
        transition: all 500ms ease-in-out 0s;
        -webkit-transition: all 500ms ease-in-out 0s;
        -moz-transition: all 500ms ease-in-out 0s;
        -ms-transition: all 500ms ease-in-out 0s;
        -o-transition: all 500ms ease-in-out 0s;
    }

    .site-footer .footer-col .footer-widget .acnav-label1 svg path {
        fill: var(--body-text-color);
    }

    .site-footer .footer-col .is-open.acnav-label1>svg {
        transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
    }

    .footer-row .acnav-list1,
    .site-footer .footer-col h2:after {
        display: none;
    }

    .footer-row .acnav-list1 {
        margin: 10px 0;
        padding: 0 0 12px 0;
    }

    .footer-row .footer-col:not(:last-of-type) .acnav-list1 {
        border-bottom: 1px solid var(--body-text-color);
    }

    .site-footer .footer-col:not(:first-child) {
        padding: 0;
    }

    /******  APPOINTMENT SEC CSS  ********/
    .steps ul li:not(:last-of-type) {
        padding-right: 45px;
    }

    .steps ul li:not(:last-of-type)::after {
        width: 30px;
    }

    .steps ul li {
        gap: 5px;
        font-size: 12px;
    }

    .steps ul li span {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .appointment-sec .form-group .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }

    .appointment-sec .check-box-div li {
        max-width: 50%;
        flex: 0 0 50%;
        padding: 0px 10px 10px 0px;
    }

    .appointment-sec .steps {
        margin-bottom: 20px;
    }

    .appointment-sec .appointment-wrp {
        padding: 15px;
    }

    .appointment-sec .tabs li a {
        font-size: 14px;
    }

    .appointment-sec .step-btns {
        border-top: 0px;
        margin-top: 0px;
        padding-top: 0px;
    }

    .payment-method-form .radio-group .radio-img img {
        max-width: 30px;
        max-height: 30px;
    }

    .radio-group label::before {
        right: 15px;
    }

    .radio-group label::after {
        right: 15px;
    }

    /******** HOME BANNER SEC CSS   *******/
    .layer2,
    .layer1 {
        display: none
    }

    .home-banner-sec .banner-content h2 {
        font-size: 25px;
    }

    .home-banner-sec {
        padding: 90px 0 50px;
    }

    .home-banner-sec .banner-content {
        max-width: 80%;
    }

    /************* ABOUT SEC CSS   ********/
    .about-image-left {
        margin-bottom: 15px;
    }

    /*********** OUR SERVICE SEC CSS   *********/
    .our-service-content {
        padding: 15px 15px;
    }

    /********  CONTACT US CSS  ********/
    .contact-form .form-container .contact-btn {
        width: auto;
    }

    /********** book-appointment-sec css   ********/
    .appointmen-dec {
        margin-bottom: 15px;
    }

    .emergency-dec {
        max-width: 100%;
    }

    .hours-dec,
    .appointmen-dec {
        max-width: 100%;
    }

    /********** TESTIMONIAL SEC CSS  **********/
    .testimonial-bottom-content .client-icon svg {
        max-width: 35px;
        height: 35px;
    }

    /*********** HOME BLOG SEC CSS  *********/
    .home-blog-sec .blog-content .blog-card-info {
        gap: 10px;
    }

    .home-blog-sec .blog-content .blog-card-info .blog-user,
    .home-blog-sec .blog-content .blog-card-info .blog-date {
        gap: 5px;
    }

    .home-blog-sec .blog-content .blog-card-info svg {
        width: 18px;
        height: 18px;
    }

    .home-blog-sec .blog-content .blog-card-info {
        font-size: 13px;
    }
}

@media screen and (max-width: 575px) {
    :root {
        --h1: normal 600 32px/1.2 var(--first-font);
        --h2: normal 600 24px/1.2 var(--first-font);
        --h3: normal 600 20px/1.2 var(--first-font);
    }

    br {
        display: none;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
    }

    /* footer */

    .site-footer .subscribe-form-wrapper .subscribe-btn {
        padding: 8px;
        font-size: 14px;
    }

    .site-footer .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    /****** APPOINTMENT SEC CSS *********/
    .appointment-sec .tabs li a {
        padding: 0px 0px 5px;
        font-size: 12px;
    }

    .appointment-sec .tabs {
        align-items: flex-end;
        gap: 10px;
    }

    .appointment-sec .tabs li {
        flex: 1;
        text-align: center;
    }

    .appointment-sec .check-box-div li {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .steps ul li {
        text-align: center;
        justify-content: center;
        flex-direction: column;
        flex: 1;
    }

    .steps ul li:not(:last-of-type)::after {
        display: none;
    }

    .steps ul li:not(:last-of-type) {
        padding-right: 10px;
    }

    .steps ul {
        align-items: flex-start;
    }


    /***********  book-appointment-sec css  *********/

    .hours-dec {
        margin-bottom: 15px;
    }

    /*****  HOME BANNER SEC CSS  ********/
    .home-banner-sec .banner-content {
        max-width: 100%;
    }

    .home-banner-sec .banner-content .subtitle {
        max-width: 220px;
    }

    /*****  TESTIMONIAL SEC CSS  **********/
    .our-service-slider .swiper-button-next,
    .our-service-slider .swiper-button-prev,
    .testimonial-slider .swiper-button-next,
    .testimonial-slider .swiper-button-prev {
        position: unset;
    }

    .our-service-slider .tab-btn-wrapper,
    .testimonial-slider .tab-btn-wrapper {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        gap: 10px;
        bottom: 0;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
    }

    .our-service-slider,
    .testimonial-slider {
        padding-bottom: 40px;
    }


}