
:root {
    --green: #00853f;
    --yellow:#00853f ;
    --red: #e31b23;
    --text: #333;
    --bg: #fff;
}

.section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    color: var(--green);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--yellow);
    margin: 1rem auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.program-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 1.5rem;
}

.program-title {
    color: var(--green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.program-description {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.program-details {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    margin: 1rem 0;
}

.program-detail {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.program-detail:last-child {
    margin-bottom: 0;
}

.program-detail svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: var(--green);
}

.program-detail span {
    color: var(--text);
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    background: var(--green);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--green);
    margin-top: 1rem;
}

.btn:hover {
    background: white;
    color: var(--green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .program-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-card {
    animation: fadeIn 0.6s ease backwards;
}

.programs-grid .program-card:nth-child(1) { animation-delay: 0.1s; }
.programs-grid .program-card:nth-child(2) { animation-delay: 0.2s; }
.programs-grid .program-card:nth-child(3) { animation-delay: 0.3s; }
.programs-grid .program-card:nth-child(4) { animation-delay: 0.4s; }
