.home-page-main-contents{
    position: relative;
    width: 100%;
    padding-top: 4rem;
}
.home-page-main-contents.activateHomePageAnimation{
    transform: translateY(50%);
    opacity: 0;
    animation: animateHomePage 1.5s linear;
    animation-fill-mode: forwards;
    transition: all 5s linear;
}
@keyframes animateHomePage{
    from{
        transform: translateY(50%);
        opacity: 0;
    }
    to{
        transform: translateY(0%);
        opacity: 1;
    }
}

.intro-content-section{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-image: url(../images/patientrooms/patient-room3.jpg);
    padding: 2rem 1rem;
    padding-left: 2rem;
}
.intro-content-section::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,255,0.7);
}

.intro-content-section .intro-write-ups-wrapper{
    position: relative;
    width: 600px;
}
.intro-write-ups-wrapper span{
    color: darkblue;
    font-weight: bold;
    text-transform: uppercase;
}
.intro-write-ups-wrapper h1{
    position: relative;
    font-family: "Saira Condensed", sans-serif;
    font-size: 3rem;
    text-align: left;
    line-height: 1.1;
    width: 100%;
    color: var(--pure-white);
    text-transform: capitalize;
    margin-bottom: 2rem;
}
.intro-write-ups-wrapper p{
    color: #f8f8f8;
    text-align: left;
    line-height: 1.2;
    font-size: 1.5rem;

}
#know-more-btn{
    position: relative;
    width: 100%;
     display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
#know-more-btn button{
    display: inline-block;
    outline: none;
    border: none;
    background-color: darkblue;
    margin-top: 1.5rem;
    border-radius: 5px;
    transition: back-ground-color, color 0.4s ease-in;
}

#know-more-btn button a{
    font-family: "Saira Condensed", sans-serif;
    display: inline-block;
    width: 100%;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    color: #f8f8f8;
    text-transform: capitalize;
}
#know-more-btn-icon-wrapper{
    position: relative;
    width: 35px;
    height: 35px;
     display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: darkblue;
    box-shadow: 0 0 7px 0 rgba(4, 176, 228, 0.893);
    border-radius: 50%;
    margin-left: 0.5rem;
    border-right: 2px solid #f00;
    border-bottom: 2px solid #f00;
    transform: translateY(0.7rem);
    animation: animate-know-more-btn 1s linear infinite;
    transition: transform 1s ease-in;
}
@keyframes animate-know-more-btn {
    from{
        transform: translateY(0.7rem);
    }
    to{
        transform: translateY(0rem);
    }
}
#know-more-btn-icon-wrapper>i{
   font-size: 1.3rem;
   font-weight: bold;
   color: var(--page-bgcolor);
}
#know-more-btn button:hover{
    background-color: var(--pure-white);
}
#know-more-btn button:hover a{
    color: var(--page-bgcolor);
}
#know-more-btn button:hover #know-more-btn-icon-wrapper>i{
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.5);
}

.intro-content-section .intro-section-img-wrapper{
    position: relative;
    width: 600px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
}

.intro-section-img-wrapper img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}
.intro-content-section .doctors-intro-note{
    position: absolute;
    max-width: 90%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0818f7;
    font-size: 1.2rem;
    font-weight: bolder;
}
.doctors-intro-note .doctors-intro-note-quote-icon{
    position: relative;
    font-size: 1.5rem;
}
.doctors-intro-note .doctors-intro-note-quote-icon.left{
    top: -1rem;
}
.doctors-intro-note .doctors-intro-note-quote-icon.right{
    top: 1rem;
}
.intro-content-section .intro-section-img-wrapper:hover::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.2);
}
.intro-content-section .intro-section-img-wrapper:hover .doctors-intro-note{
    color: #f8f8f8;
}

