.syllabus-container {
    position: relative;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.syllabus-slider-wrapper {
    overflow: hidden;
}

.syllabus-card-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.no-data-message {
    padding: 20px;
    font-size: 18px;
    text-align: center;
    color: #666;
    width: 100%;
}

.loading-message,
.no-data-message {
    text-align: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 20px;
    color: #555;
}

.syllabus-card {
    flex: 0 0 25%;
    padding: 10px;
    box-sizing: border-box;
}

.syllabus-card-inner {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.syllabus-card-inner:hover {
    transform: scale(1.05);
}

.syllabus-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.syllabus-card-content {
    padding: 15px;
    text-align: center;
}

.syllabus-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.syllabus-card-description {
    color: #666;
    margin: 10px 0;
}

.syllabus-card button {
    background: #3b4f76;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}


/* .syllabus-link-btn {
    background: #3b4f76;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}

.syllabus-link-btn:hover {
    background-color: #0056b3;
} */

.syllabus-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
    border-radius: 50%;
}

.arrow-left {
    left: 0;
}

.arrow-right {
    right: 0;
}


/* Responsive */

@media (max-width: 992px) {
    .syllabus-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .syllabus-card {
        flex: 0 0 100%;
    }
}


/* Syllabus Details Page CSS */

.dropdown {
    position: relative;
    /* width: 250px; */
    width: 100%;
    font-family: sans-serif;
    /* user-select: none; */
}

.dropdown-toggle {
    padding: 12px 16px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    /* position: relative; */
}

.dropdown.open .dropdown-toggle {
    background-color: #dfeeff;
    /* active background color */
}

.dropdown-toggle::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}
/* changes */

.elearning {
    margin-bottom: 30px;
}

.elearning .dropdown-options {
    position: relative !important;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    /* right: 0; */
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    /* border-top: none; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 10;
}

.dropdown.open .dropdown-options {
    display: block;
}

.dropdown-options ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-options li {
    padding: 0;
}

.dropdown-options li a {
    text-decoration: none;
    color: #3d5abd;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    transition: background-color 0.3s, color 0.3s;
    gap: 10px;
}

.dropdown-options li a span {
    color: #999;
    transition: color 0.3s;
    flex-shrink: 0;
    font-weight: bold;
}

.dropdown-options li a:hover {
    background-color: #f2f2f2;
    color: #000;
}

.dropdown-options li a:hover span {
    color: #007bff;
}

.dropdown-options li a span {
    margin-right: 10px;
    color: #999;
    font-weight: bold;
}


/*Teachers-Seniority-List Stylesheet*/