/* Curriculum Overview Styles */
.curriculum-img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.curriculum-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Subject Card Styles */
.subject-card {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.subject-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.subject-card:hover .subject-icon {
    transform: scale(1.1);
}

/* Faculty Card Styles */
.faculty-card {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #e5e7eb;
}

.faculty-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.faculty-card:hover .faculty-img {
    transform: scale(1.05);
}

.faculty-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.faculty-tags .badge {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    border: none;
}

/* Calendar Table Styles */
.calendar-table {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-table thead th {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    border: none;
}

.calendar-table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    border-top: 1px solid #e5e7eb;
    color: #2c3e50;
}

.calendar-table tbody tr:hover {
    background-color: #f9fafb !important;
}

.calendar-table .badge {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

@media (max-width: 991.98px) {
    .curriculum-img-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .curriculum-img-wrapper {
        min-height: auto;
    }

    .subject-icon {
        width: 50px;
        height: 50px;
    }

    .faculty-img {
        width: 80px;
        height: 80px;
    }

    .calendar-table {
        font-size: 14px;
    }

    .calendar-table thead th,
    .calendar-table tbody td {
        padding: 12px 16px;
        font-size: 14px;
    }

    .calendar-table .badge {
        padding: 4px 10px;
        font-size: 11px;
    }
}