/*------------------------------------------Header----------------------------------------------------------------*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding-bottom: 50px;
}

img {
    max-width: 100%;
}

header, footer {
    width: 100%;
    box-sizing: border-box;
}

header {
    background-color: #001D64;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

header h1 {
    margin: 0;
}

.logo {
    height: 50px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 30px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    color: #7829B6;
}


/*------------------------------------------Footer----------------------------------------------------------------*/
footer {
    background-color: #001D64;
    color: #fff;
    padding: 10px;
    text-align: center;
    width: 100%;
    float: right;
}

footer .left, footer .middle, footer .right {
    width: 33.33%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
}

footer .left h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
    margin-left: 50px;
}

footer .left p {
    font-size: 15px;
    margin-bottom: 10px;
    text-align: left;
    margin-left: 50px;
}

footer .middle ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

footer .middle hr {
    width: calc(30% - 20px);
}

footer .middle ul li {
    margin-bottom: 18px;
    margin-top: 18px;
}

footer .middle ul li a {
    text-decoration: none;
    color: white;
}

footer .middle ul li a:hover {
    color: orange;
}

footer .right h2 {
    text-align: left;
    margin-left: 100px;
}

footer .right p {
    margin-bottom: 8px;
    text-align: left;
    margin-left: 100px;
}

.back-to-top a {
    font-size: 12px;
    text-decoration: none;
    color: white;
    float: right;
}

footer hr {
    border: 0;
    border-top: 1px solid #fff;
    width: calc(100% - 20px);
    margin: 10px auto;
}


/*------------------------------------------Content----------------------------------------------------------------*/

#Homepage {
    background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(71, 70, 156, 0.7)), url("/assets/landing/a4.jpg");
    max-width   : 100%;
    height: 75vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#Homepage h1 {
    margin-bottom: 5px;
    color: white;
    font-size: 50px;
    letter-spacing: 1px;
}

#Homepage h3 {
    margin-top: 5px;
    color: white;
    font-size: 25px;
}

#Homepage p {
    width: 50%;
    color: rgb(0, 0, 0);
    font-size: 0.9rem;
    list-style: none;
    line-height: 25px;
}

#Homepage a {
    font-size: 0.9rem;
    padding: 20px 35px;
    background-color: rgb(255, 255, 255);
    font-weight: 600;
    border-radius: 5px;
}

#program {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    overflow: hidden;
}

#program h1 {
    font-size: 2.2rem;
    color: #006ABC;
}

#program p {
    font-weight: bold;
}

#program .box-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    margin: 0 -40;
    margin-left: 31px;
    margin-right: 31px;
}

#program .box-container::-webkit-scrollbar {
    height: 8px;
}

#program .programs {
    flex: 0 0 calc(25% - 1rem);
    height: 100%;
    background: #f4f4f4;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#program .programs img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#program .programs:hover img {
    transform: scale(1.1);
}

#program .details {
    padding: 15px;
    text-align: justify;
}

#program .details h3 {
    text-align: center;
    margin: 10px 0;
    font-size: 1.2rem;
    color: #034d86;
}

#program .details p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #141414;
}

#vision {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 8vw;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

#vision .left,
#vision .right {
    width: 50%;
    text-align: center;
}

#vision .left p {
    margin-left: 20px;
    margin-right: 20px;
}

#vision .right p {
    margin-left: 20px;
    margin-right: 20px;
}

#vision .right {
    border-left: 1px solid #ccc;
}

#vision h2 {
    color: #006ABC;
    margin-bottom: 1rem;
}

#vision p {
    font-size: 17px;
    line-height: 1.6;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

#vision hr {
    display: none;
}

#vision .right::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    border-left: 1px solid #ccc;
    transform: translate(-50%, -50%);
}

#video {
    text-align: center;
    margin-top: 50px;
}

#video h2 {
    color: #006ABC;
}

#video h5 {
    color: #006ABC;
}

.youTube {
    width: 80%;
    max-width: 800px;
    height: 450px;
    margin: 20px auto;
    margin-bottom: 30px;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        height: 40px;
    }

    nav ul {
        width: 100%;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
    }

    footer .left,
    footer .middle,
    footer .right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #Homepage h1 {
        font-size: 1.8rem;
    }

    #Homepage h3 {
        font-size: 1.2rem;
    }

    #Homepage p {
        width: 80%;
    }
}

@media (max-width: 768px) {
    #vision {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .youTube {
        width: 100%;
        height: auto;
    }
}

.box-containerB {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    margin: 0 -40;
    margin-left: 31px;
    margin-right: 31px;

    & .programsB {
        flex: 0 0 calc(25% - 1rem);
        height: 100%;
        background: #f4f4f4;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s ease;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    & .asdf {
        flex: 0 0 calc(25% - 1rem);
        overflow: hidden;
    }
}