.common_bg {
    background: url('../img/why-choose-us-bg.jpg') repeat center center;
    background-attachment: scroll;
    background-size: auto;
    background-repeat: repeat;
    height: 100%;
    min-height: 100%;
}

.n_section_title {
    font-size: 40px;
    line-height: 1.4;
}

.n_section_title_two {
    font-size: 59px;
    font-weight: bold;
    line-height: 1.2;
}

.n_section_title_four {
    font-size: 100px;
    letter-spacing: -3px;
}

.cb-cta .n_section_title_two {
    font-size: 78px;
}

.n_section_title_three {
    font-size: 59px;
    font-weight: 300;
    line-height: 1.2;
}

.section_title_3 {
    font-size: 40px;
    line-height: 1;
    font-family: 'Codec Pro';
}

.section_title_4 {
    font-size: 48px;
}

/* Top Dentist Badge Section */
.top_dentist_badge_section {
    position: relative;
    margin-top: -91px;
    padding-top: 91px;
    overflow: hidden;
    background-image: url('../img/top-dentist-bg.jpg');
    /* example background */
    background-size: cover;
    background-position: center;
    background-repeat: repeat;

}

.top_dentist_badge_box {
    gap: 15px;
    padding: 30px 0;
}

.top_dentist_badge img {
    max-height: 90px;
    width: auto;
}

.top_dentist_badge_box h1 {
    margin: 0;
    color: #e1c785;
    /* gold color */
    letter-spacing: 1px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .n_section_title {
        font-size: 33px;
        line-height: 1.2;
    }

    .top_dentist_badge img {
        max-height: 60px;
        /* shrink logos */
    }
}


/* Features Section */
.features-section {
    display: inline-flex;
    position: relative;
    overflow: hidden;
}

.features-section h1,
.features-section h2,
.features-section h3 {
    color: #7c621d;
}

.features-section p {
    font-size: 26px;
    color: #7c621d;
    letter-spacing: 1px;
    font-family: 'Codec Pro';
}

.feature h3 {
    font-size: 18px;
    margin: 10px 0 20px;
    color: #363636;
    font-family: 'Codec Pro';
}

.feature p {
    font-size: 16px;
    color: #363636;
    margin: 0;
    padding: 0 20px;
}

.feature-card {
    width: 100%;
    margin: 0 auto;
}

.feature-card img {
    width: 100%
}

.features-grid .feature {
    transition: all 0.3s ease;
}

.features-grid .feature:hover {
    transform: translateY(-5px);
}


/* Orthodontics Hero Section */
.hero {
    display: flex;
    flex-direction: row;
    /* left → right */
    border-radius: 20px;
    overflow: hidden;
    overflow: hidden;
    padding: 0;
    background: #e1c785;
}

.hero-left {
    flex: 0 0 60%;
    padding: 150px 60px 150px 80px;
    background: url('../img/teen-kids-bg.jpg') no-repeat center center;
    background-size: cover;
}

.second_row_img.hero-left {
    background: url('../img/adult-bg.jpg') no-repeat center center;
}

.hero-right {
    flex: 0 0 40%;
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        /* stack */
    }

    .hero-left,
    .hero-right {
        flex: 1;
    }

    .hero-left {
        padding: 60px;
    }
}







.hero-left h5 {
    font-size: 17px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #7c621d;
    font-family: 'Codec Pro';
}

.hero-left h2 {
    color: #7c621d;
    margin: 0;
}

.hero-left h3 {
    font-weight: 400;
    font-size: 3rem;
    color: #7c621d;
    margin: 0;
}

.border_line {
    width: 283px;
    /* margin: 0 auto; */
    position: relative;
}

.flex-row-reverse .border_line {
    left: 0;
    width: 255px;
}

.hero-left p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #7c621d;
    max-width: 450px;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}


/******************** Bio Section ********************/

.bio-section {
    background-image: url("../img/bio_bg.jpg");
    background-attachment: scroll;
    background-size: auto;
    background-repeat: repeat;
    height: 100%;
    min-height: 100%;
    padding-top: 60px;
}

.bio-section-container {
    height: 100%;
    min-height: 100%;
    position: relative;
}

/* LEFT COLUMN */

.bio-left h2 {
    color: #FFF;
    margin: 0;
}

.bio-left h2 span {
    font-weight: 300;
    font-style: italic;
}

.sub-title {
    display: inline-block;
    margin: 15px 0 60px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #FFF;
    color: #2c2209;
    font-size: 17px;
    font-style: italic;
}

.bio-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px 80px 20px 30px;
    margin-bottom: 60px;
    position: relative;
    margin-left: 80px;
}

.bio-title {
    position: relative;
    z-index: 2;
    margin-right: 3rem;
}

.bio-box p {
    line-height: 1.6;
    color: #FFF;
    position: relative;
    z-index: 2;
    font-size: 19px;
}

.education {
    max-width: 440px;
    width: 100%;
    margin-left: 200px;
}

.education h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFF;
    text-align: center;
    position: relative;
    z-index: 2;
}

.education p {
    margin: 8px 0;
    color: #FFF;
    position: relative;
    z-index: 2;
    font-size: 16px;
}

.education strong {
    font-weight: 700;
    color: #FFF;
}

/* RIGHT COLUMN */
.bio-right {
    position: relative;
    text-align: center;
}

.bio-right img {
    max-width: 100%;
    border-radius: 12px;
}

.highlight {
    width: 245px;
    text-align: center;
    float: right;
}

.highlight p {
    font-size: 14px;
    display: block;
    color: #fff;
    position: relative;
    z-index: 2;
}

.highlight span {
    width: 40px;
    display: block;
    margin: 5px auto;
}

.doctor_img {
    position: absolute;
    bottom: -1px;
    right: 0;
}

/* RESPONSIVE */
@media (min-width: 1400px) {
    .doctor_img {
        width: 990px;
    }
}

@media (max-width: 992px) {
    .n_section_title_two {
        font-size: 3rem;
    }

    .bio-section {
        grid-template-columns: 1fr;
    }

    .bio-left {
        order: 2;
    }

    .bio-right {
        order: 1;
    }

    .highlight {
        text-align: center;
    }

    .n_section_title_two {
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    .top_dentist_badge_box h1 {
        font-size: 33px;
    }

    .bio-box {
        margin-left: 0px;
    }

    .bio-box p {
        font-size: 21px;
    }

    .hero-left {
        padding: 50px 30px;
    }

    .border_line {
        width: 300px;
        left: 0;
    }

    .n_section_title_two {
        font-size: 2.6rem;
        line-height: 1.2;
    }

    .hero-left h3 {
        font-size: 33px;
    }

    .hero-left p {
        font-size: 19px;
    }

    .c-a-adults .pn_reverse .content_area_row .content_area h2,
    .c-a-adults .content_area_row .content_area h2 {
        font-size: 35px;
    }

    .capt-2 .add_binifits .capt2 .flex-row-reverse .content_area_row.py-5.m-0 {
        padding-left: 0;
        padding-right: 0;
    }

    .c-a-adults .p_reverse .add_binifits .fb_content p {
        max-width: 560px;
        text-align: center;
        float: none;
    }

}

@media (max-width: 575px) {

    .highlight {
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}



/* Card Section */

.card-container {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 5px;
    justify-content: center;
}

.card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    color: #fff;
    min-width: 573px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}

.card-container .card:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
}

