.tabs-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

nav a {
    padding: 0.5rem 1rem;
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

    nav a:hover,
    nav a.active {
        border-bottom: 2px solid #007bff;
        color: #007bff;
    }




.breadcrumb-custom a {
    transition: color 0.2s ease;
}

.breadcrumb-custom a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.breadcrumb-custom span {
    margin: 0 4px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb-custom {
        justify-content: center !important;
        text-align: center;
        flex-direction: row;
    }
}




.nested-tabs {
    margin-left: 0px;
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.sub-tab-content {
    margin-left: 0px;
    margin-top: 10px;
}


.question {
    background-color: aliceblue;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
}

.answer {
    display: none;
    padding: 10px;
    border-left: 3px solid #007bff;
    background-color: #fafafa;
    margin-bottom: 10px;
    border-radius: 4px;
}




.tabs-containers {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.tab-buttons {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: linear-gradient(to right, #e0eafc, #cfdef3);
    color: #333;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.3s, color 0.3s, transform 0.2s;
    cursor: pointer;
}

    .tab-buttons:hover {
        background: linear-gradient(to right, #d4fc79, #96e6a1);
        transform: translateY(-1px);
    }
.tab-buttons.active {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}



.tab-button {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: linear-gradient(to right, #e0eafc, #cfdef3);
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.3s, color 0.3s, transform 0.2s;
    cursor: pointer;
}

.tab-button:hover {
    background: linear-gradient(to right, #d4fc79, #96e6a1);
    transform: translateY(-1px);
}

.tab-button.active {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}



.top-tab {
    border-radius: 10px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    padding: 10px 10px;
    font-weight: bold;
    margin: 0 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .top-tab:hover,
    .top-tab.active {
        background: linear-gradient(to right, #533ce1, #1f75e8);
        transform: scale(1.05);
    }




/*.welcome-section {
    text-align: center;
    margin: 10px 0;
}

    .welcome-section h1 {
        font-size: 2.5rem;
        font-weight: 700;
        color: #333;
    }

    .welcome-section p {
        font-size: 1.25rem;
        color: #666;
        margin-top: 5px;
    }


.welcome-section {
    background: linear-gradient(to right, #e0ecff, #f0f7ff);
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}*/


/*Learner / Interviewer toggel button*/


.mode-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-weight: 500;
    font-size: 0.95rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

<style>
  .btn {
    padding: 8px 14px;
    margin: 5px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    background-color: #e0e0e0;
  }
  .btn.active {
    background-color: #007bff;
    color: white;
  }
  .btn-gradient {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
  }
  .section {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
</style>


    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
}

    .slider:before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        border-radius: 50%;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #6c5ce7;
}

    input:checked + .slider:before {
        transform: translateX(26px);
    }
.mode-description {
    margin: 0;
    font-size: 16px;
    color: #333;
    max-width: 700px; /* Optional: limits text width */
}

body {
    background: linear-gradient(to bottom right, #f1f4f9, #dff1ff);
    font-family: 'Segoe UI', sans-serif;
}

/*download button*/

.pdf-download-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

    .pdf-download-btn:hover {
        background-color: #0056b3;
        text-decoration: none;
        color: #fff;
    }

.nextTopic-navigation {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid #e0e0e0;
    border-radius: 10px;
}

    .nextTopic-navigation h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .nextTopic-navigation ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nextTopic-navigation li {
        margin-bottom: 0.5rem;
    }

    .nextTopic-navigation a {
        text-decoration: none;
        font-weight: 500;
    }

        .nextTopic-navigation a:hover {
            text-decoration: underline;
        }

    .nextTopic-navigation .nav-wrapper {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nextTopic-navigation .nav-item {
        flex: 1 1 45%;
        min-width: 260px;
    }



.topic-section.qa {
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
}

    .topic-section.qa h2 {
        margin-bottom: 1.2rem;
        color: #1a73e8;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

.topic-section.concept h2 {
    margin-bottom: 1.2rem;
    color: #1a73e8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topic-section.full h2 {
    margin-bottom: 1.2rem;
    color: #1a73e8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .topic-section.qa p {
        border-left: 6px solid #1a73e8;
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(26, 115, 232, 0.15);
        line-height: 1.5;
        transition: background-color 0.3s ease;
    }

        .topic-section.qa p:hover {
        }

    .topic-section.qa strong {
        font-weight: 700;
        color: #0b3d91;
    }

    .topic-section.qa p strong:first-child {
        display: inline-block;
        color: #d93025; /* A bright red for Q# */
    }

.topic-section.qa p strong:last-child {
    margin-left: 0.4rem;
    color: #1a73e8;
}
