/* ---------- Base & layout ---------- */
:root{
    --primary:#08386c;
    --bg:#f4f6f9;
    --card:#ffffff;
    --muted:#6b6b6b;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: #222;
    margin: 0;
    padding-top: 80px; /* MUST match navbar height */
    -webkit-font-smoothing: antialiased;
}

.section-title {
    text-align: center;
    color: var(--primary);
    font-size: 28px;
    margin: 36px auto 18px;
    font-weight: 700;
    width: 100%;
}



.section-anchor {
    scroll-margin-top: 90px; /* navbar height + buffer */
}


.section-anchor::before {
    content: "";
    display: block;
    height: 90px;          /* navbar height */
    margin-top: -90px;
    visibility: hidden;
    pointer-events: none;
}

/* about text */
.about-wrap {
    max-width: 1100px;
    margin: 28px auto;
    padding: 0 18px;
}

.about-text .intro-text{
    text-align: justify;
    line-height: 1.8;
    font-size: 16.5px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.95));
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 15, 15, 0.04);
}

/* ---------- People grid (directors & advisors) ---------- */
/* ---------- People grid (advisors & BOD) ---------- */
.people-grid {
    max-width: 1400px; /* gives space for 5 cards */
    margin: 18px auto 48px;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* FORCE 5 columns */
    gap: 22px;
    padding: 0 18px;
}
.ceo-grid {
    max-width: 1400px;
    margin: 18px auto 48px;
    display: flex;
    justify-content: center;
    padding: 0 18px;
}

/* Tablet */
@media (max-width: 1200px) {
    .people-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 700px) {
    .people-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


.advisors-grid { gap: 18px; }

/* ---------- Person card ---------- */
.person-card {
    background: var(--card);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(9, 30, 66, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
}

.person-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 38px rgba(9,30,66,0.10);
}

/* photo container - oval */
.person-photo {
    width: 150px;
    height: 190px;
    overflow: hidden;
    border-radius: 50% / 60%;
    /* border: 3px solid var(--primary); */
    /* box-shadow: 0 6px 18px rgba(8,56,108,0.06); */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 14px;
}

.person-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display:block;
}

/* info - justified inside card */
.person-body{
    width: 100%;
    text-align: justify;
    line-height: 1.6;
    color: #222;
    font-size: 15.6px;
    margin-top: 6px;
    padding: 0 6px;
}

.person-name {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.person-details {
    display: none;
    margin-top: 10px;
    font-size: 14.8px;
    line-height: 1.6;
    text-align: left;
}

.person-card.active .person-details {
    display: block;
}

.person-details ul {
    padding-left: 18px;
    margin: 6px 0 0;
}


.person-body{
    width: 100%;
    text-align: justify;
    line-height: 1.6;
    color: #222;
    font-size: 15.6px;
    margin-top: 6px;
    padding: 0 6px;
    min-height: 100px; /* Increased for better uniformity */
}

.person-body p {
    min-height: 60px; /* Ensures the text block itself is uniform */
}
}
.person-body strong{
    color: var(--primary);
    font-weight:700;
}
.president-letter {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.letter-card {
    background: #ffffff;
    max-width: 900px;
    padding: 40px 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
}

.letter-card p {
    margin-bottom: 20px;
}

.letter-signature {
    margin-top: 30px;
    font-weight: 600;
}

/* responsive tweaks */
@media (max-width: 600px){
    .person-card { min-height: 300px; padding: 16px; }
    .person-photo { width: 130px; height: 160px; }
    .section-title { font-size: 24px; margin-top: 28px; }
    .about-text .intro-text { font-size: 15px; padding: 18px; }
}
    text-align: center !important;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.advisors-grid .person-body p {
    text-align: center !important;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
