﻿.section-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--theme-dark-blue);
}

.cost-box {
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 1.5rem;
}

.treatment-row {
    padding: 10px 0;
    border-bottom: 1px solid #e1e1e1;
    align-items: center;
}

    .treatment-row:last-child {
        border-bottom: none;
    }

.treatment-name {
    font-weight: 500;
    color: #7471b3;
}

.cost-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-dark-blue);
    text-align: end;
}

.note-section {
    font-size: 0.9rem;
    color: #555;
}

.text-small {
    font-size: 0.8rem;
}

.my-tabs-component .my-tab-pane {
    background: #ffffff;
    border-radius: 0 0 0.5rem 0.5rem;
}

.my-tabs-component .nav-tabs {
    display: flex;
    flex-direction: column;
    border-bottom: 0;
}

.my-tabs-component .nav-item {
    margin-bottom: 12px;
}

.my-tabs-component .tab-img {
    width: 20px;
    height: 20px;
}

.my-tabs-component .nav-tabs .nav-link {
    border: 1px solid var(--theme-dark-blue);
    border-radius: 7px;
    width: 100%;
    color: var(--theme-dark-blue);
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight:bold;
    padding:12px;
    font-size:16px;
    text-align:start;
}

    .my-tabs-component .nav-tabs .nav-link.active {
        background-color: var(--theme-dark-blue);
        color: white;
    }

/*.my-tabs-component .my-faq-accordion {
    max-width: 600px;
}
*/
.my-tabs-component .my-faq-item {
    border: 1px solid var(--theme-dark-blue);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.my-tabs-component .my-faq-btn {
    background: #fff;
    font-weight: 600;
    color: var(--theme-dark-blue);
    padding: 14px 18px;
}

    .my-tabs-component .my-faq-btn:not(.collapsed) {
        background: #ffffff;
        color: var(--theme-dark-blue);
        box-shadow: none;
    }

.my-tabs-component .my-faq-accordion .accordion-item {
    background-color: white;
}

.my-tabs-component .my-faq-btn::after {
    background-image: none;
    content: "+";
    font-size: 20px;
    transform: none;
}

.my-tabs-component .my-faq-btn:not(.collapsed)::after {
    content: "–";
}

.my-tabs-component .accordion-button:not(.collapsed)::after {
    background-image: none !important;
}

.my-tabs-component .my-faq-body {
    background: #ffffff;
    color: #555;
}

.my-tabs-component li,
.my-tabs-component .my-faq-body {
    font-size: 16px;
    color: var(--theme-dark-blue);
    padding-top: 0;
}

.my-tabs-component .nav-link.nav-link.active .tab-img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(342deg) brightness(101%) contrast(104%);
}

.my-tabs-component .form-select:focus {
    border-color: white;
    outline: 0;
    box-shadow: none;
}

/* Base select styling */
#mobileTabsSelect {
    font-size: 14px;
    font-weight:bold;
    color: var(--theme-dark-blue);
    padding: 12px;
    background-color: #fff;
    width: 100%;
    appearance: none; /* remove default arrow for more control */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-shadow: 1px 2px 5px 2px #e0e0e0;
}

    /* Selected option (active) styling */
    #mobileTabsSelect option:checked {
        background-color: var(--theme-dark-blue);
        color: #ffffff;
        font-weight: 600;
    }

    /* Hover styling for options */
    #mobileTabsSelect option:hover {
        background-color: #f0f0f0; /* light gray on hover */
        color: var(--theme-dark-blue);
    }

.testimonials .tabs-container {
    display: flex;
    justify-content:center;
}

/* LEFT TABS */
.testimonials .tabs {
    list-style: none;
    padding: 0;
    width: 20%;
    margin-bottom: 0;
    border-radius: 15px 0 0 15px;
}


