html {
    scroll-behavior: smooth;
}

* {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to right, #e8f3fe, #fff7ea);
    padding-top: 80px;
}

.programs-header {
    background-image: url("/assets/images/Explore.png");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 200px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 105%;
    height: 300px;
    margin-left: -3%;
}

.programs-header h1 {
    color: #003366;
    font-size: 42px;
    margin-bottom: 10px;
    margin-top: -3%;
}

.programs-header p {
    color: #c76000;
    font-size: 18px;
    line-height: 1.6;
    margin-right: 62%;
    font-weight: 600;
}

.programs-container {
    width: 80%;
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
}

.programs-section {
    text-align: center;
    padding: 60px 20px;
}

.programs-section h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 20px;
}

.programs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.program-card {
    background: #fff;
    border-radius: 10px;
    width: 350px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.program-card:hover {
    transform: scale(1.05);
}

.program-card img {
    width: 348px;
    height: 300px;
    margin-top: -10%;
}

.program-card h3 {
    color: #003366;
    font-size: 23px;
}

.program-card p {
    padding: 12px;
    color: #c76000;
    font-size: 18px;
    margin: 4px 0;
}

.program-card .book-course {
    background: linear-gradient(to top, #2a2e5b, #c76000);
    color: white;
    border: none;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2% 0 7% 0;
}

.program-card .book-course:hover {
    background: linear-gradient(to bottom, #2a2e5b, #c76000);
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

.formCourse {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.form-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    width: 420px;
    position: relative;
    text-align: center;
    padding-right: 40px;
}

.custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

@media (max-width: 425px){
    .footer-contact{
        display: none;
    }
    .footer-links{
        margin-right: 14%;
    }
    .programs-header{
        padding: 100px 45px;
    }
    .programs-header h1{
        font-size: 17px;
    }
    .programs-header p{
        font-size: 10px;
    }
}
