﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.section1 {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* The dropdown container */
.dropdown {
    float: left;
}

/* Dropdown button */
.dropdown .dropbtn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    outline: none;
    color: black;
    padding: 14px 16px;
    background-color: inherit;
    font-family: 'Montserrat', sans-serif; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
}


/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

/* Links inside the dropdown */
.dropdown-content a {
    font-family: 'Montserrat', sans-serif;
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 15px; /* space between dropdowns */
}

.navbar-login-container {
    font-family: 'Kamerik105-Book', sans-serif;
    font-weight: bold;
    padding: clamp(1rem, 1vw, 3rem);
    display: flex;
    margin-left: auto;
    gap: 15px;
    align-items: center;
    color: #224260;
}

.navbar-login-container a {
    text-decoration: none;
    color: #224260;
}

#login-btn-container {
    background-color: #224260;
    border-radius: 50px;
    padding: 15px 20px;
}

#login-btn-container a {
    color: white;
}

#loggedin-container {
    display: flex;
    margin-left: auto;
    flex-direction: column;
    align-items: center;
    padding: 5px 16px;
}

#loggedin-container .dropdown .dropbtn {
    justify-content: center !important;
    align-items: center;
}


.dropbtn img {
    width: 50px;
    object-fit: contain;
    border-radius: 50px;
}

.logocontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1em 0;
}

.logo {
    width: 25vw;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; 
}

.slogan {
    font-family: 'Century Gothic', sans-serif;
    font-size: 2.5vw;
    color: #07225D;
    text-transform: uppercase;
    width: 100vw;
    padding: 10vh 10vw 3vh 10vw;
    text-align: center;
}

.buttonscontainer {
    width: 50vw;
    display: flex;
    justify-content:space-evenly;
    margin: 0 0 25vh 0
}

.buttonscontainer a {
    text-decoration: none;
    color: inherit;
}

.applicantscontainer, .employeescontainer {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    padding: 20px 70px 20px 70px;
    border-radius: 25px;
    color: white;
    background-color: #07225D;
}

.section2 {
    font-family: 'Century Gothic', sans-serif;
    text-align: center;
    color: #07225D;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: clamp(20vh, 90vh, 600px);
    width: 100%;
    background-image: url("../images/background01.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
}

.whoweare-slogan-container {
    margin-bottom: 1rem;
}

.whoweare-slogan-container h1 {
    font-size: clamp(25px, 20vw, 80px);
    margin: 0;
}

.whoweare-container {
    max-width: 100rem;
    padding-inline: clamp(1rem, 3vw, 10rem);
}

.whoweare-container p {
    margin-bottom: 1em;
    font-size: clamp(14px, 2vw, 30px);
    line-height: 1.5;
    color: #07225d;
}

.section3 {
    font-family: 'Century Gothic', sans-serif;
    color: #07225D;
    display: flex;
    align-items: center; /* vertically centers both text and image */
    justify-content: space-between; /* pushes text left, image right */
    position: relative;
    overflow: hidden;
    height: 43rem;
    background-color: #f6f6f6;

}

/* text container */
.mission-statement {
    flex: 1; /* lets it take available space */
    max-width: 1500px;
    padding: clamp(0.5rem, 3vw, 5rem);
}

.mission-statement h3 {
    margin: 1.5em;
    font-size: clamp(20px, 2vw, 32px);
}

.mission-statement p {
    margin-bottom: 1em;
    line-height: 1.5em;
    font-size: clamp(14px, 1.5vw, 25px);
}

.collage-container {
    flex-shrink: 0; /* prevents the image from shrinking */
    display: flex;
    justify-content: flex-end;
    align-items: center; /* ensure it's vertically aligned */
    height: 100%; /* take full height of section3 */
}

.collage-container img {
    height: 100%; /* match the height of the parent (.collage-container / .section3) */
    max-height: 43rem; /* ensure it never exceeds parent */
    height: auto; /* maintain aspect ratio */
    object-fit: contain;
}

.section4 {
    font-family: 'Century Gothic', sans-serif;
    color: #07225D;
    height: 300px;
    display: flex;
    background-color: #c7ced5;
    justify-content: space-evenly;
}

.section4 h1{
    font-size: clamp(32px, 4vw, 50px);
}

.section4 h2{
    margin-top: 0.1em;
    font-size: clamp(32px, 2.5vw, 40px);
    font-weight: 400;
}

.vision-container, .mission-container {
    padding: clamp(0.5rem, 2vw, 5rem);
    width: 25vw;
    text-align: center;
}


.section5 {
    font-family: 'Century Gothic', sans-serif;
    color: #07225D;
    position: relative; 
    height: 70%;
    overflow: hidden;
}

.section5::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/background02.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(1px) opacity(0.25); 
    z-index: 0; 
}

