/* Programs Hero Section */
.programs-hero {
    background: linear-gradient(rgba(26, 95, 158, 0.7), rgba(26, 95, 158, 0.7)), 
                url('../images/backg2.jpg') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

/* Programs List Section */
.programs-list {
    padding: 5rem 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.program-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: none;
}

.program-item.active {
    display: block;
}

.program-item.education,
.program-item.skills,
.program-item.sports,
.program-item.community {
    display: none;
}

.program-item.show {
    display: block;
}

.program-image {
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-item:hover .program-image img {
    transform: scale(1.1);
}

.program-details {
    padding: 1.5rem;
}

.program-details h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.program-meta span {
    display: flex;
    align-items: center;
    color: var(--dark-text);
}

.program-meta i {
    margin-right: 5px;
    color: var(--primary-blue);
}

/* Program CTA Section */
.program-cta {
    padding: 5rem 0;
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light-blue);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.testimonial-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 700px;
    display: none;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-blue);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content::before {
    top: -20px;
    left: -10px;
}

.testimonial-content::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--dark-text);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .programs-container {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}