/* ============================================================
   Governing Body Page — Governing_body.css
   Extends: style.css (Satyadeo College Gouripur)
   ============================================================ */

/* ============================================================
   INNER PAGE BANNER  (shared pattern with Principal-Message.css)
   ============================================================ */
.inner-page-banner {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue), var(--primary-blue-light)), url('../images/mini-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 72px 0 60px;
    position: relative;
    overflow: hidden;
}

.inner-page-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(253, 163, 27, 0.10);
    pointer-events: none;
}

.inner-page-banner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.inner-banner-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-orange-light);
    margin-bottom: 14px;
}

.inner-banner-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.inner-banner-title span {
    color: var(--primary-orange-light);
}

.inner-banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.inner-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    text-decoration: none;
}

.inner-banner-breadcrumb a:hover {
    color: var(--primary-orange-light);
}

.inner-banner-breadcrumb .separator {
    color: var(--primary-orange);
    font-size: 0.7rem;
}

.banner-dots {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    opacity: 0.18;
}

.banner-dots span {
    display: block;
    width: 7px;
    height: 7px;
    background: var(--white);
    border-radius: 50%;
}

/* ============================================================
   COMMON SECTION TYPOGRAPHY
   ============================================================ */
.gb-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 14px;
}

.gb-section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 12px;
}

.gb-section-title span {
    color: var(--primary-blue);
}

.gb-section-sub {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.gb-intro-strip {
    padding: 70px 0 60px;
    background: var(--light-bg);
    border-bottom: 1px solid var(--light-grey);
}

/* Stat cards */
.gb-stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.gb-stat-card.gb-card-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gb-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.gb-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    margin: 0 auto 14px;
}

.gb-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.gb-stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================================
   GOVERNING BODY TABLE SECTION
   ============================================================ */
.gb-table-section {
    padding: 70px 0;
    background: var(--white);
}

.gb-table-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-grey);
}

.gb-table-header {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    color: var(--white);
    padding: 18px 28px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.gb-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.gb-table thead tr {
    background: linear-gradient(90deg, rgba(17, 110, 99, 0.06), rgba(253, 163, 27, 0.06));
}

.gb-table thead th {
    padding: 14px 20px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
    border-bottom: 2px solid var(--light-grey);
    white-space: nowrap;
}

.gb-table tbody tr {
    border-bottom: 1px solid var(--light-grey);
    transition: background 0.2s;
}

.gb-table tbody tr:last-child {
    border-bottom: none;
}

.gb-table tbody tr:hover {
    background: rgba(17, 110, 99, 0.035);
}

.gb-table tbody td {
    padding: 14px 20px;
    font-size: 0.9rem;
    color: var(--text-medium);
    vertical-align: middle;
}

.gb-serial {
    font-weight: 900;
    color: var(--primary-blue);
    font-size: 1rem;
    text-align: center;
}

.gb-member-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gb-member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.gb-name-text {
    font-weight: 700;
    color: var(--text-dark);
}

.gb-role-badge {
    display: inline-block;
    background: rgba(17, 110, 99, 0.08);
    color: var(--primary-blue);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.gb-desig-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.gb-desig-badge.badge-chairman {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: var(--white);
}

.gb-desig-badge.badge-secretary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
}

.gb-desig-badge.badge-member {
    background: var(--light-bg);
    color: var(--text-dark);
    border: 1px solid var(--light-grey);
}

.gb-desig-badge.badge-nominated {
    background: rgba(253, 163, 27, 0.15);
    color: var(--primary-orange-dark);
    border: 1px solid rgba(253, 163, 27, 0.3);
}

/* ============================================================
   MEMBER CARDS SECTION
   ============================================================ */
.gb-members-section {
    padding: 80px 0 90px;
    background: var(--light-bg);
}

.gb-member-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(24px);
}

.gb-member-card.gb-card-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.gb-member-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(17, 110, 99, 0.2);
}

/* Top accent bar */
.gb-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
}

