.leadership-section{
    max-width:1400px;
    margin:auto;
    padding:100px 8%;
    display:grid;
    grid-template-columns:35% 65%;
    gap:60px;
    align-items:center;
}

/* LEFT SIDE */

.leadership-left h2{
    font-size:56px;
    line-height:1.1;
    margin-bottom:25px;
    color:#06132b;
}

.leadership-left p{
    color:#516887;
    line-height:1.8;
    margin-bottom:35px;
}

.team-btn{
    display:inline-block;
    padding:14px 35px;
    border:2px solid #0b63d8;
    border-radius:10px;
    color:#0b63d8;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.team-btn:hover{
    background:#0b63d8;
    color:#fff;
}

/* RIGHT SIDE */

.leadership-right{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    column-gap:25px;
    row-gap:5px;
}

/* CARDS */

.team-card{
    background:linear-gradient(
        135deg,
       rgba(9,9,121,0.5),
        rgba(0,212,255,0.5)
       
    );
     

    color:white;
    text-align:center;

    padding:30px 20px;
    border-radius:15px;
    

    display:flex;
    flex-direction:column;
    justify-content:center;

    box-shadow:
    0px 5px 5px 6px rgba(0,0,0,0.15);

    opacity: .4;
    transition:.3s;
}

.background-team-card{
    background-color:black;
    opacity:20%;
}

.team-card:hover{
    transform:translateY(-8px);
}

.team-card img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;

    margin:auto;
  

    border:4px solid rgba(255,255,255,.2);
}

.team-card h3{
    margin-bottom:8px;
    font-size:22px;
}

.team-card span{
    opacity:.9;
    font-size:15px;
}

/* STAGGERED LAYOUT */

.card1{margin-bottom:-40px;}
.card2{margin-top:-50px;}
.card3{margin-bottom:-80px;}

.card4{margin-top:50px;
       height:250px;
       }
.card5{margin-top:100px;
       height:250px;
       }
.card6{
    margin-top:-150px;
    grid-column:2;
}

/* CENTERED LOGO */

.logo-center{
   
    height:170px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 180px;
}
/* RESPONSIVE */

@media(max-width:992px){

    .leadership-section{
        grid-template-columns:1fr;
        padding:80px 6%;
    }

    .leadership-left{
        text-align:center;
    }

    /* Make tablet behave like mobile: one card per row */
    .leadership-right{
        grid-template-columns:1fr;
        gap:20px;
    }

    .team-card{
        width:100%;
        box-sizing:border-box;
        min-height:unset;
    }

    .card1,
    .card2,
    .card3,
    .card4,
    .card5,
    .card6{
        margin:0;
        grid-column:auto;
    }

    /* Hide the decorative centered logo and the empty placeholder on tablet */
    .logo-center,
    .leadership-right > .card6:not(.team-card) {
        display:none;
    }

}

@media(max-width:600px){

    .leadership-section{
        padding:60px 5%;
    }

    .leadership-right{
        grid-template-columns:1fr;
        gap:20px;
    }

    .leadership-left h2{
        font-size:40px;
    }

    .team-card{
        padding:25px 18px;
        width:100%;
        min-height:unset;
    }

    .card1,
    .card2,
    .card3,
    .card4,
    .card5,
    .card6{
        margin:0;
        grid-column:auto;
    }

    .leadership-right > *{
        width:100%;
        box-sizing:border-box;
    }

    .logo-center,
    .leadership-right > .card6:not(.team-card) {
        display: none;
    }

}