/* Programmes Hero Section */
.programmes-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.programmes-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.programmes-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.programmes-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Programmes Content Section */
.programmes-content {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    color: #43A047;
    margin-bottom: 20px;
}

.section-intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.programme-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.programme-image {
    flex: 0 0 45%;
    overflow: hidden;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.programme-card:hover .programme-image img {
    transform: scale(1.05);
}

.programme-details {
    flex: 1;
    padding: 40px;
}

.programme-details h3 {
    color: #43A047;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.programme-details ul {
    margin: 20px 0;
    padding-left: 20px;
}

.programme-details li {
    margin-bottom: 12px;
    line-height: 1.6;
    position: relative;
}

.programme-details li::before {
    content: '•';
    color: #43A047;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Alternate layout for even cards */
.programme-card.reverse {
    flex-direction: row-reverse;
}

/* Impact Section */
.impact-section {
    background-color: #43A047;
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Partners Section */
.partners-section {
    background-color: rgba(21, 25, 15, 0.9);
    overflow: hidden;
    padding: 50px 0;
}

.partners-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-slider {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
    animation: slide 40s linear infinite;
    width: max-content;
}

.partner-logo {
    height: 80px;
    filter: grayscale(2%);
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .programme-card {
        flex-direction: column;
    }
    
    .programme-image {
        flex: 0 0 300px;
    }
    
    .programme-card.reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .programmes-hero {
        height: 50vh;
        margin-top: 70px;
    }
    
    .programmes-hero h1 {
        font-size: 2.5rem;
    }
    
    .programme-details {
        padding: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .programmes-hero {
        height: 60vh;
    }
    
    .programmes-hero h1 {
        font-size: 2rem;
    }
    
    .programme-details {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}