.faculty-system-wrapper {
    font-family: inherit;
    color: inherit;
    padding: 20px 0;
}
.faculty-header-section {
    text-align: center;
    margin-bottom: 60px;
}
.faculty-header-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #000;
}
.faculty-subtitle {
    font-size: 1.2rem;
    color: #D7262D;
    font-weight: 600;
    margin-bottom: 15px;
}
.faculty-intro {
    max-width: 600px;
    margin: 0 auto;
    color: #555;
}

/* HOD Section */
.faculty-hod-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    background: #F7F7F7;
    padding: 40px;
    border-radius: 16px;
}
.hod-image-col {
    flex: 0 0 250px;
}
.hod-img-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hod-content-col {
    flex: 1;
}
.hod-quote-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #D7262D;
}
.hod-quote-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: #333;
}
.hod-name {
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    color: #000;
}
.hod-desig {
    color: #D7262D;
    font-weight: 500;
    margin: 0;
}

/* Departments */
.faculty-department-section {
    margin-bottom: 60px;
}
.dept-title {
    font-size: 2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: #000;
}

/* Grid & Cards */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.faculty-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.card-img-wrap {
    height: 250px;
    overflow: hidden;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-name {
    font-size: 1.25rem;
    margin: 0 0 5px 0;
    color: #000;
}
.card-desig {
    color: #D7262D;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}
.card-qual {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 20px 0;
    flex: 1;
}
.faculty-read-more {
    background: #D7262D;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    align-self: flex-start;
}
.faculty-read-more:hover {
    background: #b51c22;
}

/* Modal */
.faculty-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}
.faculty-modal.active {
    display: flex;
}
.faculty-modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.faculty-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    padding: 40px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 2;
}
.faculty-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
}
.faculty-modal-close:hover { color: #000; }

.modal-body {
    display: flex;
    gap: 40px;
}
.modal-left {
    flex: 0 0 250px;
}
.modal-left img {
    width: 100%;
    border-radius: 12px;
}
.modal-right {
    flex: 1;
}
.modal-right h2 {
    margin: 0 0 5px 0;
}
.modal-desig {
    color: #D7262D;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 15px 0;
}
.modal-meta p {
    margin: 5px 0;
    font-size: 0.95rem;
}
.modal-bio {
    margin-top: 20px;
    line-height: 1.6;
    color: #444;
}
.modal-quote {
    margin: 20px 0 0 0;
    padding-left: 15px;
    border-left: 4px solid #D7262D;
    font-style: italic;
    color: #555;
}

/* Responsive */
@media (max-width: 1024px) {
    .faculty-grid { grid-template-columns: repeat(2, 1fr); }
    .faculty-hod-section { flex-direction: column; text-align: center; }
    .hod-quote-card { border-left: none; border-top: 5px solid #D7262D; }
    .modal-body { flex-direction: column; }
    .modal-left { flex: none; width: 200px; margin: 0 auto; }
}
@media (max-width: 600px) {
    .faculty-grid { grid-template-columns: 1fr; }
}