.testimonials .tab {
    border:1px solid white;
    background: #fff;
    padding: 15px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    color: var(--dark-grey);
    border-radius: 15px 0 0 15px;
    min-height: calc(1.4em * 2 + 30px); /* 2 lines + padding */
}

    .testimonials .tab.active > * {
        color: var(--theme-dark-blue);
    }

    .testimonials .tab span {
        font-size: 14px;
    }

    .testimonials .tab:hover,
    .testimonials .tab.active {
        border-left: 1px solid var(--theme-dark-blue); 
        border-top:1px solid var(--theme-dark-blue);
        border-bottom:1px solid var(--theme-dark-blue)
    }
    .testimonials .tab.active {
        border-right: none;
        position: relative;
        z-index: 3;
    }
    .testimonials .tab.active {
        margin-right: -1px;
    }
        .testimonials .tab.active::after {
            content: "";
            position: absolute;
            top: 0;
            right: -1px;
            width: 2px;
            height: 100%;
            background: #fff;
        }
/* RIGHT CONTENT */
.testimonials .tab-content {
    width: 45%;
    background: white;
    padding: 1.5rem;
    border-radius: 0 15px 15px 0;
    border:1px solid var(--theme-dark-blue);
}


.testimonials h4, .testimonials .doctor, .testimonials .text-desc {
    color: var(--theme-dark-blue);
}
.testimonials .content {
    display: none;
}

    .testimonials .content.active {
        display: block;
    }

.testimonials .video-wrapper {
    position: relative;
    padding-top: 56.25%;
    margin-bottom: 20px;
}

    .testimonials .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.testimonials .doctor {
    font-weight: bold;
    margin-bottom: 10px;
}

.testimonials a {
    color: var(--theme-dark-blue);
    white-space: pre-wrap;
    word-wrap: break-word;
}

    .testimonials a:hover {
        color: var(--dark-grey);
    }
/* RESPONSIVE */
@media (max-width: 900px) {

    .testimonials .tab.active {
        border-right:1px solid var(--theme-dark-blue);
        position: relative;
        z-index: 3;
    }
    .testimonials .tabs-container {
        flex-direction: column;
    }

    .testimonials .tabs,
    .testimonials .tab-content {
        width: 100%;
        border-radius:15px;
    }

    .testimonials .tab {

        border: 1px solid var(--theme-dark-blue);
        border-radius: 15px;
    }
        .testimonials .tab.active::after {
            content: none;
        }
}


.section-title {
    font-weight: 700;
}

.story-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

    .story-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

.story-img {
    object-position: top center;
    height: 220px;
    object-fit: cover;
}

.social-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    font-size: 18px;
}

.community-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop */
@media (min-width: 992px) {
    .testimonial-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.testimonial-slider .description {
    color: var(--theme-dark-blue);
}


.testimonial-slider .testimonial-slide {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border:1px solid var(--theme-dark-blue);
}

.testimonial-slide.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding:0;
}


.testimonial-slide .card-body {
    padding:15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .testimonial-slide .card-body a {
        margin-top: auto;
        text-decoration: none;
        transition: all 0.3s ease;
    }

.testimonial-slider a {
    word-break: break-word;
    overflow-wrap: break-word;
    color: white;
    border-radius: 50px;
    padding: 10px 15px;
    border: 1px solid var(--theme-dark-blue);
    background-color: var(--theme-dark-blue);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

    .testimonial-slider a::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        z-index: -1;
        transition: left 0.3s ease;
        background-color: white;
    }

    .testimonial-slider a:hover::before {
        left: 0;
    }

    .testimonial-slider a:hover {
        color: var(--theme-dark-blue);
        border: 1px solid var(--theme-dark-blue);
    }


    .testimonial-slider .testimonial-wrapper .slick-slide {
        margin: 0 15px;
    }

    .testimonial-slider .testimonial-wrapper .slick-list {
        margin: 0 -15px; /* prevents outer spacing */
    }

.testimonial-wrapper .slick-track {
    display: flex !important;
}

.testimonial-wrapper .slick-slide {
    height: auto;
    display: flex !important;
}