@font-face {
    font-family: RE;
    src: url(./fonts/Rejouice-Headline.woff2);
}

@font-face {
    font-family: poppins;
    src: url(./fonts/Poppins-Regular.ttf);
}

* {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-family: poppins;


}

body {
    overflow-x: hidden;
}

#page1 {
    height: 16vh;
    width: 100%;
    /* background-color: ; */
    display: flex;
    justify-content: center;
    align-items: center;

}

nav {
    height: 75%;
    width: 90%;
    /* background-color: #004658; */
    /* background-color: aliceblue; */
    /* box-shadow: 0 0 6px black; */
    border-bottom: 2px solid #000;
    /* border-radius: 1rem; */
    padding: 1.2vw 2vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background-color: #FFFFFF; */

}

.links .hometag {
    /* background-color: ; */
    padding: 0.2vw 0.9vw;
    color: #91618f;
    border-radius: 0.9rem;
    font-weight: 800;
}

nav .logo img {
    width: 7vw;
    /* background-color: aliceblue; */
    margin-top: 0.8vw;
}

.logo h3 {
    color: black;
    font-size: 1.6vw;
}

/* .logo img{
    height: 80%;
    width: 100%;
    object-fit: cover;
} */
nav .links {
    display: flex;
    align-items: center;
    gap: 2vw;
    font-size: 1.2vw;


}

.links a {
    color: black;
    font-weight: 600;
    transition: all ease 0.4s;

}

.links a:hover {
    padding-bottom: 0.5vw;
    /* text-decoration: underline; */
}

#menutag {
    display: none;
}

.fixed {
    display: none;
}


.hero {
    display: flex;
    gap: 200px;
    padding: 60px 5%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    background: #fff;
}

.image-stack {
    display: flex;
    gap: 20px;
    /* spacing between images */
    justify-content: center;
    align-items: flex-end;
    /* align based on baseline so offsets work well */
    margin-left: -0px;
    /* adjust this value as needed */
}

.image-stack img {
    width: 85px;
    height: 350px;
    border-radius: 25px;
    object-fit: cover;
}

.image-stack img:nth-child(1) {
    transform: translateY(-30px);
}

.image-stack img:nth-child(2) {
    transform: translateY(30px);
}

.image-stack img:nth-child(3) {
    transform: translateY(-30px);
}

.image-stack img:nth-child(4) {
    transform: translateY(30px);
}

.hero-text h3 {
    font-size: 1.5rem;
    font-weight: 350;
    color: #012A36;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    justify-content: left;
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.hero-text span {
    color: #003344;
    font-weight: bold;
}

.hero-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

.vision-mission {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 90px;
    background: #f5f5f5;
    flex-direction: row;
}

.card {
    background: #003344;
    color: white;
    border-radius: 20px;
    padding: 30px;
    width: 300px;
    text-align: center;
}

.card h3 {
    font-weight: 600;
    font-size: 20px;
    color: #d3962e;
    margin-bottom: 10px;
}

p {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 20px;
}

.sbtn {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 8px 24px;
    font-size: 13px;
    background: transparent;
    border-radius: 45px;
    transition: 0.5s;
}

.sbtn:hover {
    background: #3e5157;
    color: white;
    border: #3e5157;
}

.team {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.team-intro-box {
    background: white;
    padding: 30px;
    margin: 0 auto 40px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.team-intro-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 400;
    color: #003344;
}

.team-intro-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    margin-top: 30px;
    padding: 3.4vw;
}

.member p {
    color: #012A36;
    font-size: 1rem;
}

.member h4 {
    font-weight: 400;
}

.member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.highlights {
    text-align: center;
    padding: 40px 20px;
    color: #012A36;
}

.highlights p {
    font-size: 20px;
    font-weight: 600;
    text-align: center;

    color: #012A36;
}

.hbtn {
    display: inline-block;
    text-decoration: none;
    color: #012A36;
    border: 1px solid #012A36;
    padding: 8px 24px;
    font-size: 10px;
    background: transparent;
    border-radius: 45px;
    transition: 0.5s;
    width: 105px;
    font-weight: normal;
    justify-content: center;
}

.hbtn:hover {
    background: #3e5157;
    color: white;
    border: #3e5157;
}

.highlight-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
    color: #012A36;
}

.highlight img {
    height: 200px;
    width: 300px;
    object-fit: cover;
    border-radius: 10px;
}





#page5 {
    min-height: 100vh;
    width: 100%;
}

#gallery-heading h2 {
    text-align: center;
    margin-top: 3vw;
    border-bottom: 1px solid white;
    padding-bottom: 1vw;
}

/* .heading {
    text-align: center;
    font-size: 2.0em;
    letter-spacing: 1px;
    padding: 40px;
    color: white;
  } */

.gallery-image {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-image img {
    height: 250px;
    width: 350px;
    transform: scale(1.0);
    transition: transform 0.4s ease;
}

.img-box {
    box-sizing: content-box;
    margin: 10px;
    height: 250px;
    width: 350px;
    overflow: hidden;
    display: inline-block;
    color: white;
    position: relative;
    background-color: white;
}

.caption {
    position: absolute;
    bottom: 5px;
    left: 20px;
    opacity: 0.0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.transparent-box {
    height: 250px;
    width: 350px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
}

.img-box:hover img {
    transform: scale(1.1);
}

.img-box:hover .transparent-box {
    background-color: rgba(0, 0, 0, 0.5);
}

.img-box:hover .caption {
    transform: translateY(-20px);
    opacity: 1.0;
}

.img-box:hover {
    cursor: pointer;
}

.caption>p:nth-child(2) {
    font-size: 0.8em;
}

.opacity-low {
    opacity: 0.5;
}













#page7 {
    height: 70vh;
    width: 100%;
    margin-top: 3vw;
}

a {
    color: #fff;
    text-decoration: none;
}

.pg-footer {
    font-family: 'Roboto', sans-serif;
}


.footer {
    background-color: #004658;
    color: #fff;
}

.footer-wave-svg {
    background-color: transparent;
    display: block;
    height: 30px;
    position: relative;
    top: -1px;
    width: 100%;
}

.footer-wave-path {
    fill: #fffff2;
}

.footer-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 450px;
    position: relative;
}

