.trustees {
    /* padding: 40px 10px; */
}

.trustees h2 {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Trustee Card */
.trustee-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    height: 100%; /* Ensures all cards have the same height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Gradient Top Border */
.trustee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* background: linear-gradient(to right, #1B3A65, #2E5A9F); */
    background: #B13A50;
    /* background: linear-gradient(to right, #7E1F33, #B13A50); */


    transition: all 0.3s ease-in-out;
}

/* Hover Effects */
.trustee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.trustee-card:hover::before {
    height: 100%;
}

.trustee-card:hover .trustee-content h5,
.trustee-card:hover .trustee-content p {
    color: white !important;
    transition: color 0.3s ease-in-out;
}

.trustee-card:hover .trustee-content {
    position: relative;
    z-index: 1;
}