
/* HEADER AND FOOTER STYLING
   Remains the same for every page */

body {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
header {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    z-index: 10;
}

header img {
    width: 60px;
    height: 81px;
}

.header-content {
    background-color: #01264d;
    display: flex;
    justify-content: space-between;
    
    align-items: center;
    width: 100%;
    height: 120px;

    padding: 0 40px; 
    box-sizing: border-box; 
}

nav {
    display: flex;
    gap: 25px;
    
}

nav a{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    font-size: 28px;
    font-style: italic;
    text-shadow: 2px 0px 2px rgb(4, 4, 4);
    text-decoration: none;
}

nav a:hover{
    cursor: pointer;
    color: rgb(180, 178, 178);
}

.belowheader {
    background-color: #001f3d;
    height: 30px;
    position: sticky;
}

html {
    background-color: #001f3d;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
}


footer {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color:#001f3d;
    color: white;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    gap: 100px;
    padding-right: 70px;
}

.footer-column {
    max-width: 200px;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column a {
    color: #cccccc;
    margin-bottom: 10px;
    font-size: 12px;
    text-decoration: underline;
}
.footer-column a:hover {
    color: white;
}

.footer-column p, .footer-column span {
    display: block;
    font-size: 12px;
    line-height: 1.6;
}

/* END OF PAGE SIMILAR CONTENT */

.inter-300 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}


/* CSS for Main Page slideshow */

#slideshow {
    display: flex;
    height: 810px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: black;
}

.slide {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    
    /* Stack all slides on top of each other */
    position: absolute;
    top: 0;
    left: 0;
    
    /* Make slides invisible by default */
    opacity: 0;
    
    /* Set the base z-index for inactive slides */
    z-index: 0;
    
    /* Any change to opacity takes two seconds */
    transition: opacity 2s ease-in-out;
}

.active-slide {
    /* Make the active slide visible */
    opacity: 1;
    
    /* Bring the active slide to the front */
    z-index: 1;
}

.slidetext {
    margin-left: 260px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    color: white;
    font-size: 60px;
    font-style: italic;
    text-shadow: 4px 2px 2px rgb(4, 4, 4);
    z-index: 9;
    position: relative;
}

/* About us image and info */

.fading-orange-linear {
  background: linear-gradient(to top, orange, rgba(255, 165, 0, 0));
  height: 100%;
  width: 100%;
}

.aboutus {
    display: flex;
    flex-direction: column;
    background-color:#01264d;
    justify-content: center;
    align-items: center;
    gap: none;
}

#aboutustext {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: white;
    font-size: 45px;
    text-shadow: 4px 2px 2px rgb(4, 4, 4);
    margin-top: 20px;
    margin-bottom: 0px;
    padding: none;
}

.team {
    height: 490px;
    width: 1100px;
    scale: 90%;

    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 25px;

    background-image: url('../assets/images/index/2025team1grad.png'); 
    background-size: cover; 
    background-position: center -180px;
    border-radius: 8px;
}

.teamdesc {
    width: 68%;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: lighter;
    color: white;
    font-size: 20px;
    text-shadow: 1px 1px black;
}

/* CSS for the GIF videos near the end of the page */

.showcasevideos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: row;
}

.scwrapper {
  width: 450px;
  height: 450px;
  overflow: hidden;
}


.scvid {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* MOBILE HEADER */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
}

@media (max-width: 768px) {

    .header-content {
        justify-content: space-between;
        
        gap: 0;
    }

    .menu-toggle {
        display: block; 
    }

    /* dropdown menu on mobile */
    nav {
        display: none;
        position: absolute;
        top: 150px;
        left: 0;
        width: 100%;
        background-color: #01264d;
        
        flex-direction: column; 
        margin-left: 0;
        gap: 0;
        
        border-bottom: 3px solid #001f3d;
    }

    nav.show {
        display: flex;
    }

    nav a {
        font-size: 22px;
        padding: 20px 0;
        width: 100%;
        text-align: center;
        text-shadow: none;
        border-bottom: 1px solid #001f3d;
    }

    nav a:last-child {
        border-bottom: none;
    }
    
    nav a:hover {
        background-color: #001f3d;
        color: white;
    }

    .showcasevideos {
        flex-direction: column;
        gap: 20px;
    }
    .scwrapper {
        width: 90%;
        max-width: 450px;
        height: auto;
    }

    .slidetext {
        margin-left: 0;
        text-align: center;
        font-size: 40px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        padding-right: 20px;
    }

    .team {
        display: block;
        width: 95%;
        height: auto;
        scale: 1;
        background-image: none;
        padding: 0;
    }

    /* use ::before to create the image inside the container */
    .team::before {
        content: "";
        display: block;
        width: 100%;
        height: 300px;
        background-image: url('../assets/images/index/2025team1grad.png'); 
        background-size: cover;
        background-position: center center;
        border-radius: 8px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .teamdesc {
        width: 90%;
        font-size: 18px;
        margin: 10px auto 0 auto;
    }

}

@media (min-width: 769px) and (max-width: 1300px) {
    .team {
        width: 95%;
        background-position: center center;
        scale: 1;
    }

    .teamdesc {
        width: 80%;
    }

    .showcasevideos {
        flex-wrap: wrap;
        width: 95%;
    }
    
    .slidetext {
        margin-left: 5%;
        font-size: 50px;
    }

    .header-content {
        gap: 40px;
    }
    
    nav {
        margin-left: 20px; 
        gap: 20px; 
    }

    footer {
        gap: 50px; 
        padding-right: 20px;
        justify-content: space-around;
    }
}