.card-content {
    position: absolute;
    z-index: 2;
}

.card-content {
    position: absolute;
    z-index: 2;
    width: 100%;
    padding: 30px;
    bottom: 0;
    left: 0;
}

.card h2 {
    font-size: 24px;
    margin: 0 0 10px;
    color: #FFF;
    text-align: center;
    font-family: 'Codec Pro';
}

.card h4 {
    color: #FFF;
    font-family: 'Codec Pro';
}

.card p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.button_warper {
    text-align: center;
    display: flex;
}

.card_con_0,
.card_con_1,
.card_con_2,
.card_title_1,
.card_title_2,
.card_title_0 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.card_title_0 {
    max-width: 302px;
}

.card_title_1 {
    max-width: 364px;
}

.card_title_2 {
    max-width: 350px;
}

.card_con_1,
.card_con_0 {
    max-width: 300px;
}

.card_con_2 {
    max-width: 350px;
}





/* Responsive */
@media (max-width: 992px) {
    .card-container {
        grid-template-columns: 1fr;
    }

    .card {
        max-width: 425px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}



/* Smile Solutions Section */
.smile-solutions-section {
    position: relative;
    padding: 150px 0px;
    color: #333;
}

.smile-solutions-overlay {
    padding: 0px 15px;
    max-width: 1000px;
    width: 100%;
}

.cb-cta .smile-solutions-overlay {
    padding: 0px 15px;
    max-width: 820px;
    width: 100%;
}

.cb-cta .smile-solutions-content p {
    font-size: 35px;
}

.smile-solutions-content h2 {
    margin-bottom: 40px;
    color: #424242;
}

.smile-solutions-content h2 span {
    font-weight: 300;
}

.smile-solutions-content p {
    font-size: 24px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #424242;
    width: 100%;
}

.smile-solutions-content.justify-content-start p {
    max-width: 450px;
}

.smile-solutions-content p.w-100 {
    max-width: 100%;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .smile-solutions-section {
        padding: 60px 15px;
    }

    .smile-solutions-content p {
        font-size: 20px;
    }
}


/* Treatments Carousel Section */

.treatments-carousel {
    padding: 70px 0px;
}

.treatments-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.treatments-header h2 {
    font-size: 4rem;
    font-weight: bold;
    color: #b3954c;
    margin-bottom: 5px;
    letter-spacing: -3px;
}

.treatments-header h2 span {
    font-style: italic;
    color: #b3954c;
    font-weight: 400;
    display: inline-block;
}

.treatments-nav button {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    padding: 0;
    border: 0;
    background: no-repeat;
}

.treatments-nav button:hover {
    transform: scale(1.1);
}


.treatment-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
}

.treatment-card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.treatment-content {
    position: absolute;
    bottom: 30px;
    left: 20px;
    color: #fff;
    width: 100%;
    max-width: 280px;
}

.treatment-content small {
    font-size: 14px;
    font-weight: 600;
}

.treatment-content h2 {
    color: #fff;
    font-size: 36px;
}

.treatments-nav {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

/* Responsive */
@media (max-width: 1400px) {
    .treatments-header h2 {
        font-size: 3rem;
    }
}

@media (max-width: 1200px) {
    .treatments-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .treatments-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .treatment-card {
        width: 100%;
        max-width: 516px;
        margin-left: auto;
        margin-right: auto;
    }

    .treatments-header h2 {
        font-size: 3rem;
    }
}




/* Guarantee Section */

.guarantee-section {
    display: flex;
    align-items: center;
    justify-content: end;
    position: relative;
    background: url('../img/guarantee-bg.jpg') center center/cover no-repeat;
    padding: 150px;
    text-align: end;
}

.guarantee-content {
    max-width: 690px;
    width: 100%;
}

.subheading {
    font-weight: normal;
    color: #7c621d;
    font-size: 27px;
    font-family: 'Codec Pro';
}

.codec {
    font-family: 'Codec Pro';
}

.guarantee-content .subheading {
    color: #b3954c;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.guarantee-content-box {
    max-width: 445px;
    float: right;
}

.guarantee-content h2 {
    margin-bottom: 50px;
    color: #b3954c;
    line-height: 1;
    font-size: 5rem;
    word-spacing: -5px;
    font-weight: bold;
}

h2.n_section_title_two span {
    display: inline-block;
}

.guarantee-content h2.n_section_title_two span {
    font-style: italic;
    color: #b3954c;
    font-weight: 400;
    position: relative;
    font-size: inherit;
}


.page_content_row {
    border-bottom: .1px solid #FFF;
}

.content_area_row .content_area h2 {
    text-align: right;
}

.flex-row-reverse .content_area_row .content_area h2 {
    text-align: left;
}

.content_area_row ul {
    margin-top: 20px;
}

.capt .single_content .content_img {
    border-radius: 20px 0px 0px 20px;
    -webkit-border-radius: 20px 0px 0px 20px;
    -moz-border-radius: 20px 0px 0px 20px;
    -ms-border-radius: 20px 0px 0px 20px;
    -o-border-radius: 20px 0px 0px 20px;
}

.capt .single_content.nothing .content_img {
    border-radius: 0px 20px 20px 0px;
    -webkit-border-radius: 0px 20px 20px 0px;
    -moz-border-radius: 0px 20px 20px 0px;
    -ms-border-radius: 0px 20px 20px 0px;
    -o-border-radius: 0px 20px 20px 0px;
}



@media (min-width: 992px) and (max-width: 1400px) {

    .content_area_row {
        padding-left: 15px;
        padding-right: 15px;
    }

    .flex-row-reverse .content_area_row {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 992px) {

    .content_area_row {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 50px;
    }

    .flex-row-reverse .content_area_row {
        padding-left: 10px;
        padding-right: 10px;
    }

    .retainers-page .content_area_row .content_area h2,
    .content_area_row .content_area h2 {
        text-align: left;
        font-size: 3rem;
    }

    .instagram h2 {
        font-size: 3rem;
    }

    ,
}

@media (max-width: 768px) {

    .content_area_row,
    .flex-row-reverse .content_area_row {
        padding-left: 0;
        padding-right: 0;
    }

    .content_area_row .content_area p {
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .content_area_row {
        padding-left: 0;
        padding-right: 0;
    }

}

h2.under_line_img span,
.page_banner_content h1 span,
.guarantee-content h2 span,
.content_area h2 span,
h2.add_span span {
    position: relative;
}

.cta-4.smile-solutions-section h2.n_section_title_two span::after,
h2.n_section_title_two span::after,
.wk_text_box h2 span::after,
.wk_text_box h2 span::after,
.fp_content h2:after,
.eto-text-box h2.add_span span::after,
h2.add_span span::after,
.content_area h2 span::after,
.guarantee-content h2 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 34px;
    bottom: -34px;
    background-image: url('../img/underline.png');
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
}

.touch_up .content_area h2 span::after {
    display: none;
}


h2.add_span span::after {
    background-image: url('../img/underline-2.png');
    width: 100%;
    height: 20px;
    bottom: -20px;
}

.page-teeth-whitening .content_area_row .content_area h2 span::after {
    background-image: url('../img/underline-b.png');
}

.flex-row-reverse .content_area h2 span::after {
    right: auto;
    left: 0;

}

.page-clear-aligner-touch-up .cta_bg .smile-solutions-content h2 span::after,
.cf_hero h2.n_section_title_two span::after,
.insurance_checker_box h2.n_section_title_two span::after {
    display: none;
}

.guarantee-content p {
    font-size: 21px;
    line-height: 1.6;
    color: #424242;
    max-width: 460px;
    float: right;
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .guarantee-section {
        padding: 70px 40px;
    }
}

@media (max-width: 600px) {
    .guarantee-section {
        padding: 50px 15px;
    }
}


/* Testimonial Sectin */
.testimonial-section {
    position: relative;
    background: url('../img/testimonial-bg.jpg') center center/cover no-repeat;
    padding: 110px 0px;
}

.testimonial-container {
    text-align: center;
}

.testimonial-section h2 {
    margin-bottom: 50px;
    color: #FFF;
}

.testimonial-section h2 span {
    font-weight: 300;
    position: relative;
}

.page_banner_content h1 span::after,
.testimonial-section h2 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 36px;
    bottom: -36px;
    background-image: url('../img/underline-w.png');
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
}

.no_underline h1 span::after,
.no_underline h2 span::after {
    display: none;
}

.testimonial-item {
    background: url('../img/testimonial-item.jpg') repeat center center;
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

.active.center .testimonial-item {
    background: #fff;
}

.testimonial-item-box {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 550px;
}

.testimonial-info-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.testimonial-item .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
}

.testimonial-item .name {
    font-weight: bold;
    color: #424242;
    font-size: 22px;
    font-family: 'Codec Pro';
}

.testimonial-item .stars {
    color: #b3954c;
}

.testimonial-item p {
    color: #363636;
    font-size: 22px;
}

/* Hide default nav placement */
.testimonial-section .treatments-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: space-between;
    width: 63%;
    margin: 0;
    gap: 0;
    z-index: 2;
}

