body.home {
    background: #FDFEF9;
}

/*-----------------------------------*\
  HOME BANNER
\*-----------------------------------*/

#homebanner {
    position: relative;
    color: #fff;
    margin-bottom: 30px;
}

.hbcurve {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34.667vw;
    z-index: 2;
}

#homebanner .smallintro {
    color: #fff;
}

.hbslide-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26.6vw;
    padding: 0 30px;
}

#homebanner h1 {
    font-weight: 400;
}

#homebanner .owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 0;
    text-align: left;
    position: absolute;
    left: 30px;
    bottom: 13.3vw;
}

#homebanner .owl-carousel button.owl-dot {
    margin: 0;
    transform: scale(1.0);
}

#homebanner .owl-theme .owl-dots .owl-dot span {
    width: 30px;
    border-radius: 0;
    height: 2px;
}

#homebanner .owl-theme .owl-dots .owl-dot.active span {
    background: #fff;
}

.hbctrls {
    display: none;
}

/*ABOUT NEMS*/

#home-about {
    padding: 0 20px;
    background: #fff;
}

.homeabout-img {
    border-radius: 30px 30px 0 0;
}

.homeabout-content {
    background-image: linear-gradient(to left bottom, #f1fafa, #eaf8f7, #e3f5f5, #dbf3f2, #d4f0ef);
    padding: 40px 30px 44px;
    border-radius: 0 0 30px 30px;
    font-size: 1.4rem;
}

.homeabout-content h2 {
    margin-bottom: 20px;
}

.homeabout-content p {
    margin-bottom: 24px;
}

.homeabout-content p:last-of-type {
    margin: 0;
}

.home-mid {
    padding: 60px 0 412px;
    background: linear-gradient(#fffef5 0%, #ebf7fd 51%, #e7fafa 100%);
}

/*SERVICES*/

.hs-intro {
    margin-bottom: 30px;
}

.hs-intro h2 {
    margin-bottom: 16px;
}

@media only screen and (min-width: 768px) {

    .hbslide-content {
        bottom: 72px; right: auto;
        left: 14.5vw; padding: 0;
        width: 56.25%;
    }

    #homebanner {
        margin-bottom: 0;
        min-height: 58.8vw;
    }

    .hbcurve {
        width: 28vw;
    }

    .hbctrls {
        display: block; position: absolute;
        left: 5vw; bottom: 142px;
        width: 30px; z-index: 2;
    }

    #counter {
        display: flex; align-items: center;
        justify-content: center;
        width: 30px; height: 30px;
        border: 1px solid #fff;
        border-radius: 50%;
        font-size: 1rem; font-weight: 900;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
    }

    .hb-ctrl {
        display: block; width: 30px;
        height: 38px; background: #A4233B;
        overflow: hidden;
    }

    .hb-arrow {
        width: 30px; height: 38px;
        display: flex; align-items: center;
        justify-content: center;
        transition: all 0.25s ease-in;
    }

    .hb-arrow img { width: 12px; }

    .hb-next {
        margin-bottom: 5px;
        border-radius: 30px 30px 0 0;
    }

    .hb-next:hover .hb-arrow {
        transform: translateY(-38px);
    }

    .hb-prev {
        border-radius: 0 0 30px 30px;
    }

    .hb-prev .hb-arrow {
        transform: translateY(-38px);
    }

    .hb-prev:hover .hb-arrow {
        transform: translateY(0);
    }

    /*ABOUT NEMS*/

    #home-about {
        padding: 0 20px;
    }

    .ha-inner {
        position: relative;
    }

    .homeabout-img {
        border-radius: 0 0 30px 30px;
    }

    .homeabout-content {
        background-image: none; padding: 0;
        border-radius: 0; position: absolute;
        top: 50%; transform: translateY(-50%);
        right: 20px; width: 40%;
    }

    .hs-intro {
        text-align: center;
    }

    .hs-intro {
        margin-bottom: 48px;
    }

}

@media only screen and (min-width: 1024px) {

    .home-mid {
        padding: 96px 0 455px;
    }

    #home-about {
        padding: 0 30px;
    }

    .homeabout-content {
        font-size: 1.6rem;
        right: 40px; width: 35%;
    }

    .homeabout-content p {
        margin-bottom: 30px;
    }

    .hs-intro h2 {
        margin-bottom: 20px;
    }

    .hbctrls {
        left: 7.5vw;
        bottom: 164px;
    }

}