.more-content-section1{
    position: relative;
    width: 100%;
    background-color: var(--grey-bgcolor);
    /* background-color: #f7f7f7; */
    margin: 8rem 0;
    padding: 4rem 0;
    padding-bottom: 8rem;
}
.more-content-section1>h3{
    position: relative;
    font-family: "Saira Condensed", sans-serif;
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--page-bgcolor);
    text-transform: capitalize;
}
.more-content-section1>p{
    width: 50%;
    margin: auto;
    line-height: 1.2;
    text-align: center;
    color: var(--gray-color1);
    font-size: 1.3rem;
    margin-bottom: 4rem;
}
.staff-info-cards{
    position: relative;
    width: 90%;
    margin: auto;
    padding: var(--generic-padding);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    grid-template-rows: auto;
    gap: 1.5rem;
    background-color: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 0 5px 0px rgba(0,0,0,0.3);
}
.staff-info-cards .staff-info-card{
    position: relative;
    background-color: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 0 10px 0px rgba(0,0,0,0.1);
    padding-bottom: 1rem;
}
.staff-info-card .staff-img-wrapper{
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 15px 15px 0 0;
    margin-bottom: 1rem;
}
.staff-img-wrapper .staff-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px 15px 0 0;
}
.staff-info-card .staff-img-wrapper::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,255,0.15);
    border-radius: 15px;
}
.staff-info-card>h4{
    font-family: "Saira Condensed", sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--page-bgcolor);
    margin: auto 0.7rem;
    text-align: center;
}
.staff-info-card>p{
    font-size: 1rem;
    text-align: justify;
    line-height: 1.1;
    color: var(--gray-color1);
    margin: 0.7rem;
}
.more-content-section2{
    position: relative;
    width: 100%;
    overflow-x: hidden;
    padding: 2rem 0;
}
.more-content-section2>.our-services-intro-wrapper{
    position: relative;
    width: 80%;
    margin: 1rem auto;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}
.more-content-section2>.our-services-intro-wrapper h2{
    font-family: "Saira Condensed", sans-serif;
    font-size: 2.5rem;
    color: var(--pure-white);
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
}
.more-content-section2>.our-services-intro-wrapper>p{
    font-size: 14px;
    line-height: 1.2;
    width: 100%;
    color: var(--pure-white);
}
.more-content-section2 .services-container{
    position: relative;
    width: 100%;
    background-image: url(../images/stmarymotherofmercyhospital.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.more-content-section2 .services-container::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
}
.services{
    width: 700%;
    margin: 6rem 0;
    margin-bottom: 0rem;
    padding: 2rem 0.7rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    /* flex-wrap: wrap; */
}
.services .service{
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 100px;
}

.services .service.effectTransition{
    transition: opacity, transform 1s linear;
}
.services .service.activateAnimation{
    transform: scale(0);
    animation: animateService 1s linear;
    animation-fill-mode: forwards;
}
@keyframes animateService {
    from{
        opacity: 0;
        transform: scale(0);
    }
    to{
        opacity: 1;
        transform: scale(1);
    }
}
.service .service-wrapper{
    width: 50%;
    padding: 0.7rem;
}
.service .service-wrapper h4{
    font-family: "Saira Condensed", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    text-transform: capitalize;
    width: 100%;
    margin-bottom: 1.5rem;
    color: var(--pure-white);
    font-weight: 700;
}
.service .service-wrapper p{
    color: #eee;
    font-size: 1.8rem;
    text-align: left;
    line-height: 1.2;
    margin: 1rem 0;
}
.service .contactus-now-button{
    font-family: "Saira Condensed", sans-serif;
    padding: 1rem 1.5rem;
    background-color: var(--pure-white);
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.3);
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    color: var(--page-bgcolor);
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
    margin: 2rem 0;
    transition: background-color, color 0.4s ease-in;
}
.service .contactus-now-button i{
    font-size: 1.5rem;
    
}
.service .contactus-now-button:hover{
    border: 2px solid var(--pure-white);
    background-color: var(--page-bgcolor);
    color: var(--pure-white);
}
.service .service-img-wrapper{
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 5px solid var(--pure-white);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
}
.service .service-img-wrapper .service-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}



.service-navigation-btns-wrapper{
    position: absolute;
    width: 100%;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -60%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 1rem;
}
.service-navigation-btns-wrapper .button{
    outline: none;
    border: none;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,1);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease-in;
}
.service-navigation-btns-wrapper .button .slide-view-nav-icon{
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--pure-white);
}
.service-navigation-btns-wrapper .button:hover, .service-navigation-btns-wrapper .button:focus{
    background-color: var(--pure-white);
    color: var(--page-bgcolor);
}
.service-navigation-btns-wrapper .button:hover .slide-view-nav-icon, .service-navigation-btns-wrapper .button:focus .slide-view-nav-icon{
    color: var(--page-bgcolor);
}
.service-indicator-wrapper{
    position: relative;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    gap: 0.7rem;
    padding: 1rem;
}
.service-indicator-wrapper .service-indicator{
    position: relative;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    transition: all 0.4s ease-in;
}
.service-indicator-wrapper .service-indicator.active-indicator{
    background-color: var(--pure-white);
}

