.custom-tabs {
    background: #fff;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.custom-tabs .nav-link {
    border-radius: 10px;
    color: #6c757d;              /* default text color */
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.25s ease;
}

.custom-tabs .nav-link:hover {
    background-color: rgba(66, 127, 182, 0.08);  /* primary with transparency */
    color: var(--bs-primary);                     /* primary color */
}

.custom-tabs .nav-link.active {
    background: linear-gradient(155deg, var(--bs-primary), var(--bs-secondary)); /* primary → secondary */
    color: #fff;
    box-shadow: 0 6px 16px rgba(66, 127, 182, 0.35);  /* soft shadow with primary */
    transform: translateY(-1px);                     /* subtle raised effect */
}

/* Subtle pill-style tabs */
.custom-sub-tabs .nav-link {
    border-radius: 80px;
    background-color: rgba(66,127,182,0.08); /* light primary background */
    color: var(--bs-primary);
    transition: all 0.25s ease;
}

.custom-sub-tabs .nav-link:hover {
    background: rgba(66, 127, 182, 0.5);   /* semi-transparent primary */
    color: #fff;
    transform: translateY(-1px);
}

.custom-sub-tabs .nav-link.active {
    background: var(--bs-primary);   /* semi-transparent primary */
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}
