/* --- Program Page Header --- */
.program-header {
    background: linear-gradient(rgba(87, 46, 125, 0.85), rgba(255, 255, 255, 0.85)), url('pics/Mithila International Centre/background.png');
    background-size: cover;
    background-position: center;
    height: 20vh; 
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.program-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* --- Program Sections --- */
.program-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 100px 0;
    border-bottom: 1px solid #f0e6ff;
}

/* Reverse layout for even sections */
.program-section.reverse {
    flex-direction: row-reverse;
}

/* --- Content Styling --- */
.prog-content { 
    flex: 1; 
}

.prog-title {
    color: #572e7d; /* Deep Purple */
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    font-family: 'Merriweather', serif;
}

.highlight-text {
    font-size: 1.1rem;
    color: #572e7d;
    margin-bottom: 20px;
    display: block;
}

.prog-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

/* List Styling */
.prog-list {
    margin-top: 30px;
}

.prog-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1rem;
    color: #444;
}

.prog-list i {
    color: #572e7d; /* Changed from pink to Purple */
    font-size: 1.3rem;
    margin-top: 2px;
}

/* --- Image Styling --- */
.prog-image { 
    flex: 1; 
}

.prog-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(87, 46, 125, 0.15); /* Purple shadow */
    transition: transform 0.3s ease;
}

.prog-image img:hover {
    transform: translateY(-5px);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .program-section { gap: 40px; padding: 60px 0; }
    .program-header h1 { font-size: 2.8rem; }
    .prog-title { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    /* STACK VERTICALLY */
    .program-section, .program-section.reverse {
        flex-direction: column !important;
        text-align: left;
        padding: 50px 5%;
        gap: 30px;
    }

    .prog-content { 
        width: 100%; 
        order: 1; 
    }
    
    .prog-image { 
        width: 100%; 
        order: 2; 
        margin-top: 10px; 
    }

    .program-header { height: 40vh; min-height: 250px; }
    .program-header h1 { font-size: 2.2rem; }
}