/* Featured (Chairman / Secretary) cards */
.gb-card-featured {
    border-color: rgba(253, 163, 27, 0.3);
}

.gb-card-featured::before {
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue), var(--primary-orange));
}

/* Ribbon */
.gb-card-ribbon {
    position: absolute;
    top: 20px;
    right: -8px;
    background: var(--primary-orange);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 14px 4px 10px;
    border-radius: 4px 0 0 4px;
    z-index: 2;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.12);
}

.gb-card-ribbon::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -6px;
    border-left: 8px solid rgba(180, 100, 0, 0.6);
    border-bottom: 6px solid transparent;
}

/* Image wrapper */
.gb-card-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-bg), rgba(17,110,99,0.05));
    position: relative;
}

.gb-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.gb-member-card:hover .gb-card-img {
    transform: scale(1.04);
}

/* Placeholder for missing photo */
.gb-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(17,110,99,0.08), rgba(253,163,27,0.06));
}

.gb-placeholder-icon {
    font-size: 4rem;
    color: rgba(17, 110, 99, 0.25);
}

/* Card body */
.gb-card-body {
    padding: 22px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gb-card-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.25;
}

.gb-card-role-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.gb-card-role-tag.orange {
    background: rgba(253, 163, 27, 0.12);
    color: var(--primary-orange-dark);
    border: 1px solid rgba(253, 163, 27, 0.3);
}

.gb-card-role-tag.teal {
    background: rgba(17, 110, 99, 0.09);
    color: var(--primary-blue);
    border: 1px solid rgba(17, 110, 99, 0.2);
}

.gb-card-role-tag.govt {
    background: rgba(60, 60, 180, 0.08);
    color: #2c3e9a;
    border: 1px solid rgba(60, 60, 180, 0.2);
}

.gb-card-desig-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.gb-card-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-grey), transparent);
    margin: 14px 0 12px;
}

.gb-card-meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gb-card-meta li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-medium);
    padding: 5px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.gb-card-meta li:last-child {
    border-bottom: none;
}

.gb-card-meta li i {
    color: var(--primary-orange);
    font-size: 0.82rem;
    margin-top: 2px;
    flex-shrink: 0;
}


/* ============================================================
   CLOSING STRIP
   ============================================================ */
.gb-closing-strip {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    position: relative;
    overflow: hidden;
}

.gb-closing-strip::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.gc-strip-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 14px;
}

.gc-strip-sub {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    font-weight: 500;
    margin: 0;
}

.btn-gb-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-orange);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(253, 163, 27, 0.4);
    letter-spacing: 0.03em;
}

.btn-gb-home:hover {
    background: var(--primary-orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(253, 163, 27, 0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .inner-banner-title  { font-size: 2.2rem; }
    .gb-section-title    { font-size: 1.9rem; }

    .gb-card-img-wrap {
        height: 200px;
    }

    .gc-strip-title {
        font-size: 1.45rem;
    }
}

@media (max-width: 767px) {
    .inner-page-banner   { padding: 52px 0 44px; }
    .inner-banner-title  { font-size: 1.75rem; }
    .banner-dots         { display: none; }

    .gb-intro-strip      { padding: 50px 0 40px; }
    .gb-table-section    { padding: 50px 0; }
    .gb-members-section  { padding: 55px 0 65px; }
    .anti-ragging-section{ padding: 55px 0 65px; }
    .gb-closing-strip    { padding: 45px 0; }

    .gb-section-title    { font-size: 1.6rem; }

    .gb-table thead th,
    .gb-table tbody td   { padding: 10px 12px; font-size: 0.82rem; }

    .gb-card-img-wrap    { height: 180px; }

    .gc-strip-title      { font-size: 1.3rem; }
    .btn-gb-home         { padding: 12px 24px; }

    .ar-alert-banner     { font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .gb-stat-card        { padding: 18px 14px; }
    .gb-stat-num         { font-size: 1.6rem; }
    .ar-sub-img          { height: 120px; }
}
