/* =========================================================
   NUMBERED VARIANT (MIXED WITH ORIGINAL INNER STRUCTURE)
   ========================================================= */
.process-section-numbered {
    padding: 40px 0;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 60px;
}

/* Tabs wrapper (outer container) */
.process-tabs-original {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

/* Individual tab */
.process-tab-numbered {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

/* Tab heading text */
.tab-title-numbered {
    font-size: 1.5rem;
    /*font-weight: 600;*/
    color: #00000080;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

/* Line + number structure (STILL using -original in DOM) */
.tab-line-container-original {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-line-original {
    flex: 1;
    height: 1px;
    background-color: #B7B7B7;
    transition: background-color 0.3s ease;
}

.tab-number-original {
    font-size: 14px;
    font-weight: bold;
    color: #00000080;
    background-color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Active tab states */
.process-tab-numbered.active .tab-title-numbered {
    color: var(--text-color);
}

.process-tab-numbered.active .tab-line-original {
    background-color: var(--text-color);
}

.process-tab-numbered.active .tab-number-original {
    background-color: #000;
    color: #fff;
}

/* Tab content areas */
.process-content-numbered {
    display: none;
}

.process-content-numbered.active {
    display: block;
}

/* =========================================================
   UNDERLINE VARIANT (UNCHANGED)
   ========================================================= */
.process-section-underline {
    padding: 40px 0;
    background-color: white;
    border-radius: 8px;
}

.process-tabs-underline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.process-tab-underline {
    flex: 1;
    text-align: center;
    cursor: pointer;
    padding-bottom: 15px;
    position: relative;
}

.tab-title-underline {
    font-size: 1.25rem;
    font-weight: 600;
    color: #00000080;
    transition: color 0.3s ease;
}

.process-tab-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1.2px;
    background-color: #00000040;
    transition: width 0.3s ease;
}

.process-tab-underline.active::after {
    width: 100%;
    height: 3px;
    background-color: #000;
}
.active .tab-line-original{
    height: 2px;
}
.active .tab-title-numbered{
    font-family: 'Proxima Nova Lt';
}
.process-tab-underline.active .tab-title-underline {
    color: var(--text-color);
}

.process-content-underline {
    display: none;
}

.process-content-underline.active {
    display: block;
}

/* =========================================================
   SHARED CONTENT STYLES
   ========================================================= */
/*.process-content-numbered,*/
/*.process-content-underline {*/
/*    padding: 0 20px;*/
/*}*/

.process-content-numbered ul,
.process-content-underline ul {
    list-style: none;
    padding-left: 0;
}

.process-content-numbered li,
.process-content-underline li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.process-content-numbered li:before,
.process-content-underline li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================= */
@media (max-width: 768px) {

    .process-tabs-original,
    .process-tabs-underline {
        flex-direction: column;
        gap: 20px;
    }

    .process-tab-numbered,
    .process-tab-underline {
        text-align: left;
    }

    .tab-line-container-original {
        margin-top: 10px;
    }

    .process-tab-underline::after {
        left: 0;
        transform: none;
        width: 100%;
        height: 1px;
        background-color: #00000040!important;
    }

    .process-tab-underline.active::after {
        width: 100%;
        background-color: #000!important;
    }
    
    .tab-image{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tab-image img{
        width: 70%!important;
    }
}

/* =========================================================
   BASE STRUCTURE (COMMON FOR ALL)
   ========================================================= */
.tab-content-wrapper {
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
}

/* When image exists */
.tab-content-wrapper.has-image .tab-text {
    flex: 0 0 70%;
}

.tab-content-wrapper.has-image .tab-image {
    flex: 0 0 25%;
}

/* When no image — content becomes full width */
.tab-content-wrapper.no-image .tab-text,
.tab-text.full-width {
    flex: 1 1 100%;
    max-width: 100%;
}

.tab-content-wrapper.no-image .tab-image {
    display: none;
}

.tab-text {
    flex: 0 0 70%;
}
.tab-text p{
    font-size: 1.25rem;
    margin: 0px!important;
}
.tab-image {
    flex: 0 0 25%;
}
.tab-content-wrapper h3{
    font-size: 1.5rem;
}
.tab-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* Mobile stack layout */
@media (max-width: 992px) {
    .tab-content-wrapper {
        flex-direction: column;
    }

    .tab-text,
    .tab-image {
        flex: 1 1 100%;
    }

    .tab-image {
        margin-top: 20px;
    }
}