
/* =========================================
   IMA NPPS - Committee Directory
========================================= */

.committee-page {
    background: #f7f9fc;
    min-height: 70vh;
}

.committee-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.committee-eyebrow,
.category-kicker {
    display: inline-block;
    color: #3477b9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.committee-heading .section-title {
    margin-bottom: 14px;
}

.committee-intro {
    color: #68778b;
    font-size: 16px;
    line-height: 1.8;
    max-width: 650px;
    margin: auto;
}

/* Category heading */

.category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e3eaf2;
    margin-bottom: 28px;
    padding-bottom: 18px;
}

.category-heading h2 {
    font-size: 25px;
    font-weight: 750;
    color: #172b45;
    margin: 0 0 6px;
}

.category-heading p {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* Profile card */

.committee-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(20, 45, 75, 0.045);
    transition: transform .3s ease, box-shadow .3s ease;
}

.committee-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(20, 45, 75, 0.12);
}

/* Image container */

.committee-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
    background: #eaf0f7;
}

.committee-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform .5s ease;
}

.committee-card:hover .committee-photo img {
    transform: scale(1.045);
}

/* Missing image fallback */

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e8f1fb, #d4e3f3);
}

.photo-placeholder span {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #3477b9;
}

/* Member details */

.committee-info {
    padding: 22px 20px 24px;
    text-align: center;
}

.committee-info h3 {
    color: #172b45;
    font-size: 19px;
    font-weight: 750;
    margin: 13px 0 8px;
    line-height: 1.4;
}

.designation-badge {
    display: inline-block;
    background: #edf5ff;
    color: #2869a8;
    padding: 6px 13px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.member-category {
    display: block;
    color: #8995a5;
    font-size: 12px;
    font-weight: 600;
}

/* Leadership cards */

.leadership-card .committee-photo {
    aspect-ratio: 4 / 4.3;
}

.leadership-card .committee-info {
    padding: 24px 20px 26px;
}

.leadership-card .committee-info h3 {
    font-size: 21px;
}

/* Executive committee cards */

.executive-card .committee-photo {
    aspect-ratio: 4 / 4.2;
}

.executive-card .committee-info {
    padding: 18px 15px 21px;
}

.executive-card .committee-info h3 {
    font-size: 17px;
}

/* Empty state */

.committee-empty {
    background: #ffffff;
    border: 1px dashed #ccd8e5;
    border-radius: 12px;
    padding: 30px;
    color: #718096;
    text-align: center;
}

/* Responsive */

@media (max-width: 767px) {
    .committee-heading .section-title {
        font-size: 27px;
    }

    .category-heading h2 {
        font-size: 21px;
    }

    .committee-photo {
        aspect-ratio: 4 / 4.1;
    }

    .committee-info {
        padding: 18px 14px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .committee-card,
    .committee-photo img {
        transition: none;
    }

    .committee-card:hover,
    .committee-card:hover .committee-photo img {
        transform: none;
    }
}
