/********** Template CSS **********/
:root {
    --primary: #ff5d7d;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

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

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

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: -185px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(#091e3e63, #091e3e63), url(../img/breadcrumb1.png) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(#091e3ed9, #091e3ed9), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius: 100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}


/* new  */
.advanced-medical-equipment .equipment-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.advanced-medical-equipment .card-title {
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

.range .row .col .list-group .list-icon {
    margin-right: 10px;
    margin-left: 10px;
    color: #972f52;
}

.card.key-feature {
    transition: transform 0.3s ease;
}

.card.key-feature:hover {
    transform: translateY(-5px);
}

.icon.key-feature {
    font-size: 2.5rem;
    color: #972f52;
    margin-bottom: 10px;
}

.title.key-feature {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

blockquote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.vision-mission-card {
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: #ff6281;
    transition: color 0.3s ease;
}

.vision-mission-card:hover .icon-wrapper i {
    color: #972f52;
    /* Optional: color change on hover */
}

.table-hover tbody tr:hover {
    background-color: #f1f9ff;
    transition: background-color 0.3s ease;
}

.service-section-ser-page {
    padding: 80px 0;
}

.service-title-ser-page {
    font-size: 2rem;
    font-weight: 700;
}

.service-desc-ser-page {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.service-icon-ser-page {
    font-size: 2.5rem;
    color: #cd304f;
    margin-bottom: 15px;
}

.service-img-ser-page {
    width: 70%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px #00000026;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-img-ser-page:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .service-section-ser-page {
        text-align: center;
    }
}

/* new  */
/* modal gallery */
/* Gallery Grid */
.row-gallery-lab {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.column-gallery-lab {
    flex: 25%;
    padding: 0 8px;
}

@media (max-width: 768px) {
    .column-gallery-lab {
        flex: 50%;
    }
    .mob-hide {
    display: none;
}
}

@media (max-width: 480px) {
    .column-gallery-lab {
        flex: 100%;
    }
}

/* Modal (Background) */
.modal-gallery-lab {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    background: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

/* Modal Content */
.modal-content-gallery-lab {
    background: #fff;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    position: relative;
}

/* Close Button */
.close-gallery-lab {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.close-gallery-lab:hover {
    color: #999;
}

/* Slides */
.mySlides-gallery-lab {
    display: none;
}

.numbertext-gallery-lab {
    position: absolute;
    top: 0;
    padding: 8px 12px;
    font-size: 12px;
    color: #f2f2f2;
}

/* Navigation Arrows */
.prev-gallery-lab,
.next-gallery-lab {
    position: absolute;
    top: 50%;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.6s ease;
    user-select: none;
}

.prev-gallery-lab {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next-gallery-lab {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-gallery-lab:hover,
.next-gallery-lab:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Caption */
.caption-container-gallery-lab {
    text-align: center;
    background: black;
    color: white;
    padding: 8px 16px;
}

/* Thumbnails */
.demo-gallery-lab {
    opacity: 0.6;
    cursor: pointer;
}

.demo-gallery-lab.active,
.demo-gallery-lab:hover {
    opacity: 1;
}

/* Hover Shadow */
.hover-shadow-gallery-lab {
    display: block;
    transition: box-shadow 0.3s ease;
}

.hover-shadow-gallery-lab:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(0, 0, 0, 0.19);
}

/* modal gallery */
.trusted
{
    font-size: 52px;
}
@media (max-width: 768px) {

   .trusted {
        font-size: 20px;
    }

    .advanced-medical-equipment .equipment-img {
    width: 100%;
    height: auto;
}

.service-img-ser-page {
    width: 70%;
    height: auto;
}

.carousel-caption {
    top: -15px;
}

.main-height {
        height: 255px !important; 
}
}

.responsive-number
{
    font-size: 1.2rem;
}
@media (max-width: 992px) {
    .responsive-number {
        font-size: 1.2rem; /* medium screens */
    }
}

.responsive-address {
    font-size: 1.2rem; /* default desktop size */
    text-transform: none !important;
}
.labh
{
    font-size: 14px;
}

.list-head {
        left: -44px !important;
}

.main-height {
        height: 650px;
}