@media (max-width: 1199px) {
    .footer-inner-wrapper {
        max-width: 500px;
    }

    .b4-about-doctor-wrapper {
        grid-template-columns: 1fr;
    }

    .b4-dr-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .b4-dr-right img:last-child,
    .b4-dr-right img:first-child {
        position: static;
        width: 100%;
    }

    .b4-dr-intro {
        padding-top: 0;
        padding-bottom: 0;
        background-size: cover;
    }

    .ct-img-1 {
        display: none;
    }

    .ct-img-2 {
        display: none;
    }

    .c-icon {
        position: static;
        height: auto;
        color: #fff;
    }

    .cta {
        position: static;
        text-align: center;
        display: flex;
        width: 120px;
        color: #fff;
        height: auto;
    }

    .h-cta-card {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: #135587;
        border: 5px solid var(--gold);
        padding: 15px;
    }

}





@media (max-width: 1024px) {
    
    .s-card-wrapper{
        grid-template-columns: 1fr 1fr;
    }
    .b4-page-team-wrapper{
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-padding-top{
        padding-top: 200px;
    }
    .footer-bg {
        position: static;
        height: 400px;
    }

    .footer-bg iframe {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: flex;
    }

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

    .b4-dr-intro {
        padding-top: 50px;
        padding-bottom: 0;
    }

    .dr-intro-text {
        padding-bottom: 50px;
    }

    .dr-intro-wrapper {
        grid-template-columns: 1fr;
    }

    .dr-intro-video {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dr-intro-video {
        padding-bottom: 0;
    }

    .b4-dr-bg-2 {
        display: none;
    }

    .header-address-wrap-outer {
        display: none;
    }

    .header-cta-button a {
        display: none;
    }

    .sticky-right-section a {
        display: none;
    }

    .nav-small-btn {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .right-header {
        gap: 20px;
    }

    .nav-small-btn a span:first-child {
        width: 40px;
        height: 40px;
        background: var(--text-clr);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffff;
    }

    .nav-small-btn a span:nth-child(2) {
        line-height: 1.5;
        display: flex;
        align-items: center;
        color: var(--text-clr);
        font-weight: 800;
    }

    .is-home .nav-small-btn a span:nth-child(2) {
        color: #fff;
    }

    .nav-small-btn a {
        display: flex;
        gap: 10px;
    }

    .pb-100 {
        padding-bottom: 50px;
    }

    .pt-100 {
        padding-top: 50px;
    }
}

@media (max-width: 991px) {
    .b4-page-blog-title h1{
        font-size: 40px;
    }
    .b4-page-blog-card{
        grid-template-columns: 1fr 1fr;
    }
    .left-content p{
        text-align: left;
    }
    .b4-page-content-wrapper {
        gap: 50px;
        grid-template-columns: 1fr;
    }

    .right-sidebar {
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .inner-slider-wrapper{
        margin-left: auto;
        margin-right: auto;
    }

    .left-content {
        order: 2;
    }

    .right-sidebar img {
        width: fit-content;
    }

    .right-sidebar .right-side-panel {
        display: none;
    }

    .more-topics {
        display: flex;
        position: relative;
        background: var(--inner-bg);
        margin-top: 30px;
    }

    .more-topics .right-side-panel {
        background: var(--inner-bg);
        padding: 50px;
    }

    .more-topics .right-side-panel h2 {
        color: #fff;
        font-size: 22px;
        font-family: var(--font-oswald);
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .more-topics .right-side-panel ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .more-topics .right-side-panel ul li {
        line-height: 1.5;
    }

    .more-topics .right-side-panel ul li a {
        font-size: 14px;
        color: #fff;
    }

    .more-topics .right-side-panel ul li a.active {
        text-decoration: underline;
    }

    .more-topics .right-side-panel ul li a:hover {
        text-decoration: underline;
    }
}

@media (max-width: 768px) {

.contact-pop {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.contact-pop .pop-show {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 10px;
    padding-right: 10px;
}

.contact-pop.active .pop-show {
    display: flex;
}

.contact-pop button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    line-height: 1;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    box-shadow: none;
    outline: none;
    border: 0;
    margin-left: auto;
    cursor: pointer;
}



.pop-card {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pop-card span:nth-child(1) {
    font-size: 12px;
    color: #000;
    background-color: #fff;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 2px;
}

.pop-card span:nth-child(2) {
    width: 40px;
    height: 40px;
    color: #000;
    background: rgba(158, 158, 158, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
}

/* Hide X initially */
.contact-toggle > span:last-child {
    display: none;
}

/* When opened */
.contact-pop.active .button-text {
    display: none;
}

.contact-pop.active .contact-toggle > span:last-child {
    display: inline-flex;
}



    .b4-footer .back-to-top-small{
        display: block;
    }
    .back-to-top{
        display: none;
    }
    
    .b4-braces-point{
        float: none;
    }
    #cmb-color-selectors{
        margin: 0 auto;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #assign_btns{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .assign_btn{
        margin-right: 0;
    }
    .assign_btn span{
        font-size: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #color_btns{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .c-icon {
        font-size: 30px;
    }

    .cta {
        font-size: 18px;
    }

    .b4-home-cta-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 32px;
    }

    .dr-intro-text {
        padding: 25px 16px;
    }

    .b4-dr-right img:last-child {
        order: 1;
        object-fit: cover;
        /* object-position: -98px; */
    }

    .b4-dr-right img:first-child {
        order: 2;
    }

    .b4-dr-left {
        padding: 50px 19px;
    }

    .b4-hero-wrapper {
        min-height: 75dvh;
        padding-bottom: 50px;
    }

    .b4-hero-wrapper h1 {
        font-size: 50px;
    }

}

@media (max-width: 700px) {
    .team-card{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .navtop-wrapper {
        display: none;
    }

    .nav-small-btn a span:nth-child(2) {
        display: none;
    }
}

@media (max-width: 575px) {
    .wps-header-navbar-wrap {
        padding: 10px 0px;
    }
    .sticky-navbar .sticky-navbar-container {
        padding: 6px 0px;
    }
    .socialSlider .swiper-slide{
        width: 140px !important;
    }
    .s-card-bg{
        display: none;
    }
    .b4-dr-right img:first-child,
    .b4-dr-right img:last-child{
        height: 280px;
    }
    .s-card-wrapper{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .s-card-content p{
        color: #fff;
        text-align: center;
    }
    .s-card-content h3{
        text-align: center;
        color: #fff;
        font-size: 16px;
    }
    .s-card{
        padding: 18px;
    }
    .s-card-icon{
        width: auto;
        height: auto;
    }
    .s-card{
        background: var(--text-clr);
        border: 5px solid var(--gold);
    }
    .custom_side-menu{
        width: 100%;
    }
    .b4-page-blog-content h2{
        font-size: 22px;
    }
    .b4-page-blog-content h3{
        font-size: 20px;
    }
    .b4-page-blog-title h1{
        font-size: 32px;
    }
    .b4-page-blog-card{
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
    .step{
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .type-content{
        grid-template-columns: 1fr;
    }
    .ortho-left-right{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .more-topics .right-side-panel{
        padding: 20px;
    }
    .page-padding-top{
        padding-top: 150px;
    }
    .left-content h1{
        font-size: 42px;
    }
    .footer-address .f-bottom {
        margin-top: 55px;
    }

    .section-title {
        font-size: 32px;
    }

    body {
        font-size: 15px;
        line-height: 1.8;
    }



    .sticky-navbar .navbar-brand,
    .header-brand {
        width: 150px;
    }

    .b4-hero-wrapper {
        min-height: 50dvh;
        padding-bottom: 50px;
    }

    .b4-hero-wrapper h1 {
        font-size: 40px;
    }

    .b4-dr-left p,
    .b4-dr-left .section-title {
        text-align: center;
    }

    .b4-dr-left .b4-dr-btn {
        justify-content: center;
    }

}

@media (max-width: 425px) {
    
    .section-title {
        font-size: 28px;
    }

    .custom_side-menu .header-brand {
        width: 200px;
    }

    .sticky-navbar .navbar-brand,
    .header-brand {
        width: 110px;
    }
    .header-right-section{
        gap: 10px;
    }
    .right-header{
        gap: 10px;
    }
}

@media (max-width: 375px) {
    .b4-home-cta-wrapper {
        grid-template-columns: 1fr;
    }
    .s-card{
        padding: 18px 8px;
    }
}