

/* HERO */
.program-hero{
   background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('images/worshop.jpeg');
    background-size: cover;
    background-position: center;
    height:300px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    text-align:center;
}

.program-hero h1{
    font-size:48px;
    margin-bottom:15px;
}

.program-hero p{
    font-size:18px;
    max-width:700px;
    margin:auto;
}


/* PROGRAM SECTION */
.program-section{
    padding:80px 20px;
}

.container{
    max-width:1100px;
    margin:auto;
}

/* PROGRAM CARDS */
.program-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    margin-top:40px;
}

.program-card{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
     transition:0.3s;
}

.program-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 30px rgba(0,0,0,0.15);
}

.program-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.program-content{
    padding:25px;
}

.program-content h3{
    margin-bottom:10px;
   color: #0570b4;
}

.program-content p{
    font-size:15px;
    line-height:1.6;
}

/* CTA */
.program-cta {
    background: #222;
    color: white;
    text-align: center;
    padding: 80px 20px; /* increased for spacing */
}

.program-cta h2 {
    margin-bottom: 30px; /* more space between heading and link */
    font-size: 2rem;
}

.program-cta a {
    display: inline-block; /* ensures proper spacing */
    margin-top: 20px;      /* space between text and button */
    background: #fff;
    color: #0a4d8c;
    padding: 15px 30px;    /* bigger padding for better look */
    border-radius: 8px;    /* smoother corners */
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.program-cta a:hover {
    background: #0a4d8c;
    color: #fff;
    transform: translateY(-3px); /* subtle lift effect */
}



/* TABLET */
@media (max-width: 992px) {

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

  

    .program-hero h1 {
        font-size: 2.5rem;
    }

    .program-hero p {
        width: 90%;
        margin: auto;
    }
}



/* MOBILE */
@media (max-width: 768px) {

    /* Navbar */
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #0a3d62;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .program-hero {
        padding: 60px 20px;
        text-align: center;
    }

    .program-hero h1 {
        font-size: 2rem;
    }

    .program-hero p {
        font-size: 14px;
    }

    /* Programs Grid */
    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-card img {
        height: auto;
    }

    /* CTA */
    .program-cta {
        padding: 50px 20px;
        text-align: center;
    }

    .program-cta h2 {
        font-size: 1.8rem;
    }

  
}
