/* ABOUT US PAGE */

/* About Page Styles */
.about-page {
    padding: 60px 0;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
}

.about-section {
    display: flex;
    margin-bottom: 50px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.section-icon {
    background: #2c3e50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    font-size: 1.5rem;
}

.section-content {
    padding: 30px;
    flex: 1;
}

.section-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* Mission & Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mission-card, .vision-card {
    padding: 20px;
    border-radius: 8px;
}

.mission-card {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
}

.vision-card {
    background: #f0e8f8;
    border-left: 4px solid #9b59b6;
}

/* Statement of Faith */
.faith-list {
    list-style-type: none;
}

.faith-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.faith-list li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== LEADERSHIP SECTION STYLES - UPDATED ===== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.leader-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* UPDATED: Leader image container for better fit */
.leader-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa; /* Fallback background */
}

/* UPDATED: Better image handling */
.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from 'cover' to 'contain' to show full image */
    transition: transform 0.3s ease;
    background: white; /* Background for transparent images */
}

/* UPDATED: Placeholder styling */
.leader-image:has(img[src*="leader-placeholder"]) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.leader-image:has(img[src*="leader-placeholder"]) img {
    object-fit: cover; /* Use cover for placeholder to fill space */
    opacity: 0.8; /* Slight transparency for placeholder */
}

.leader-card:hover .leader-image img {
    transform: scale(1.03); /* Slightly reduced scale for better fit */
}

.leader-info {
    padding: 1.5rem;
}

.leader-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.position {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.leader-contact {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.leader-contact p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.leader-contact i {
    color: #e74c3c;
    width: 16px;
}

.no-leaders {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* ===== ABOUT SECTION STYLES ===== */
.about-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-icon {
    min-width: 80px;
    text-align: center;
    padding: 1rem 0;
}

.section-icon i {
    font-size: 2.5rem;
    color: #e74c3c;
}

.section-content {
    flex: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }
    
    .section-icon {
        min-width: 100%;
        padding: 15px 0;
        text-align: center;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .leader-image {
        height: 250px; /* Adjusted for mobile */
    }
    
    .leader-info {
        padding: 1.25rem;
    }
    
    .leader-info h3 {
        font-size: 1.2rem;
    }
}

/* Small Mobile View */
@media (max-width: 480px) {
    .leadership-grid {
        gap: 1rem;
    }
    
    .leader-card {
        border-radius: 8px;
    }
    
    .leader-image {
        height: 220px; /* Adjusted for small mobile */
    }
    
    .leader-info {
        padding: 1rem;
    }
    
    .leader-info h3 {
        font-size: 1.1rem;
    }
    
    .bio {
        font-size: 0.85rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .leader-image {
        height: 300px; /* Slightly taller on large screens */
    }
}