/* ==================== Programs Page CSS ==================== */

/* GENERAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
.programs-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.programs-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../assets/images/header-bg.png') no-repeat center/cover;
    opacity: 0.1;
    pointer-events: none;
}

.programs-header .logo {
    height: 200px;
    width: auto;
    display: middle
}

.programs-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.programs-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* INTRO */
.programs-intro {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    padding: 0 20px;
}

/* PROGRAM GRID */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.program-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover img {
    transform: scale(1.05);
}

.program-card h3 {
    font-size: 1.4rem;
    margin: 15px 20px 10px;
    color: #1e3c72;
}

.program-card p {
    font-size: 0.95rem;
    margin: 0 20px 15px;
    color: #555;
    flex-grow: 1;
}

.program-btn {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 12px 25px;
    background: #ff8c42;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.program-btn:hover {
    background: #e07b2b;
    transform: scale(1.05);
}

/* PROGRAM DETAILS */
.programs-details {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    color: #444;
}

.programs-details h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e3c72;
}

.programs-details p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.8;
}

/* CTA SECTION */
.programs-footer-cta {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-top: 50px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.programs-footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.programs-footer-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.programs-footer-cta .big-cta {
    font-size: 1.2rem;
    padding: 15px 35px;
    background: #ff8c42;
    color: #fff;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.programs-footer-cta .big-cta:hover {
    background: #e07b2b;
    transform: scale(1.05);
}

/* FOOTER */
.programs-footer {
    text-align: center;
    padding: 25px 20px;
    background: #1e3c72;
    color: #fff;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .programs-header h1 {
        font-size: 2.2rem;
    }

    .programs-header p {
        font-size: 1rem;
    }

    .program-card img {
        height: 150px;
    }
}