.home {
    background-color: #F1F3F8;
}

.why-us {
    padding: 84px 0;
    background: #F1F3F8;
}

.why-us .external-link {
    display: none;
}

.why-us .container {
    max-width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 74px 24px 49px;
    background: #fff;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.4);
}

.why-us-box {
    max-width: 525px;
    width: 100%;
    margin: 15px 0;
}

.why-us p {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.52px;
    color: #222C44;
    margin: 0 0 9px;
}

.why-us p:last-of-type {
    margin: 24px 0 31px;
}

.why-us .inner-box {
    position: relative;
    width: 100%;
    height: 290px;
    overflow: hidden;
}

.why-us  .inner-box .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -300px;
    background: rgba(90,90,90,0.8);
    z-index: 2;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.why-us-box:hover .overlay {
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    animation: slideUp .35s;
}

.why-us-box:hover img {
    filter: grayscale(100%);
}

.why-us .overlay p {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 38px;
    text-align: center;
    letter-spacing: 0.64px;
    color: #FFFFFF;
    max-width: 318px;
    width: 100%;
}

.no-webp.loaded .dentist-patient-bg {
    background-image: url(../images/dentist-patients-bg.png);
}

.webp.loaded .dentist-patient-bg {
    background-image: url(../images/dentist-patients-bg.webp);
}

.dentist-patient-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-photo img {
    width: 320px;
    height: 361px;
    object-fit: cover;
    margin: 0;
}

.home-photo .gold-bar:first-of-type {
    height: 10px;
    background: linear-gradient(90deg, #C39846 1%, #FCE5AF 25%, #FFFFFF 50%, #FCE5AF 75%, #C39846 100%);
}

.home-photo .gold-bar:last-of-type {
    height: 10px;
    background: linear-gradient(90deg, #C39846 1%, #FCE5AF 25%, #FFFFFF 50%, #FCE5AF 75%, #C39846 100%);
    
}

.contentarea {
    padding: 84px 0;
    background: #F1F3F8;
}

.contentarea .container {
    max-width: 100%;
    padding: 38px 0 49px;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.4);
}

h1.page-title {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 124%;
    text-align: center;
    letter-spacing: 3.5px;
    color: #FEF8EB;
    margin: 0 0 48px;
}

.contentarea .row {
    justify-content: center;
    align-items: center;
}

.home-photo {
    margin: 0;
    max-width: 320px;
    width: 100%;
}

.home-photo:first-of-type {
    margin-right: 252px;
}

.contentarea p {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 0.64px;
    color: #FEF8EB;
    margin: 20px 0 0;
}

.our-services .container {
    max-width: 100%;
    padding: 26px 0 39px;
    background: #fff;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.4);
}

.our-services {
    padding: 84px 0;
}

.our-services .service-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1415px;
    width: 100%;
    margin: 64px auto 56px;
}

.service-box {
    max-width: 350px;
    width: 100%;
}

.our-services h2 {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 124%;
    letter-spacing: 3.5px;
    color: #222C44;
    margin: 0;
}

.our-services h3 {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 38px;
    letter-spacing: 0.64px;
    color: #222C44;
    margin: 0;
}

.our-services p {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.97px;
    color: #222C44;
    margin: 12px 0 0;
}

.service-box:hover img {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

.service-box:hover a {
    text-decoration: none;
}

.patients-love {
    padding: 84px 0;
}

.patients-love .container {
    max-width: 100%;
    padding: 57px 24px 123px;
    min-height: 671px;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.4);
}

.patients-love h2 {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 124%;
    letter-spacing: 3.5px;
    color: #FEF8EB;
    margin: 0 0 73px;
}

.reviews-box {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: #EDEBEB;
    position: relative;
    padding: 63px 27px 42px 42px;
    min-height: 381px;
}

.reviews-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 10px;
    z-index: 3;
    background: linear-gradient(90deg, #C39846 1%, #FCE5AF 25%, #FFFFFF 50%, #FCE5AF 75%, #C39846 100%);
}

.reviews-box:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 10px;
    z-index: 3;
    background: linear-gradient(90deg, #C39846 1%, #FCE5AF 25%, #FFFFFF 50%, #FCE5AF 75%, #C39846 100%);
}

.reviews-box p {
    margin: 0;
}

.patients-love h2.patient-name {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.52px;
    color: #222C44;
    margin: 24px 0 0;
}

.reviews-box .arrow {
    opacity: 1;
    color: transparent;
    border-color: transparent;
    border: none;
    top: 50%;
    bottom: auto;
}

.reviews-box .arrow.arrow-right {
    right: -80px;
    top: 45%;
}

.reviews-box .arrow.arrow-left {
    left: -100px;
}

.reviews-box .arrow.arrow-right::before {
    content: url(../images/gradient-arrow.png);
    transform: rotate(0deg);
    border: none;
}

.reviews-box .arrow.arrow-left::before {
    content: url(../images/gradient-arrow.png);
    transform: rotate(180deg);
    border: none;
}

