/* ===================================
   RLI INTERNATIONAL OFFICERS
   EXECUTIVE LEADERSHIP STYLE
=================================== */

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

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

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

.title-line {
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg,#003366,#caa85c,#003366);
    margin: auto;
    border-radius: 10px;
}

/* GRID */

.officers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

/* CARD */

.officer-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    padding-top: 70px;
    text-align: center;

    box-shadow: 0 12px 35px rgba(0,0,0,.08);

    transition: all .4s ease;
}

/* TOP HEADER STRIP */

.officer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100px;

    background: linear-gradient(
        135deg,
        #003366,
        #0056b3
    );
}

.officer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,51,102,.18);
}

/* IMAGE */

.officer-image {
    position: relative;
    z-index: 2;
}

.officer-image img {
    width: 140px;
    height: 140px;
    object-fit: cover;

    border-radius: 50%;

    border: 6px solid #ffffff;

    box-shadow:
        0 0 0 3px #caa85c,
        0 10px 25px rgba(0,0,0,.15);

    transition: .4s;
}

.officer-card:hover .officer-image img {
    transform: scale(1.06);
}

/* DETAILS */

.officer-details {
    padding: 25px 30px 35px;
}

.officer-details h3 {
    color: #003366;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.division {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    min-height: 55px;
}

/* POSITION */

.position {
    display: inline-block;

    color: #caa85c;
    font-size: 15px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 20px;

    background: none;
    padding: 0;
}

/* BUTTON */

.contact-btn {
    display: inline-block;

    padding: 12px 28px;

    background: transparent;

    color: #003366;

    border: 2px solid #003366;

    border-radius: 30px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.contact-btn:hover {
    background: #003366;
    color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 768px) {

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

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

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

    .officer-details h3 {
        font-size: 22px;
    }
}