.header-wrapper{
    animation: backgroundFadeIn 2s ease-in-out;
}


@keyframes backgroundFadeIn {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.header .card{
  
    border-radius: 20px !important;
    padding: 32px;
    border: none;
    background-color: rgba(255,255,255,.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(16px);
    width:80%;
    text-align: center;
}


.header .card .card-icon{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.header .card .card-title{
    position: relative;
    padding-bottom: 10px;
}

.header .card .card-title::before{
    content: "";
    position: absolute;
    width: 50px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
    transform-origin: left; 
    
}

.header .card:hover .card-title::before {
    width: 100%;
}

.header .doctor-image{
    position: absolute;
    right: 5%;
    width: 30%;
    height: 55%;
    top: 60px;
    z-index: 0;
}

@media (min-width: 1600px) {
    .header .doctor-image{
        top: 70px;
    }  
}

.header .row{
    z-index: 1 !important;
    position: relative;
}

.header .doctor-image img{
    width: 100%;
    height: 100%;
    object-fit: none;
    object-position: top;
}



/* Mobile Screens */
@media only screen and (max-width: 991.98px) {
    
    .about-row{
        width: 100%;
    } 
    .header{
        background-size: auto;
        background-position: bottom;
    }
    .header .doctor-image img{
        display: none;
    }
    
}

.header .slick-track {
    display: flex !important;
}

.header .slick-track .slick-slide {
    display: flex !important;
    height: auto;
}
.header .slick-header{
    width: calc(100% - 20px); 
}

@media only screen and (max-width: 576px) {
    .header .card{
        width:calc(100% - 20px);
    } 

    .header .slick-dots{
        bottom: -45px;
        right: 20px;
    }

    .header .slick-header{ 
        width: 100%;
    }

}


#missionSection .icon{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    
}
