/* Programs Page Specific Styles */

/* Programs Hero */
.programs-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(255, 140, 0, 0.1) 100%);
    overflow: hidden;
}

.programs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,140,0,0.05)" stroke-width="1"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%25" height="100%25" fill="url(%23grid)" /%3E%3C/svg%3E');
    opacity: 0.5;
    z-index: 0;
}

.programs-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.programs-hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.programs-hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Programs Grid Section */
.programs-grid-section {
    padding: 80px 0;
    background: white;
}

.programs-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.program-card-large {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.program-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.program-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card-large:hover .program-card-image img {
    transform: scale(1.1);
}

.program-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.program-badge.yellow {
    background: #FDB515;
}

.program-badge.blue {
    background: #4A90E2;
}

.program-badge.orange {
    background: var(--primary-orange);
}

.program-badge.green {
    background: var(--green);
}

.program-card-content {
    padding: 35px;
}

.program-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
}

.program-meta {
    margin-bottom: 15px;
}

.program-stat {
    font-size: 14px;
    color: var(--text-light);
}

.program-stat strong {
    color: var(--text-dark);
    font-weight: 600;
}

.program-stat-orange {
    font-size: 14px;
    color: var(--primary-orange);
    font-weight: 600;
}

.program-card-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Impact Section */
.impact-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.impact-content {
    text-align: center;
    margin-bottom: 60px;
}

.impact-subtitle {
    font-size: 17px;
    color: var(--text-light);
    margin-top: 15px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.impact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.impact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e67e00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.impact-card:hover .impact-icon {
    transform: rotateY(360deg);
}

.impact-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.impact-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Partner CTA Section */
.partner-cta-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #FF8C00 0%, #e67e00 100%);
    overflow: hidden;
}

.partner-cta-section::before {
    content: 'CHILDREN IN SCHOOL';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    z-index: 0;
    letter-spacing: 10px;
}

.partner-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 0;
}

.partner-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.partner-cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.partner-cta-text {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* Responsive Design for Programs Page */
@media (max-width: 968px) {
    .programs-hero-title {
        font-size: 42px;
    }
    
    .programs-main-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-cta-section::before {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .programs-hero {
        padding: 150px 0 80px;
    }
    
    .programs-hero-title {
        font-size: 36px;
    }
    
    .programs-hero-subtitle {
        font-size: 16px;
    }
    
    .program-card-image {
        height: 220px;
    }
    
    .program-card-content {
        padding: 25px;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .partner-cta-title {
        font-size: 36px;
    }
    
    .partner-cta-section::before {
        font-size: 40px;
        opacity: 0.05;
    }
}

@media (max-width: 480px) {
    .programs-hero-title {
        font-size: 30px;
    }
    
    .program-card-title {
        font-size: 20px;
    }
    
    .partner-cta-title {
        font-size: 28px;
    }
    
    .partner-cta-text {
        font-size: 15px;
    }
}