.reviews-box .number-crumb-container {
    bottom: -100px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.reviews-box .number-crumb-container .option {
    opacity: 1;
    border: 3px solid transparent;
    background: linear-gradient(#222C44, #222C44) padding-box, linear-gradient(to bottom, #C39846, #FCE5AF, #FFFFFF, #FCE5AF, #C39846) border-box;
}

.reviews-box .number-crumb-container .option.selected {
    opacity: 1;
    border-color: transparent;
    background: linear-gradient(90deg, #C39846 1%, #FCE5AF 25%, #FFFFFF 50%, #FCE5AF 75%, #C39846 100%);
}

.reviews-box .number-crumb-container .option.pause-play {
    background: transparent;
    color: #fff;
}

.reviews-box .option.pause-play svg path {
    fill: #fff;
}

.instagram {
    padding: 84px 0;
}

.instagram .container {
    max-width: 100%;
    background: #fff;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.4);
    padding: 34px 24px;
}

.instagram-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin: 62px 0 35px;
}

.instagram h2 {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 124%;
    letter-spacing: 3.5px;
    color: #222C44;
    display: flex;
    justify-content: center;
    align-items: center;
}

.instagram h2 img {
    margin-right: 56px;
}

.instagram .external-link {
    display: none;
}

.instagram-row img:hover {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.get-started {
    padding: 84px 0;
}

.get-started .container {
    max-width: 100%;
    background: #fff;
    padding: 22px 24px 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.4);
}

.get-started .external-link {
    display: none;
}

a.map {
    max-width: 602px;
    width: 100%;
    margin-right: 121px;
}

.get-started .content-side {
    max-width: 354px;
    width: 100%;
}

.get-started h2 {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 124%;
    letter-spacing: 3.5px;
    color: #222C44;
    margin: 0;
}

.get-started h3 {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 38px;
    text-align: center;
    letter-spacing: 0.64px;
    color: #222C44;
    margin: 17px 0;
}

.get-started p {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0.97px;
    color: #222C44;
    margin: 0 0 49px;
}

.get-started .main-btn2 {
    padding: 10px 22px;
}

.no-webp.loaded .boat-wake {
    background-image: url(../images/boat-wake.jpg);
}

.webp.loaded .boat-wake {
    background-image: url(../images/boat-wake.webp);
}

.boat-wake {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 702px;
    padding: 0;
    position: relative;
}

.boat-wake img {
    position: absolute;
    top: 31px;
    right: 22%;
    z-index: 3;
}
/* Insurance options section
-------------------------------------------------*/
.insurance {
    background-color: #222C44;
    margin-bottom: 120px;

}
.insurance .content-holder {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.insurance .content-side {
    padding: 60px 10px;
    max-width: 378px;
    width: 100%;
    text-align: left;
}
.insurance h2 {
    color: var(--OLD-LACE, #FEF8EB);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Libre Baskerville;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 124.5%; /* 37.35px */
    letter-spacing: 3.5px;
}
.insurance p {
    color: #FFF;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20.5px; /* 128.125% */
    letter-spacing: 0.97px;
}
.insurance .main-btn {
    border-radius: 8px;
    border: 1px solid #C39846;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 10px 15px;
    text-align: center;
    max-width: 194px;
    width: 100%;
}
.insurance .photo-side::before {
    background: linear-gradient(90deg, #222C44 50%, rgba(34, 44, 68, 0.00) 100%);
    content: '';
    max-width: 375px;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 37%;
}
.insurance .photo-side {
    background-size: cover;
    max-width: 565px;
    min-height: 337px;
    width: 100%;
}
.webp .insurance .photo-side {
    background: url(../images/insurance-photo.jpg) no-repeat center center;
}
.no-webp .insurance .photo-side {
    background: url(../images/insurance-photo.webp) no-repeat center center;
}



@media (max-width: 1500px) {
    .instagram-row img {
        margin: 25px 0;
    }
}
@media (max-width: 1400px) {
    .our-services .service-row {
        max-width: 1000px;
    }
}

@media (max-width: 1100px) {
    .our-services .service-row {
        justify-content: space-evenly;
    }

    .service-box {
        margin: 25px 0;
    }
}

@media (max-width: 1025px) {
    .why-us-box {
        text-align: center;
        margin: 40px auto;
    }

    .why-us-box img {
        object-fit: cover;
        width: 100%;
        height: 290px;
    }

    .contentarea .row {
        flex-flow: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .home-photo:first-of-type {
        margin: 0;
    }

    .home-photo {
        margin: 25px auto;
    }

    .contentarea .dentist-patient-bg {
        background-position: left center;
    }

    .get-started .container {
        flex-flow: column;
        text-align: center;
    }

    a.map {
        margin: 0 0 25px;
    }
    .insurance {
        padding: 25px 10px;
    }
    .insurance .content-holder {
        flex-direction: column;
        align-items: center;
    }
    .insurance .content-side {
        text-align: center;
    }
    .insurance .photo-side::before {
        display: none;
    }
}

@media (max-width: 991px) {
    .patients-love .container {
        padding: 57px 100px 123px;
    }
}

@media (max-width: 600px) {
    .why-us .container {
        padding: 35px 24px;
    }

    .why-us-box .over {
    }

    .why-us p {
        font-size: 16px;
    }

    .why-us .overlay p {
        font-size: 18px;
    }

    h1.page-title {
        font-size: 26px;
    }

    .contentarea p {
        font-size: 18px;
    }

    .our-services h2 {
        font-size: 26px;
    }

    .our-services h3 {
        font-size: 24px;
    }

    .our-services p {
        font-size: 14px;
    }

    .reviews-box {
        padding: 42px 24px;
    }

    .patients-love .container {
        padding: 57px 50px 123px;
    }

    .reviews-box .arrow.arrow-right {
        right: -50px;
    }

    .reviews-box .arrow.arrow-left {
        left: -50px;
    }

    .reviews-box .number-crumb-container {
        bottom: -150px;
    }

    .instagram h2 {
        font-size: 26px;
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    .instagram h2 img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .instagram-row {
        margin-top: 35px;
    }

    .get-started h2 {
        font-size: 26px;
    }

    .get-started h3 {
        font-size: 18px;
    }

    .get-started p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .boat-wake img {
        right: 0;
        left: 0;
        margin: auto;
    }


}