.service-navigation-btns-wrapper #slide--stop-control{
    transform: rotate(-90deg);
}

.service-navigation-btns-wrapper #slide--play-control{
    display: none;
}

.more-content-section3{
    position: relative;
    width: 100%;
    margin: 7rem 0;
    padding: 6rem 0;
    background-color: var(--grey-bgcolor);
}
.more-content-section3>.our-facilities-intro-wrapper{
    position: relative;
    width: 80%;
    margin: 1rem auto;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
    text-align: center;
}

.our-facilities-intro-wrapper>h4{
    font-family: "Saira Condensed", sans-serif;
    font-size: 2.5rem;
    color: var(--page-bgcolor);
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
}

.our-facilities-intro-wrapper p{
    font-size: 1.2rem;
    line-height: 1.2;
    width: 100%;
    color: var(--gray-color1);
}
.facilities-container{
    position: relative;
    width: 80%;
    margin: 4rem auto;
    background-color: var(--pure-white);
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 1px 1px 15px 10px rgba(0,0,0,0.1);
    overflow-x: hidden;
}
.facilities-container .facilities{
    position: relative;
    width: 500%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    gap: 0.7rem;
}
.facilities .facility{
    position: relative;
    width: 100%;
}
.facilities-container .facilities.transitioned, .facilities .facility.transitioned{
    transition: all 0.3s ease-in;
}

.facilities .facility::before{
    position: absolute;
    z-index: 2;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.15);
}
.facilities .facility .facility-img-wrapper{
    position: relative;
    width: 100%;
    height: 450px;
}
.facility-img-wrapper .facility-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.facility .facility-wrapper{
    position: absolute;
    z-index: 10;
    width: 100%;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 1rem;
}
.facility .facility-wrapper::before{
    position: absolute;
    z-index: 6;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.23);
}
.facility-wrapper>h4{
    position: relative;
    z-index: 10;
    font-size: 1.5rem;
    color: var(--pure-white);
    font-weight: bold;
    width: 100%;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.facility-wrapper>p{
    position: relative;
    z-index: 10;
    font-size: 1.3rem;
    line-height: 1.2;
    width: 100%;
    color: #f8f8f8;
}

.facility-navigation-btns-wrapper{
    position: absolute;
    z-index: 5;
    width: 100%;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -60%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 1rem;
}
.facility-navigation-btns-wrapper .buttn{
    outline: none;
    border: none;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,1);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease-in;
}
.facility-navigation-btns-wrapper .buttn .view-nav-icon{
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--pure-white);
}
.facility-navigation-btns-wrapper .buttn:hover, .facility-navigation-btns-wrapper .buttn:focus{
    background-color: var(--pure-white);
    color: var(--page-bgcolor);
}
.facility-navigation-btns-wrapper .buttn:hover .view-nav-icon, .facility-navigation-btns-wrapper .buttn:focus .view-nav-icon{
    color: var(--page-bgcolor);
}

.facility-navigation-btns-wrapper #slide-stop-control{
    transform: rotate(-90deg);
}

.facility-navigation-btns-wrapper #slide-play-control{
    display: none;
}

.facility-indicator-wrapper{
    position: relative;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    gap: 0.7rem;
    padding: 1rem;
}
.facility-indicator-wrapper .facility-indicator{
    position: relative;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    transition: all 0.4s ease-in;
}
.facility-indicator-wrapper .facility-indicator.active--indicator{
    background-color: var(--page-bgcolor);
}

.more-content-section4{
    position: relative;
    width: 100%;
    padding: 1rem;
}

.more-content-section4>h4{
    font-family: "Saira Condensed", sans-serif;
    font-size: 1.5rem;
    color: var(--pure-white);
    font-weight: bold;
    width: 100%;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.more-content-section4>p{
    font-size: 1.3rem;
    line-height: 1.2;
    width: 100%;
    color: var(--pure-white);
    margin-bottom: 3rem;
}
.more-content-section4 .project-link--img-wrapper{
    position: relative;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
}

.project-link--img-wrapper .project-link--img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.project-link-btn{
    outline: none;
    border: none;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    height: auto;
    background-color: var(--pure-white);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease-in;
    margin: 2rem auto;
    text-transform: capitalize;
   
}
.project-link-btn>a{
    font-weight: bold;
    color: var(--page-bgcolor);
}
.project-link-btn .project-link-arrow-icon{
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--page-bgcolor);
}
.project-link-btn:hover, .project-link-btn:focus{
    background-color: #ccc;
    color: var(--page-bgcolor);
}
.project-link-btn:hover .project-link-arrow-icon, .project-link-btn:focus .project-link-arrow-icon{
    color: var(--page-bgcolor);
}

