/* faculty.css */
/* Faculty Page Styles */
.faculty-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 200px;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.faculty-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(245,158,11,0.1)"/></svg>');
    background-size: cover;
}

.faculty-banner h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .faculty-banner h1 {
        font-size: 2.5rem;
    }
}

/* Dean's Message Card */
.dean-card {
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #fde68a;
}

.dean-header {
    background: linear-gradient(135deg, #92400e 0%, #b45309 100%);
    padding: 2rem;
    color: white;
}

.dean-contact {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
}

/* Department Cards */
.dept-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.dept-card:hover {
    transform: translateY(-10px);
    border-color: #f59e0b;
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.2);
}

.dept-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
    margin: 0 auto;
}

/* Faculty Council */
.council-member {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.council-member:hover {
    border-color: #f59e0b;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Meetings Timeline */
.meeting-timeline {
    position: relative;
}

.meeting-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #f59e0b;
}

.meeting-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.meeting-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 3px solid #f59e0b;
    z-index: 2;
}

/* Department Page Styles */
.dept-banner {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    min-height: 250px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.dept-banner::after {
    content: '';
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

/* Statistics Cards */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #f59e0b;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* HOD Card */
.hod-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #fde68a;
}

.hod-badge {
    background: linear-gradient(135deg, #92400e 0%, #b45309 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Faculty List */
.faculty-member {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.faculty-member:hover {
    border-color: #f59e0b;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.15);
}

.faculty-member.hod {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.faculty-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Programs Accordion */
.program-accordion {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    overflow: hidden;
}

.program-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.program-header:hover {
    background: #f1f5f9;
}

.program-header.active {
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
}

.program-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.program-content.show {
    padding: 1.5rem;
    max-height: 1000px;
}

/* Facilities Grid */
.facility-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.facility-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Success Stories Slider */
.success-slider {
    position: relative;
    overflow: hidden;
}

.success-slide {
    min-width: 100%;
    transition: transform 0.5s ease;
}

/* HEC Supervisors */
.supervisor-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.supervisor-card:hover {
    border-color: #0ea5e9;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faculty-banner h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .dept-banner h1 {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}