/* Mobile styles */
@media screen and (max-width: 768px) {

    .sub-text,
    p,
    .text_about p {
        font-size: 14px;
        line-height: 21px;
    }

    .heading {
        font-size: 24px;
        line-height: 35px;
    }

    .section_padding {
        padding: 35px 0;
    }

    .nav-fixed-sticky {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10000;
    }

    .hamburger {
        width: 30px;
        height: 18px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger .line {
        height: 3px;
        width: 100%;
        background: #ffffff;
        transition: 0.3s ease;
        border-radius: 10px !important;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active {
        position: absolute;
        right: 10%;
        top: 4%;
        color: white;
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .web_banner,
    .web-logo {
        display: none;
    }

    .mobile_banner,
    .mobile-logo {
        display: block;
    }

    .nav {
        background: linear-gradient(90deg, var(--light-logo-color) 80%, var(--logo-color) 50%);
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.show {
        display: flex;
        position: fixed;
        top: 0;
        height: 100vh;
        justify-content: unset;
        background: var(--logo-color);
        overflow: scroll;
        width: 100vw;
        margin: 0;
        padding: 50px 30px 0;
        left: 0;
        align-content: flex-start;
        z-index: 99;
    }

    .nav ul li:hover {
        background: none;
        color: white;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-menu .has-dd>ul {
        display: block !important;
    }

    .nav ul ul {
        margin: 0 0 20px;
        position: initial;
        padding: 0 20px;
        top: 100%;
        width: auto;
        left: 0px;
        /* z-index: 50; */
        background: #0000002b;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 10px;
        border: none;
    }

    .nav ul li ul li:last-child,
    .nav ul li:last-child {
        border-bottom: none;
    }

    .nav ul li {
        padding: 0;
    }

    .nav ul li a,
    .nav ul ul li a {
        display: block;
        padding: 10px 0 10px;
        color: #fff !important;
    }

    .has-dd ul {
        display: block;
    }

    .padding-LR {
        padding: 0 4% !important;
    }

    .header .shell {
        display: block;
    }

    .header p a {
        font-size: 14px;
        line-height: 20px;
    }

    .header p a br {
        display: none;
    }

    .header-left-content p a i {
        margin: 5px 10px 5px 0px;
        font-size: 15px;
    }

    .header-left-content {
        text-align: center;
    }

    .nav .logo img {
        height: 40px !important;
    }

    .header-right-content {
        display: flex;
        flex-direction: row;
        font-size: 20px;
        justify-content: space-between;
        align-items: center;
    }

    .header .social_logo {
        gap: 10px;
        margin: 0 0 0px;
    }

    .btn-header {
        width: fit-content;
        padding: 7px 15px;
    }

    .header-bar {
        padding-top: 10px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 10px !important;
    }

    /* footer css */
    footer {
        padding: 10px 0 30px !important;
    }

    footer .logo-img {
        height: 45px;
    }

    footer .top_strap {
        margin-bottom: 0;
    }

    footer .footer_links {
        display: block;
    }

    .footer-toggle {
        padding: 10px;
        background: #00000021;
        border-radius: 10px;
        margin: 0 0 10px;
    }

    .toggle-content li {
        text-align: center;
        border-bottom: 1px solid #ffffff2b;
        padding: 7px 0;
    }

    .toggle-content li:last-child {
        border-bottom: none;
    }

    footer .footer_links li h1 {
        font-size: 16px;
        font-weight: 400;
        color: #fff;
        margin: 0;
    }

    .footer_links li:first-child {
        margin-top: 10px;
    }

    footer .social_logo li a i {
        font-size: 17px;
    }

    .footer_links .toggle-content {
        display: none;
    }

    .footer_links .footer-toggle.active .toggle-content {
        display: block;
    }

    .footer_links .toggle-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }

    .footer_links .arrow-icon {
        display: inline-block;
        transition: transform 0.3s ease;
        font-size: 16px;
        color: #fff;
    }

    .footer_links .footer-toggle.active .arrow-icon {
        transform: rotate(180deg);
    }

    .sec_strap .details,
    footer .sec_strap {
        flex-direction: column;
    }

    .sec_strap .details li {
        width: 100%;
        border-radius: 10px;
        font-size: 14px;
    }

    footer .heading {
        font-size: 18px;
    }

    footer hr {
        margin: 20px 0 0;
    }

    .Inter-Banner-text {
        position: absolute;
        width: 90%;
        top: 6%;
        right: 5%;
    }

    .contact .shape {
        display: none;
    }

    /* Hompage */
    .banner-slider {
        width: 100%;
        height: max-content;
        background: linear-gradient(180deg, var(--logo-color), #4d737b) !important;
    }

    .slider-text,
    .invisalign-slider-text,
    .slide-text {
        position: relative;
        left: 0;
        bottom: 0;
        top: 0;
        right: 0;
        padding: 20px 0 0;
        width: 100%;
    }

    .banner-slider .swiper-slide {
        display: block;
        align-items: normal;
        justify-content: center;
        overflow-x: hidden;
        position: relative;
        padding: 10px 10px 50px;
    }

    .banner-video,
    .banner-image {
        width: 100%;
        height: auto;
    }

    .slide-text h2,
    .slider-text h2 {
        font-size: 20px;
    }

    .invisalign-slider-text img {
        height: 60px;
        filter: brightness(30);
    }

    .slide-text h1 {
        margin: 0 0 0px !important;
    }

    .about_head {
        display: flow;
        justify-items: center;
    }

    .about_head .head_text h1 {
        font-size: 30px;
    }

    .slide-text h1 span,
    .slider-text h1 span {
        font-size: 55px;
    }

    .slide-text h1,
    .invisalign-slider-text h1,
    .slider-text h1 {
        font-size: 35px;
        margin: 0 0 20px;
    }

    .slide-text::after {
        display: none;
    }

    .banner-slider .swiper-button-next,
    .banner-slider .swiper-button-prev {
        padding: 11px 15px;
        height: auto;
        width: auto;
    }

    .banner-slider .swiper-button-next,
    .banner-slider .swiper-button-prev {
        top: var(--swiper-navigation-top-offset, 90%) !important;
    }

    .text_about p {
        text-align: center;
    }

    .sec_image {
        height: auto;
        width: 100% !important;
        border-radius: 60px;
    }

    .service_box h1 br {
        display: none;
    }

    .service_box h1 {
        font-size: 22px;
    }

    .service_box {
        margin: 10px 0 10px;
    }

    .service_box .sub-text {
        -webkit-line-clamp: none;
    }

    .map a {
        right: 25%;
    }

    /* about page */
    .how-sec .divide,
    .Early-treatment .divide,
    .retainer .divide {
        justify-items: center;
        gap: 25px;
    }

    .Duration-sec .divide img {
        margin: 20px 0 20px;
    }

    .how-sec .divide .txt_area h1 span {
        font-size: 60px;
    }

    .right_banner_text {
        left: 10%;
        right: 0;
    }

    .Inter-Banner-text {
        position: absolute;
        width: 90%;
        top: 6%;
        left: 6%;
    }

    .Early-treatment .divide .txt_area h1 span {
        font-size: 30px;
    }

    .treatment-option ul li .box .sub-text {
        font-size: 17px;
    }

    .treatment-option-list,
    .advantage-option ul {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        /* spacing between items */
        padding: 0;
        list-style: none;
        margin: 0 auto;
        justify-content: center;
    }

    .treatment-option-list li,
    .advantage-option ul li {
        flex: 0 0 47%;
        /* 2 items per row */
        box-sizing: border-box;
    }

    .advantage-option ul li .box {
        height: 100%;
    }

    .treatment-option p {
        text-align: center;
    }

    .difference {
        display: block !important;
        margin: 20px auto !important;
        width: 95%;
    }

    .Why-adult ul {
        list-style: none;
        padding: 20px 0 0;
    }

    .Why-adult ul li h3 {
        font-size: 16px;
        line-height: 25px;
    }

    .child-need .divide p,
    .Why-adult .divide .last-p {
        width: 100%;
        margin: 10px auto 0px;
    }

    .child-need .divide .heading {
        width: 100%;
        margin: 0 auto 20px;
        text-align: center;
    }

    .child-need .divide .txt_area ul,
    .surgical-sec .divide .txt_area ul {
        display: block;
    }

    .child-need .divide .txt_area ul li,
    .surgical-sec .divide .txt_area ul li {
        padding: 10px 20px;
        margin: 0 0 16px;
    }

    .treatment-box {
        display: block;
    }

    .care-box img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .care-box .text-box h3,
    .care-box .text-box p {
        text-align: center;
    }

    .treatment-box h3 {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        padding: 10px 20px;
        font-size: 18px;
        margin: 0 0 15px;
        text-align: left;
        line-height: 25px;
    }

    .surgical p {
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .doctor_banner,
    .BA-Banner {
        padding: 30px 0;
    }

    .doctor_banner .align .dr-Banner-text {
        padding-left: 20px;
    }

    .doctor_banner .align .dr-Banner-text .name,
    .BA-Banner .align .Banner-text .name {
        font-size: 40px;
        line-height: 50px;
        text-align: center;
    }

    .doctor_banner .align .dr-Banner-text {
        padding: 0 10px;
    }

    .doctor_banner .align .dr-Banner-text p {
        text-align: center;
    }

    .doctor_banner img {
        width: 80%;
        height: auto;
        border-radius: 30px;
        margin: 0px 10% 20px;
    }

    .Early-treatment .divide img {
        margin-right: 0px;
    }

    .Why-adult .sec-align,
    .ortho-surgery .sec-align {
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .care-box {
        display: grid;
        justify-items: center;
    }

    .retainer .divide .txt_area h1 span {
        font-size: 35px;
    }

    .testimonial-slide {
        padding-bottom: 40px !important;
    }

    .right_banner_text.for_adult_page {
        width: 90%;
        top: 7%;
    }

    .Inter-Banner-text.emergency_care_page,
    .right_banner_text.why_choose_us,
    .right_banner_text.self_ligating_braces,
    .right_banner_text.retainer,
    .right_banner_text.tads,
    .Inter-Banner-text.invisalign_info,
    .right_banner_text.invisalign_cost,
    .Inter-Banner-text.common_treatment,
    .Inter-Banner-text.demon_system,
    .Inter-Banner-text.contact,
    .Inter-Banner-text.office_visit {
        width: 90%;
    }

    .treatment-option ul {
        gap: 9px;
    }
}