/* --- Leaders Section Styles --- */
.leaders-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 20px auto;
    border-radius: 5px;
    background-color: #d1d2d3;
    /* Light gray background to match image */
}

body {
    background: #b6c5e2;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo-img{
    margin-right: 10px;
}

.logo-text{
    color: rgb(34, 34, 34);
}

@media (max-width: 768px) {
    .logo-text{
    display: none;
}
}


.leader-intro {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.leader-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.leader-intro p {
    color: #777;
    font-size: 1rem;
}

/* --- Grid Container (Flexbox for responsiveness) --- */
.leader-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    /* Allows cards to wrap on smaller screens */
}

.leader-card {
    position: relative; /* VERY IMPORTANT */
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    flex-basis: 220px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

 

/* Inner card mask */
.leader-card::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: #fff;
    border-radius: 12px;
    z-index: 0;
}

/* Content above animation */
.leader-card * {
    position: relative;
    z-index: 1;
}

@keyframes rotBGimg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}



.leader-img {
    width: 100%;
    height: auto;
    display: block;
    /* Optional: Ensure all images are uniform size with object-fit */
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.btn {
    display: inline-block;
    text-decoration: none;
    color: #000000;
    border: 1px solid #000000;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.btn:hover {
    border: 1px solid #000000;
    background: #12863f;
    transition: 1s;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    color: #003366;
    /* University branding blue */
    margin: 0 0 5px 0;
}

.card-content p {
    font-size: 0.9rem;
    color: #FFA500;
    /* University branding accent color */
    margin: 0;
}




/* --- Media Queries for responsiveness --- */
@media (max-width: 1000px) {
    .leader-grid {
        justify-content: space-around;
    }
}

@media (max-width: 600px) {
    .leader-card {
        flex-basis: 100%;
        max-width: 300px;
    }
}

