/*=========================================
Comparison Section
=========================================*/

.comparison-section {
    padding: 5% 0 0 0;
}

.comparison-section .section-intro {
    max-width: 750px;
    margin: 20px auto 0;
}


/*=========================================
Comparison Table
=========================================*/

.comparison-table {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 63, 116, 0.08);
    border: 1px solid #e9eef4;
}

.comparison-table table {
    margin: 0;
}

.comparison-table thead {
    background: #652A7B;
}

.comparison-table thead th {
    color: #ffffff;
    padding: 22px 24px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    vertical-align: middle;
    text-align: left;
}

.comparison-table tbody td {
    padding: 22px 24px;
    vertical-align: top;
    border-color: #edf2f7;
    font-size: 16px;
    line-height: 1.8;
}

.comparison-table tbody tr {
    transition: 0.35s ease;
}

.comparison-table tbody tr:nth-child(even) {
    background: #fafcff;
}

.comparison-table tbody tr:hover {
    background: #f2f8ff;
}

.comparison-table tbody td:first-child {
    width: 28%;
    font-weight: 700;
    color: #0F3F74;
    background: #f8fbff;
}

.comparison-table tbody td:nth-child(2) {
    color: #2b2b2b;
    background: #fcfffd;
}

.comparison-table tbody td:nth-child(3) {
    color: #555555;
    background: #ffffff;
}


/*=========================================
Comparison Icons
=========================================*/

.comparison-table .text-success {
    color: #4BA847 !important;
    font-size: 20px;
}

.comparison-table .text-danger {
    color: #E01F27 !important;
    font-size: 20px;
}

.comparison-table i {
    min-width: 24px;
}


/*=========================================
Comparison Rounded Corners
=========================================*/

.comparison-table thead tr th:first-child {
    border-top-left-radius: 20px;
}

.comparison-table thead tr th:last-child {
    border-top-right-radius: 20px;
}


/*=========================================
Comparison Responsive
=========================================*/

@media (max-width: 991px) {

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-table table {
        min-width: 900px;
    }
}

@media (max-width: 768px) {

    .comparison-section {
        padding: 70px 0;
    }

    .comparison-table thead th {
        font-size: 16px;
        padding: 18px;
    }

    .comparison-table tbody td {
        font-size: 15px;
        padding: 18px;
    }
}


/*=========================================
FAQ Section
=========================================*/

.faq-section {
    padding: 5% 0 5% 0;
}

.faq-section .section-intro {
    max-width: 760px;
    margin: 20px auto 0;
}


/*=========================================
Accordion
=========================================*/

#implantFAQ {
    max-width: 1400px;
    margin: 0 auto;
}

#implantFAQ .accordion-item {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(15, 63, 116, 0.08);
    transition: all 0.35s ease;
}

#implantFAQ .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(15, 63, 116, 0.12);
}

#implantFAQ .accordion-header {
    margin: 0;
}

#implantFAQ .accordion-button {
    background: #ffffff;
    color: #652A7B;
    font-size: 18px;
    font-weight: 600;
    padding: 22px 28px;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
}

#implantFAQ .accordion-button:focus {
    box-shadow: none;
    border: none;
}

#implantFAQ .accordion-button:not(.collapsed) {
    background: #652A7B;
    color: #ffffff;
}

#implantFAQ .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

#implantFAQ .accordion-button::after {
    background-size: 18px;
    transition: all 0.3s ease;
}

#implantFAQ .accordion-body {
    padding: 30px;
    font-size: 16px;
    color: #5b6573;
    line-height: 1.9;
    background: #ffffff;
}

#implantFAQ .accordion-body p:last-child {
    margin-bottom: 0;
}

#implantFAQ .accordion-body strong {
    color: #652A7B;
}

#implantFAQ .accordion-body ul {
    margin: 20px 0;
    padding-left: 22px;
}

#implantFAQ .accordion-body ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

#implantFAQ .accordion-body ul li:last-child {
    margin-bottom: 0;
}


/*=========================================
Accordion Animation
=========================================*/

