/* ==========================================
   BOARD OF GOVERNORS — Unified Design System
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1650;
    --navy-deep: #07091A;
    --gold: #FFD700;
    --gold-soft: #FFE44A;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--navy-deep);
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

.bog-section {
    width: 100%;
    padding: 130px 0 50px !important; /* Top padding clears floating menu */
    background: var(--navy-deep);
}

/* Offset Clearance for Floating Right Side Buttons */
.bog-container {
    max-width: 1380px;
    margin: auto;
    padding-left: 20px;
    padding-right: 75px !important;
}

/* Typography Hierarchy */
h1, h2, h3,
.bog-title h2,
.bog-subtitle h3 {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

p, span, small, h4 {
    font-family: var(--font-body) !important;
}

/* ==========================================
        PAGE TITLE
========================================== */

.bog-title {
    text-align: center;
    margin-bottom: 45px;
}

.bog-title h2 {
    font-size: 30px;
    color: var(--gold);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.bog-title p {
    max-width: 950px;
    margin: auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.65;
}

/* ==========================================
        SUB TITLES
========================================== */

.bog-subtitle {
    text-align: center;
    margin: 40px 0 28px;
}

.bog-subtitle h3 {
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.bog-subtitle h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    border-radius: 2px;
}

/* ==========================================
        GRID
========================================== */

.committee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ==========================================
        CARD
========================================== */

.bog-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.35s ease;
    position: relative;
}

.bog-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.bog-image {
    height: 210px;
    overflow: hidden;
    background: #0b112c;
}

.bog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.45s ease;
}

.bog-card:hover .bog-image img {
    transform: scale(1.04);
}

/* ==========================================
        CARD INFO
========================================== */

.bog-info {
    background: rgba(7, 9, 26, 0.85);
    color: #fff;
    text-align: center;
    padding: 16px 14px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bog-info h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--gold);
}

.bog-info span {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.35;
}

.bog-info small {
    display: block;
    color: var(--gold-soft);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
}

/* ==========================================
        CHAIRMAN
========================================== */

.chairman-wrap {
    display: flex;
    justify-content: center;
    margin: 30px 0 45px;
}

.chairman-card {
    width: 280px;
}

.chairman-card .bog-image {
    height: 240px;
}

/* ==========================================
        HOVER OVERLAY EFFECT
========================================== */

.bog-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 228, 74, 0.02));
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 1;
    pointer-events: none;
}

.bog-card:hover::before {
    opacity: 1;
}

.bog-card > * {
    position: relative;
    z-index: 2;
}

/* ==========================================
        RESPONSIVE MEDIA QUERIES
========================================== */

@media(max-width: 1200px) {
    .committee-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 991px) {
    .bog-container {
        padding-right: 20px !important;
    }

    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bog-title h2 {
        font-size: 26px;
    }

    .bog-subtitle h3 {
        font-size: 18px;
    }
}

@media(max-width: 767px) {
    .bog-section {
        padding: 110px 0 40px !important;
    }

    .committee-grid {
        grid-template-columns: 1fr;
    }

    .chairman-card {
        width: 100%;
        max-width: 280px;
    }

    .bog-title h2 {
        font-size: 22px;
    }

    .bog-title p {
        font-size: 13px;
    }

    .bog-image {
        height: 220px;
    }
}