/* Career section style */
.career-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.career-heading {
    text-align: center;
    font-weight: 500;
    margin-bottom: 2rem;
}

.career-title {
    color: #085aac;
    font-weight: 500;
}

.career-tabs .nav-link {
    border: 1px solid #999;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: 500;
    color: black;
    transition: all 0.3s ease;
}

/* .career-tabs .nav-link:hover {
    background-color: #085aac;
    color: #fff;
} */

.career-tabs .nav-link.active {
    background-color: #085aac;
    color: #fff;
    border-color: #085aac;
}

/* Right column content */
.content1 {
    border-left: 1px solid black;
    padding-left: 1.5rem;
}

.btn-career {
    background-color: #085aac;
    color: #fff;
    font-weight: bold;
    margin-bottom: 1rem;
}

.btn-career:hover,
.btn-career:focus,
.btn-career:active {
    background-color: #085aac !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .content1 {
        border-left: none;
        border-top: 1px solid black;
        padding-left: 0;
        padding-top: 1rem;
    }

    .career-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .career-tabs .nav-link {
        flex: 1 1 auto;
        text-align: center;
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Scroll Buttons */
.scroll-btn {
    border: none;
    background: #085aac;
    color: white;
    padding: 6px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.scroll-btn:hover {
    background: #0a6fe2;
}

.tabs-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Scrollable area */
.career-tabs-wrapper {
    max-height: 450px;
    overflow-y: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 0 5px;
    border-radius: 6px;
    scrollbar-width: thin;
}

/* Always single column */
.career-tabs {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Mobile view */
@media (max-width: 767.98px) {
    .career-tabs-wrapper {
        max-height: 250px;
    }

    .career-tabs {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
}