@media only screen and (min-width: 1280px) {

    .homeabout-content {
        font-size: 1.8rem; right: 4%;
    }

    .homeabout-content h2 {
        margin-bottom: 30px;
    }

    .hs-intro {
        margin-bottom: 72px;
    }

    #homebanner h1 {
        margin-bottom: 50px;
    }

    .hbctrls {
        left: 9vw;
        bottom: 184px;
    }

}

@media only screen and (min-width: 1440px) {

    .homeabout-content {
        font-size: 2rem; max-width: 480px;
        right: 6%;
    }

    .homeabout-content p {
        margin-bottom: 70px;
    }

    .hs-intro {
        margin-bottom: 96px;
    }

    .hs-intro h2 {
        margin-bottom: 24px;
    }

    .hbslide-content {
        bottom: 96px;
        width: 50%;
    }

    #homebanner h1 {
        font-size: 6rem;
    }

    .hbctrls {
        bottom: 208px;
    }

}

@media only screen and (min-width: 1620px) {

    .homeabout-content {
        right: 12%;
    }

    .hbslide-content {
        bottom: 210px;
    }

    .hbctrls {
        bottom: 324px;
        left: 10vw;
    }

}

/*TESTIMONIAL SECTION*/

#testimonials {
    padding: 0 20px;
    margin-bottom: 96px;
}

.testimonials-inner {
    background: #fff; border-radius: 20px;
    padding: 44px 30px 40px;
    box-shadow: 0 3px 60px rgba(17, 175, 171, 0.17);
    position: relative; z-index: 2;
    margin-top: -290px;
}

.quote {
    font-size: 2rem; font-weight: 400;
    margin-bottom: 30px; 
}

.quotesrc {
    color: #A4233B; font-size: 2rem;
    font-weight: 600; margin-bottom: 5px;
}

#testimonials .sliderctrls {
    padding-top: 12px;
}

@media only screen and (min-width: 768px) {

    #testimonials {
        padding: 0 40px;
    }

    .testimonials-inner {
        padding: 72px 48px 96px;
    }

    .testimonials-inner {
        display: flex; justify-content: space-between;
        max-width: 1440px; margin: -200px auto 0;
    }

    .quotes-intro {
        width: 34%;
        padding-top: 5px;
    }

    .quotes {
        width: 48%;
    }

}

@media only screen and (min-width: 1024px) {

    .testimonials-inner {
        padding: 96px 56px 120px;
        margin: -300px auto 0;
    }

    #testimonials .sliderctrls {
        padding-top: 30px;
    }

    .quote {
        font-size: 2.4rem; 
    }

    .quotesrc {
        font-size: 2.4rem;
        margin-bottom: 8px;
    }

}

@media only screen and (min-width: 1280px) {

    #testimonials {
        margin-bottom: 140px;
    }

    .testimonials-inner {
        padding: 120px 96px 180px;
    }

    .quote {
        font-size: 3rem; 
    }

    .quotesrc {
        font-size: 3rem;
    }

}


/*END TESTIMONIAL SECTION*/

/*PROGRAMS FOR SENIORS*/

#seniors {
    margin-bottom: 90px;
}

.seniors-inner {
    border-radius: 20px;
    overflow: hidden;
    background: #076770;
    color: #fff;
}

.seniors-content {
    padding: 40px 24px 48px;
}

#seniors h3 {
    margin-bottom: 20px;
}

.seniors-content p {
    margin-bottom: 32px;
}

.seniors-content p:last-of-type {
    margin-bottom: 0;
}


@media only screen and (min-width: 768px) {

    .seniors-inner {
        display: flex;
    }

    .seniors-content {
        order: 1; width: 38%;
        padding: 0; display: flex;
        align-items: center;
        justify-content: center;
    }

    .seniors-content-inner {
        width: 90%; max-width: 352px;
    }

    .seniors-img {
        order: 2; width: 62%;
    }

}

@media only screen and (min-width: 1280px) {

    #seniors h2 {
        margin-bottom: 96px;
    }

    #seniors h3 {
        margin-bottom: 30px; 
    }

    .seniors-content p {
        margin-bottom: 40px;
    }

    #seniors {
        margin-bottom: 180px;
    }

}



