@media all and (max-width: 1500px) {
    .container {
        width: 90%;
    }

    .footer-cont {
        flex-direction: column;
        gap: 20px;
    }

    footer .footer-cont .loc {
        display: none;
    }

    footer .footer-cont .b {
        display: block;
    }

    .service-right {
        max-width: 951px;
        width: 50%;
        position: absolute;
        top: 0;
        right: 0;
    }

    .service-left {
        width: 40%;
    }

    .therapy-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 16px;
        grid-template-areas:
            "c"
            "f"
            "d"
            "a"
            "b"
            "e";
    }
}

@media all and (max-width: 1225px) {
    .main-sect-cont {
        display: grid;
        justify-items: center;
        grid-template-columns: 2fr 2fr;
        grid-template-rows: 2fr 2fr;
        gap: 5px;
        width: 65%;
    }

    .navbar .nav-left {
        flex-direction: column;
    }

    .navbar .nav-left .vl {
        border-left: unset;
        border-bottom: 1px solid #CDCDCD;
        width: 100%;
        height: 0;
        margin: 10px 0 10px 0;
    }

    .navbar .nav-right ul {
        gap: 24px;
    }

    .abt-cont, .glr-cont {}

    .abt .heading, .glr .heading {
        font-size: 24px;
    }

    .main-sect-cont .main-sect img {
        height: auto;
    }

    .branches-cont {
        flex-direction: column-reverse;
    }

    .branches-right {
        margin-top: 60px;
    }
}

@media all and (max-width: 1024px) {
    .abt {
        flex-direction: column-reverse;
    }

    .glr {
        flex-direction: column;
    }

    .abt .sect-bg,
    .glr .sect-bg {
        width: 100%;
    }

    .abt-cont, .glr-cont {
        padding: 20px;
        height: auto;
    }

    .abt .sect-bg, .glr .sect-bg {
        position: static;
    }

    .abt-cont {
        flex-direction: column-reverse;
    }

    .glr-cont {
        flex-direction: column;
    }

    .abt-cont,
    .glr-cont {
        width: 100% !important;
        padding: 0;
    }

    .abt-top,
    .glr-bottom {
        padding: 20px;
        height: 100%;
    }

    .navbar {
        flex-direction: column;
        width: 96%;
        margin: 16px 0 0 0;

        position: fixed;
        top: 0;
        left: 50%;
        transform: translate(-50%);
        z-index: 6;
    }

    header {
        padding: 0px 0 48px 0;
    }

    .bg-white {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
    }

    .navbar .nav-right {
        display: none;
    }

    .navbar .nav-left {
        flex-direction: row;
        background-color: #F4FAFB;
        box-shadow: 0px 5px 10px #597dbc27;
        border-radius: 38px;
        width: 100%;
        height: 76px;
        justify-content: space-around;
        padding: 0 50px 0 50px;
        z-index: 6;
        transition: all 0ms ease;
    }

    .main-section {
        margin-top: 80px;
    }

    .abt-cont, .glr-cont {
        width: 60%;
    }

    .main-sect-cont .main-sect div {
        font-size: 14px;
    }

    .nav-left .hamburger {
        justify-content: center;
        align-items: center;
    }

    .nav-left .hamburger .switch-btn {
        display: flex;
    }

    .navbar .nav-left span {
        flex: 1;
    }

    .navbar .nav-left .vl {
        border-bottom: unset;
        border-left: 1px solid #CDCDCD;
        height: 37px;
        margin: 0px 16px 0 16px;
        width: auto;
    }

    .navbar {
        justify-content: center;
    }

    .section-head {
        margin-top: 124px;
    }

    .history-top, .history-bottom {
        flex-direction: column;
        gap: 40px;
    }

    .contact-cont {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 80px
    }

    .contact-cont .contact-location {
        margin-top: 2px;
        max-width: none;
    }

    .contact-box,
    .contact-formfield,
    .form-sizes,
    .message-field,
    .contact-send button {
        width: 88%;
    }

    .service-cont {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 32px;
        max-width: none;
        width: 100%;
    }

    .service-right {
        max-width: none;
        width: 100%;
        position: static;
    }

    .service-left {
        padding: 0 20px 0 20px;
        width: 100%;
    }

    .service-bg {
        max-width: none;
    }

    .service-headline {
        display: none;
    }

    .service-headline-mobile {
        display: block;
    }

    .laser,
    .opthal,
    .surgical {
        margin-bottom: 0;
    }

    .gallery .swiper-button-next {
        top: 60%;
        right: -10px;
    }

    .gallery .swiper-button-prev {
        top: 60%;
        left: -10px;
    }

    .branches-map {
        max-width: 708px;
        width: 100%;
    }

    .map-hover {
        display: none;
    }

    .swiper-button-prev:hover, .swiper-button-next:hover {
        opacity: unset;
    }
}

@media all and (max-width: 700px) {
    .main-section .main-bg {
        height: 225px;
    }

    .main-sect-cont {
        margin-top: 55px;
        width: 90%;
    }

    .main-sect-cont .main-sect div {
        border-radius: 0px 0px 6px 6px;
    }

    .abt-cont, .glr-cont {
        width: 100%;
    }

    footer {
        margin-top: 80px;
    }

    .footer-cont {
        width: 100%;
    }

    .footer-cont .footer-menu {
        flex-direction: column;
    }

    .footer-cont .footer-menu {
        flex-direction: column;
        border-bottom: 2px solid #ECECEC;
        padding-bottom: 20px;
        width: 100%;
    }

    footer .socials {
        border-top: 2px solid #ECECEC;
        padding-top: 20px;
        margin-top: 20px;
        width: 100%;
    }

    footer .footer-bottom {
        margin-top: 25px;
    }

    .footer-cont .footer-menu li:hover a {
        border-top: unset;
    }

    .footer-cont .footer-menu .main {
        border-top: unset;
        color: #299BAF;
    }

    .footer-cont .footer-menu li a {
        border-top: unset;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }

    .contact-cont {
        align-items: flex-start;
        gap: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }


    .footer-cont .footer-menu li a {
        padding-top: 0px;
    }
}

@media all and (max-width: 480px) {
    .navbar .nav-left {
        padding: 0 20px 0 20px;
    }

    .nav-left a {
        width: 80px;
        height: 23px;
    }

    .nav-left span {
        font-size: 12px;
    }

    .navbar .nav-left .vl {
        margin: 0px 8px 0 8px;
    }

    .abt .sect-bg,
    .glr .sect-bg {
        height: 217px;
    }

    .section-head {
        display: none;
    }

    .history-top {
        margin-top: 80px;
    }

    .branches h4 {
        margin: 80px 0 20px 0;
        font-size: 20px;
        color: rgba(0, 0, 0, 0.9);
    }

    .branches-right {
        margin-top: 20px;
    }

    .branches-map {
        height: 175px;
    }

    .branches h4 {
        margin: 80px 0 0 0;
        font-size: 20px;
        color: rgba(0, 0, 0, 0.9);
    }

    .contact-cont .contact-location {
        height: 338px;
    }

    .contact-box,
    .contact-formfield,
    .form-sizes,
    .message-field,
    .contact-send button {
        width: 100%;
    }

    .service-cont {
        margin-top: 8px;
    }

    .service-right {
        height: 199px;
    }

    .service-bg {
        height: 199px;
    }

    .therapy-grid .tpy-in span,
    .tpy-out span {
        font-size: 13px;
    }

    .therapy-column .tpy-out {
        min-height: 68px;
    }

    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
    }
}