/**
 * CIPT & AHS — About Page Styles
 *
 * Complements Tailwind CSS with custom animations and component styles.
 *
 * @package CIPT
 */

/* ─── HERO GRADIENT OVERLAY ─────────────────── */
#about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Dark navy on the left, fading out towards the right */
    background: linear-gradient(to right, #010613 0%, rgba(10, 31, 63, 0.9) 35%, rgba(10, 31, 63, 0.4) 70%, transparent 100%);
    z-index: 1;
}

#about-hero>div {
    position: relative;
    z-index: 2;
}

/* ─── SECTION SMOOTH SCROLL ─────────────────── */
html {
    scroll-behavior: smooth;
}

/* ─── GOVERNING BODY TABLE ──────────────────── */
#governing-body table {
    border-collapse: separate;
    border-spacing: 0;
}

#governing-body thead th:first-child {
    border-top-left-radius: 12px;
}

#governing-body thead th:last-child {
    border-top-right-radius: 12px;
}

#governing-body tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

#governing-body tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

/* ─── HIGHLIGHTS STRIP HOVER ANIMATION ──────── */
#highlights .group:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

#highlights .group {
    transition: transform 0.3s ease;
}

/* ─── APPROVALS CARD HOVER ──────────────────── */
#approvals-management .flex.items-start:hover {
    /* background: #f8fafc; */
    border-radius: 12px;
    /* margin: -8px;
    padding: 8px; */
    /* transition: all 0.2s ease; */
}

/* ─── RESPONSIVE TABLE ──────────────────────── */
@media (max-width: 768px) {
    #governing-body table {
        font-size: 12px;
    }

    #governing-body th,
    #governing-body td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    #governing-body table {
        font-size: 11px;
    }
}