/*** GLOBAL FIXES — MOBILE FRIENDLY ***/
html, body {
    overflow-x: hidden !important;
    max-width: 100%;
}
img, div, section, .container, .row {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

/*** Back to Top ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Buttons ***/
.btn { font-weight: 600; transition: .5s; }
.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square {
    padding: 0; display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-dark) !important;
    font-size: 16px;
    transition: .5s;
}
@media (max-width: 992px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0 !important;
        margin-right: 5px !important;
    }
}

/*** Carousel ***/
.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    width: 100%;
    height: 700px;
    margin-top: 95px;
    object-fit: cover;
    transition: 0.5s;
}
@media (max-width: 576px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 320px !important;
        margin-top: 0 !important;
    }
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        bottom: 10px !important;
        top: auto !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
}

/*** ABOUT IMAGES FIXED ***/
.about-img img,
.about-img-inner img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
}

/*** Services ***/
.service .service-item img {
    width: 100% !important;
    height: auto !important;
}

/*** Appointment Form Mobile Fix ***/
@media (max-width: 576px) {
    .appointment-form .btn { width: 100% !important; }
    .appointment-form input,
    .appointment-form select {
        font-size: 14px !important;
    }
}

/*** News Scrolling Text Fix ***/
.scrolling-text p {
    white-space: normal !important;
    animation: none !important;
    font-size: 15px !important;
}

/*** Tables Mobile Fix ***/
.table-responsive {
    overflow-x: auto !important;
}

/*** Footer ***/
.footer {
    background: rgba(0,0,0,0.9);
}
.footer .footer-item a { line-height: 30px; color: #ccc; }
@media (max-width: 576px) {
    .footer, .copyright {
        text-align: center !important;
        padding: 12px !important;
    }
}

/*** Copyright ***/
.copyright {
    background: var(--bs-dark) !important;
}
