/*
 * Faculty Page — Page-Specific Styles
 * ─────────────────────────────────────
 * Shared design system is loaded via srusti-design-system.css
 * (linked in the view before this file).
 *
 * This file contains ONLY styles unique to the Our Faculty page:
 *   - Faculty visual / collage frame (hero right)
 *   - Downloads section layout
 *   - Faculty grid & faculty card
 *   - Achievements section
 *   - Modal aliases (email-card, btns mapped to shared mb-btn)
 *   - Page-specific responsive overrides
 */


/* ══════════════════════════════════════════════════
   HERO RIGHT — Faculty Visual
══════════════════════════════════════════════════ */

.faculty-visual {
    position: relative;
    width: 420px;
    height: 420px;
    flex-shrink: 0;
}

/* Pulsing circular frame */
.collage-frame {
    width: 100%;
    height: 100%;
    /*background: rgba(55, 71, 153, 0.35);*/
    background: url(https://www.srustiacademy.ac.in/public/images/srusti-faculty-section.png) center top no-repeat;
    background-size: contain;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fv-pulse 3s ease-in-out infinite;
}

@keyframes fv-pulse {
    0%, 100% {
        box-shadow: 0 0 0 10px rgba(220,162,0,0.08), 0 0 0 22px rgba(220,162,0,0.04);
    }
    50% {
        box-shadow: 0 0 0 18px rgba(220,162,0,0.12), 0 0 0 36px rgba(220,162,0,0.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .collage-frame { animation: none; }
}

.collage-frame svg {
    width: 120px;
    height: 120px;
    stroke: var(--gold);
}


/* ══════════════════════════════════════════════════
   DOWNLOADS SECTION
══════════════════════════════════════════════════ */

.section-downloads {
    background: var(--off-white);
}

.dl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

/* Download card — extends .card-horizontal from design system */
.dl-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--gold);
    transition: transform var(--transition), box-shadow var(--transition);
}
.dl-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dl-icon {
    width: 52px;
    height: 52px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dl-icon svg { width: 24px; height: 24px; stroke: var(--navy); }

.dl-content h4 {
    font-family: "Antonio", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 6px;
}
.dl-content p {
    font-size: 13px;
    color: var(--body-gray);
    margin-bottom: 14px;
    line-height: 1.6;
}


/* ══════════════════════════════════════════════════
   FILTER SECTION  (section wrapper)
══════════════════════════════════════════════════ */

.section-filter {
    background: var(--white);
    padding: 48px 0 0;
}


/* ══════════════════════════════════════════════════
   FACULTY GRID & CARDS
══════════════════════════════════════════════════ */

.section-grid {
    background: var(--white);
    padding-top: 0;
    padding-bottom: 88px;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--body-gray);
    font-size: 15px;
}

.faculty-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

/* Gold top bar on hover */
.faculty-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}
.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.faculty-card:hover::before {
    transform: scaleX(1);
}

/* Avatar / photo circle */
.faculty-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--muted), #b9c2ea);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-family: "Anton", sans-serif;
    font-size: 26px;
    color: var(--blue);
    border: 3px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
}

.faculty-name {
    font-family: "Antonio", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.2;
}

.faculty-designation {
    font-size: 12px;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 30px;
    line-height: 1.4;
}

.faculty-email {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    font-size: 11px;
    color: var(--body-gray);
    margin-bottom: 16px;
    word-break: break-all;
}
.faculty-email svg { width: 12px; height: 12px; stroke: var(--body-gray); flex-shrink: 0; }

/* Card action button */
.faculty-card .fc-btn {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 12px;
    padding: 9px 22px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
    width: 100%;
}
.faculty-card .fc-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 162, 0, 0.3);
}


/* ══════════════════════════════════════════════════
   ACHIEVEMENTS SECTION
══════════════════════════════════════════════════ */

.section-achievements {
    background: var(--off-white);
}

.ach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ach-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border-top: 5px solid var(--gold);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.ach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ach-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-family: "Antonio", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    width: fit-content;
}

.ach-title {
    font-family: "Antonio", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

.ach-name  { font-size: 13px; color: var(--blue);      font-weight: 600; }
.ach-desc  { font-size: 13px; color: var(--body-gray); line-height: 1.6; }
.ach-date  { font-size: 11.5px; color: var(--body-gray); opacity: 0.7; }
.ach-cta   { text-align: center; margin-top: 40px; }


/* ══════════════════════════════════════════════════
   MODAL — Faculty-specific aliases
   (shared modal structure from design system;
    these are renamed aliases used in the view HTML)
══════════════════════════════════════════════════ */

/* email row inside modal header */
.modal-email-card {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(220, 225, 255, 0.75);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.modal-email-card svg { width: 14px; height: 14px; stroke: var(--gold); }

/* button row inside modal header */
.modal-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}


/* ══════════════════════════════════════════════════
   PAGE-SPECIFIC RESPONSIVE OVERRIDES
══════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .faculty-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .dl-grid  { grid-template-columns: 1fr; }
    .ach-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .faculty-grid { grid-template-columns: repeat(2, 1fr); }
    .ach-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .faculty-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .faculty-grid { grid-template-columns: 1fr; }
}
