* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.leaders-section {
    background: linear-gradient(135deg, #e7e0d8 0%, #e7e0d8 50%, #0F122A 100%);
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-title {
    color: #0F122A;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 60px;
    text-align: center;
}

.leaders-container {
    max-width: 1400px;
    width: 100%;
}

.leaders-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.leader-card {
    position: relative;
    width: 280px;
    background: #E7E0D8;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 18, 42, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(15, 18, 42, 0.25);
}

.leader-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.leader-info {
    padding: 20px;
    text-align: center;
    background: #0F122A;
    color: #E7E0D8;
}

.leader-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #E7E0D8;
}

.leader-position {
    font-size: 16px;
    color: #AC9D8D;
}

.linkedin-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 320px;
    background: rgba(15, 18, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leader-card:hover .linkedin-overlay {
    opacity: 1;
}

.linkedin-icon {
    width: 80px;
    height: 80px;
    fill: #E7E0D8;
    transition: transform 0.3s ease;
}

.linkedin-icon:hover {
    transform: scale(1.1);
}

/* Extra Large Screens (1600px and up) - 4 cards per row */
@media (min-width: 1600px) {
    .leaders-container {
        max-width: 1600px;
    }

    .leader-card {
        width: 300px;
    }

    .leader-image {
        height: 340px;
    }

    .linkedin-overlay {
        height: 340px;
    }
}

/* Large Desktop (1200px - 1599px) - 4 cards per row */
@media (min-width: 1200px) and (max-width: 1599px) {
    .leaders-container {
        max-width: 1300px;
    }

    .leaders-row {
        gap: 35px;
    }
}

/* Medium Desktop (992px - 1199px) - 3 cards per row */
@media (min-width: 992px) and (max-width: 1199px) {
    .leaders-container {
        max-width: 1000px;
    }

    .leaders-row {
        gap: 30px;
    }

    .leader-card {
        width: 260px;
    }

    .leader-image {
        height: 300px;
    }

    .linkedin-overlay {
        height: 300px;
    }
}

/* Tablet Landscape (768px - 991px) - 2 cards per row */
@media (min-width: 768px) and (max-width: 991px) {
    .section-title {
        font-size: 42px;
        margin-bottom: 50px;
    }

    .leaders-section {
        padding: 70px 20px;
    }

    .leaders-row {
        gap: 30px;
    }

    .leader-card {
        width: 45%;
        max-width: 320px;
        min-width: 240px;
    }

    .leader-image {
        height: 300px;
    }

    .linkedin-overlay {
        height: 300px;
    }
}

/* Tablet Portrait (576px - 767px) - 2 cards per row (smaller) */
@media (min-width: 576px) and (max-width: 767px) {
    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .leaders-section {
        padding: 60px 15px;
    }

    .leaders-row {
        gap: 25px;
    }

    .leader-card {
        width: 47%;
        max-width: 280px;
        min-width: 220px;
    }

    .leader-image {
        height: 280px;
    }

    .linkedin-overlay {
        height: 280px;
    }

    .leader-name {
        font-size: 22px;
    }

    .leader-position {
        font-size: 15px;
    }

    .linkedin-icon {
        width: 70px;
        height: 70px;
    }
}

/* Mobile Landscape (481px - 575px) - 1 card per row */
@media (min-width: 481px) and (max-width: 575px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 35px;
    }

    .leaders-section {
        padding: 50px 15px;
    }

    .leaders-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .leader-card {
        width: 100%;
        max-width: 350px;
    }

    .leader-image {
        height: 300px;
    }

    .linkedin-overlay {
        height: 300px;
    }

    .leader-name {
        font-size: 22px;
    }

    .leader-position {
        font-size: 15px;
    }

    .linkedin-icon {
        width: 70px;
        height: 70px;
    }
}

/* Mobile Portrait (320px - 480px) - 1 card per row */
@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .leaders-section {
        padding: 40px 15px;
    }

    .leaders-row {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-bottom: 30px;
    }

    .leader-card {
        width: 100%;
        max-width: 300px;
    }

    .leader-image {
        height: 300px;
    }

    .linkedin-overlay {
        height: 300px;
    }

    .leader-info {
        padding: 15px;
    }

    .leader-name {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .leader-position {
        font-size: 14px;
    }

    .linkedin-icon {
        width: 60px;
        height: 60px;
    }
}

/* Extra Small Mobile (max 360px) - 1 card per row (compact) */
@media (max-width: 360px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .leaders-section {
        padding: 35px 10px;
    }

    .leaders-row {
        gap: 20px;
        margin-bottom: 25px;
    }

    .leader-card {
        max-width: 260px;
    }

    .leader-image {
        height: 260px;
    }

    .linkedin-overlay {
        height: 260px;
    }

    .leader-info {
        padding: 12px;
    }

    .leader-name {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .leader-position {
        font-size: 13px;
    }

    .linkedin-icon {
        width: 50px;
        height: 50px;
    }
}