.values-container {
    position: relative; 
    z-index: 1;
    padding: 3rem;
    width: 80%;
}

.values-container h1{
    font-size: clamp(35px, 2vw ,40px);
    margin-bottom: 0.25em;
}

.values-container p {
    font-size: clamp(35px, 2vw,40px);
}

@media (max-width: 768px) {
    .logo {
        width: 50vw;
    }

    .slogan {
        font-size: 5vw;
    }

    .buttonscontainer {
        margin-top: 50px;
        width: 100vw;
    }

    .whoweare-container p {
        font-size: clamp(20px, 3vw, 40px);
    }

    .mission-statement h3 {
        margin-bottom: 1.5em;
        font-size: clamp(14px, 4vw, 30px);
    }

    .mission-statement p {
        margin-bottom: 1em;
        line-height: 1.5em;
        font-size: clamp(14px, 3vw, 30px);
    }

    .collage-container{
        display: none;
    }

    .section4 {
        font-family: 'Century Gothic', sans-serif;
        color: #07225D;
        height: 300px;
        display: flex;
        background-color: #c7ced5;
        justify-content: space-evenly;
    }

    .section4 h1 {
        font-size: clamp(32px, 3vw, 50px);
    }

    .section4 h2 {
        margin-top: 0.1em;
        font-size: clamp(32px, 2.5vw, 40px);
        font-weight: 400;
    }

    .vision-container, .mission-container {
        padding: clamp(1.5rem, 5vw, 6rem);
        width: 50vw;
        text-align: center;
    }

    .values-container {
        position: relative;
        z-index: 1;
        padding: 3rem;
        width: 100%;
    }

}

@media (max-width: 430px) {

    .logo {
        width: 80vw;
    }

    .slogan {
        /* This clamp is crucial for readability on small phones */
        font-size: clamp(1.2rem, 6vw, 2rem);
        padding: 5vh 5vw 3vh 5vw;
        margin-bottom: 50px;
    }

    .buttonscontainer {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center; /* Center them horizontally */
        width: 80vw; /* Make buttons wider for easier tapping */
        margin: 0 0 5vh 0; /* Reduced bottom margin to fit content */
        gap: 30px;
    }

    .whoweare-slogan-container h1 {
        font-size: clamp(25px, 13vw, 80px);
        margin: 0;
    }

    .section3{
        height: auto;
    }

    .mission-statement {
        padding: clamp(0.5rem, 5vw, 5rem);
    }

    .mission-statement h3 {
        margin-bottom: 1.5em;
        font-size: clamp(20px, 2vw, 32px);
    }

    .mission-statement p {
        margin-bottom: 1em;
        line-height: 1.5em;
        font-size: clamp(20px, 1.5vw, 25px);
    }
    
    .section4{
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    .section4 h1 {
        font-size: clamp(25px, 3vw, 50px);
    }

    .section4 h2 {
        margin-top: 0.1em;
        font-size: clamp(23px, 2vw, 40px);
        font-weight: 400;
    }

    .values-container {
        padding: 2rem;
    }

    .vision-container, .mission-container {
        padding: clamp(0.5rem, 3vw, 5rem);
        width: 80vw;
        text-align: center;
    }

    .values-container h1 {
        font-size: clamp(25px, 2vw,40px);
        margin-bottom: 0.25em;
    }

    .values-container p {
        font-size: clamp(23px, 2vw,40px);
    }

}





