/* ==================================
   INTERNATIONAL BOARD OF DIRECTORS
   MODERN EXECUTIVE DIRECTORY
================================== */

.rli-officers-section {
    max-width: 1500px;
    margin: 60px auto;
    padding: 20px;
    font-family: "Segoe UI", sans-serif;
    background: #f8fafc;
}

.rli-title-box {
    text-align: center;
    margin-bottom: 60px;
}

.rli-title-box h2 {
    color: #002855;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-line {
    width: 120px;
    height: 4px;
    margin: auto;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        #002855,
        #0077cc,
        #002855
    );
}

/* GRID */

.officers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
    gap: 30px;
}

/* CARD */

.officer-card {
    background: #ffffff;
    border-radius: 20px;

    overflow: hidden;

    text-align: center;

    box-shadow:
    0 8px 25px rgba(0,0,0,0.06);

    transition: all .35s ease;

    position: relative;
}

.officer-card:hover {
    transform: translateY(-10px);

    box-shadow:
    0 20px 40px rgba(0,40,85,.12);
}

/* TOP STRIP */

.officer-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 6px;

    background: linear-gradient(
        90deg,
        #002855,
        #0077cc
    );
}

/* IMAGE */

.officer-image {
    padding-top: 30px;
}

.officer-image img {
    width: 130px;
    height: 130px;

    border-radius: 50%;

    object-fit: cover;

    border: 5px solid #eef5fb;

    box-shadow:
    0 8px 20px rgba(0,0,0,0.08);
}

/* DETAILS */

.officer-details {
    padding: 25px;
}

.officer-details h3 {
    color: #002855;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    min-height: 55px;
}

/* POSITION */

.position {
    display: inline-block;

    background: #eef5fb;

    color: #0056b3;

    padding: 8px 18px;

    border-radius: 20px;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 15px;
}

/* DIVISION */

.division {
    color: #666;

    font-size: 14px;

    line-height: 1.7;

    min-height: 70px;

    margin-bottom: 20px;
}

/* BUTTON */

.contact-btn {
    display: inline-block;

    text-decoration: none;

    padding: 10px 24px;

    border-radius: 30px;

    background: #002855;

    color: white;

    font-weight: 600;

    transition: .3s;
}

.contact-btn:hover {
    background: #0077cc;
}

/* MOBILE */

@media (max-width:768px){

    .officers-grid{
        grid-template-columns:1fr;
    }

    .rli-title-box h2{
        font-size:30px;
    }

    .officer-image img{
        width:120px;
        height:120px;
    }
}