/* WELCOME SECTION
-----------------------------------------------*/
.welcome {
    padding: 35px 0 69px;
}

.welcome h1 {
    color: var(--secondary, #66C6CD);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    
    /* Desktop/Heading 4 */
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 138%; /* 41.4px */
    letter-spacing: 1.15px;
    text-transform: uppercase;
    
    margin: 0;
}

.welcome h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0a305e;
    margin: 0 auto;
}

.welcome p {
    font-family: 'Nunito';
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: #9d9fa1;
    margin: 25px auto;
}

.welcome .button-wrap {
    gap: 0 40px;
    display: flex;
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
    justify-content: center;
}

/* YOUR DENTIST SECTION
-----------------------------------------------*/
.your-dentist {
    position: relative;
}

.no-webp .doc-photo {
    background-image: url(../images/doc-photo.jpg);
}

.webp .doc-photo {
    background-image: url(../images/doc-photo.webp);
}

.doc-photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 397px;
    width: 100%;
    min-height: 464px;
    border: 11px solid #fff;
}

.your-dentist .inner-box {
    background: #1a4577;
    max-width: 1838px;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    position: relative;
    padding: 83px 0 69px;
}

.your-dentist .shadow-box {
    filter: drop-shadow(16px 26px 10px rgba(9, 13, 54, 0.25));
}

.your-dentist .content-box {
    max-width: 1171px;
    width: 100%;
    margin: 0 auto;
}

.your-dentist h2 {
    color: #fff;
    text-align: center;
    margin: 0 auto 28px;
}

.your-dentist .row {
    justify-content: space-evenly;
    align-items: center;
}

.your-dentist .content-side {
    max-width: 623px;
    width: 100%;
}

.your-dentist h3 {
    color: #fff;
    padding-bottom: 4px;
    margin: 0;
    max-width: 378px;
    position: relative;
}

.your-dentist h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #66c6cd;
    z-index: 1;
}

.your-dentist p {
    color: #fff;
    font-size: 23px;
    line-height: 150%;
    margin: 29px 0 41px;
}

/* AFF SECTION
-----------------------------------------------*/
.aff-section {
    padding: 150px 0 100px;
}

.aff-section .row {
    justify-content: space-evenly;
    align-items: center;
    gap: 25px;
}

.aff-section .external-link {
    display: none;
}

/* OUR FEATURED SERVICES SECTION
-----------------------------------------------*/
.treatments {
    padding: 0 0 116px;
}
.treatments h2 {
    color: #083650;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 4px;
    position: relative;
    margin: 0 auto 94px;
    max-width: 683px;
}

.treatments h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #66c6cd;
    z-index: 1;
}

.treatments h3 {
    color: #fff;
    margin: 0 auto;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 138%; /* 41.4px */
    letter-spacing: 1.15px;
    text-transform: uppercase;
}

.treatments h3.initial-title {
    background: #0a305e;
    min-height: 108px;
    width: 100%;
}

.no-webp .service-box.invisalign {
    background-image: url(../images/invisalign-showcase.jpg);
}

.webp .service-box.invisalign {
    background-image: url(../images/invisalign-showcase.webp);
}

.no-webp .service-box.dentures {
    background-image: url(../images/dentures-showcase.jpg);
}

.webp .service-box.dentures {
    background-image: url(../images/dentures-showcase.webp);
}

.no-webp .service-box.implants {
    background-image: url(../images/implants-showcase.jpg);
}

.webp .service-box.implants {
    background-image: url(../images/implants-showcase.webp);
}

.no-webp .service-box.full-arch {
    background-image: url(../images/arch-showcase.jpg);
}

.webp .service-box.full-arch {
    background-image: url(../images/arch-showcase.webp);
}

.no-webp .service-box.overdentures {
    background-image: url(../images/over-dentures-showcase.jpg);
}

.webp .service-box.overdentures {
    background-image: url(../images/over-dentures-showcase.webp);
}

.no-webp .service-box.sedation {
    background-image: url(../images/sedation-showcase.jpg);
}

.webp .service-box.sedation {
    background-image: url(../images/sedation-showcase.webp);
}

