
/* Faculty Friday Section Styles */
.faculty-friday {
    background-color: #f8f9fa;
    padding: 120px 0;
}

.faculty-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #0d1f2d;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.faculty-card:hover {
    transform: translateY(-10px);
}

.faculty-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.faculty-card__content {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.faculty-card__top {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.faculty-card__image-box {
    position: relative;
    flex: 0 0 120px;
}

.faculty-card__image {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 4px;
}

.faculty-card__name-badge {
    position: absolute;
    bottom: -10px;
    left: -5px;
    right: -5px;
    background-color: #2b5a91;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.faculty-card__info {
    flex: 1;
}

.faculty-card__tag {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.faculty-card__subtitle {
    color: #f5c835;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    line-height: 1.4;
}

.faculty-card__text {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faculty-card__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 15px;
}

.faculty-card__logo {
    width: 80px;
    opacity: 0.8;
}

.faculty-card__btn {
    background: transparent;
    border: 1px solid #f5c835;
    color: #f5c835;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faculty-card__btn:hover {
    background: #f5c835;
    color: #0d1f2d;
}

/* Modal Styles */
.faculty-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.faculty-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.faculty-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faculty-modal-close:hover {
    color: #0e4b90;
}

.faculty-modal__header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faculty-modal__image {
    width: 150px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.faculty-modal__title-box h2 {
    color: #0d1f2d !important;
    font-weight: 800 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.faculty-modal__title-box h4 {
    color: #0e4b90 !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.faculty-modal__body {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #444 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .faculty-modal-content {
        width: 95%;
        padding: 20px;
    }
    .faculty-modal__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
