﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.section1{
    position: relative;
    overflow: hidden;
}

.hero-banner-container {
    background-image: url('../images/background04.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    z-index: -1;
}

.slogan-container {
    width: 50vw;
    position: absolute;
    top: 15vh;
    right: 5vh;
    padding: clamp(2rem, 2vw, 5rem);
    font-family: 'Kamerik105', sans-serif;
    font-size: 2vw;
    color: white;
    z-index: 1;
}

.slogan-container p{
    font-family: 'Kamerik105-Book', sans-serif;
    width: 38vw;
    font-size: 1.7vw;
}

.section2 {
    position: relative;
    overflow: hidden;
    background-image: url('../images/background05.png');
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(2rem, 3vw, 5rem);
}

.section2 h2 {
    font-family: 'Kamerik105', sans-serif;
    font-size: 3vw;
    padding: clamp(2rem, 2vw, 4rem);

}

.section2 p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5vw;
    width: 42vw;
    margin-top: 2rem;
    text-align: justify;
}

.section3 {
    position: relative;
    overflow: hidden;
    background-image: url('../images/background06.png');
    color: white;
    padding: clamp(2rem, 5vw, 10rem);
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section3 h1{
    font-family: 'Kamerik105', sans-serif;
    font-size: 3vw;
    padding: clamp(2rem, 2vw, 5rem);
}

.div-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2vw;
}

.sub-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30vw;
    text-align: center;
}

.sub-container img {
    width: 10vw;
}

.sub-container h5 {
    font-family: 'Kamerik105', sans-serif;
    font-size: 1.5vw;
}

.sub-container p{
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.25vw;
    padding: clamp(1rem, 1vw, 3rem);
}

.section4 {
    position: relative;
    overflow: hidden;
    padding-top: 5vh;
    background-color: #f6f6f6;
    color: #224260;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.text-container{
    width: 50vw;
    padding: clamp(2rem, 2vw, 5rem);
}

.text-container h1 {
    font-family: 'Kamerik105', sans-serif;
    font-size: 3vw;
    padding: clamp(1rem, 1vw, 3rem);
}

.text-container p{
    font-family: 'Canva Sans', sans-serif;
    font-style: italic;
    font-size: 1.5vw;
    padding: clamp(1rem, 1vw, 3rem);
    width: auto;
}

.img-container {
    height: 80vh;
}

.img-container img{
    height: 100%;
    width: auto;
    object-fit: contain;
}

.apply-btn-container{
    font-family: 'Kamerik105', sans-serif;
    font-size: 1.8vw;
    font-weight: 600;
    width: 20vw;
    border: 2px solid #231f20;
    border-radius: 50px;
    text-align: center;
    padding: 1rem;
    margin: 10px 0 0 15px;

}

.section5 {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #224260;
    padding: clamp(2rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section5 h3 {
    font-family: 'Kamerik105', sans-serif;
    font-size: 2vw;
    padding-inline: clamp(2rem, 2vw, 5rem);
}

.section5 h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.25vw;

}

.section5 p {
    font-family: 'Montserrat', sans-serif;
}

.grid-container {
    padding: clamp(2rem, 2vw, 4rem);
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    grid-template-rows: repeat(3, 1fr); /* 3 equal rows */
    column-gap: 5vw; /* Horizontal gap */
    row-gap: 2vh; /* Vertical gap */
}
.btn-container {
    position: relative; /* allows absolute positioning inside */
    display: flex;
    justify-content: center; /* centers ENGINEER */
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    width: 25vw;
    border: 2px solid #231f20;
    border-radius: 50px;
    padding: 1rem;
    margin-top: 10px;
}


.fixed-icon {
    position: absolute;
    right: 20px; /* adjust this value */
    font-size: 2rem; /* keeps icon small */
}

.divider-container {
    background-color: #f6f6f6;
    padding-inline: clamp(1rem, 2vw, 5rem);
    font-family: 'Century Gothic', sans-serif;
    white-space: pre-line;
    color: #224260;
    font-size: 3vw;
}

@media (max-width: 768px) {
    .hero-banner-container {
        height: 40vh;
    }

    .slogan-container {
        top: 10vh;
        right: 2vh;
    }

    .section2 h2 {
        font-size: 4vw;
    }

    .section2 p {
        margin-top: 1rem;
        font-size: 2vw;
    }

    .section3 {
        height: auto;
    }

    .sub-container h5{
        font-size: 2vw;
    }

    .sub-container p {
        font-size: 1.5vw;
    }

    .section4 {
        padding-top: 5vh;
    }

    .img-container {
        height: 40vh;
    }

    .btn-container span{
        font-size: 0.8rem;
        width: 10vw;
    }

    .fixed-icon {
        position: absolute;
        right: 20px; /* adjust this value */
        font-size: 1rem; /* keeps icon small */
    }
    
}

@media (max-width: 430px) {
    .hero-banner-container {
        height: 30vh;
    }

    .slogan-container {
        padding: 10px;
        width: 60vw;
        top: 5vh;
        right: 0;
    }

    .slogan-container h1 {
        font-size: 5vw;
    }

    .slogan-container p{
        font-size: 2.5vw;
    }

    .section2 h2 {
        font-size: 8vw;
    }

    .section2 p {
        margin-top: 15px;
        font-size: 4vw;
        width: 80vw;
    }

    .div-wrapper {
        flex-wrap: wrap;
    }

    .sub-container {
        width: 60vw;
    }

    .sub-container img {
        width: 30vw;
    }

    .sub-container h5 {
        font-size: 3.2vw;
    }

    .sub-container p{
        font-size: 3vw;
    }

    .section4 {
        padding-top: 0;
        position: relative; /* required for layering */
        z-index: 1;
        overflow: hidden;
    }


    .section4::before {
        content: "";
        position: absolute;
        inset: 0; /* same as top:0; left:0; width:100%; height:100% */
        background-image: url('../images/collage02.png');
        background-size: 150%;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.1; /* adjust your opacity */
        z-index: -1; /* sends it behind content */
    }

    .img-container {
        display: none;
    }

    .text-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        width: 100%;
    }

    .text-container h1 {
        font-size: 5vw;
        padding: 1rem;
    }

    .text-container p {
        font-size: 3.5vw;
        font-size: 3.5vw;
    }

    .apply-btn-container{
        font-size: 1rem;
        width: 50vw;
    }

    .section5 h3 {
        width: 80vw;
        font-size: 5vw;
    }

    .section5 h6 {
        font-size: 3vw;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 3 equal columns */
        grid-template-rows: repeat(5, 1fr); /* 3 equal rows */
    }

    .btn-container {
        width: 35vw;
        padding: 0.5rem;
    }

    .fixed-icon {
        font-size: 1rem;
        right: 10px;
    }

    .btn-container span {
        font-size: 0.7rem;
        width: 70%;
    }

    .divider-container {
        white-space: normal;
        font-size: 5vw;
        padding: 1rem;
    }


}








