body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 6rem 0;
    background: black;
}

.bg-light {
    background: #f8f9fa;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background-color: #000;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: 220px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3b82f6;
    /* Blue hover */
}

/* Hamburger menu (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 3px;
}

/* section */

#jobs h1 {
    display: inline-block;
    position: relative;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 30px;
    color: white;
}

#jobs h1::after {
    content: "";
    display: block;
    width: 180px;
    height: 4px;
    background-color: #007bff;
    margin: 8px auto 0;
    border-radius: 2px;
}

.job-listing {
    text-align: center;
    width: 100%;
}

.search-job {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.type-select {
    width: 250px;
    background: none;
    color: rgb(196, 196, 196);
    border: none;
    border-bottom: 2px solid grey;
}

.type-select option {
    color: black;
}

.search-btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: #007bff;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.job-number {
    margin: 60px 10px 20px;
}

.list-jobs {
    width: 60%;
    margin: 0 auto;
}

.job-card {
    margin-bottom: 20px;
}

.job-info {
    border: 1px solid rgb(196, 196, 196, 0.5);
    border-radius: 5px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-job {
    border: 1px solid #007bff;
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.view-job:hover {
    background-color: #007bff;
    color: #fff;
}


/* job roles */
.container_2 {
    width: 60%;
    margin: auto;
    z-index: 3;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-role {
    width: 80%;
    margin: 40px auto 0;
}

.about-role p {
    font-size: 18px;
}

.about-role .about {
    line-height: 1.9;
    margin: 20px auto;
}

.job-type {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 60px;
    font-size: 18px;
}

.description {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    font-size: 18px;
}

.description p {
    margin-bottom: 20px;
    line-height: 1.9;
}

.apply-button {
    margin-top: 30px;
}

.apply-button a {
    background: #007bff;
    color: white;
    width: 140px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.apply-button a:hover {
    background: white;
    color: #3A6AFD;
}

/* Responsive section */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    /* .container {
    max-width: 768px;
  } */
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

/* Responsive: mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: calc(100vh - 70px);
        width: 100%;
        text-align: center;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        gap: 2rem;
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    #jobs h1 {
        font-size: 30px;
    }

    .type-select {
        width: 175px;
    }

    .list-jobs {
        width: 100%;
    }

    .job-info {
        padding: 20px;
    }

    .container_2 {
        width: 80%;
    }

    .about-role {
        width: 90%;
    }

    .about-role p {
        font-size: 16px;
    }

    .description {
        font-size: 16px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {

    .navbar {
        padding: 1rem;
    }

    .nav-links {
        width: 100%;
        padding: 1.5rem;
        gap: 1.5rem;
        align-items: center;
    }

    .logo img {
        height: 40px;
        width: 180px;
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .search-job {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .type-select {
        width: 100%;
        padding: 10px;

    }

    .search-btn {
        padding: 10px 28px;
        width: 200px;
    }

    .job-number {
        margin: 35px 10px 20px;
    }

    .job-info h3 {
        font-size: 20px;
    }

    .about-role {
        width: 100%;
    }
    .description{
        padding: 20px;
    }
}

/* Very small screens (320px) */
@media (max-width: 320px) {
    .nav-links {
        width: 160px;
        padding: 1rem;
        gap: 1rem;
    }

    .logo img {
        height: 35px;
        width: 150px;
    }

    .job-info {
        display: flex;
        flex-direction: column;
    }

    .job-info h3 {
        font-size: 18px;
    }
}