﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.section1 {
    position: relative;
    overflow: hidden;
}

.header-container {
    height: 20vh;
    background-color: #97a6b4;
    display: flex;
    justify-content: center;
}

.header-container img {
    padding: clamp(2rem, 2vw, 7rem);
}

.job-oppt-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Kamerik105', sans-serif;
    color: white;
    height: auto;
    padding: clamp(1rem, 1vw, 5rem);
    background-color: #224260;
}

.job-oppt-container h1 {
    font-family: 'Kamerik105', sans-serif;
    font-weight: bold;
    font-size: 3.8vw;
    padding: clamp(1rem, 1vw, 5rem);
}

.job-oppt-container h3{
    font-family: 'Kamerik105-Book', sans-serif;
    font-size: 1.3vw;
}

.search-bar-container {
    display: flex;
    flex-direction: row;
    padding: clamp(1rem, 1vw, 5rem);
    font-family: 'Montserrat', sans-serif;
    color: #8494af;
    font-size: 1vw;
}

.keyword-container {
    background-color: #e9eff2;
    height: 10vh;
    width: 30vh;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.search-bar-container input[type="text"] {
    flex: 1; /* takes all remaining space */
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    color: #224260;
    font-size: 1rem;
    outline: none;
    height: 100%;
}

.search-bar-container input[type="text"]:focus{
    outline: none;
    border: none;
    box-shadow: none;
}


.keyword-container img{
    height: 40%;
    object-fit: contain;
    padding-inline: 30px 10px;
}


.country-container {
    background-color: #e9eff2;
    height: 10vh;
    width: 70vh;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.country-container img{
    height: 40%;
    object-fit: contain;
    padding-inline: 10px;
}

.search-btn-container {
    background-color: #224260;
    height: 10vh;
    width: 20vh;
    margin-left: 10px;
    border: 5px solid #e9eff2;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e9eff2;
    font-weight: 600;
    cursor: pointer;
}

.search-btn-container p {
    margin-bottom: 0;
}

.section2 {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.search-result-container{
    background-color: white;
    align-items: center;
    padding: clamp(2rem, 2vw, 5rem);
    width: 80%;

}


.job-list-table {
    font-family: 'Century Gothic', sans-serif;
    font-size: 1rem;
    border: 1px none #dededf;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
}

.job-list-table caption {
    caption-side: top;
    text-align: left;
}

.job-list-table tbody tr {
    cursor: pointer; 
    transition: background-color 0.2s ease;
}

.job-list-table tbody tr:hover {
    background-color: #f2f2f2; 
 }

.job-list-table tbody tr td:first-child {
    color: #00a32c; 
    font-weight: bold; 
}



.dt-length {
    font-family: 'Kamerik105-Book', sans-serif;
    padding: 1rem 0;
}

.dt-info {
    font-family: 'Kamerik105-Book', sans-serif;
    padding: 1rem 0;
}

.section3 {
    position: relative;
    overflow: hidden;
}

.hero-banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../images/herobanner01.png");
    height: 100vh;
    background-size: cover; /* or cover */
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    color: white;
}

.hero-banner-container p{
    width: 80vw;
    font-family: 'Kamerik105', sans-serif;
    font-weight: bold;
    font-size: 3vw;
}

.divider-container{
    font-family: 'Century Gothic', sans-serif;
    padding-inline: clamp(1rem, 2vw, 3rem);
    white-space: pre-line;
    color: #224260;
    font-size: 3vw;
    text-transform: uppercase;
}

#job-modal {
    font-family: 'Kamerik105-Book', sans-serif;
}

.applynow-btn {
    background-color: #224260;
    border: 0;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .header-container{
        height: 12vh;
    }

    .header-container img{
        padding: clamp(1rem, 1vw, 5rem);
    }

    .job-oppt-container{
        height: auto;
    }

    .job-oppt-container h1{
        font-size: 5vw;
    }

    .job-oppt-container h3 {
        font-size: 2vw;
    }

    .search-bar-container {
        font-size: 0.8rem;
    }

    .search-bar-container input[type="text"] {
        font-size: 0.7rem;
    }

    .keyword-container {
        height: 5vh;
        width: 20vh;
    }

    .country-container {
        margin-left: 8px;
        height: 5vh;
        width: 35vh;
    }

    .search-btn-container {
        margin-left: 8px;
        height: 5vh;
        width: 10vh;
        border: 3px solid #e9eff2;
    }

    .search-result-container{
        padding: clamp(1rem, 1vw, 5rem);
    }

    .job-list-table{
        font-size: 2vw;
        height: 80%
    }

    .hero-banner-container{
        height: 50vh;
    }
}

@media (max-width: 430px) {
    .job-oppt-container{
        height: auto;
    }

    .job-oppt-container h1{
        text-align: center;
        font-size: 8vw;
    }

    .job-oppt-container h3 {
        padding: clamp(1rem, 1vw, 5rem);
        font-size: 5vw;
    }

    .search-bar-container {
        font-size: .5rem;
    }

    .search-bar-container input[type="text"]{
        font-size: .5rem;
    }

    .keyword-container {
        height: 5vh;
        width: 25vw;
    }

    .keyword-container img {
        padding-inline: 10px 5px;
    }

    .country-container {
        margin-left: 4px;
        height: 5vh;
        width: 45vw;
    }

    .country-container img {
        padding-inline: 5px;
    }

    .search-btn-container {
        margin-left: 4px;
        height: 5vh;
        width: 15vw;
        border: 2px solid #e9eff2;
    }

    .job-list-table {
        font-size: 3.2vw;
        height: 80%
    }

    .hero-banner-container{
        height: 30vh;
        font-size: 5vw;
    }

    .hero-banner-container p{
        font-size: 4vw;
    }

    .divider-container{
        font-size: 4vw;
    }
}