.reveal{
    opacity: 0;
    transform: translateY(190px);
    transition: opacity, transform 1s linear;
}
.reveal.PageRevealed{
    opacity: 1;
    transform: translateY(0px);
}

@media (max-width: 1000px){
    
    .more-content-section1>p{
        width: 70%;
    }
}

@media (max-width: 900px){
    .intro-write-ups-wrapper h1{
        font-size: 2rem;
    }
    .intro-write-ups-wrapper p{
        font-size: 1.3rem;
    
    }

}


@media (max-width: 800px){
    .site-container{
        padding-top: 10rem;
    }
  
    .intro-write-ups-wrapper h1{
        font-size: 1.7rem;
    }
    .intro-write-ups-wrapper p{
        font-size: 1.1rem;
    
    }

    .intro-content-section .doctors-intro-note{
        font-size: 1rem;
    }

    .service .service-img-wrapper{
        width: 300px;
        height: 300px;
    }

}

@media (max-width: 720px){
   
    .intro-write-ups-wrapper h1{
        font-size: 1.5rem;
    }
    .intro-write-ups-wrapper p{
        font-size: 1rem;
    
    }

    .service .service-img-wrapper{
        width: 250px;
        height: 250px;
    }


}
@media (max-width: 680px){
    .services .service{
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    
    .service .service-wrapper{
        width: 100%;
       order: 2;
    }
    .service .service-img-wrapper{
        width: 310px;
        height: 310px;
        order: 1;
    }
}

@media (max-width: 665px){
    .intro-content-section{
        flex-wrap: wrap;
        padding-left: 1rem;
    }
    .intro-content-section .intro-write-ups-wrapper{
        order: 2;
    }
    .intro-content-section .intro-section-img-wrapper{
        order: 1;
    }

    .intro-write-ups-wrapper h1{
        font-size: 1.7rem;

        
    }
    .intro-write-ups-wrapper p{
        font-size: 1.2rem;
    
    }
    
}
@media (max-width: 540px){
    .site-container{
        padding-top: 4rem;
    }
}
@media (max-width: 500px){
    .more-content-section2>.our-services-intro-wrapper h2{
        font-size: 2rem;
    }
    .more-content-section1>p{
        width: 85%;
    }
}


@media (max-width: 400px){
    .intro-content-section .intro-section-img-wrapper::before{
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,0.2);
    }
    .intro-content-section .intro-section-img-wrapper .doctors-intro-note{
        color: #f8f8f8;
    }
    .service .service-img-wrapper{
        width: 250px;
        height: 250px;
    }
    .more-content-section1>p{
        width: 90%;
    }
    .staff-info-cards{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2.3rem;
        flex-direction: column;
    }
    .staff-info-cards .staff-info-card{
        width: 100%;
    }
}

@media (max-width: 350px){
    .site-container{
        padding-top: 2rem;
    }
    .intro-content-section .doctors-intro-note{
        font-size: 0.7rem;
    }
    .doctors-intro-note .doctors-intro-note-quote-icon{
        font-size: 1.2rem;
    }
    
    .more-content-section2>.our-services-intro-wrapper h2{
        font-size: 1.7rem;
    }
    .service .service-wrapper h4{
       font-size: 1.7rem;
       margin-top: 1.5rem;
       margin-bottom: 1.5rem;
   }
   .service .service-wrapper p{
       font-size: 1.5rem;
       margin-bottom: 0.5rem;
   }
  
   .service .service-img-wrapper{
       width: 220px;
       height: 220px;
   }
   .facilities-container{
    width: 90%;
    }
}

@media (max-width: 272px){
    .intro-content-section .doctors-intro-note{
        font-size: 0.6rem;
    }
    .service .service-wrapper h4{
       font-size: 1.4rem;
   }
   .service .service-wrapper p{
       font-size: 1.4rem;
   }
  
   .service .service-img-wrapper{
       width: 200px;
       height: 200px;
   }
}

