/* General Reset */
* {
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(to bottom, #000, #FFFFFF, #90C7E3, #000);
    color: #333;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Wrapper */
#wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Links */
a {
    text-decoration: none;
    color: #1863DC;
}

    a:hover {
        text-decoration: underline;
    }

/* Header Section */
header {
    background: #0b0b0b09;
    color: goldenrod;
    padding: 1em 0;
}

    header .top-nav ul {
        display: flex;
        list-style: none;
        justify-content: center;
        gap: 20px;
        align-items: center;
    }


    header .top-nav ul li a {
        color: goldenrod;
        font-size: 1em;
        transition: color 0.3s;
    }

    header .top-nav ul li a:hover {
        color: #f4a261;
    }
    .main-logo {
        width: 150px;
    }


/* General Hero Section */
.hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: 0.1em;
}

.hero p {
    font-size: 1.5rem;
}


/* Hero Images for Specific Pages */
#home-page .hero {
    background: url('images/home-hero.jpg') no-repeat center center;
}

#about-page .hero {
    background: url('images/about-hero.jpg') no-repeat center center;
}

#services-page .hero {
    background: url('images/services-hero.jpg') no-repeat center center;
}

#activities-page .hero {
    background: url('images/activities-hero.jpg') no-repeat center center;
}

#facilities-page .hero {
    background: url('images/facilities-hero.jpg') no-repeat center center;
}

#employment-page .hero {
    background: url('images/employment-hero.jpg') no-repeat center center;
}

#contact-page .hero {
    background: url('images/contact-hero.jpg') no-repeat center center;
}

#employment-application-page .hero {
    background: url('images/employment-application-hero.jpg') no-repeat center center;
}

/* Hero Text */
.hero h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}


/* Application Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

form label {
    font-weight: bold;
    margin-bottom: 5px;
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form textarea {
    resize: none;
}

form button {
    background-color: #004aad;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

    form button:hover {
        background-color: #003080;
    }

/* Multimedia Section */
.multimedia {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .multimedia h2 {
        font-size: 2rem;
        color: #004aad;
        margin-bottom: 10px;
    }

    .multimedia p {
        font-size: 1.2rem;
        margin-bottom: 20px;
        color: #555;
    }

    .video-container {
        position: relative;
        padding-bottom: 56.25%; /* Aspect ratio for 16:9 video */
        height: 0;
        overflow: hidden;
        max-width: 100%;
        background: #000;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }


/* Banner Section */
.banner, #banner, #contact-banner {
    background: #333;
    color: white;
    text-align: center;
    padding: 50px 20px;
    position: relative;
}

    .banner img, #banner img {
        object-fit: cover;
        opacity: 0.8;
    }

    .banner h1, #banner h1, #contact-banner h1 {
        font-size: 36px;
        padding: 10px 20px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 5px;
    }



.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Main Content */
main {
    padding: 40px 20px;
    background-color: #FFFFFF;
    overflow: auto;
}

    main section h2 {
        font-size: 2rem;
        color: #1976D2;
        text-align: center;
        margin-bottom: 20px;
        font-family: Georgia, "Times New Roman", serif;
    }

    main section p {
        font-size: 1rem;
        color: #000033;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.8;
        text-align: center;
    }

/* Horizontal Layout for Sections */
.horizontal-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

    .horizontal-layout img {
        max-width: 40%;
        height: auto;
        border-radius: 8px;
    }

    .horizontal-layout div {
        flex: 1;
        padding: 10px;
    }

    /* About, Motto, Mission, Vision Sections */
#about, #motto, #mission, #vision {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#about img, #motto img, #mission img, #vision img {
    flex: 1;
    max-width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

#about div, #motto div, #mission div, #vision div {
    flex: 1;
    padding: 20px;
    text-align: center;
}

#about h2, #motto h2, #mission h2, #vision h2 {
    font-size: 2rem;
    color: goldenrod;
    margin-bottom: 20px;
    font-family: Georgia, "Times New Roman", serif;
}

#about p, #motto p, #mission p, #vision p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 auto;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    #about, #motto, #mission, #vision {
        flex-direction: column;
        padding: 20px;
    }

    #about img, #motto img, #mission img, #vision img {
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    #about div, #motto div, #mission div, #vision div {
        padding: 10px;
    }
}


#about h2, #motto h2, #mission h2, #vision h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    font-family: Georgia, "Times New Roman", serif;
    color: goldenrod;
}

#about p, #motto p, #mission p, #vision p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services {
    padding: 40px 20px;
    background: #f9f9f9;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .service-item img {
        border-radius: 50%;
        margin-bottom: 15px;
    }

    
/* Footer Section */
footer {
    background-color: black;
    color: white;
    padding: 20px;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-content {
    flex: 1;
    text-align: left;
}

.footer-logo {
    flex: 0;
    width: 100px;
    margin-left: auto; /* Ensures alignment to the right */
}


footer a {
    color: #f9f9f9;
}

    footer a:hover {
        text-decoration: underline;
    }

    .quick-links {
        flex: 1;
        text-align: right;
    }
    
    .quick-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: flex-end;
        gap: 15px;
    }
    
    .quick-links ul li {
        display: inline;
    }
    
    .quick-links ul li a {
        color: white;
    }
    
    .quick-links ul li a:hover {
        text-decoration: underline;
    }

/* Responsive Design */
@media (max-width: 768px){
header .top-nav ul {
    flex-direction: column;
    align-items: center;
}

.footer-container {
    flex-direction: column;
    text-align: center;
}

.footer-logo {
    margin: 10px auto;
}
}

/* Responsive Design */
@media (max-width: 768px) {
    #about, #motto, #mission, #vision {
        flex-direction: column;
        padding: 20px;
    }

    #about img, #motto img, #mission img, #vision img {
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    #about div, #motto div, #mission div, #vision div {
        padding: 10px;
    }
}
