/* =====================================================
   FACULTY PAGE STYLES
   ===================================================== */

/* Faculty Hero */
.faculty-hero {
    padding-top: 130px; padding-bottom: 50px;
    background: linear-gradient(135deg, rgba(7,9,42,0.85) 0%, rgba(13,16,64,0.95) 100%), url('../images/student.png') center/cover no-repeat;
    position: relative; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Faculty Grid */
.faculty-section { padding: 100px 0; background: #ffffff; }
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }

/* Faculty Cards */
.faculty-card {
    background: #ffffff; border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px; overflow: hidden; transition: transform 0.4s, box-shadow 0.4s;
    text-align: left; display: flex; flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); height: 100%;
}
.faculty-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: rgba(245,166,35,0.4); }

.fac-img-wrapper { position: relative; width: 100%; height: 260px; overflow: hidden; background: #f9fafb; }
.fac-img { width: 100%; height: 100%; object-fit: fill; object-position: center; display: block; transition: transform 0.5s; }
.faculty-card:hover .fac-img { transform: scale(1.05); }

.fac-social {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px;
    background: linear-gradient(to top, rgba(7,9,42,1), transparent);
    display: flex; justify-content: center; gap: 12px; opacity: 0; transition: opacity 0.3s;
}
.faculty-card:hover .fac-social { opacity: 1; }
.fac-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px;
    transition: background 0.3s, color 0.3s;
}
.fac-social a:hover { background: #f5a623; color: #07092a; }

.fac-info { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.fac-exp {
    display: inline-block; background: rgba(245,166,35,0.1); color: #f5a623;
    padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
    margin-bottom: 12px; align-self: flex-start; border: 1px solid rgba(245,166,35,0.2);
}
.fac-info h3 { font-size: 22px; color: #111827; font-weight: 700; margin-bottom: 4px; }
.fac-subject { font-size: 14px; color: #f5a623; font-weight: 500; margin-bottom: 6px; }
.fac-info p { font-size: 14px; color: #4b5563; line-height: 1.6; }

@media (max-width: 992px) {
    .faculty-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Breadcrumbs */
.breadcrumb {
    margin-top: 20px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.breadcrumb a { color: #f5a623; transition: color 0.3s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 10px; color: rgba(255,255,255,0.4); }

@media (max-width: 600px) {
    .faculty-hero { padding-top: 120px; padding-bottom: 20px; }
    .faculty-hero .about-title { font-size: 24px; margin-bottom: 10px; line-height: 1.2; }
    .faculty-hero .about-subtitle { font-size: 13px; line-height: 1.5; padding: 0 10px; text-align: justify; }
    
    .faculty-section { padding: 50px 0; }
    .faculty-section .section-title { font-size: 24px; margin-bottom: 12px; }
    .faculty-section .section-desc { font-size: 13px; line-height: 1.5; text-align: justify; padding: 0 10px; }
    
    .faculty-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
    .fac-img-wrapper { height: 220px; }
    .fac-info { padding: 20px 16px; text-align: left; }
    .fac-exp { padding: 4px 10px; font-size: 11px; margin-bottom: 12px; align-self: flex-start; }
    .fac-info h3 { font-size: 18px; margin-bottom: 4px; }
    .fac-subject { font-size: 12px; margin-bottom: 12px; }
    .fac-info p { font-size: 12px; text-align: justify; }
}

/* Social Connect Buttons Wrapper */
.social-connect-btns {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* LinkedIn Connect Button */
.linkedin-connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0077b5;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.2);
    flex: 1;
}
.linkedin-connect-btn:hover {
    background-color: #005582;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 119, 181, 0.3);
}

/* X (Twitter) Connect Button */
.x-connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0f1419;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex: 1;
}
.x-connect-btn:hover {
    background-color: #272c30;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
