/* Global Reset */
*,
*::after,
*::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* Sections Layout */
.landing-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Make Each Section Take Up Space Naturally */
.intro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px; /* Ensures space */
    text-align: center;
}

/* Job Openings Section */
.job-openings-section {
    padding: 80px 20px; /* Adjusted padding */
    background-color: #f5f7f6;
    text-align: center;
}

/* Job Openings Title */
.job-openings-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #111;
}

/* Underline effect */
.underline {
    width: 50px;
    height: 4px;
    background-color: black;
    margin: 10px auto 30px;
}

/* Footer */
footer.landing {
    padding: 40px 20px;
    background-color: rgba(1, 13, 65, 0.527);
    background-image: url("../img/hero.jpg");
    color: white;
    text-align: center;
    width: 100%;
}
/* Company Name */
.company-name {
    font-size: 0.9rem;
    color: gray;
}

/* Navbar */
.navbar {
    z-index: 10;
    margin: 0 auto;
    padding: 20px 0;
    position: fixed;
    width: 100%;
}

.navbar .navbar-brand {
    display: inline-block;
    width: 120px;
    margin-right: 100px;
}

.navbar .navbar-brand img {
    width: 100%;
}

.navbar li .nav-link {
    display: inline-block;
    color: #4b4b4b;
    padding: 15px 30px !important;
    margin-right: 20px;
}

.navbar li .nav-link:hover,
.navbar li .active {
    font-weight: 900;
}

.navbar .navbar-toggler:focus,
.navbar .navbar-toggler:hover {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

.navbar .create-account {
    text-decoration: none;
    font-weight: 600;
    background-color: #13aae2;
    border: none;
    border-radius: 12px;
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.navbar .create-account a {
    margin-right: 0;
    color: white !important;
}

.navbar .login {
    margin-right: 30px;
}

.navbar .login a {
    color: white;
}

.navbar .login:hover {
    color: #13aae2;
    font-weight: 600;
}

.navbar i {
    color: white;
    border-radius: 20px;
    font-size: 30px;
}

/* Filter Section */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 8px 12px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    margin: 0 auto 20px;
}

/* Filter Dropdowns */
.custom-select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    flex: 1;
    min-width: 150px;
}

.custom-select:focus {
    border-color: #13aae2;
}

.filter-btn {
    background-color: #b0b0b0;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-btn:hover {
    background-color: #8a8a8a;
}

.navbar-toggler {
    background-color: #13aae2;
}

.navbar-toggler:hover {
    background-color: #ccc;
}

.navbar .login a:hover {
    color: #13aae2;
}

.navbar .create-account:hover {
    background-color: #4b4b4b;
}

.navbar {
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
}

.navbar.nav-color {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar.nav-color .nav-link {
    color: white !important;
}

/* Typography */
.landing-page h1,
h2,
h3,
h4,
h5,
h6 {
    color: #4b4b4b;
    font-weight: 900;
}

.landing-page h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 20px;
}

.landing-page h1 {
    font-size: 2.2em;
    margin-bottom: 40px;
    text-align: center;
}

/* Intro Section */
.green {
    color: #13aae2;
}

.intro {
    background-image: url("../img/hero.jpg");
    background-color: #f1f7eb;
    background-repeat: no-repeat;
    background-position: cover;
    position: relative;
    padding: 120px 0px 50px;
    overflow-x: hidden;
    width: 100%;
}

.intro .container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.intro .intro-text h1 {
    color: white;
}

.intro .intro-img {
    margin-top: 30px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

.intro .intro-img img {
    padding: 35px;
    width: 100%;
}

/* See Jobs Button */
.see-jobs-btn {
    margin-top: 20px;
    background-color: #13aae2;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.see-jobs-btn:hover {
    background-color: #0d89b3;
}
@media (max-height: 768px) {
    .intro,
    .job-openings-section {
        min-height: 120vh;
    }
}

@media (max-width: 768px) {
    .navbar {
        background-color: rgba(0, 0, 0, 0.8);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    h1 {
        font-size: 3em;
    }

    .intro {
        width: 100vw;
        overflow: hidden;
        height: 100vh;
    }

    .filter-container {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
        border-radius: 5px;
        overflow: hidden;
        width: 100%;
    }

    .intro .intro-text {
        position: relative;
        margin-top: 130px;
        z-index: 1;
    }

    .intro .intro-img {
        width: 100%;
        position: relative;
        padding: 75px;
        overflow-x: hidden;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 4em;
    }

    .intro .intro-text {
        position: absolute;
        top: 45%;
        left: 200px;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        z-index: 5;
    }

    .filter-container {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
        border-radius: 5px;
        overflow: hidden;
        width: max-content;
    }

    .intro .intro-img {
        width: 55%;
        float: right;
        position: relative;
        overflow-x: hidden;
    }
}

@media (min-width: 1200px) {
    .intro {
        height: 100vh;
        overflow: hidden;
    }

    .intro .intro-text {
        position: absolute;
        top: 45%;
        left: 200px;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        z-index: 5;
    }

    .intro .intro-img {
        width: 60%;
        float: right;
        position: relative;
        overflow-x: hidden;
    }
}

@media (min-width: 1400px) {
    .intro {
        height: 100vh;
        overflow: hidden;
    }

    .landing-page h1 {
        font-size: 3.5em;
    }

    .intro .intro-text {
        position: absolute;
        top: 45%;
        left: 200px;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        z-index: 5;
    }

    .intro .intro-img {
        width: 60%;
        float: right;
        position: relative;
        overflow-x: hidden;
    }
}

@media (min-width: 1900px) {
    .intro {
        height: 100vh;
        overflow: hidden;
    }

    .landing-page h1 {
        font-size: 3.5em;
    }

    .intro .intro-text {
        position: absolute;
        font-size: larger;
        top: 45%;
        left: 250px;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        z-index: 5;
    }

    .intro .intro-img {
        width: 60%;
        float: right;
        position: relative;
        overflow-x: hidden;
    }
}