.service-box {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 318px;
    width: 100%;
    min-height: 440px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.treatments h3 {
    color: #fff;
    margin: 0 auto;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 138%; /* 41.4px */
    letter-spacing: 1.15px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
}

.treatments h3.initial-title {
    background: #0a305e;
    min-height: 108px;
    width: 100%;
    z-index: 1;
    transition: all 1.35s ease-in-out;
}

.service-box .overlay {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    width: 100%;
    height: 100%;
    padding: 0 25px 25px;
    position: absolute;
    right: 0;
    bottom: -450px;
    left: 0;
    z-index: 1;
    background: rgba(10, 48, 94, 0.9);
    transition: all 0.9s ease-in-out;
}

.service-box .overlay p {
    margin: 57px auto 0;
}

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

.service-box:hover .overlay {
    height: 100%;
    bottom: 0;
    justify-content: center;
    transition: all 0.9s ease-in-out;
}

.service-box:hover h3.initial-title {
    color: transparent;
    background: transparent;
    transition: all 0.05s ease-in-out;
}

.slick-next {
    position: absolute;
    right: -20px;
    top: 50%;
    color: transparent;
    background-color: transparent;
    margin: 0;
    padding: 0;
    border-radius: 0;
    line-height: inherit;
    font-size: 0;
}

.slick-next::after {
    content: '';
    background-image: url(../images/blue-arrow.svg);
    color: #000;
    width: 33px;
    height: 37px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    font-weight: bold;
    font-size: 50px;
}

.slick-prev {
    position: absolute;
    left: -50px;
    top: 50%;
    color: transparent;
    background-color: transparent;
    z-index: 1;
    margin: 0;
    padding: 0;
    border-radius: 0;
    line-height: inherit;
    font-size: 0;
}

.slick-prev::before {
    content: '';
    background-image: url(../images/blue-arrow.svg);
    color: #000;
    width: 33px;
    height: 37px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    font-weight: bold;
    font-size: 50px;
    transform: rotate(180deg);
}

.treatments .button-wrap {
    margin: 94px auto 0;
}


/* WHY CHOOSE US SECTION
-----------------------------------------------*/
.why-choose-us {
    padding: 0 0 58px;
}
.why-choose-us h2 {
    color: #083650;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 4px;
    position: relative;
    margin: 0 auto 50px;
    max-width: 431px;
    text-align: center;
}

.why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #66c6cd;
    z-index: 1;
}

