/* Logo styling to match main site */
.logo .site-name {
    font-size: 2.5rem !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .logo .site-name {
        font-size: 1.8rem !important;
    }
    
    .logo img {
        height: 60px !important;
    }
    
    header {
        padding: 15px 20px !important;
    }
}

@media (max-width: 480px) {
    .logo .site-name {
        font-size: 1.5rem !important;
    }
    
    .logo img {
        height: 50px !important;
    }
    
    header {
        padding: 10px 15px !important;
    }
}

/* Fix header positioning without announcement */
header {
    top: 0 !important;
}

/* Adjust hero section height for about page */
.hero {
    height: 60vh;
    min-height: 400px;
    margin-bottom: 0; /* Remove extra margin if present */
}

/* Reduce gap between hero and Mission & Beliefs */
.section.bg-light {
    padding: 2.5rem 0 3rem 0; /* Reduced top padding */
}

/* Enhanced image sizing and layout */
.story-content {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
    background: #f8f9fc;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.story-text {
    flex: 1 1 0;
    padding-right: 1.5rem;
}

.story-image {
    flex: 0 0 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    border: 4px solid #fff;
    background: #e9eef6;
}

/* Team member styling - Complete redesign */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.team-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.team-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* Ensure no overlap with important declarations */
.team-card .team-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fc;
}

.team-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 3px solid #fff;
    background: #e9eef6;
}

.team-card .team-content {
    padding: 1.2rem 1rem 1.5rem 1rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #1a3a6d;
}

.team-role {
    color: #4a6fa1;
    font-weight: 500;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.team-bio {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: auto;
}

.team-social a {
    color: #1a3a6d;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.team-social a:hover {
    color: #4CAF50;
}

/* Leadership tabs */
.leadership-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
    flex-wrap: wrap;
}

.leadership-tab {
    padding: 0.7rem 1.3rem;
    background: #f8f9fa;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    border: none;
    outline: none;
    font-size: 1rem;
}

.leadership-tab.active,
.leadership-tab:hover {
    background: #1a3a6d;
    color: white;
}

.leadership-content {
    display: none;
}

.leadership-content.active {
    display: block;
}

/* Section backgrounds for lighter look */
.section.bg-light {
    background: #f5f7fa;
    padding: 2.5rem 0 3rem 0;
}
.section.bg-white {
    background: #fff;
    padding: 4rem 0 3rem 0;
}

/* Mission & Beliefs Section - Improved Layout */
.mission-beliefs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    background: #f8f9fc;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    margin-top: 2.5rem;
}
.mission-vision-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}
.mission-card, .vision-card {
    flex: 1 1 320px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
    text-align: center;
}
.mission-card i, .vision-card i {
    font-size: 2.2rem;
    color: #1a3a6d;
    margin-bottom: 1rem;
}
.mission-card h3, .vision-card h3 {
    font-size: 1.3rem;
    color: #1a3a6d;
    margin-bottom: 0.7rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
}
.mission-card p, .vision-card p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0;
}
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.belief-card {
    background: #fff;
    padding: 1.5rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.belief-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.belief-card i {
    font-size: 2rem;
    color: #2a5298;
    margin-bottom: 0.7rem;
}
.belief-card h4 {
    margin-bottom: 0.5rem;
    color: #1a3a6d;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}
.belief-card p {
    color: #555;
    font-size: 0.97rem;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .mission-vision-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .mission-card, .vision-card {
        width: 100%;
    }
    .beliefs-grid {
        grid-template-columns: 1fr;
    }
}
/* Responsive adjustments */
@media (max-width: 900px) {
    .story-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    .story-image {
        margin-bottom: 1rem;
    }
    .team-grid {
        gap: 1.2rem;
    }
}
@media (max-width: 600px) {
    .story-.content {
        padding: 1.2rem 0.5rem;
    }
    .story-image img {
        width: 140px;
        height: 140px;
    }
    .team-card {
        width: 90vw;
        max-width: 320px;
    }
    .team-card .team-image {
        height: 120px;
    }
}
