/* ============================================
   Faculty Page Styles
   ============================================ */

.fclty-hero {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.fclty-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: f-pulse 8s ease-in-out infinite;
}
.fclty-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91,80,214,0.18) 0%, transparent 60%);
    border-radius: 50%;
    animation: f-pulse 10s ease-in-out infinite reverse;
}
@keyframes f-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.1); opacity: 0.8; }
}
.fclty-hero .hero-content { position: relative; z-index: 10; }
.fclty-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}
.fclty-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto;
}

.fclty-section { padding: 80px 0; }
.fclty-section.alt { background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%); }

.fclty-section .badge {
    display: inline-block;
    background: linear-gradient(135deg, #31287e, #1a1556);
    color: #fff;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.fclty-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1556;
    margin: 0 0 18px;
    line-height: 1.22;
}
.fclty-section h2 .accent {
    background: linear-gradient(120deg, #31287e 0%, #5b50d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.fclty-section p {
    font-size: 16px;
    line-height: 1.85;
    color: #5a5a72;
    margin-bottom: 16px;
}
.fclty-image {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(49, 40, 126, 0.18);
}
.fclty-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}
.fclty-image:hover img { transform: scale(1.05); }

/* Leadership cards */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 18px;
}
.leader-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 28px 28px;
    border: 1px solid rgba(49, 40, 126, 0.1);
    box-shadow: 0 18px 44px rgba(49, 40, 126, 0.1);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.4s ease;
    position: relative;
}
.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(49, 40, 126, 0.2);
}
.leader-card .leader-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Catamaran", sans-serif;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 14px 28px rgba(49, 40, 126, 0.3);
    position: relative;
}
.leader-card .leader-avatar::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(49, 40, 126, 0.3);
    animation: rotate-ring 20s linear infinite;
}
@keyframes rotate-ring { to { transform: rotate(360deg); } }
.leader-card h3 {
    font-family: "Catamaran", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1a1556;
    margin: 0 0 4px;
}
.leader-card .leader-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #31287e;
    background: rgba(49, 40, 126, 0.1);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
}
.leader-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #5a5a72;
    margin: 0;
}

@media (max-width: 991px) {
    .leader-grid { grid-template-columns: repeat(2, 1fr); }
    .fclty-section h2 { font-size: 1.8rem; }
}

@media (max-width: 575px) {
    .fclty-hero { height: 360px; }
    .fclty-hero h1 { font-size: 2.2rem; }
    .leader-grid { grid-template-columns: 1fr; }
}