#implantFAQ .accordion-collapse {
    transition: all 0.35s ease;
}


/*=========================================
FAQ Number Badge
=========================================*/

#implantFAQ .accordion-button::before {
    content: "Q";
    width: 34px;
    height: 34px;
    background: #652A7B;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

#implantFAQ .accordion-button:not(.collapsed)::before {
    background: #ffffff;
    color: #652A7B;
}


/*=========================================
FAQ Hover Effect
=========================================*/

#implantFAQ .accordion-button:hover {
    background: #f4f9ff;
}

#implantFAQ .accordion-button:not(.collapsed):hover {
    background: #F39C12;
}


/*=========================================
FAQ Responsive
=========================================*/

@media (max-width: 991px) {

    .faq-section {
        padding: 80px 0;
    }

    #implantFAQ .accordion-button {
        font-size: 17px;
    }
}

@media (max-width: 767px) {

    .faq-section {
        padding: 60px 0;
    }

    #implantFAQ .accordion-button {
        font-size: 16px;
        padding: 18px 20px;
    }

    #implantFAQ .accordion-body {
        padding: 20px;
        font-size: 15px;
    }

    #implantFAQ .accordion-button::before {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 12px;
    }
}


/*=========================================
Top Content Section
=========================================*/

.dt-content-top {
    padding-top: 5%;
}


/*
    Vertically center both columns
    so the left content sits in the
    middle of the video.
*/

.dt-content-top .row {
    align-items: center;
}


/*=========================================
Heading
=========================================*/

.h5 {
    font-size: 28px;
}


/*=========================================
Images
=========================================*/

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 0 40px;
}


/*=========================================
Mobile Reverse Sections
=========================================*/

@media (max-width: 767px) {

    .reverse-mobile .row {
        display: flex;
        flex-direction: column-reverse;
    }
}


/*=========================================
CTA Buttons
=========================================*/

/*
    Desktop / Tablet:
    Keep both buttons side by side.
*/

.dt-content-top a {
    display: inline-block;
    vertical-align: middle;
}

.dt-content-top button {
    display: inline-block;
    width: auto;
    margin: 0 5px 0 0;
    background: #652A7B;
    color: #ffffff;
    border: none;
}

.dt-content-top button:hover {
    background: #F39C12;
    color: #ffffff;
}


/*=========================================
Mobile CTA Buttons
=========================================*/

@media (max-width: 767px) {

    .dt-content-top a {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }

    .dt-content-top button {
        display: block;
        width: 100%;
        margin: 0;
    }
}


/*=========================================
Dental Implant Video
=========================================*/

.dental-implant-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0;
    border-radius: 0 40px;
}

.dental-implant-doctors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 8px;
    margin-top: 12px;
    color: #3e1651;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.dental-implant-doctors a {
    color: inherit;
    text-decoration: none;
}

.dental-implant-doctors a:hover,
.dental-implant-doctors a:focus-visible {
    color: #f39c12;
}

/*=========================================
Meta Implant Video
=========================================*/

.why-us-video {
    display: block;
    width: 75%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}


/*=========================================
Meta Implant Section
=========================================*/

.abt-content .row {
    align-items: flex-start;
}


/*=========================================
Candidate Content
=========================================*/

/*
    Vertically center the entire content block
    inside the row, while keeping the text
    left-aligned.
*/

.abt-content .row .candidate-content {
    align-self: center;
}


/*=========================================
Tablet Video
=========================================*/

@media (max-width: 991px) {

    .why-us-video {
        width: 80%;
        height: auto;
    }

    .dental-implant-image {
        width: 100%;
        height: auto;
    }
}


/*=========================================
Mobile Video
=========================================*/

@media (max-width: 767px) {

    .why-us-video {
        width: 100%;
        height: auto;
    }

    .dental-implant-image {
        width: 100%;
        height: auto;
        border-radius: 0 30px;
    }

    /*
        On mobile, allow the candidate content
        to flow normally above/below the image.
    */

    .abt-content .row .candidate-content {
        align-self: auto;
    }
}