.testimonial-section .treatments-nav .owl-prev {
    margin-right: auto;
}

.testimonial-section .treatments-nav .owl-next {
    margin-left: auto;
}


@media (max-width: 992px) {
    .testimonial-section .treatments-nav {
        width: 78%;
    }

}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 0px;
    }

    .testimonial-item-box {
        min-height: 550px;
    }

    .testimonial-item p {
        font-size: 19px;
    }

    .testimonial-section .owl-treatments {
        width: 94%;
    }
}


/* Your Smile Journey Section */

.your-smile-journey {
    background: url('../img/your_smile.jpg') center center/cover no-repeat;

}

.t_w,
.t_w strong,
.t_w span,
.t_w h3,
.t_w h3 span,
.t_w h4,
.t_w h4 span,
.t_w p,
.t_w h2 {
    color: #fff !important;
}

.guarantee-section.your-smile-journey h2 span::after {
    background-image: url('../img/underline-w.png');
}


/* Visit Section */

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

/* Map */
.visit-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Info */
.visit-info {
    padding: 0px 140px 0 15px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.visit-info-box {
    max-width: 588px;
    width: 100%;
    text-align: right;
}

.visit-info-box strong,
.visit-info-box p {
    color: #363636;
}

.visit-info h2 {
    color: #b3954c;
    line-height: 1.2;
}

.visit-info h2 i {
    font-weight: 300;
    display: block;
}

.contact-row {
    display: flex;
    justify-content: space-between;
}

.contact-item p,
.contact-item {
    font-size: 20px;
}

.info-icon {
    width: 30px;
    float: right;
    margin-bottom: 10px;
}

/* Hours */
.hours {
    margin-top: 15px;
    font-size: 20px;
}

.hours div {
    display: flex;
    margin-bottom: 6px;
    gap: 10px;
    justify-content: end;
}

.hours span {
    margin-right: 0px;
}

.hours strong {
    font-weight: bold;
}


/* Responsive */
@media (max-width: 1400px) {
    .visit-info {
        padding: 100px 50px 0 30px;
    }
}

@media (max-width: 992px) {

    .visit-info {
        padding: 60px 15px 0 0;
        display: flex;
        justify-content: end;
    }

    .contact-row {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .visit-container {
        grid-template-columns: 1fr;
    }
}


/* Footer Section */

.instagram h2 {
    color: #b3954c;
    font-size: 46PX;
    text-align: right;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.1;
}

.instagram h2 span {
    font-weight: 300;
    font-style: italic;
}

ul.instagram.mt-4 {
    width: 250px;
    text-align: center;
}

.contact-info a,
.w_office_address a p,
.w_office_address p {
    color: #b3954c;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer_logo>a {
        left: inherit;
        margin-right: auto;
        margin-left: auto;
    }

    ul.instagram.mt-4,
    .footer .g_lang_box {
        margin-right: auto;
        margin-left: auto;
    }

    .instagram h2 {
        font-size: 2.7rem;
        text-align: center;
    }
}



/* Internal Pages Edits Style */

/* Top Page Banner */

.top_page_banner {
    padding-top: 200px;
    padding-bottom: 180px;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.page-clear-aligners-for-teens .top_page_banner {
    background-position: left center;
}

.page_banner_content h1 {
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    line-height: 1;
    margin-bottom: 50px;
}

h2.n_section_title_two span,
.content_area h2 span,
.page_banner_content h1 span {
    font-weight: 300;
    position: relative;
}

.page_banner_content p {
    max-width: 501px;
    width: 100%;
    color: #fff;
    line-height: 1.6;
    font-size: 25px;
}

.justify-content-end .page_banner_content p {
    float: right;
}

@media (max-width: 768px) {
    .top_page_banner {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .page_banner_content h1 {
        text-align: center;
    }

    .page_banner_content p {
        text-align: center;
    }

    .btn-secions {
        justify-content: center;
    }
}


/* benefits section */
.common_bg_two {
    background: #d6bd79;
    background-image: url('../img/benefits_bg.jpg');
    background-repeat: repeat;
    height: 100%;
    min-height: 100%;
}

.section_benefits {
    text-align: center;
    padding: 70px 15px 40px 15px;
}

.section_benefits h2 {
    font-weight: 700;
    color: #7c621d;
    margin-bottom: 50px;
}

.benefits {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
    flex-wrap: wrap;
}

.benefit-card {
    background: #fff;
    border-radius: 50%;
    width: 380px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 60px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.29);
    text-align: center;
    margin-bottom: 50px;
}

.benefit-card h3 {
    font-size: 33px;
    font-weight: bold;
    font-style: italic;
    color: #7c621d;
    margin-bottom: 15px;
}

.benefit-card p {
    line-height: 1.5;
    color: #7c621d;
    font-size: 18px;
}

@media (max-width: 768px) {
    .benefit-card {
        min-width: 250px;
        min-height: 250px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .benefit-card {
        max-width: 300px;
        max-height: 300px;
    }
}

/* Second Call to Action Section */
.cta_bg {
    background: #353535;
    background-image: url('../img/cta_1_bg.jpg') no-repeat center center;
    background-attachment: scroll;
    background-size: auto;
    background-size: cover;
    height: 100%;
    min-height: 100%;
    padding: 150px 0;
}

.cta_bg .smile-solutions-content h2 span {
    position: relative;
}

.cta_bg .smile-solutions-content h2 span::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 33px;
	bottom: -33px;
	background-image: url('../img/underline-w.png');
	background-repeat: no-repeat;
	background-size: cover;
	right: 0;
}

@media (max-width: 768px) {


    .pb_1 {
        padding-bottom: 60px;
    }

    .cta_bg .smile-solutions-content h2 {
        font-size: 3rem;
    }

    .cta_bg {
        padding: 50px 0;
    }
}


/* Treatments Page Edits */
.section_treatments {
    padding: 70px 0 40px 0;
}

.section_treatments h2 {
    color: #7c621d;
}

.section_treatments h3 {
    color: #7c621d;
    font-weight: 400;
}

.treatments-card {
    background: #f8f7f7;
    border-radius: 20px;
    overflow: hidden;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}

.treatments-card:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
}

.treatments-card-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.treatments-card-content {
    padding: 50px 0px 0px 30px;
    position: relative;
    min-height: 230px;
}

.treatments-card-content h3 {
    font-size: 35px;
    font-weight: bold;
    color: #b3954c;
    margin-bottom: 15px;
}

.treatments-card-content p {
    margin-bottom: 10px;
    color: #363636;
    width: 80%;
    font-size: 17px;
}

.treatments-card-content h3 span {
    font-weight: 300;
    font-style: italic;
}

.button-rounder {
    background: #b3954c;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

.button-rounder:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.btn-secions-two {
    position: absolute;
    right: 30px;
    bottom: 60px;
}


/* Treatment Option */

.treatment_option {
    padding-top: 20px;
    padding-left: 70px;
    padding-bottom: 75px;
}

.treatment_op_container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

.treatment_op_container::before {
    position: absolute;
    content: '';
    background-image: url('../img/benefits_bg.jpg');
    background-repeat: repeat;
    left: 0;
    top: 70px;
    width: 100%;
    height: 100%;
    border-radius: 20px 0 0 20px;
}

.to-text-box {
    flex: 1 1 42%;
    padding-left: 100px;
    position: relative;
    z-index: 1;
}

.to-text-box h1 {
    font-size: 2em;
    margin: 0;
    color: #4a3b0f;
}

.cbw_t_color h2,
.to-text-box h2 {
    color: #7c621d;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.cbw_t_color,
.cbw_t_color li,
.cbw_t_color p,
.to-text-box p {
    line-height: 2;
    color: #7c621d;
}

.to_bgi {
    flex: 1 1 58%;
    position: relative;
    z-index: 1;
}

.to_bgi img {
    object-fit: cover;
}



/* What Are the Benefits of Gold Braces? */
.benefits_opt {
    padding-top: 0;
    padding-bottom: 0;
}

.benefits_sec::before {
    background-position: center center;
    height: 85%;
}

@media (max-width: 1600px) {
    .to-text-box {
        padding-left: 50px;
    }

    .to-text-box h2 {
        font-size: 3rem;
    }

    .to-text-box p {
        line-height: 1.6;
    }
}

@media (max-width: 1400px) {

    .to-text-box {
        padding-left: 30px;
    }
}

@media (max-width: 1200px) {
    .treatment_option {
        padding-left: 30px;
    }

    .to-text-box {
        padding-left: 15px;
    }

    .to-text-box p {
        line-height: 1.5;
    }

    .benefits_sec::before {
        height: 90%;
    }

    .treatment_op_container::before {
        top: 30px;
    }
}

@media (max-width: 992px) {
    .treatment_op_container {
        flex-direction: column;
    }

    .treatment_option {
        padding-top: 30px;
        padding-left: 30px;
        padding-bottom: 30px;
    }

    .treatment_op_container::before {
        top: 0;
    }

    .benefits_sec::before {
        background-position: center center;
        height: 100%;
    }

    .to-text-box,
    .to_bgi {
        flex: 1;
        width: 100%;
    }

    .to-text-box {
        padding: 50px;
    }

    .to-text-box h2 {
        font-size: 2rem;
    }

    .to-text-box p {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .to-text-box p br {
        display: none;
    }

    .n_section_title_two {
        font-size: 2rem;
    }

    .to-text-box p {
        line-height: 1.6;
    }

    .to-text-box {
        padding: 30px 15px;
    }

}

/* Clear Aligner Treatment */

.clear-aligner-content h2 {
    color: #a88c43;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.clear-aligner-content h2 span {
    font-weight: normal;
}

.clear-aligner-content p {
    color: #424242;
    margin-bottom: 50px;
    max-width: 917px;
    text-align: left;
}

.cta_bg .smile-solutions-content.clear-aligner-content h2 span::after {
    background-image: url('../img/underline.png');
    width: 400px;
    height: 34px;
    bottom: -34px;
}




/* Cost and Financing Page */

/* Top Hero Area */

.cf_hero {
    text-align: center;
    color: #FFF;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid #FFF;
}

.cf_content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: auto;
    padding: 0 15px;
}

.cf_content h1 {
    margin-bottom: 10px;
    line-height: 1.2;
}

.cf_content h1,
.cf_content h2 {
    text-align: center;
}

.cf_content h1 span,
.cf_content h2 span {
    font-style: italic;
    font-weight: 400;
}

.cf_content p {
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF;
    text-align: left;
}


/* Clear Pricing and Flexible Payments */
.fp_hero {
    border-bottom: none;
}

.fp_content {
    max-width: 770px;
}

.cf_content.fp_content.ri_content {
    max-width: 960px;
}

.fp_content h2 {
	color: #a88c43;
	position: relative;
	margin-bottom: 50px;
	display: inline-block;
}

.fp_content h2::after {
    max-width: 340px;
    bottom: -36px;
    right: 0;
    left: 0;
    margin: auto;
}

.fp_content p {
    color: #363636;
    text-align: center;
}

/* Affordable Payment Plans */
.payment_plans {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

.payment_plans .to-text-box h2 {
    color: #a88c43;
    margin-bottom: 40px;
}

.payment_plans .to-text-box p {
    color: #363636;
}

.payment_plans .to-text-box h2 {
    position: relative;
    display: inline-block;
}

.payment_plans .to-text-box h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 34px;
    bottom: -34px;
    background-image: url('../img/underline.png');
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
}

.payment_plans .to-text-box h2 span::after {
    display: none;
}



/* Insurance Checker */
.insurance_checker {
    position: relative;
    background-image: url('../img/benefits_bg.jpg');
    background-repeat: repeat;
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Insurance Checker Form Styling */
.insurance_checker_box {
    max-width: 1175px;
    margin: 0px auto;
    color: #7c621d;
    overflow: hidden;
    padding: 0 15px;
}

.insurance_checker_box p br {
    display: none;
}

.insurance_checker_box h2 {
    margin-bottom: 0.5rem;
    color: #7c621d;
}

.insurance_checker_box h2 em {
    font-style: italic;

}

.insurance_checker_box p {
    color: #7c621d;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Inputs & textarea */

.insurance-checker .form-row p {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.insurance-checker .form-row p span.wpcf7-form-control-wrap {
    flex: 1;
    min-width: calc(50% - 0.5rem);
}

@media (max-width: 768px) {
    .insurance-checker .form-row p {
        flex-direction: column;
    }

    .insurance-checker .form-row p span.wpcf7-form-control-wrap {
        min-width: 100%;
    }
}

.insurance-checker .wpcf7-form-control {
    color: #7c621d;
    background-color: RGBA(255, 255, 255, 0.5);
    border: 1px solid RGBA(255, 255, 255, 0.5);
}

.insurance-checker .wpcf7-form-control.insurance-btn {
    background-color: #fff;
    border: 0 none;
}

.insurance-checker .wpcf7-form-control.insurance-btn:hover {
    color: #000;
}

/* Placeholder color */
.insurance-checker .wpcf7-form-control::placeholder {
    color: #7c621d;
    /* your custom color */
    opacity: 1;
    /* ensures full visibility in Firefox */
}

/* Optional: focus state (lighter placeholder when input is active) */
.insurance-checker .wpcf7-form-control:focus::placeholder {
    color: #7c621d;
}


.cta-4 p {
    color: #424242;
    margin-bottom: 50px;
    max-width: 1000px;
    text-align: left;
}


/* Gold Braces Template  */
/* comparison-section */

/* Section styling */
.comparison-section {
    background: #f3e3c4;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
    padding: 60px 0 100px 0;
    text-align: center;
    color: #7c621d;
}

/* Container */
.comparison-section .container {
    max-width: 1250px;
    margin: 0 auto;
    width: 100%;
}

/* Heading */
.comparison-section h2 {
    font-weight: 700;
    margin-bottom: 12px;
    color: #7c621d;
    font-style: italic;
}

.comparison-section h2 span {
    font-weight: 400;
}

/* Subtitle */
.comparison-section .subtitle {
    line-height: 1.5;
    color: #7c621d;
}

.card_col {
    margin-top: 30px;
}

/* Grid layout */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 291px));
    justify-content: center;
    gap: 20px;
}

/* Card styling */
.comparison-grid .card_t {
    background: #fcf8f2;
    padding: 30px 20px 15px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 15px;
    border: 1px solid #7c621d;
    min-height: 428px;
}

.comparison-grid .card_t:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.comparison-grid .card_col h3 {
    font-weight: 700;
    margin-bottom: 14px;
    color: #7c621d;
    font-style: italic;
    line-height: 1.6;
}

.comparison-grid .card_t p {
    line-height: 1.6;
    color: #383b3e;
}

/* Responsive adjustments */


@media (max-width: 1250px) {
    .comparison-grid {
        grid-template-columns: repeat(2, minmax(250px, 291px));
    }

    .n_section_title_two {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .comparison-grid .card_t {
        min-height: auto;
        padding: 20px 15px 10px 15px;
    }
}



/* Retainer Insurance Template  */
.payment_plans.insurance_checker.p-0 {
    border-radius: 0;
}

.eto-text-box,
.et_image {
    flex: 1 1 50%;
}

.eto-text-box p,
.eto-text-box h2 {
    color: #7c621d;
}


.wk_text_box h2 span::after,
.eto-text-box h2.add_span span::after {
    background-image: url('../img/underline-3.png');
    left: 0;
    right: auto;
}

.eto-text-box h2 {
    margin-bottom: 40px;
}

.text_box {
    width: 100%;
    max-width: 770px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {

    .eto-text-box,
    .et_image {
        flex: 1 100%;
    }

    .text_box {
        padding: 30px;
    }
}

@media (max-width: 768px) {

    .text_box {
        padding: 30px 15px;
    }
}


/* Smile Upgrades Template */
.whitening_kit {
    padding: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.w_k_container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.wk_text_box p,
.wk_text_box h2 {
    color: #7c621d;
}

.wk_text_box h2 {
	margin-bottom: 25px;
	line-height: 70px;
}

.wk_text_box h2 span {
    font-weight: 400;
    position: relative;
    font-style: italic;
}

.wk_text_box p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.wk_text_box .btn-secions {
    justify-content: center;
}

.wk_text_box {
    padding: 30px 30px 0px 30px;
}

@media (max-width: 821px) {
    .wk_text_box p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .whitening_kit {
        padding: 30px;
    }


    .w_k_container {
        height: 100%;
    }

    .wk_text_box {
        padding: 30px 15px;
    }
}

@media (max-width: 576px) {

    .whitening_kit {
        padding: 30px 15px;
    }
}



.gummy_smile_fillers {
    padding-top: 180px;
    padding-bottom: 180px;
}

.gummy_smile_fillers h2.n_section_title_two {
    font-size: 59px;
}

.gummy_smile_fillers h2,
.gummy_smile_fillers p {
    color: #7c621d;
}

.gummy_smile_fillers p {
    margin-bottom: 40px;
    width: 80%;
}

.gummy_smile_fillers h2 {
    margin-bottom: 40px;
}

.gummy_smile_fillers h2 span {
    position: relative;
    font-weight: 400;
    font-style: italic;
    display: inline-block;
}

.gummy_smile_fillers h2 span::after {
	background-image: url('../img/underline-3.png');
	left: 0;
	right: auto;
}

.gummy_smile_fillers_content {
    width: 50%;
}

@media (max-width: 768px) {

    .gummy_smile_fillers p {
        width: 100%;
    }

    .gummy_smile_fillers h2 span {
        display: inline-block;
    }

    .gummy_smile_fillers {
        padding-top: 50px;
        padding-bottom: 55px;
    }
}


/* Clear Aligner Template */
.aligners-section.common_bg_two {
    padding-top: 50px;
    padding-bottom: 70px;
}

.ca-container {
    width: 100%;
    display: grid;
    /* Change this line */
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    column-gap: 1.5rem;
}


/* Center large card */
.center-card {
    /* Adjust grid placement to fit the new equal-width columns */
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    background-color: #d8c492;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgb(117 92 39 / 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.center-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Smaller cards container on left and right */
/* Left column cards */
.left-top,
.left-bottom {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 0 20px rgb(117 92 39 / 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.left-top {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.left-bottom {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.right-top,
.left-top {
    margin-bottom: 24px;
}

/* Right column cards */
.right-top,
.right-bottom {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 0 20px rgb(117 92 39 / 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.right-top {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.right-bottom {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* Images in smaller cards */
.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
}

/* Card headings */
.card_content {
    position: relative;
    padding: 30px 20px 5px 20px;
}

.card_content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #b3954c;
    margin-bottom: 0.6rem;
}

.large-item .card_content h3 {
    font-size: 42px;
}

.large-item .card_content h3 i {
    font-size: 40px;
}

.card_content h3 i {
    font-weight: 400;
    font-style: italic;
    color: #b29753;
    font-size: 34px;
}

/* Card paragraph */

.card_content p {
    font-size: 17px;
    line-height: 1.4;
    color: #363636;
    margin-bottom: 1.2rem;
    width: 80%;
}

.large-item .card_content p {
    font-size: 24px;
}

.ca-container .center-card,
.ca-container article {
    transition: transform 0.3s ease;
}

.ca-container .center-card:hover,
.ca-container article:hover {
    transform: translateY(-5px);
}

/* Arrow icon style - using inline SVG */
.card_content .treatments-next {
    border: none;
    background: #b3954c;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0;
    text-align: center;
    padding: 0;
    cursor: pointer;
    transition: 0.3s ease;
    position: absolute;
    right: 20px;
    bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
    -o-transition: 0.3s ease;
}

.card_content .treatments-next:hover {
    transform: scale(1.1);
}

/* Typography for main title */

.title-section h2 {
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #7c621d;
}

.title-section h4 {
    color: #7c621d;
    font-size: 27px;
    font-weight: normal;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .ca-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .center-card {
        grid-column: auto;
        grid-row: auto;
        height: 350px;
    }

    .left-top,
    .left-bottom,
    .right-top,
    .right-bottom {
        grid-column: auto;
        grid-row: auto;
        padding: 1rem;
    }

    .title-section {
        grid-column: auto;
        grid-row: auto;
        margin-top: 2rem;
    }
}



/* Clear Aligners for Kids */
/* ====================================== */
.fp_content.fpc_2 {
    max-width: 990px;
}

.fp_content.fpc_2 h3::after,
.fp_content.fpc_2 h2::after {
    display: none;
}

.fpc_2.fp_content h2 {
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.fp_content.fpc_3 {
    max-width: 1350px;
}

.fpc_3.fp_content h2 {
    margin-bottom: 40px;
    font-size: 45px;
}

.fpc_3.fp_content h2 span {
    font-size: 45px;
}

.fpc_3.cf_text {
    max-width: 870px;
    margin-left: auto;
    margin-right: auto;
}

.pn_reverse {
    padding: 70px 0 70px 70px;
    border-bottom: 1px solid #FFF;
}

.p_reverse {
    padding: 70px 70px 70px 0px;
    border-bottom: 1px solid #FFF;
}

.add_binifits {
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.page-teeth-whitening .content_area_row .content_area h2 {
    color: #424242;
}

.add_binifits .content_area_row .content_area h2 {
    color: #7e6522;
    margin-bottom: 10px;
    font-size: 44px;
}

.c-a-kids .add_binifits .content_area_row .content_area h2 {
    font-size: 48px;
}

.c-a-kids .add_binifits .content_area_row .content_area h2 i {
    font-weight: 300;
}





.add_binifits .fb_content p {
    max-width: 440px;
    text-align: justify;
}

.p_reverse .add_binifits .fb_content {
    float: right;
}

.add_binifits .content_area_row .content_area,
.add_binifits .content_area_row .content_area p {
    color: #7e6522;
}

.add_binifits .content_area h2 span::after {
    display: none;
}

.add_binifits .content_area_row {
    padding-right: 0;
}

.p_reverse .add_binifits .content_area_row {
    padding-right: 100px;
    padding-left: 0;
}

@media (max-width: 1700px) {
    .p_reverse .add_binifits .content_area_row {
        padding-right: 70px;
        padding-left: 0;
    }

}

@media (max-width: 1600px) {
    .p_reverse .add_binifits .content_area_row {
        padding-right: 50px;
        padding-left: 0;
    }
}

@media (max-width: 1350px) {
    .p_reverse .add_binifits .content_area_row {
        padding-right: 30px;
    }
}


.content_area_row ul {
    margin-top: 20px;
    padding-left: 30px;
}

.content_area_row ul li {
    margin-bottom: 10px;
}



.ca-section {
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 70px;

}

/* Title styles */
.ca-section-title {
    text-align: center;
    margin-bottom: 3rem;
}



.ca-section .ca-card {
    border: 3px solid #aa974f;
    padding: 3rem;
    height: 100%;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    text-align: justify;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -ms-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ca-section .ca-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.ca-section .ca-card h3 {
    font-weight: 700;
    color: #b29753;
    margin-bottom: 1rem;
    font-size: 2.8rem;
    text-align: left;
    letter-spacing: -2px;
    font-style: italic;
}

.ca-section .ca-card h3 em {
    font-weight: 400;
}

.ca-section .ca-card p {
    color: #363636;
    margin: 0;
}

.ca-section .row .col {
    max-width: 550px;
}

/* Responsive vertical spacing to keep consistent ratio on smaller screens */
@media (max-width: 992px) {
    .ca-section .ca-card {
        padding: 2rem;
    }

}

@media (max-width: 575px) {
    .ca-section .row .col {
        margin-left: auto;
        margin-right: auto;
    }
}


.capt .content_area_row {
    padding-left: 30px;
    padding-right: 80px;
}

.capt2 .nothing .content_area_row {
    padding-left: 50px;
    padding-right: 0px;
}

.capt .content_area_row .content_area .pc_content {
    width: 90%;
    float: left;
}

.capt .nothing .content_area_row .content_area .pc_content {
    float: right;
}

.page-clear-aligners-for-kids .fp_content h2::after,
.page-clear-aligners-for-kids .content_area h2 span::after {
    display: none;
}

.capt .content_area_row .content_area .fb_content {
    width: 90%;
    float: right;
}

.capt .nothing .content_area_row .content_area .fb_content {
    float: left;
}

/* how_do_clear_braces_work */

.clear_braces_work {
    border-radius: 20px 0 0 20px;
    -webkit-border-radius: 20px 0 0 20px;
    -moz-border-radius: 20px 0 0 20px;
    -ms-border-radius: 20px 0 0 20px;
    -o-border-radius: 20px 0 0 20px;
}

.cbw_t_color p {
    margin-bottom: 30px;
}


/* Orthodontics Page Template 
============================================================================ */
.ortho-content {
    padding-top: 70px;
    padding-bottom: 70px;
}

.grid-container {
    width: 96%;
    max-width: 1320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
}

.ortho-content .row {
    display: flex;
    gap: 20px;
    /* Space between the grid items in a row */
}

.grid-item {
    background-color: #ffffff;
    padding: 0px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(117, 92, 39, 0.3);
    flex: 1;
    /*Thismakestheitemsinthe1stand3rdrowstakeequalwidth*/
    position: relative;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

/* Style for the large item in the second row */
.large-item {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.grid-item.large-item img {
    max-width: 684px;
}

.grid-item.large-item .card_content {
    padding: 20px 20px 5px 50px;
    align-content: center;
}

.grid-item {
    background-color: #FDF9F2;
    box-shadow: none;
    /* No shadow for the interceptive section */
    border-radius: 15px;
    padding: 0;
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
}

/* Media Queries for Responsiveness  */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* Early_Treatment_Page_Template
============================================================================ */

.early-treatment-cta h2 {
    color: #a88c43;
    font-weight: 700;
    margin-bottom: 50px;
}

.early-treatment-cta i {
    font-weight: 400;
}

.early-treatment-cta p {
    color: #424242;
    margin-bottom: 50px;
}

.gold-text {
    color: #b09552;
}

.cb-cta-section p {
    font-size: 26px;
}

.smile-solutions-section h2.n_section_title_two span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 36px;
    bottom: -36px;
    background-image: url('../img/underline-w.png');
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
}

.retainers-page .smile-solutions-section {
    padding: 70px 0px;
}

.retainers-cta.smile-solutions-section p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sss-sec.smile-solutions-section p {
    max-width: 100%;
    font-size: 24px;
    line-height: 2;
}

.cp_fp .fp_content h2 i {
    font-weight: 400;
    display: block;
}

.bio-left h2 span::after {
    display: none;
}

.cta-2 .smile-solutions-overlay {
    max-width: 1100px;
}


.cta-2 h2 {
    letter-spacing: -3px;
    word-spacing: -2px;
}

.cta-3 h2 span,
.cta-1 h2 span {
    font-style: italic;
}

.c_right {
    max-width: 695px;
    padding-right: 100px;
}

.cta-3 .c_center .n_section_title_two {
    letter-spacing: -3px;
}

.c_center {
    max-width: 900px;
    padding-right: 15px;
    padding-left: 15px;
}

.cta-3 .c_center {
    max-width: 1150px;
}

.cta-3 .smile-solutions-content h2.n_section_title_two span::after {
    display: block
}

.c_left {
    max-width: 700px;
    padding-left: 100px;
}

.cta-3 .c_left {
    max-width: 820px;
}

.cta-3.tu-cta .c_left {
    max-width: 685px;
}


.cta_content_2,
.cta_content_1 {
    max-width: 840px;
    margin-right: auto;
    margin-left: auto;
}

.cta_content_2 {
    max-width: 630px;
}

.banner_title {
    font-size: 5rem;
}

.catach .content_img {
    border-radius: 0 30px 30px 0;
}

.page-clear-aligners-for-teens .catach .content_area_row {
    padding-left: 80px;
    padding-right: 100px;
}

.page-clear-aligners-for-teens .catach .content_area_row .content_area h2 {
    font-weight: 300;
    font-size: 48px;
}

.page-clear-aligner-touch-up .cta_bg .smile-solutions-content h2 span::after {
    display: none;
}

.retainer_content .content_area_row .content_area h2 span,
.retainer_content .content_area_row .content_area h2 {
    font-size: 66px;
}

.b-black-solid {
    background: #424242;
}

.w_office_address h2 {
    color: #b3954c;
}

.retainer_content .content_area_row {
    padding-right: 30px;
}

.retainer_content .content_area h2 span::after {
    max-width: 100%;
}

.retainer_content .content_area_row .content_area,
.retainer_content .content_area_row .content_area p {
    line-height: 1.4;
    font-size: 23px;
    text-align: justify;
}

.retainer_content .flex-row-reverse .content_area_row .content_area h2 span,
.retainer_content .flex-row-reverse .content_area_row .content_area h2 {
    font-size: 46px;
}

@media (max-width: 1800px) {
    .card {
        min-width: 500px;
    }
}


@media (max-width: 1600px) {
    .card {
        min-width: 450px;
    }

    .page-clear-aligners-for-teens .catach .content_area_row {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1400px) {
    .card {
        min-width: inherit;
        width: 100%;
        max-width: 370px;
    }

    .card-content {
        padding: 15px;
    }

    .card_con_0,
    .card_con_1,
    .card_con_2,
    .card_title_1,
    .card_title_2,
    .card_title_0 {
        max-width: 100%;
        width: 100%;
    }

    .hero-left {
        padding: 150px 40px 150px 50px;
    }

    .testimonial-section .owl-nav {
        width: 69%;
    }

    .retainer_content .content_area_row {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 1200px) {
    .card-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .catach .bgi {
        padding-top: 50px;
    }

    .hero-left {
        padding: 150px 50px 150px 50px;
    }

    .testimonial-section .owl-nav {
        width: 80%;
    }

    .page-clear-aligners-for-teens .catach .content_area_row {
        padding-left: 0px;
        padding-right: 0px;
    }

    .page-clear-aligners-for-teens .catach .content_area_row .content_area h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .capt2 .single_content .content_area_row {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 992px) {
    .footer_logo>a {
        left: 0;
    }

    .guarantee-content h2,
    .instagram h2 {
        font-size: 3rem;
    }

    .testimonial-section h2 span::after {
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .smile-solutions-content p,
    .features-section p {
        font-size: 24px;
    }

    .testimonial-item p {
        font-size: 21px;
    }

    .testimonial-item-box {
        max-width: 400px;
    }

    .banner_title {
        font-size: 4rem;
    }

    .p_reverse .add_binifits .content_area_row {
        padding-right: 0;
        padding-left: 0;
    }

    .capt .content_area_row .content_area .fb_content {
        width: 100%;
        /* padding-left: 15px; */
    }

    .catach .content_img {
        border-radius: 30px;
    }

    .capt-2 .add_binifits .capt2 .flex-row-reverse .content_area_row,
    .capt-2 .add_binifits .capt2 .nothing .content_area_row {
        padding-left: 50px;
        padding-right: 50px;
    }

}

@media (max-width: 768px) {


    .c_right {
        max-width: 670px;
        padding-right: 15px;
    }

    .testimonial-section .owl-nav {
        width: 96%;
    }

    .n_section_title_two {
        font-size: 2.8rem;
    }

    .feature p {
        padding: 0;
    }

    .card-content {
        padding: 15px;
    }

    .card p {
        width: 100%;
    }

    .education {
        margin-right: auto;
        margin-left: auto;
    }

    .testimonial-section h2 span {
        display: inline-block;
    }

    .ortho-content .row {
        gap: 15px;
        justify-content: center;
    }

    .single-item {
        min-width: 380px;
        max-width: 516px;
    }

    .title-section h4 {
        font-size: 2rem;
    }

    .large-item {
        flex-direction: column;
        max-width: 516px;
    }

    .grid-item.large-item .card_content {
        padding: 30px 20px 5px 20px;
    }

    .cta-1.cta_bg .smile-solutions-content h2,
    .cta-2.cta_bg .smile-solutions-content h2 {
        font-size: 2.8rem;
        text-align: center;
    }

    .c_right {
        max-width: 670px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .c_left {
        max-width: 700px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .pn_reverse {
        padding: 40px 10px 40px 10px;
    }

    .p_reverse {
        padding: 40px 10px 40px 10px;
    }

    .clear_braces_work {
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .capt2 .nothing .content_area_row {
        padding-left: 15px;
        padding-right: 15px;
    }

    .fpc_2.fp_content h2,
    .cta-3 .c_center .n_section_title_two {
        letter-spacing: -1px;
    }

    .capt-2 .add_binifits .capt2 .flex-row-reverse .content_area_row,
    .capt-2 .add_binifits .capt2 .nothing .content_area_row {
        padding-left: 15px;
        padding-right: 15px;
    }

    .cf_hero {
        height: 100%;
        padding-bottom: 10px;
    }

    .capt-2 .content_area_row .content_area h2,
    .fpc_3.fp_content h2,
    .catach .content_area_row .content_area h2 {
        font-size: 2.5rem;
    }

    .ca-section .ca-card h3 {
        font-size: 2.2rem;
    }

    .card_title_0 {
        max-width: 303px;
    }

    .card_title_1 {
        max-width: 265px;
    }

    .card_title_2 {
        max-width: 240px;
    }
}

@media (max-width: 576px) {

    .cta_bg .smile-solutions-content h2,
    .content_area_row .content_area h2,
    .instagram h2,
    .n_section_title_two {
        font-size: 2.5rem;
    }

    .guarantee-content h2 {
        font-size: 2.5rem;
    }

    .single-item {
        min-width: 300px;
    }
}

@media (max-width: 600px) {
    .cf_content {
        margin: 0 15px;
    }

    .payment_plans {
        flex-direction: column;
    }
}

.content_area_row .content_area.cd_details h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.n_to_bgi {
    position: absolute;
    right: 0;
    bottom: 0;
}

.to_text_box {
    position: relative;
    z-index: 3;
    padding: 0 0px 0px 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 660px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.to_text_box p,
.to_text_box .n_section_title_two {
    color: #7c621d;
}

.to_text_box p {
    line-height: 2;
}

.etp.smile-solutions-section h2.n_section_title_two.add_span span::after {
    background-image: url('../img/underline.png');
    width: 100%;
    height: 30px;
    bottom: -30px;
    background-size: contain;
}


.ca_cta .smile-solutions-content h2 span {
    font-style: italic;
    position: relative;
}

.ca_cta .smile-solutions-content h2 span::after {
    content: '';
    position: absolute;
    background-image: url('../img/underline-w.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 20px;
    bottom: -25px;
    background-size: contain;
    left: 0;
}

.ca_cta .smile-solutions-content p {
    max-width: 585px;
    width: 100%;
}

.ca_cta {
    padding-left: 100px;
}



.doctor-section {
    padding-top: 150px;
}

.doctor-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.doctor-text {
    flex: 1 1 45%;
}

.doctor_text {
    max-width: 530px;
    width: 100%;
    text-align: justify;
}

.doctor-text h2 {
    font-size: 54px;
    font-weight: normal;
    margin-bottom: 20px;
    font-style: italic;
}

.doctor-text h2 span {
    font-weight: bold;
    color: #7e6522;
}

.doctor-text p {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #444;
}

.doctor-highlights {
    background-color: #b19751;
    border-radius: 15px;
    padding: 25px 30px;
    background-image: url(../img/doctor_bg.png);
    background-repeat: repeat;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.doctor-highlight {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 50%;
    justify-content: center;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #fff;
    flex-direction: column;
    max-width: 200px;
    margin-top: 3rem;
}

.icon {
    width: 70px;
}

.doctor-image {
    flex: 1 1 43%;
    text-align: center;
}

.doctor-image img {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.lecture-card h4::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 30px;
    bottom: -30px;
    background-image: url('../img/underline-w.png');
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
}

/* Responsive */
@media (max-width: 1400px) {
    .highlight {
        gap: 15px;
        max-width: 230px;
    }

    .doctor-text p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .doctor-highlights {
        padding: 20px 15px 10px 15px;
    }

    .doctor-image {
        margin-top: 10px;
    }
}

@media (max-width: 1200px) {
    .doctor-section {
        padding-top: 0px;
    }

    .doctor-text h2 {
        font-size: 48px;
    }

    .doctor-highlight {
        gap: 10px;
    }

    .highlight {
        gap: 15px;
        max-width: 210px;
        margin: 0;
    }

    .doctor-image {
        margin-top: 50px;
    }
}

@media (max-width: 992px) {

    .doctor-content {
        display: block;
        max-width: 470px;
        width: 100%;
        margin: 0 auto;
    }

    .doctor-highlights {
        position: relative;
        padding: 25px 15px;
    }

    .doctor-highlight {
        width: 100%;
    }

    .edu-content {
        gap: 0px;
        max-width: 470px;
        margin: 0 auto;
    }
}


.education-section {
    padding: 80px 0px;
}

.edu-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Left Column */
.edu-left {
    flex: 1 1 45%;
}

.edu-block {
    margin-bottom: 40px;
    max-width: 450px;

}

.edu-block h3 {
    font-size: 30px;
    font-weight: 700;
    color: #7e6522;
    /* goldish brown */
    margin-bottom: 15px;
    font-style: italic;
}

.edu-block p {
    font-size: 17px;
    line-height: 1.7;
    color: #7e6522;
    margin: 5px 0;
}

/* Right Column */
.edu-right {
    flex: 1 1 45%;
    justify-content: end;
    display: flex;
}

.lecture-card {
    background-color: #222;
    border-radius: 20px;
    color: #fff;
    padding: 30px 30px 40px;
    text-align: center;
    width: 100%;
    max-width: 520px;
    position: relative;
    background-image: url(../img/doctor-slider-bg.png);
    background-repeat: repeat;
}

.lecture-card h4 {
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 35px;
    color: #FFF;
    display: inline-block;
    position: relative;
}

.lecture-card h4 span {
    font-weight: bold;
    font-style: normal;
}

.lecture-img img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    height: 100%;
    object-fit: cover;
}

.lecture-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
    .lecture-card {
        max-width: 465px;
    }
}

@media (max-width: 991px) {
    .edu-content {
        display: block;
        max-width: 470px;
        width: 100%;
        margin: 0 auto;
    }


    .edu-block h3 {
        font-size: 24px;
    }

    .edu-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .lecture-card h4 {
        font-size: 22px;
    }

    .lecture-card {
        padding: 20px 20px 30px;
    }
}


.touch_up .content_area_row .content_area h2 {
    font-size: 88px;
    color: #7e6522;
}

.touch_up .content_area_row .content_area h2 span {
    font-size: 60px;
}

.touch_up .content_area_row {
    padding-right: 0px;
}

.touch_up .fb_content {
    text-align: justify;
}

.touch_up .fb_content p {
    color: #7e6522;
    font-size: 24px;
}

.retainers-page .content_area_row .content_area {
    font-size: 28px;
    max-width: 829px;
    width: 100%;
}

.retainers-page .content_area_row .content_area h2 {
    font-size: 58px;
}

.retainers-page .content_area_row {
    padding: 0;
}

.retainers_or .n_section_title_two {
    font-size: 85px;
}

.retainers_or {
    font-size: 29px;
    padding-left: 70px;
}

.retainers_or .btn-secions {
    justify-content: center;
    padding-right: 100px;
}

.hdrtw_bgi {
    position: relative;
    height: 100%;
}

.hdrtw_bgi img {
    height: 100%;
    object-fit: cover;
}

.retainers_or p {
    margin-bottom: 10px;
}

.highlight img {
    width: 100%;
    display: flex;
    max-width: 45px;
    justify-content: center;
    margin: 0 auto;
}