.sub-container {
    padding: 1rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
   
}


.faq-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a3d2f;
    text-align: center;
}

.faq-intro {
    text-align: center;
    font-size: 1rem;
    color: #444;
/*    margin-bottom: 2rem;*/
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    background-color: #e6f4ea;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: #1b5e20;
    transition: background-color 0.3s ease;
    position: relative; /* IMPORTANT: Added this */
    outline: none;
}
    .faq-question::after {
        content: ">"; /* Simple ASCII character */
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        font-size: 1.2rem;
        color: #1b5e20;
        transition: transform 0.3s ease;
    }

/* Active state arrow rotation */
.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(90deg);
}
.faq-question:hover {
    background-color: #d0e9d7;
}

.faq-answer {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    font-size: 0.95rem;
    padding: 1rem 0;
    color: #333;
}

/* Show/hide logic using JavaScript class */
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 1rem;
}

.my-mydawa {
    padding: 1.5rem 1rem;
    background: #f9fafb; /* Light neutral background */
    text-align: center;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 600;
/*    margin-bottom: 2rem;*/
    color: #222;
}

/*highlight parts*/

.highlight {
    padding: 10px;
    background: #fefcbf;
    border: 1px solid #facc15;
    border-radius: 8px;
    font-size: 1rem;
    color: #854d0e;
    font-weight: 500;
    max-width: 600px;
    margin: 20px auto 20px;
}

/*cta button*/
.cta-direct-button {
    display: block;
    margin: 30px auto 0;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #10b981;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

    .cta-direct-button:hover {
        background-color: #059669;
    }


/*testimonial section*/

.carousel-container {
/*    max-width: 800px;*/
    margin: 0 auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; 
    padding: 5px;
}

.carousel {
    display: flex;

}

.testimonial-card {
    /*    min-width: 100%;*/
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    text-align: center;
    scroll-snap-align: center;
    flex-basis: 48%;
    min-width: 420px;
}

    .testimonial-card p {
        font-size: 1rem;
        color: #555;
        line-height: 1.6;
        font-style: italic;
        font-family: 'Figtree', serif;
    }

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container {
    -ms-overflow-style: none; 
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .carousel-container {
        max-width: 100%;
        overflow-x: hidden;
    }

    .carousel {
        flex-direction: column;
    }

    .testimonial-card {
        min-width: 100%;
        margin: 10px 0;
    }
}


@media (max-width: 768px) {
    .flow-diagram {
        flex-direction: column;
        gap: 15px;
    }

    .arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }

    .flow-item {
        width: auto;
    }
}

/*    lupus symptoms only*/
    .all-symptoms li {
        flex-direction: column;
    }

@media (max-width: 768px) {
    
    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        width: 100% !important;
        left: 0 !important;
        text-align: center !important;
        padding-left: 60px;
        padding-right: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .timeline-icon {
/*        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border: 2px solid #f9f9f9;*/
display:none !important;
    }

/*    .timeline-item .timeline-icon {
        left: -3px;
        right: auto;
    }*/

    .timeline-content {
        padding: 0.8rem;
        margin-left: 8px;
    }
}


/*scd management*/
.scd-management {
    padding: 1rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
    /* font-family: 'Segoe UI', sans-serif; */
}

.scd-management h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    /* margin-bottom: 25px; */
}

.scd-management p.intro {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.content-wrapper {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.column {
    flex-basis: 48%;
    min-width: 300px;
    max-width: 48%;
}

.column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 15px;
    text-align: left;
}

@media (max-width: 768px) {
    .content-wrapper {
         gap: 30px; 
    }
}


.vertical-divider {
    width: 2px;
    background-color: #eaeaea;
    margin: 0 10px;
}