/* Programs Section Styles */
.programs-section {
    padding-top: clamp(1.6rem + 3rem, 2vw + 3rem, 2.5rem + 3rem);
    background-color: #f9f9f9;
    min-height: 100vh;
    padding-bottom: 3rem;
}

.programs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 2.5%, 5rem);
}

.programs-container h1 {
    text-align: center;
    font-size: var(--fts-xxl);
    color: #333;
    margin: 3rem 0 2rem;
    font-weight: bold;
}

.programs-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.programs-intro p {
    font-size: var(--fts-md);
    line-height: 1.8;
    color: #555;
}

.coming-soon-header {
    text-align: center;
    margin-bottom: 3rem;
}

.coming-soon-header h2 {
    font-size: var(--fts-xl);
    color: #7A49CA;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.program-card h3 {
    text-align: center;
}

.program-card .program-subtitle {
    text-align: center;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.program-icon {
    width: 80px;
    height: 80px;
    background-color: #7A49CA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.program-card:hover .program-icon {
    background-color: #6e3fba;
    transform: scale(1.1);
}

.program-icon i {
    font-size: 2.5rem;
    color: white;
}

.program-card h3 {
    font-size: var(--fts-lg);
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
}

.program-card p {
    font-size: var(--fts-base);
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.program-subtitle {
    font-size: var(--fts-sm);
    color: #7A49CA;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.program-description {
    font-size: var(--fts-base);
    color: #555;
    line-height: 1.7;
    margin-top: 0.5rem;
    text-align: center;
}

.program-section-header {
    text-align: center;
    margin: 4rem 0 2rem;
    padding-top: 3rem;
}

.program-section-header:first-of-type {
    margin-top: 2rem;
    padding-top: 2rem;
}

.program-section-header h2 {
    font-size: var(--fts-xl);
    color: #7A49CA;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.section-intro {
    font-size: var(--fts-md);
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 
    Media Rules    
*/
@media (max-width: 768px) {
    .programs-container {
        padding: 1rem;
    }
    
    .programs-container h1 {
        font-size: var(--fts-xl);
        margin: 2rem 0 1.5rem;
    }
    
    .programs-intro {
        margin-bottom: 2rem;
    }
    
    .programs-intro p {
        font-size: var(--fts-base);
    }
    
    .coming-soon-header h2 {
        font-size: var(--fts-lg);
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .program-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .program-icon i {
        font-size: 2rem;
    }
    
    .program-card h3 {
        font-size: var(--fts-md);
    }
    
    .program-card p {
        font-size: var(--fts-sm);
    }
    
    .program-subtitle {
        font-size: var(--fts-xs);
    }
    
    .program-description {
        font-size: var(--fts-sm);
    }
    
    .program-section-header {
        margin: 3rem 0 1.5rem;
        padding-top: 2rem;
    }
    
    .program-section-header h2 {
        font-size: var(--fts-lg);
    }
    
    .section-intro {
        font-size: var(--fts-base);
    }
}

@media (max-width: 480px) {
    .programs-container {
        padding: 0.5rem;
    }
    
    .programs-container h1 {
        font-size: var(--fts-lg);
        margin: 1.5rem 0 1rem;
    }
    
    .programs-intro {
        margin-bottom: 1.5rem;
    }
    
    .program-card {
        padding: 1.25rem;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
    }
    
    .program-icon i {
        font-size: 1.75rem;
    }
    
    .program-section-header {
        margin: 2rem 0 1rem;
        padding-top: 1.5rem;
    }
    
    .program-section-header h2 {
        font-size: var(--fts-md);
    }
    
    .section-intro {
        font-size: var(--fts-sm);
    }
}

/* Programs in Development Section */
.programs-development-section {
    margin-top: 1rem;
    padding-top: 0;
}

/* Reduce spacing for seasonal initiatives section */
.program-section-header + .programs-development-section {
    margin-top: 0.5rem;
}

.program-section-header + .programs-development-section .development-category {
    padding: 1.5rem;
}

.development-header {
    text-align: center;
    margin-bottom: 3rem;
}

.development-header h2 {
    font-size: var(--fts-xl);
    color: #7A49CA;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.development-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.development-category {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Seasonal initiatives - reduce padding when no h3 */
.development-category:only-child {
    padding: 1.5rem;
}

.development-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.development-category h3 {
    font-size: var(--fts-lg);
    color: #7A49CA;
    margin-bottom: 1.5rem;
    font-weight: bold;
    border-bottom: 2px solid #7A49CA;
    padding-bottom: 0.5rem;
}

.development-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.development-category ul li {
    font-size: var(--fts-base);
    color: #555;
    line-height: 1.6;
    padding: 1rem 1.25rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    break-inside: avoid;
    page-break-inside: avoid;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px;
}

.development-category ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(122, 73, 202, 0.15);
    background-color: #fff;
    border-color: #7A49CA;
}

.development-category ul li:last-child {
    margin-bottom: 0;
}

/* Media queries for development section */
@media (min-width: 600px) {
    .development-category ul {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (min-width: 900px) {
    .development-category ul {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .programs-development-section {
        margin-top: 2rem;
        padding-top: 0;
    }
    
    .development-header h2 {
        font-size: var(--fts-lg);
    }
    
    .development-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .development-category {
        padding: 1.5rem;
    }
    
    .development-category h3 {
        font-size: var(--fts-md);
    }
    
    .development-category ul {
        grid-template-columns: 1fr;
    }
    
    .development-category ul li {
        font-size: var(--fts-sm);
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 480px) {
    .programs-development-section {
        margin-top: 2rem;
        padding-top: 0;
    }
    
    .development-header h2 {
        font-size: var(--fts-md);
    }
    
    .development-category {
        padding: 1.25rem;
    }
    
    .development-category h3 {
        font-size: var(--fts-base);
    }
    
    .development-category ul {
        grid-template-columns: 1fr;
    }
    
    .development-category ul li {
        padding: 0.75rem 0.875rem;
        font-size: var(--fts-sm);
    }
}

