/* Page Header with Background Images */
.page-header {
    margin-top: 70px;
    position: relative;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
   min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 
        2px 2px 10px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(0, 0, 0, 0.7),
        -1px -1px 5px rgba(0, 0, 0, 0.8);
}

.page-header p {
    font-size: 1.3rem;
    color: var(--white);
    text-shadow: 
        1px 1px 8px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Individual Page Background Images */
.page-header-who-we-are {
    background-image: url('img/11.jpeg');
}

.page-header-our-work {
    background-image: url('img/12.jpeg');
}

.page-header-resources {
    background-image: url('img/14.jpeg');
}

.page-header-media {
    background-image: url('img/15.jpeg');
}

.page-header-community-voices {
    background-image: url('img/06.jpeg');
}

.page-header-get-involved {
    background-image: url('img/15.jpeg');
}

.page-header-donate {
    background-image: url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?auto=format&fit=crop&w=1920&q=80');
}

.page-header-leadership {
    background-image: url('img/06.jpeg');
}

.page-header-contact {
    background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1920&q=80');
}

/* Responsive */
@media (max-width: 968px) {
    .page-header {
        padding: 80px 0;
        min-height: 300px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .page-header {
        padding: 60px 0;
        min-height: 250px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-image .image-placeholder-large {
    height: 400px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

/* Story Image - Real Image Style */
.story-image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    height: 500px;
}

.story-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.story-image-wrapper:hover .story-image-img {
    transform: scale(1.03);
}

.story-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        transparent 100%
    );
    color: var(--white);
    padding: 2.5rem 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.story-image-caption i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.story-image-caption span {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .story-image-wrapper {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .story-image-wrapper {
        height: 300px;
    }
    
    .story-image-caption {
        padding: 1.5rem 1.25rem 1rem;
    }
    
    .story-image-caption span {
        font-size: 0.95rem;
    }
}

/* Vision & Mission */
.vision-mission {
    background: var(--bg-light);
    padding: 80px 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vm-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.vm-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.vm-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.vm-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Objectives */
.objectives {
    padding: 80px 0;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.objective-card {
    padding: 2.5rem;
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 5px;
    transition: var(--transition);
}

.objective-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.objective-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.objective-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.objective-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Values */
.values {
    background: var(--bg-light);
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Legal & Governance */
.legal-governance {
    padding: 80px 0;
}

.lg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.lg-card {
    padding: 3rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.lg-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.lg-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 968px) {
    .story-grid,
    .vm-grid,
    .lg-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}
/* Our Work Detailed Grid */
.pillars-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.pillar-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-color);
}
.where-we-work { background: var(--bg-light); padding: 60px 0; text-align: center; }
.work-map-placeholder {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.work-map-placeholder i { font-size: 4rem; color: var(--primary-color); margin-bottom: 1rem; }

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.resource-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}
.resource-card i { font-size: 3rem; color: var(--accent-color); margin-bottom: 1rem; }
.resource-card h3 { margin-bottom: 1rem; font-size: 1.2rem; }
.resource-card p { color: var(--text-light); margin-bottom: 1.5rem; font-size: 0.95rem; }

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.media-item .media-placeholder {
    background: #e9ecef;
    height: 250px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}
.media-item .media-placeholder.video { background: #1a1a1a; color: var(--white); }
.media-item .media-placeholder:hover { transform: scale(1.02); }
.media-item i { font-size: 3rem; margin-bottom: 1rem; }

.news-list { display: flex; flex-direction: column; gap: 1rem; }
.news-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.news-date { font-weight: 700; color: var(--primary-color); min-width: 80px; }
.news-item h3 { flex: 1; font-size: 1.1rem; }
.news-item a { color: var(--primary-color); font-weight: 600; text-decoration: none; }

/* Community Voices */
.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.voice-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}
.voice-quote { font-size: 2rem; color: var(--primary-light); opacity: 0.3; margin-bottom: 1rem; }
.voice-card p { font-style: italic; color: var(--text-dark); line-height: 1.7; margin-bottom: 1.5rem; }
.voice-author strong { display: block; color: var(--primary-color); }
.voice-author span { font-size: 0.9rem; color: var(--text-light); }

/* Get Involved */
.involved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}
.involved-card { text-align: center; padding: 3rem 2rem; background: var(--bg-light); border-radius: 10px; }
.involved-icon { font-size: 3.5rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.involved-card h2 { margin-bottom: 1rem; }
.involved-card p { color: var(--text-light); margin-bottom: 2rem; line-height: 1.7; }

/* Donate Page */
.donate-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: start; }
.check-list { list-style: none; margin-top: 1rem; }
.check-list li { padding: 0.5rem 0; color: var(--text-dark); display: flex; align-items: center; gap: 0.75rem; }
.check-list i { color: var(--primary-color); }
.governance-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #e8f5e9;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.governance-note i { color: var(--primary-color); font-size: 1.5rem; margin-top: 0.2rem; }
.governance-note p { font-size: 0.9rem; color: var(--text-dark); line-height: 1.6; margin: 0; }

.donate-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.donate-form-card h3 { margin-bottom: 1.5rem; text-align: center; }

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.leader-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.leader-card:hover { transform: translateY(-5px); }
.leader-avatar {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
}
.leader-role { color: var(--secondary-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.leader-bio { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-details { list-style: none; margin-top: 1rem; }
.contact-details li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; color: var(--text-light); line-height: 1.6; }
.contact-details i { color: var(--primary-color); margin-top: 0.3rem; }

.standard-form .form-group { margin-bottom: 1.5rem; }
.standard-form label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-dark); }
.standard-form input, .standard-form select, .standard-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.standard-form input:focus, .standard-form select:focus, .standard-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

/* Responsive adjustments for new pages */
@media (max-width: 968px) {
    .donate-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .news-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}