/* Developer Custom CSS - Easy Maintenance */

/* Accordion Styling */
.accordion-button {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1);
}

.accordion-button:not(.collapsed) .badge {
    background-color: rgba(255,255,255,0.2) !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0,123,255,0.25);
}

.accordion-item {
    margin-bottom: 0.5rem;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accordion-body {
    background-color: #f8f9fa;
}

/* Faculty Category Section Styling */
.faculty-category-section {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faculty-category-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.category-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #007bff;
}

.category-header h4 {
    font-weight: 600;
    color: #0056b3;
}

.category-content {
    min-height: 100px;
}

/* Alphabet Filter Tabs */
.alphabet-filter-tabs .btn {
    border-radius: 20px;
    padding: 5px 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.alphabet-filter-tabs .btn:hover {
    transform: scale(1.05);
}

/* List Group Styling */
.list-group-flush .list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem 1.5rem;
}

.list-group-flush .list-group-item:first-child {
    border-top: none;
}

.list-group-flush .list-group-item:last-child {
    border-bottom: none;
}

/* Faculty Grid Item Hover Effects */
.faculty-grid-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faculty-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Faculty Modal Z-index Fix */
.modal-backdrop {
    z-index: 9998 !important;
}

.modal {
    z-index: 99999 !important;
}

/* Student Films Section - Equal Height Images */
.student-flims .wing-block {
    display: flex;
    gap: 20px;
}

.student-flims .wing-block .item {
    flex: 1;
}

.student-flims .img-block {
    height: 300px;
    overflow: hidden;
}

.student-flims .img-block a {
    display: block;
    height: 100%;
}

.student-flims .img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.student-flims .img-block a:hover img {
    transform: scale(1.05);
}

.student-flims .youtube-video {
    margin-top: 0px;
}

.student-flims .youtube-video a {
    display: block;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.student-flims .youtube-video a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.student-flims .youtube-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .alphabet-filter-tabs {
        justify-content: flex-start !important;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .alphabet-filter-tabs .btn {
        flex-shrink: 0;
        margin-bottom: 5px;
    }
    
    .faculty-category-section {
        margin-bottom: 2rem !important;
    }
}
