/* --- Vision Section --- */
.vision-section {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

/* --- Background --- */
.vision-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.vision-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(2, 6, 23, 0.9); /* slate-950/90 */
    background-blend-mode: overlay;
}

/* --- Main Container & Header --- */
.vision-container {
    position: relative;
    z-index: 10;
    max-width: 72rem; /* max-w-6xl */
    margin: 0 auto;
    padding: 0 1rem;
}

.vision-header {
    text-align: center;
    margin-bottom: 4rem;
}

.vision-main-heading {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.vision-sub-heading {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* --- Tab Buttons --- */
.vision-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.vision-tabs-list {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-tab-button {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-tab-button:last-child {
    border-bottom: none;
}

.vision-tab-button:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
}

.vision-tab-button.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --- Tab Content Card --- */
.vision-content-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 450px;
}

.vision-content-grid {
    display: grid;
    gap: 0;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.vision-content-grid.active {
    opacity: 1;
}

.vision-content-image-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    order: 2;
}

.vision-content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-content-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.vision-content-text-wrapper {
    position: relative;
    overflow: hidden;
    order: 1;
}

.vision-content-text-bg {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.95); /* slate-900/95 */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.vision-content-text-inner {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.vision-logo-container {
    height: 3rem;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.vision-logo {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06));
}

.vision-content-paragraph-wrapper {
    display: flex;
    align-items: center;
}

.vision-content-paragraph {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.625;
    font-size: 1rem;
}

.vision-content-grid.active {
    display: grid !important;
}

/* --- Responsive Styles --- */
@media (min-width: 640px) {
    .vision-container {
        padding: 0 1.5rem;
    }

    .vision-main-heading {
        font-size: 2.25rem;
    }

    .vision-tabs-list {
        flex-direction: row;
    }

    .vision-tab-button {
        font-size: 1rem;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

        .vision-tab-button:last-child {
            border-right: none;
        }

    .vision-logo-container {
        height: 4rem;
        margin-bottom: 2rem;
    }

    .vision-content-paragraph {
        font-size: 1.125rem;
    }

    .vision-content-text-inner {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .vision-container {
        padding: 0 2rem;
    }

    .vision-content-card {
        height: 450px;
    }

    .vision-content-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .vision-content-image-wrapper {
        grid-column: span 2 / span 2;
        order: 1;
        min-height: 0;
    }

    .vision-content-text-wrapper {
        grid-column: span 3 / span 3;
        order: 2;
    }

    .vision-content-text-inner {
        padding: 3rem;
    }
}
@media (max-width: 767px) {
    .vision-tab-button.active {
        color: var(--black);
    }
}
