/* SECTION */
.multi-card-section{
    padding:0px 0;
    position:relative;
    overflow:visible;
}

/

/* TITLE */
.section-title{
    text-align:center;
    margin-bottom:50px;
    position:relative;
    z-index:2;
}

.section-title span{
    color:#2563eb;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
}

.section-title h2{
    font-size:52px;
    font-weight:800;
    margin-top:12px;
    color:#0f172a;
}

/* CUSTOM CAROUSEL */
.medical-carousel .carousel-inner{
    padding:20px 0 20px;
    overflow:visible;
}

.medical-carousel,
.medical-carousel .carousel-inner,
.medical-carousel .carousel-item,
.medical-carousel .row,
.medical-carousel .col-lg-3,
.medical-carousel .col-md-6{
    overflow:visible !important;
}

.medical-carousel .carousel-item{
    transition:transform 15s ease-in-out;
}

/* CARD */
.service-card{
    position:relative;
    border-radius:5px;
    overflow:visible;
    background:#fff;
    padding:10px;
    transition:0.5s ease;
    box-shadow:0 18px 45px rgba(0,0,0,0.08);
    height:100%;
}

/* DOTTED BORDER */
.service-card::before{
    content:'';
    position:absolute;
    top:-8px;
    left:-8px;
    right:-8px;
    bottom:-8px;
    border-radius:5px;
    /*border:2px dotted orange;*/
    opacity:0;
    transition:0.4s ease;
    pointer-events:none;
}

/* SHOW BORDER */
.service-card:hover::before{
    opacity:1;
}

/* IMAGE */
.image-box{
    position:relative;
    overflow:hidden;
    border-radius:5px;
}

.image-box img{
    width:100%;
    height:100%!important;
    object-fit:cover;
    transition:0.8s ease;
}

/* IMAGE ZOOM */
.service-card:hover .image-box img{
    transform:scale(1.08);
}

/* OVERLAY */
.image-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgb(255 203 196 / 45%), transparent);
    opacity:0;
    transition:2s;
}

.service-card:hover .image-overlay{
    opacity:1;
}

/* CARD BODY */
.card-body{
    text-align:center;
    padding:28px 20px 20px;
}

/* ICON */
.service-icon{
    width:82px;
    height:82px;
    margin:auto;
    margin-top:-65px;
    background:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    color:#ff6600;
    position:relative;
    z-index:5;
    transition:0.5s;
}

/* ICON ANIMATED BORDER */
.service-icon::before{
    content:'';
    position:absolute;
    inset:-6px;
    border-radius:50%;
    border:3px dashed #ff7a08;
    opacity:0;
    transition:0.5s;
}

/* BORDER ANIMATION */
.service-card:hover .service-icon::before{
    opacity:1;
    animation:spinBorder 5s linear infinite;
}

/* ICON ANIMATION */
.service-card:hover .service-icon{
    transform:scale(1.1);
    box-shadow:0 10px 30px rgba(37,99,235,0.25);
}

/* BORDER ROTATE */
@keyframes spinBorder{
    100%{
        transform:rotate(360deg);
    }
}

/* NAME */
.service-card h4{
    margin-top:24px;
    font-size:24px;
    font-weight:700;
    color:#0f172a;
    transition:0.4s;
}

/* NAME ANIMATION */
.service-card:hover h4{
    color:#ff7a08;
    letter-spacing:0.5px;
}

/* CARD HOVER */
.service-card:hover{
    transform:scale(1.03);
    box-shadow:0 28px 60px rgba(37,99,235,0.20);
    z-index:99;
}

/* REMOVE ARROWS */
.medical-carousel .carousel-control-prev,
.medical-carousel .carousel-control-next{
    display:none;
}

/* DOTS */
.medical-carousel .carousel-indicators [data-bs-target]{
    width:14px;
    height:14px;
    border-radius:50%;
    background:#2563eb;
    opacity:0.4;
    transition:0.4s;
}

.medical-carousel .carousel-indicators .active{
    opacity:1;
    transform:scale(1.3);
}

/* RESPONSIVE */
@media(max-width:991px){

.section-title h2{
    font-size:36px;
}

.image-box img{
    height:220px;
}

}