/* Programs Hero Section */
.programs-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    background: linear-gradient(135deg, rgba(139, 11, 79, 0.65) 0%, rgba(3,130,103,0.65) 100%),
                url('../images/hero/h2_.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.programs-hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.programs-hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
}

.programs-hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.programs-hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    max-width: 800px;
    margin: 0 auto;
}

/* Programs Overview Section */
.programs-overview {
    padding: 5rem 0;
    background: white;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--contrast) 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.95;
}

/* Program Detail Sections */
.program-detail {
    padding: 6rem 0;
}

.education-section {
    background: var(--light);
}

.health-section {
    background: white;
}

.empowerment-section {
    background: var(--light);
}

.housing-section {
    background: white;
}

.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.program-grid.reverse {
    direction: rtl;
}

.program-grid.reverse > * {
    direction: ltr;
}

.program-content {
    padding: 2rem 0;
}

.program-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.icon-education { background: var(--primary); }
.icon-health { background: var(--accent); }
.icon-empowerment { background: var(--contrast); }
.icon-housing { background: var(--support); }

.program-content h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.program-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
}

.program-features {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

.program-impact {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.health-section .program-impact,
.housing-section .program-impact {
    background: var(--light);
}

.program-impact h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.program-impact ul {
    list-style: none;
    padding: 0;
}

.program-impact ul li {
    padding: 0.8rem 0;
    color: #555;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.program-impact ul li::before {
    content: "✓";
    color: var(--contrast);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Program Images */
.program-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.image-large {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    height: 400px;
}

.image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-large:hover img {
    transform: scale(1.05);
}

.image-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.image-small-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.image-small-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* How We Work Section */
.how-we-work {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--contrast) 100%);
    color: white;
}

.how-we-work .section-title h2 {
    color: white;
}

.how-we-work .section-title p {
    color: rgba(255,255,255,0.9);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.step-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-card p {
    line-height: 1.7;
    opacity: 0.95;
    font-size: 1.05rem;
}

/* Programs CTA Section */
.programs-cta {
    padding: 6rem 0;
    background: var(--light);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-primary {
    background: var(--accent);
    color: white;
    border: none;
}

.btn-cta-primary:hover {
    background: var(--support);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(254,162,15,0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--primary);
    border: 3px solid var(--primary);
}

.btn-cta-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139,11,80,0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .program-grid {
        gap: 3rem;
    }
    
    .programs-hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .programs-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .programs-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .programs-hero-content p {
        font-size: 1.1rem;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .program-grid.reverse {
        direction: ltr;
    }
    
    .program-content h2 {
        font-size: 2.2rem;
    }
    
    .image-large {
        height: 300px;
    }
    
    .image-small-grid {
        grid-template-columns: 1fr;
    }
    
    .image-small-grid img {
        height: 250px;
    }
    
    .overview-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .programs-overview,
    .program-detail,
    .how-we-work,
    .programs-cta {
        padding: 3rem 0;
    }
    
    .programs-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .program-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .program-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
}


/* Impact Hero */
.impact-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(139, 11, 79, 0.6) 0%, rgba(3,130,103,0.6) 100%),
                url('../images/bg-img-1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.impact-hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
}

.impact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.impact-hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

/* Statistics Section */
.impact-stats-section {
    padding: 5rem 0;
    background: var(--light);
}

.stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(360deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

/* Featured Story */
.featured-story-section {
    padding: 5rem 0;
    background: white;
}

.featured-story {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.featured-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-content {
    padding: 3rem;
}

.story-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.featured-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.story-excerpt {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.story-quote {
    background: white;
    border-left: 5px solid var(--accent);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    position: relative;
}

.story-quote i {
    color: var(--accent);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.story-quote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.story-quote cite {
    color: var(--primary);
    font-weight: 600;
    font-style: normal;
}

.btn-read-full {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-read-full:hover {
    background: var(--contrast);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139,11,80,0.3);
}

.btn-read-full i {
    transition: transform 0.3s ease;
}

.btn-read-full:hover i {
    transform: translateX(5px);
}

/* Stories Grid */
.stories-grid-section {
    padding: 3rem 0 5rem;
    background: var(--light);
}

.story-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.story-item.hidden {
    display: none;
}

.story-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.story-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 11, 79, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-card:hover .story-overlay {
    opacity: 1;
}

.read-story-btn {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-story-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.story-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-tag.education {
    background: rgba(139, 11, 79, 0.1);
    color: var(--primary);
}

.story-tag.health {
    background: rgba(254, 162, 15, 0.1);
    color: var(--accent);
}

.story-tag.empowerment {
    background: rgba(3, 130, 103, 0.1);
    color: var(--contrast);
}

.story-tag.housing {
    background: rgba(238, 116, 38, 0.1);
    color: var(--support);
}

.story-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.story-card-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Impact Numbers */
.impact-numbers-section {
    padding: 5rem 0;
    background: white;
}

.number-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light);
    border-radius: 15px;
    transition: all 0.4s ease;
}

.number-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.number-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.number-card:hover .number-icon {
    transform: scale(1.1) rotate(360deg);
}

.number-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.number-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Impact CTA */
.impact-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--contrast) 100%);
}

.impact-cta-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.impact-cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.impact-cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-primary {
    background: var(--accent);
    color: white;
    border: none;
}

.btn-cta-primary:hover {
    background: var(--support);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    color: white;
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .impact-hero-content h1 {
        font-size: 2.2rem;
    }

    .impact-hero-content p {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .featured-content {
        padding: 2rem;
    }

    .featured-content h2 {
        font-size: 2rem;
    }

    .featured-image {
        min-height: 350px;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .impact-cta-content h2 {
        font-size: 2rem;
    }

    .impact-cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }

    .video-thumbnail {
        height: 250px;
    }

    .number-value {
        font-size: 2.5rem;
    }
}


/* Projects Page Styles */

/* Hero Banner */
.projects-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(139, 11, 79, 0.6) 0%, rgba(3,130,103,0.6) 100%),
                url('../images/bg-img-1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 80px;
}

.hero-overlay {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

/* Project Stats */
.project-stats {
    padding: 4rem 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(360deg);
}

.stat-item:nth-child(1) .stat-icon { background: var(--primary); }
.stat-item:nth-child(2) .stat-icon { background: var(--accent); }
.stat-item:nth-child(3) .stat-icon { background: var(--contrast); }
.stat-item:nth-child(4) .stat-icon { background: var(--support); }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

/* Filter Section */
.filter-section {
    padding: 3rem 0;
    background: var(--light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139,11,80,0.3);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(139,11,80,0.3);
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: #28a745;
    color: white;
}

.status-completed {
    background: var(--primary);
    color: white;
}

.status-planning {
    background: var(--accent);
    color: white;
}

.project-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.cat-education { background: var(--primary); }
.cat-health { background: var(--accent); }
.cat-empowerment { background: var(--contrast); }
.cat-housing { background: var(--support); }

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-location {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.project-progress {
    margin-bottom: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.progress-percentage {
    color: var(--primary);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary);
}

/* CTA Section */
.projects-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--contrast) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-primary {
    background: var(--accent);
    color: white;
    border: 3px solid var(--accent);
}

.btn-cta-primary:hover {
    background: var(--support);
    border-color: var(--support);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .filter-buttons {
        gap: 0.8rem;
    }

    .filter-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Article Item Transitions */
.article-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.article-item[style*="display: none"] {
    opacity: 0;
    transform: translateY(20px);
}

/* Filter Controls Styling */
.filter-section {
    padding: 3rem 0;
    background: white;
}

.filter-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: var(--dark);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(139, 11, 79, 0.3);
}

/* Category Tags */
.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
}

.category-tag.education { background: var(--primary); }
.category-tag.health { background: var(--accent); }
.category-tag.empowerment { background: var(--contrast); }
.category-tag.housing { background: var(--support); }
.category-tag.events { background: #6366f1; }

/* Blog Card Styling */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #999;
    font-size: 0.85rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.read-more-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more-link:hover {
    gap: 1rem;
    color: var(--accent);
}

/* Featured Article Section */
.featured-article-section {
    padding: 5rem 0;
    background: white;
}

.featured-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-content {
    padding-left: 2rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-badge {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.category-badge.education { background: var(--primary); }
.category-badge.health { background: var(--accent); }
.category-badge.empowerment { background: var(--contrast); }

.article-meta .date {
    color: #999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-read-full {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-read-full:hover {
    background: var(--contrast);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139,11,80,0.3);
    gap: 1.25rem;
    color: white !important;
}

/* News Grid Section */
.news-grid-section {
    padding: 5rem 0;
    background: var(--light);
}

/* Pagination */
.pagination-container {
    margin-top: 4rem;
}

.pagination {
    gap: 0.5rem;
}

.page-item .page-link {
    border: 2px solid #e0e0e0;
    color: var(--dark);
    padding: 0.75rem 1.25rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-item .page-link:hover:not(.page-item.disabled .page-link) {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* News Hero */
.news-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(139, 11, 79, 0.6) 0%, rgba(3,130,103,0.6) 100%),
                url('../images/bg-img-1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 80px;
}

.news-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.news-hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .featured-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .featured-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .news-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .news-hero-content p {
        font-size: 1.1rem;
    }
    
    .filter-controls {
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .featured-content h2 {
        font-size: 1.8rem;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
}