.why-choose-us span {
    color: var(--tertiary, #9D9FA1);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    
    /* Desktop/Heading 4 */
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 138%; /* 41.4px */
    letter-spacing: 1.15px;
    text-transform: uppercase;
    
    display: block;
}

.why-choose-us .reason-holder {
    display: flex;
}
.why-choose-us .reason h3 {
    color: var(--Main, #0A305E);
    font-feature-settings: 'liga' off, 'clig' off;
    
    /* Desktop/Heading 4 */
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 138%; /* 41.4px */
    letter-spacing: 1.15px;
    text-transform: uppercase;
    text-align: left;
}



/* CULTURE OF CARE SECTION
-----------------------------------------------*/
.care {
    background-color: #1A4577;
    color: white;
    padding: 80px 0;
    margin-bottom: 25px;
}
.care-content {
    display: flex;
    align-items: center;
}
.care h2 {
    color: white;
    font-size: 48px;
}

.care .main-btn.teal-border,
.care a.main-btn.teal-border {
    padding: 13px 20px !important;
}
.care .care-title {
    min-width: 323px;
}


/* SERVICES SECTION
-----------------------------------------------*/
.services .service {
    max-width: 1920px;
    margin-bottom: 100px;
    
    display: flex;
}
.services .service h2 {
    color: #0A305E;
    margin-bottom: 0;
}

.services .service h3 {
    color: var(--tertiary, #9D9FA1);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 138%;
    letter-spacing: 1.15px;
    text-transform: uppercase;
    display: block;
}

.services .service-image {
    min-width: 50%;
}


/* INVISALIGN SECTION
-----------------------------------------------*/
.services .service.invisalign {
    text-align: left;
    padding-left: 100px;
}


/* VENEERS SECTION
-----------------------------------------------*/
.services .service.veneers {
    text-align: right;
    padding-right: 100px;
}
.services .service.veneers {
    flex-direction: row-reverse;
}


/* FAQ SECTION
-----------------------------------------------*/
.faq {
    margin-bottom: 115px;
}
.faq h2 {
    color: #083650;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 4px;
    position: relative;
    margin: 0 auto 50px;
    max-width: 806px;
    text-align: center;
}

.faq h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #66c6cd;
    z-index: 1;
}

.faq span {
    color: var(--tertiary, #9D9FA1);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    
    /* Desktop/Heading 4 */
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 138%; /* 41.4px */
    letter-spacing: 1.15px;
    text-transform: uppercase;
    
    display: block;
}

.faq summary {
    color: var(--accent, #1A4577);
    text-align: right;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Nunito;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 42px */
    text-align: left;
}

/*.faq summary::marker {*/
/*    content: url(../images/faq-closed.webp);*/
/*}*/

/*.faq .details[open] summary::marker {*/
/*    content: url(../images/faq-opened.webp);*/
/*}*/

.faq hr {
    width: 100%;
    height: 3px;
    background: #66c6cd;
}

.faq details {
    text-align: left;
}

.faq .button-wrap {
    margin-top: 40px;
    gap: 100px;
    justify-content: center;
    display: flex;
}


/* SEE WHAT OUR PATIENTS ARE SAYING SECTION
-----------------------------------------------*/
.testimonials .inner-box {
    background: #1a4577;
    max-width: 1800px;
    width: 100%;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    position: relative;
    padding: 40px 80px 50px 50px;
    margin: 0 0 0 auto;
}

.testimonials .shadow-box {
    filter: drop-shadow(-36px 26px 10px rgba(9, 13, 54, 0.25));
}

.testimonials .content-box {
    max-width: 1400px;
    width: 100%;
    margin: 0 0 0 auto;
    text-align: center;
}

.testimonials h2 {
    color: #fff;
    text-align: center;
    margin: 0 auto 40px;
    padding-bottom: 4px;
    max-width: 900px;
    position: relative;
    text-transform: uppercase;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0a305d;
    z-index: 1;
}

.reviews-box {
    max-width: 400px;
    width: 100%;
    min-height: 480px;
    margin: 0 auto;
}

.reviews-box p {
    color: #fff;
    margin: 0 auto;
}

.reviews-box p.patient-review {
    margin: 0 auto 17px;
}

.reviews-box p.patient-name {
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 160%;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}

.testimonials .social-icon {
    max-width: 120px;
    width: 100%;
    min-height: 120px;
    background: #0a305d;
    border-radius: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-dots {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style-type: none;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
}

.slick-dots button {
    padding: 0;
    border-radius: 100%;
    text-indent: -9999px;
    width: 1rem;
    height: 1rem;
    background: transparent;
    border: 2px solid #66c6cd;
}

.slick-dots .slick-active button {
    background: #66c6cd;
    border: 0;
    width: 0.8rem;
    height: 0.8rem;
}

.testimonials .social-icon.google svg {
    width: 72px;
    height: auto;
}

.five-stars {
    background-image: url(../images/five-stars.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 248px;
    width: 100%;
    min-height: 37px;
    margin: 27px auto;
}

/* WE'D LOVE TO HEAR FROM YOU! SECTION
-----------------------------------------------*/
.hear {
}

.hear h2 {
    color: #083650;
    text-transform: uppercase;
    padding-bottom: 4px;
    position: relative;
    max-width: 762px;
    margin: 51px auto;
}

.hear h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #66c6cd;
    z-index: 1;
}

.hear .foot-social a {
    background: #66c6cd;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 88px;
    height: 88px;
    position: relative;
    margin-right: 20px;
}

.hear .foot-social a svg {
    fill: #fff;
    width: 40px;
    height: auto;
}

.hear .foot-social a .external-link {
    display: none;
}

.hear .button-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 50px;
    max-width: 600px;
    margin: 0 auto;
}

/* RESPONSIVE
-----------------------------------------------*/
@media (max-width: 1700px) {
    .testimonials .content-box {
        max-width: 1200px;
    }

    .services-slider {
        max-width: 1025px;
        margin: 0 auto;
    }
}
@media (max-width: 1500px) {
    .your-dentist .inner-box {
        clip-path: none;
    }

    .testimonials .inner-box {
        clip-path: none;
        padding: 40px 50px 50px;
    }

    .testimonials .content-box {
        margin: 0 auto;
    }
}

@media (max-width: 1400px) {
    .aff-section .row {
        max-width: 767px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (min-width: 1201px) {
    .why-choose-us .reason-holder {
        gap: clamp(25px, 2.5vw, 50px);
    }
    
    .care-content {
        gap: clamp(50px, 6vw, 125px);
    }
    
    
}

@media (max-width: 1200px) {
    .your-dentist .row {
        flex-flow: column;
        gap: 50px 25px;
        justify-content: center;
        text-align: center;
    }

    .your-dentist h3 {
        text-align: center;
        margin: 0 auto;
    }

    .your-dentist .content-side {
        max-width: 100%;
    }

    .your-dentist .inner-box {
        padding: 83px 50px 69px;
    }

    .services-slider {
        max-width: 700px;
    }
    
    .why-choose-us .reason-holder {
        flex-direction: column;
        gap: 25px;
    }
    
    .care-content {
        flex-direction: column;
        align-items: start;
    }
    .care h2 {
        margin-bottom: 0;
    }
    .care .care-title {
        margin-bottom: 15px;
    }
    
    .services .service {
        flex-direction: column-reverse !important;
    }
}

@media (max-width: 1025px) {
    .testimonials h2 {
        max-width: 540px;
    }
    
    .faq .button-wrap {
        gap: 0;
    }
}

@media (max-width: 991px) {
    .hear .foot-social {
        margin: 0 auto;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
        gap: 25px 10px;
    }
    
    .services .service.invisalign,
    .services .service.veneers {
        padding: 0 50px;
        text-align: left;
    }
    
    .services .service .main-btn {
        text-align: center;
    }
}

@media (max-width: 850px) {
    .services-slider {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
    }

    .hear .foot-social {
        max-width: 462px;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .welcome p {
        font-size: 20px;
    }

    .your-dentist p {
        font-size: 20px;
    }

    .doc-photo {
        max-width: 307px;
        min-height: 359px;
    }

    .your-dentist .inner-box {
        padding: 40px 25px 65px;
    }

    .treatments {
        padding: 0 0 40px;
    }

    .treatments h2 {
        margin-bottom: 32px;
    }

    .treatments .slick-dots {
        margin: 35px auto 0;
    }

    .treatments .slick-dots button {
        border-color: #1a4577;
    }

    .treatments .slick-dots .slick-active button {
        background: #1a4577;
    }

    .treatments .button-wrap {
        margin: 25px auto 0;
    }

    .treatments h3 {
        font-size: 24px;
    }

    .treatments h3.initial-title {
        min-height: 68px;
    }

    .service-box .overlay p {
        margin-top: 35px;
    }

    .testimonials .inner-box {
        padding: 40px 25px;
    }

    .hear .foot-social a {
        width: 62px;
        height: 62px;
    }

    .hear .foot-social a svg {
        width: 32px;
    }

    .hear .foot-social {
        max-width: 358px;
    }

    .hear h2 {
        max-width: 605px;
    }
    
    .care h2 {
        font-size: 38px;
    }
    
    .services .service.invisalign,
    .services .service.veneers {
        padding: 0 25px;
    }
    
    .services .service .service-text {
        display: flex;
        flex-direction: column;
    }
    
    .services .service .service-text .main-btn {
        margin: 0AUTO ;
    }
    
    .faq h2 {
        font-size: ;
    }
}

@media (max-width: 600px) {
    .welcome .button-wrap {
        justify-content: center;
        max-width: 350px;
        flex-wrap: wrap;
        gap: 25px 40px;
    }

    .welcome .main-btn {
        margin: 0;
    }

    .slick-next {
        top: auto;
        bottom: -70px;
        right: 170px;
    }
    
    .care .main-btn.teal-border, .care a.main-btn.teal-border {
        padding: 25px 20px !important;
    }

    .slick-prev {
        top: auto;
        bottom: -68px;
        left: 160px;
    }

    .hear .button-wrap {
        flex-flow: column;
        gap: 25px;
    }

    .hear .main-btn {
        margin: 0;
    }
    
    .faq .button-wrap .main-btn.dark-blue-border {
        padding: 26px 40px;
    }
}