.footer-content-column {
    box-sizing: border-box;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    color: #fff;
}

.footer-content-column ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-logo-link {
    display: inline-block;
}

.footer-menu {
    margin-top: 30px;
}

.footer-menu-name {
    color: #fffff2;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}

.footer-menu-list {
    list-style: none;
    margin-bottom: 0;
    margin-top: 10px;
    padding-left: 0;
}

.footer-menu-list li {
    margin-top: 5px;
}

.footer-call-to-action-description {
    color: #fffff2;
    margin-top: 10px;
    margin-bottom: 20px;
}

.footer-call-to-action-button:hover {
    background-color: #fffff2;
    color: #00bef0;
}

.button:last-of-type {
    margin-right: 0;
}

.footer-logo img {
    width: 100px;
}

.footer-call-to-action-button {
    background-color: #027b9a;
    border-radius: 21px;
    color: #fffff2;
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    padding: 12px 30px;
    margin: 0 10px 10px 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s;
    cursor: pointer;
    position: relative;
}

.footer-call-to-action {
    margin-top: 30px;
}

.footer-call-to-action-title {
    color: #fffff2;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}

.footer-call-to-action-link-wrapper {
    margin-bottom: 0;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
}

.footer-call-to-action-link-wrapper a {
    color: #fff;
    text-decoration: none;
}





.footer-social-links {
    bottom: 0;
    height: 54px;
    position: absolute;
    right: 0;
    width: 236px;
}

.footer-social-amoeba-svg {
    height: 54px;
    left: 0;
    display: block;
    position: absolute;
    top: 0;
    width: 236px;
}

.footer-social-amoeba-path {
    fill: #027b9a;
}

.footer-social-link.linkedin {
    height: 26px;
    left: 3px;
    top: 11px;
    width: 26px;
}

.footer-social-link {
    display: block;
    padding: 10px;
    position: absolute;
}

.hidden-link-text {
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
    top: 50%;
}

.footer-social-icon-svg {
    display: block;
}

.footer-social-icon-path {
    fill: #fffff2;
    transition: fill .2s;
}

.footer-social-link.twitter {
    height: 28px;
    left: 62px;
    top: 3px;
    width: 28px;
}

.footer-social-link.youtube {
    height: 24px;
    left: 123px;
    top: 12px;
    width: 24px;
}

.footer-social-link.github {
    height: 34px;
    left: 172px;
    top: 7px;
    width: 34px;
}

.footer-copyright {
    background-color: #027b9a;
    color: #fff;
    padding: 15px 30px;
    text-align: center;
}

.footer-copyright-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.footer-copyright-text {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
}

.footer-copyright-link {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 700px) {
    nav {
        width: 100%;
        padding: 1vw 4vw;
    }

    #menutag {
        display: block;
        font-size: 7vw;
    }

    nav .links a {
        display: none;
    }

    nav .logo img {
        width: 20vw;
        margin-top: 5vw;
    }

    #menutag {
        display: block;
        font-size: 7vw;
        color: black;
        z-index: 999;
        /* background-color: red; */
        /* test only */
        font-size: 7vw;
    }


    /* Updated .fixed styles */
    .fixed {
        display: none;
        position: fixed;
        /* changed from absolute */
        z-index: 1000;
        height: 100vh;
        width: 60%;
        background-color: #003344;
        top: 0;
        /* changed from 13% */
        right: -70%;
        padding: 5vw;
        overflow-y: auto;
        overflow-x: hidden;
        transition: right 0.3s linear;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
    }


    .fixed .res-links {
        display: flex;
        flex-direction: column;
        gap: 6vw;
        margin-top: 15vw;
        /* text-align: center; */

    }

    .res-links a {
        text-decoration: none;
        color: white;
        font-size: 7vw;
    }

    .fixed span i {
        font-size: 7vw;
    }

    .image-stack {
        display: flex;
        gap: 13px
    }

    .image-stack img {
        width: 75px;
        height: 290px;
    }

    .vision-mission {
        display: flex;
        justify-content: center;
        gap: 40px;
        padding: 10px;
        background: #f5f5f5;
        flex-direction: column;

    }
    .card {
    background: #003344;
    color: white;
    border-radius: 20px;
    padding: 30px;
    width: 280px;
    }
}






/* Media Query For different screens */
@media (min-width:320px) and (max-width:479px) {

    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 1050px;
        position: relative;
    }
}

@media (min-width:480px) and (max-width:599px) {

    /* smartphones, Android phones, landscape iPhone */
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 1050px;
        position: relative;
    }
}

@media (min-width:600px) and (max-width: 800px) {

    /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 1050px;
        position: relative;
    }
}

@media (min-width:801px) {
    /* tablet, landscape iPad, lo-res laptops ands desktops */

}

@media (min-width:1025px) {
    /* big landscape tablets, laptops, and desktops */

}

@media (min-width:1281px) {
    /* hi-res laptops and desktops */

}




@media (min-width: 760px) {
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 450px;
        position: relative;
    }

    .footer-wave-svg {
        height: 50px;
    }

    .footer-content-column {
        width: 24.99%;
    }
}

@media (min-width: 568px) {
    /* .footer-content-column {
      width: 49.99%;
  } */
}