/*Lenis Scroll attributes*/
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}
.upper-black {
    position: relative;
    width: 100vw;
    background: #000;
    color: #fff;
    display: flex;
    height: 100vh;
    /* align-items: center; */
    /* justify-content: center; */
}

.section-inner {
    position: relative;
    width: 30%;
    text-align: center;
    margin: 3rem 0;
    padding: 5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

img.home-logo {
    position: relative;
    width: 50%;
    min-width: 200px;
    margin-bottom: 2rem;
    filter: invert(1);
}

.sec-container {
    position: relative;
    padding: 0 10vw;
}

section.upper-white {
    margin: 4rem 0;
}

.services-outer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.service-inner {
    position: relative;
    width: 45%;
    margin-right: 1%;
    border: 3px solid #ededed;
    text-align: center;
    padding: 1.5rem;
    margin: 1rem 5% 1rem 0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

span.serv-txt {
    font-weight: 900;
    font-size: 1.5rem;
}

h3.footer-title {
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 1.rem;
    width: 60%;
}

.footer-container {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-footer {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.cf-content span {
    font-size: 2rem;
    font-weight: 100;
}

.cf-content {
    margin-bottom: 4rem;
    position: relative;
}

.sc-left {
    text-align: center;
}

.footer-col.partner-col {
    width: 100%;
}


#new-hm-slider {
    position: relative;
    width: 70%;
    height: 100vh;
}

.slider-outer-nhs {
    position: relative;
    width: 70vw;
    height: 100vh;
}

.nhs-img {
    position: relative;
    object-fit: cover;
    width: 100%;
    height: 100%;
}


.text-area-nhs {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: center;
    padding: 3rem 20%;
}

.nhs-text {
    font-size: 2.1rem;
    position: relative;
    z-index: 2;
}
.up_line_anime {
    transform: translate(0, 50px);
    opacity: 0;
}
@media only screen and (max-width: 1024px){
    h3.footer-title{
        font-size: 2.5vw;
    }
    .cf-content span{
        font-size: 3vw;
    }
    .upper-black{
        flex-wrap: wrap;
        height: auto;
    }
    .section-inner{
        width: 100%;
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        flex-direction: row;
    }
    img.home-logo{
        width:200px;
        margin: 0;
    }
    h2.tag-line{
        width:60%;
    }
    #new-hm-slider{
        width:100%;
        height: auto;
    }
    .slider-outer-nhs{
        width: 100vw;
        overflow: hidden;
    }
    html{
        scroll-behavior: auto!important;
    }
}
@media only screen and (max-width: 800px){
    .service-inner{
        width:49%;
    }
    footer{
        padding: 5rem 3rem;
    }
    img.partner{
        max-width: 35%;
    }
    .section-inner{
        flex-direction: column;
    }
    img.home-logo{
        margin-bottom: 2rem;
    }
    .slider-outer-nhs{
        height: 60vh;
    }
    .nhs-text{
        font-size: 1.7rem;
    }
}
@media only screen and (max-width: 660px){
    .section-inner{
        width:100%;
    }
    h3.footer-title{
        font-size: 16px;
        width: 80;
    }
    h2.tag-line{
        width:80%;
        font-size: 1.3rem;
    }
}
@media only screen and (max-width: 500px){
    .service-inner{
        width:100%;
        margin: 1rem;
    }
    img.partner{
        max-width: 100%;
        max-height:50px;
    }
}
@media only screen and (max-width: 460px){
    .upper-black{
        padding: 0;
    }
    h3.footer-title{
        width:100%;
    }
    .cf-content span{
        font-size: 16px;
    }
    footer .footer-container{
        padding: 0;
    }
    .nhs-text{
        font-size: 1.3rem;
    }
}
@media only screen and (max-width: 300px){
    .upper-black{
        padding: 3rem 2rem;
    }
    h2.tag-line{
        font-size: 20px;
    }
    .service-inner{
        width:100%;
        margin: 1rem 0;
    }
    .cf-content span{
        font-size: 14px;
    }
    footer{
        padding: 3rem 1.5rem;
    }
}


.service-img {
    position: relative;
    width: 30%;
    margin-bottom: 1rem;
    max-width: 100px;
}

.sm-btn-sec {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.social-icon {
    width: 35px;
    height: 35px;
    margin: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover svg {
    fill: #fff;
}