/* Leader Profile Styles */
.leader-profile {
    padding: 80px 0;
    background: #2d2d2d;
}

.leader-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-content {
    padding: 20px;
}

.profile-content h2 {
    color: #ff6b35;
    margin-bottom: 15px;
}

.profile-content .role {
    color: #ffffffa6;
    margin-bottom: 20px;
}

.profile-content .bio {
    color: #ffffffd9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.quote {
    background: #3a3a3a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-style: italic;
    color: #ffffffd9;
}

.key-impact {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
}

.key-impact h4 {
    color: #ff6b35;
    margin-bottom: 15px;
}

.key-impact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-impact li {
    color: #ffffffd9;
    margin-bottom: 10px;
}

/* Community Impact Section */
.community-impact {
    padding: 80px 0;
    background: #1a1a1a;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.impact-card {
    background: #3a3a3a;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-card .card-icon {
    width: 80px;
    height: 80px;
    background: #ff6b35;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-card img {
    width: 40px;
    height: 40px;
}

.impact-card h3 {
    color: #ff6b35;
    margin-bottom: 15px;
}

.impact-card p {
    color: #ffffffd9;
    margin-bottom: 25px;
    line-height: 1.4;
}

.impact-stat {
    font-size: 1.5em;
    color: #ff6b35;
    margin-top: 20px;
}

/* Member Stories */
.stories-snap {
    padding: 80px 0;
    background: #2d2d2d;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.story-card {
    background: #3a3a3a;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-image {
    background-size: cover;
    background-position: center;
    height: 250px;
}

.story-details {
    padding: 20px;
    text-align: center;
}

.story-details h3 {
    color: #ff6b35;
    margin-bottom: 15px;
}

.story-details p {
    color: #ffffffd9;
    margin-bottom: 20px;
    line-height: 1.5;
}

.story-meta {
    color: #ffffffa6;
    font-size: 0.9em;
}

/* CTA Section */
.community-cta {
    padding: 60px 0;
    background: #1a1a1a;
    text-align: center;
}

.community-cta h2 {
    color: #ff6b35;
    margin-bottom: 25px;
}

.community-cta p {
    color: #ffffffd9;
    margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .leader-grid {
        grid-template-columns: 1fr;
    }

    .profile-image,
    .profile-content {
        width: 100%;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        height: auto;
    }

    .story-image {
        height: 200px;
    }
}

/* New Community Collective Section */
.community-collective {
    padding: 80px 0;
    background: #2d2d2d;
    text-align: center;
}

.collective-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
}

.group-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.collective-content {
    padding: 20px;
}

.community-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: #3a3a3a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.value-item h4 {
    color: #ff6b35;
    margin-bottom: 15px;
}

.value-item p {
    color: #ffffffd9;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .collective-grid {
        grid-template-columns: 1fr;
    }

    .group-image,
    .collective-content {
        width: 100%;
    }

    .group-image img {
        height: 300px;
        object-fit: cover;
    }

    .community-values {
        grid-template-columns: 1fr;
    }
}

/* President & Chairman Profile Images */
.leader-profile .profile-image img {
    width: 300px;          /* Fixed width */
    height: 380px;         /* Fixed height */
    object-fit: cover;     /* Maintain aspect ratio */
    border-radius: 10px;
    transition: transform 0.3s;
}

/* Community Group Image */
.community-collective .group-image img {
    width: 100%;           /* Full container width */
    height: 500px;         /* Fixed height */
    object-fit: cover;
    border-radius: 10px;
}

/* Impact Section Images */
.impact-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Story Section Images */
.story-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Mobile profile images */
    .leader-profile .profile-image img {
        width: 100%;
        height: 300px;
    }
    
    /* Mobile community group image */
    .community-collective .group-image img {
        height: 350px;
    }
    
    /* Mobile story images */
    .story-card img {
        height: 250px;
    }
}

.card-icon img {
    width: 30px;
    height: 30px;
}