/* Banner Section */
#banner-section {
    /*margin-top: var(--header-total);*/
    color: var(--color-light-blue);
    position: relative;
    width: 100%; /* Full width */
    height: 70vh; /* Height adjusts automatically based on image aspect ratio */
    overflow: hidden; /* Ensures no overflow */
    z-index: 2;
}

/* Fixed Image Container */
.fixed-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 70vh; /* Same as banner-section */
}

#banner-section img {
    width: 100%; /* Make the image span the entire width of the screen */
    height: 100%;
    display: block; /* Removes any extra space below the image */
    opacity: 0.5; /* Transparency effect */
    z-index: 1;
}

/* Text Overlay */
.banner-text {
    position: absolute; /* Position relative to the parent (#banner-section) */
    text-align: center; /* Center-align text */
    width: 80%;
    height: 100%;
    top: 80%; /* Move down 50% of parent's height */
    left: 50%; /* Move right 50% of parent's width */
    transform: translate(-50%, -50%); /* Center horizontally and vertically */

}

.banner-text h1 {
    font-size: 2.5rem; /* Larger text for the heading */
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

#careers-section {
    position: relative;
    padding: 0 40px; /* Add padding to the section */
    padding-top: var(--section-padding-top);
    padding-bottom: var(--section-padding-bottom);
    text-align: center;
    background-color: var(--color-light-blue);
    color: var(--color-dark-blue);
    z-index: 2;
}

.job-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 70%; /* Default max width */
    width: 100%;
    padding: 20px 15px; /* Add left and right padding */
    background-color: var(--color-light-blue);; /* Replace with the exact light blue you want */
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-top: 0 solid #d7e2e6; /* Top line */
    border-bottom: 1px solid #d7e2e6; /* Bottom line */
    border-left: none; /* Remove left border */
    border-right: none; /* Remove right border */
}

.job-item:first-child {
    border-top: none; /* Remove the top line from the first item */
}

.job-item:last-child {
    border-bottom: none; /* Remove the bottom line from the last item */
}

.job-item:hover {
    background-color: #e0ecf2; /* Slightly grey background on hover */
}

.job-item:hover .job-title {
    color: var(--general-color); /* Change title color on hover */
}

.job-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 3;
}

.job-title {
    font-size: 1.4em;
    font-weight: bold;
    
}

.job-type {
    font-size: 1em;
    color: #333;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 5px; /* Reduce the gap between the icon and text */
    flex: 1;
    justify-content: flex-start; /* Align closer to the rest of the content */
}

.location-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url('../assets/images/icons/location.png'); /* Replace with your actual icon path */
    background-size: contain;
    background-repeat: no-repeat;
}

.location-text {
    font-size: 1em;
}



@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 1.5rem;
    }

    .banner-text p {
        font-size: 0.9rem;
    }

    .job-item {
        max-width: 100%; /* Smaller width on big screens */
    }
}
