/* Leadership Page - Enhanced Styles Matching Reference Site */
:root {
    --danger-color: #e53e3e;
    --primary-color: #0066cc;
    --dark-blue: #001233;
}

/* Typography and Font Family - Matching Reference Site */
body {
    background-color: #000;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-family: Roboto,"Open Sans",Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Roboto,"Open Sans",Helvetica Neue,Helvetica,Arial,sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.display-3 {
    font-weight: 700;
    color: #ffffff;
}

.card-title {
    font-weight: 600;
    line-height: 1.4;
}

.btn {
    font-family: Roboto,"Open Sans",Helvetica Neue,Helvetica,Arial,sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bg-black {
    background-color: #000;
}

/* Clean card hover effects */
.leadership-card {
    transition: all 0.3s ease;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Image hover effects */
.leadership-card:hover img {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Card body hover effects */
.leadership-card:hover .leadership-card-body {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Title hover effect */
.leadership-card:hover .leadership-card-title {
    color: #fff;
    transition: all 0.3s ease;
}

/* Position text hover effect */
.leadership-card:hover .text-danger {
    color: #ff6b6b;
    transition: all 0.3s ease;
}

/* Button hover effect */
.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
    transition: all 0.3s ease;
}

/* Leadership More Info Button hover effect */
.leadership-more-info-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
    transition: all 0.3s ease;
}

/* Figma-Accurate Design Specifications */
.leadership-container {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* Leadership Section */
.leadership-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Leadership Background */
.leadership-bg-black {
    background-color: #000;
}

/* Leadership Row */
.leadership-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Leadership Text Colors */
.leadership-text-white {
    color: #ffffff;
}

/* Leadership Font Weight */
.leadership-font-weight-bold {
    font-weight: 700;
}

/* Leadership Heading Sizes */
.leadership-h4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Leadership Margins */
.leadership-mb-2 {
    margin-bottom: 0.5rem;
}

.leadership-mt-2 {
    margin-top: 0.5rem;
}

/* Typography Scale - Updated Font Sizes */
.leadership-main-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

.leadership-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0px;
}

.btn {
    font-size: 12px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Leadership More Info Button - Unique Styling */
.leadership-more-info-btn {
    font-size: 18px;
    font-weight: 700;
    padding: 8px;
    border-radius: 10px;
    letter-spacing: 0.3px;
    font-family: Roboto, sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    max-width: 50%;
    margin: 0 auto;
}

/* Leadership Job Title - Unique Styling */
.leadership-job-title {
    color: #8E8C8D;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

/* Leadership Card Body - Unique Styling */
.leadership-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Leadership Profile Images - Full Width */
.leadership-profile-img {
    width: 100%;
    height: auto;
    max-width: 200px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Section Spacing - Figma Accurate - Now handled by leadership-section */

/* Card Spacing - Figma Accurate */
.leadership-card {
    padding: 24px;
    margin-bottom: 16px;
}

/* Enhanced Responsive Design - Figma Accurate */
@media (max-width: 1200px) {
    .leadership-container {
        max-width: 1000px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .leadership-main-title {
        font-size: 56px;
    }
}

@media (max-width: 992px) {
    .leadership-container {
        max-width: 800px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .leadership-main-title {
        font-size: 48px;
    }
    
    .leadership-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .leadership-container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .leadership-main-title {
        font-size: 40px;
        margin-bottom: 40px;
    }
    
    .leadership-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .leadership-card {
        padding: 20px;
        margin-bottom: 16px;
    }
    
    .leadership-card-body {
        padding: 1.25rem;
    }
    
    .leadership-profile-img {
        max-width: 180px;
    }
    
    .leadership-card:hover {
        transform: translateY(-3px);
    }
    
    .leadership-card:hover img {
        transform: scale(1.03);
    }
    
    .leadership-card-title {
        font-size: 16px;
    }
    
    .btn {
        font-size: 11px;
        padding: 7px 14px;
    }
    
    .leadership-more-info-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .leadership-job-title {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .leadership-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .leadership-main-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 32px;
    }
    
    .leadership-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .leadership-card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .leadership-card-body {
        padding: 1rem;
    }
    
    .leadership-profile-img {
        max-width: 160px;
    }
    
    .leadership-card-title {
        font-size: 15px;
    }
    
    .btn {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .leadership-more-info-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .leadership-job-title {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .leadership-main-title {
        font-size: 28px;
    }
    
    .leadership-card {
        padding: 12px;
    }
    
    .leadership-card-body {
        padding: 0.75rem;
    }
    
    .leadership-profile-img {
        max-width: 140px;
    }
    
    .leadership-card-title {
        font-size: 14px;
    }
    
    .btn {
        font-size: 9px;
        padding: 5px 10px;
    }
    
    .leadership-more-info-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .leadership-job-title {
        font-size: 12px;
    }
}

/* Leadership Modal Styles - Unique Classes */
.leadership-modal .leadership-modal-content {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.leadership-modal .leadership-modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

.leadership-modal .leadership-modal-title {
    color: #212529;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.leadership-modal .leadership-modal-close {
    color: #6c757d;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.8;
}

.leadership-modal .leadership-modal-close:hover {
    color: #000;
    opacity: 1;
}

.leadership-modal .leadership-modal-body {
    background-color: #ffffff;
    padding: 2rem;
}

.leadership-modal .leadership-modal-text {
    color: #212529;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: Roboto, "Open Sans", Helvetica Neue, Helvetica, Arial, sans-serif;
}

.leadership-modal .leadership-modal-social {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.leadership-modal .leadership-modal-btn {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.leadership-modal .leadership-modal-btn:hover {
    background-color: #c82333;
    border-color: #c82333;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.leadership-modal .leadership-modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    padding: 1rem 2rem;
}

.leadership-modal .leadership-modal-close-btn {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.leadership-modal .leadership-modal-close-btn:hover {
    background-color: #c82333;
    border-color: #c82333;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Modal Backdrop */
.leadership-modal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Dialog Centering */
.leadership-modal .leadership-modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    margin: 0.5rem auto;
    max-width: 500px;
    width: 90%;
}

.leadership-modal.show .leadership-modal-dialog {
    transform: none;
}

.leadership-modal .modal-content {
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .leadership-modal .leadership-modal-dialog {
        margin: 1rem auto;
        max-width: 90%;
        width: 90%;
    }
    
    .leadership-modal .leadership-modal-body {
        padding: 1.5rem;
    }
    
    .leadership-modal .leadership-modal-title {
        font-size: 1.25rem;
    }
    
    .leadership-modal .leadership-modal-text {
        font-size: 0.9rem;
    }
    
    .leadership-modal .leadership-modal-footer {
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .leadership-modal .leadership-modal-dialog {
        margin: 0.5rem auto;
        max-width: 95%;
        width: 95%;
    }
    
    .leadership-modal .leadership-modal-body {
        padding: 1rem;
    }
    
    .leadership-modal .leadership-modal-title {
        font-size: 1.1rem;
    }
    
    .leadership-modal .leadership-modal-text {
        font-size: 0.85rem;
    }
    
    .leadership-modal .leadership-modal-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .leadership-modal .leadership-modal-close-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}