/* Section background (now from CSS) */
.vision-section {
    background-color: #f8f6f2;
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;

}

/* Remove Bootstrap's full-width underline under tabs */
.vision-tabs {
    border-bottom: 0; /* kills the default grey line */
    padding-bottom: 2rem !important;

}

/* Tabs look (close to your screenshot) */
.vision-tabs .nav-link {
    font-weight: 700;
    font-size: 2rem;
    color: #98A0AA; /* inactive grey */
    border: 0; /* remove BS borders */
    background: transparent;
    position: relative;
    padding: .25rem 1rem .5rem;
    margin: 0 .5rem;
}

.vision-tabs .nav-link:hover {
    color: #6b7380;
}

/* Active tab: navy + custom yellow underline */
.vision-tabs .nav-link.active {
    color: #152349;
    background-color: #f8f6f2;

}

.vision-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    inset-inline-start: 0; /* RTL/LTR safe */
    inset-inline-end: 0;
    bottom: -6px;
    height: 4px;
    background: #916627; /* yellow underline only for the active tab */
    border-radius: 2px;
}

/* White content card */
.vision-card {
    background: #FFFFFF; /* white box where materials lie */
    border: 1px solid #EFE6DA;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    padding: 3rem 2rem;

}

.vision-text {
    margin: 0;
    text-align: center;
    color: #152349;
    font-size: 1.75rem;
    line-height: 1.9;
}


/* Remove Bootstrap's default underline under the whole tab bar */
.two-tabs {
    border-bottom: 0;
}

/* Tab buttons styling (optional, simple & clean) */
.two-tabs .nav-link {
    font-weight: 700;
    font-size: 1.5rem;
    color: #98A0AA;
    border: 0;
    background: transparent;
}

.two-tabs .nav-link.active {
    color: #0B2247;
}

/* Content boxes */
.tab-card {
    border: 1px solid #EFE6DA;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    padding: 2.5rem 2rem;
    text-align: center;
}

.bg-white-box {
    background: #FFFFFF;
}

/* tab 1 */
.bg-soft-box {
    background: #f8f6f2;
}

/* tab 2 */

.tab-text {
    margin: 0;
    color: #0B2247;
    font-size: 1.5rem;
    line-height: 1.9;
}


/* === Third Tab (القيم) — rows styled as nested tabs === */

/* list wrapper inside #values-pane */
.values-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
}

/* each row behaves like a tab button */
.values-tabs .nav-link {
    width: 100%;
    text-align: start; /* RTL: start = right */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid transparent;
    background: #FFFFFF; /* even rows default */
    color: #152349;
    font-weight: 700;
    font-size: 1.25rem;

}

/* striping: odd rows soft bg like screenshot */
.values-tabs .nav-item:nth-child(odd) .nav-link {
    background: #f8f6f2;
    gap: 75px;
}

/* active row: subtle blue outline, white bg */
.values-tabs .nav-link.active {
    background: #FFFFFF;
}

/* text + icon inside each row */
.val-text {
    flex: 1;
    line-height: 1.9;
}

/* orange/emphasis items (optional) */
.val-text.muted {
    color: #916627;
}

/* icon placeholder (use your SVG or <img>) */
.val-icon {
    width: 48.75px !important;
    height: 46.88px !important;
    margin-inline-start: 1rem; /* RTL-safe spacing on the right side */
    color: #0B2247;
    text-align: start; /* RTL: start = right */

}

.val-icon.accent {
    color: #916627;
}

/* if you render a details area for each value, you can show/hide via tabs.
   hide by default (since screenshot shows rows only) */
.values-content {
    display: none;
}

/* responsive tweak */
@media (max-width: 768px) {
    .values-tabs .nav-link {
        font-size: 1.1rem;
        padding: .9rem 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .vision-tabs .nav-link {
        font-size: 1.5rem;
    }

    .vision-card {
        padding: 2rem 1.25rem;
    }

    .vision-text {
        font-size: 1.25rem;
    }
}
