/* === PREMIUM LEADERSHIP CARDS (Lightweight) === */
.premium-leader-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(31, 38, 135, 0.05);
    border: 1px solid rgba(226, 232, 240, 1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.premium-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(31, 38, 135, 0.1);
    border-color: #cbd5e1;
}

/* Image Wrapper */
.leader-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8fafc;
}

/* Special sizing for elected body cards - SQUARE FORMAT */
.elected-card .leader-image-wrapper {
    height: 0;
    padding-bottom: 100%;
    position: relative;
}

.elected-card .leader-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.leader-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.premium-leader-card:hover .leader-image-wrapper img {
    transform: scale(1.03);
}

/* Overlay on hover */
.leader-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(234, 88, 12, 0.9);
    color: white;
    padding: 12px;
    transform: translateY(100%);
    transition: transform 0.2s ease;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.premium-leader-card:hover .leader-overlay {
    transform: translateY(0);
}

/* Leader Info Section */
.leader-info {
    padding: 20px 15px;
    text-align: center;
    background: #ffffff;
    position: relative;
}

.leader-info::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #ea580c;
    border-radius: 3px;
}

.leader-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Poppins', sans-serif;
}

.leader-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Authority Card Specific Styling */
.authority-card .leader-overlay {
    background: rgba(15, 23, 42, 0.9);
}

.authority-card .leader-image-wrapper {
    height: 240px;
}

.authority-card .leader-info::before {
    background: #0284c7;
}

/* Elected Card Specific Styling */
.elected-card {
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.elected-card:hover {
    border-color: rgba(245, 158, 11, 0.8);
}

.elected-card .leader-info p {
    color: #ea580c;
    font-weight: 600;
}

/* === LEADER BIO MODAL === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 300;
    color: #666;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
}

.close-modal:hover {
    background: #f1f5f9;
    color: #000;
}

.modal-header-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px 16px 0 0;
}

.modal-body {
    padding: 25px;
}

.modal-body h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #212121;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.modal-body h3 {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: #e65100;
    font-weight: 600;
}

.modal-body p {
    line-height: 1.6;
    color: #444;
    font-size: 1rem;
    margin-bottom: 15px;
}