/* ===========================
   GLOBAL
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#F5F5DC;
    color:#333;
    overflow-x:hidden;
}

/* ===========================
   HEADER
=========================== */

header{
    background:linear-gradient(90deg,#0b5c74,#1976a2);
    color:white;
    text-align:center;
    padding:20px 15px;
}

header h1{
    font-size:42px;
    margin-bottom:10px;
}

header p{
    font-size:18px;
    max-width:900px;
    margin:auto;
    line-height:1.6;
}

/* ===========================
   NAVIGATION
=========================== */

nav{
    background:#1f4f66;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    padding:10px;
}

nav a{
    color:white;
    text-decoration:none;
    font-size:17px;
    font-weight:bold;
    padding:10px 16px;
    border-radius:25px;
    transition:.3s;
}

nav a:hover{
    background:gold;
    color:black;
}

/* ===========================
   BANNER
=========================== */

.banner{
    background:url("../Assets/programs.jpg") center/cover no-repeat;
    height:140px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:5px 0;
}

.banner h1{
    color:#000;
    background:rgba(7,187,241,.55);
    padding:15px 30px;
    border-radius:10px;
    font-size:30px;
    text-align:center;
}

/* ===========================
   PROGRAMS
=========================== */

.container{
    width:90%;
    max-width:1200px;
    margin:40px auto;
}

.program{
    display:flex;
    align-items:center;
    gap:25px;
    background:#fffdf7;
    margin-bottom:30px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
}

.program:hover{
    transform:translateY(-8px);
}

.program img{
    width:320px;
    height:240px;
    object-fit:cover;
}

.content{
    padding:25px;
}

.content h2{
    color:#005792;
    margin-bottom:15px;
}

.content p{
    line-height:1.8;
    font-size:18px;
    text-align:justify;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#1f4f66;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:40px;
}

/* ===========================
   LIGHTBOX
=========================== */

.programLightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.programLightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:15px;
}

.closeProgram{
    position:absolute;
    top:20px;
    right:30px;
    color:white;
    font-size:50px;
    cursor:pointer;
}

.closeProgram:hover{
    color:gold;
}

/* ===========================
   TABLETS
=========================== */

@media (max-width:900px){

    header h1{
        font-size:30px;
    }

    header p{
        font-size:16px;
    }

    .banner{
        height:120px;
    }

    .banner h1{
        font-size:24px;
    }

    .program{
        flex-direction:column;
    }

    .program img{
        width:100%;
        height:250px;
    }

    .content{
        padding:20px;
    }
}

/* ===========================
   PHONES
=========================== */

@media (max-width:480px){

    nav{
        gap:8px;
    }

    nav a{
        width:90%;
        text-align:center;
        font-size:15px;
        padding:8px 12px;
    }

    .banner{
        height:100px;
    }

    .banner h1{
        font-size:20px;
        padding:8px 18px;
    }

    .container{
        width:95%;
    }

    .program img{
        height:200px;
    }

    .content{
        padding:18px;
    }

    .content h2{
        font-size:22px;
    }

    .content p{
        font-size:16px;
    }

    .closeProgram{
        font-size:40px;
        right:15px;
    }
}