/* Leadership Container */
.leadership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Leadership Section */
.leadership-section {
    margin-bottom: 60px;
}

.leadership-category-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a5e;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #1a1a5e;
    padding-bottom: 15px;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Leadership Item */
.leadership-item {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Leadership Image */
.leadership-image-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #f5f5f5;
}

.leadership-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.leadership-item:hover .leadership-image-wrapper img {
    transform: scale(1.05);
}

.leadership-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.leadership-placeholder .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: #fff;
}

/* Leadership Info */
.leadership-info {
    padding: 25px;
    text-align: center;
    background: #fff;
    position: relative;
}

.leadership-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a5e;
    margin: 0 0 8px 0;
}

.leadership-position {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Read More Button */
.leadership-read-more {
    background: #1a1a5e;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leadership-read-more:hover {
    background: #2c2c7e;
    transform: scale(1.05);
}

.leadership-read-more:active {
    transform: scale(0.98);
}

/* Modal Overlay */
.leadership-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

.leadership-modal-overlay.active {
    display: block;
}

/* Modal */
.leadership-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: #fff;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.leadership-modal-content.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-inner {
    position: relative;
    padding: 0;
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 32px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s ease;
}

.modal-close:hover {
    background: #f44336;
    color: #fff;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    padding: 40px;
}

.modal-image {
    width: 100%;
}

.modal-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-details h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a5e;
    margin: 0 0 10px 0;
}

.modal-details h4 {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.leader-bio,
.leader-content {
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Social Links */
.leader-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a5e;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.social-link:hover {
    background: #2c2c7e;
    transform: translateY(-3px);
}

.social-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .leadership-category-title {
        font-size: 24px;
    }
    
    .modal-details h2 {
        font-size: 22px;
    }
    
    .leadership-modal-content {
        width: 95%;
        max-height: 95vh;
    }
}

/* Scrollbar Styling for Modal */
.leadership-modal-content::-webkit-scrollbar {
    width: 8px;
}

.leadership-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.leadership-modal-content::-webkit-scrollbar-thumb {
    background: #1a1a5e;
    border-radius: 4px;
}

.leadership-modal-content::-webkit-scrollbar-thumb:hover {
    background: #2c2c7e;
}
