/* Base styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
    animation: fadeIn 1s ease-in-out;
}

.header {
    text-align: center;
    padding: 40px 20px;
    background-color: #0fa474;
    animation: slideIn 0.5s ease-out;
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #ddf1ea;
}

.header p {
    font-size: 1.2rem;
    color: #ddf1ea;
}

/* Filters section */
.filters {
    display: flex;
    justify-content: center;
    /* gap: 20px; */
    margin: 20px auto;
    padding: 10px 15px 10px 15px;
}

.filters select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    /* min-width: 200px; */
    transition: all 0.3s ease;
}

.filters select:hover {
    border-color: #228b22;
}

/* Main content */
.positions-count {
    text-align: center;
    font-size: 1.1rem;
    color: #777;
    margin: 15px 0;
}

.job-category h2 {
    font-size: 2rem;
    margin: 30px 10px 10px;
    color: #222;
    text-align: center;
}

.job-listing {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px auto;
    max-width: 900px;
    padding: 0 20px;
}

/* Job card */
.job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    margin: 25px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.job-info {
    display: flex;
    flex-direction: column;
    max-width: 70%;
}

.job-info h3 {
    margin: 0 0 5px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
}

.job-info p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}

.job-status {
    font-size: 1rem;
    color: #333;
    margin-right: 20px;
    font-style: italic;
}

/* Apply Button */
.apply-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #0fa474;
    text-decoration: none;
    border: 2px solid #0fa474;
    background: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    color: #fff;
    background-color: #0fa474;
}

.apply-btn svg {
    width: 18px;
    height: 18px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 3px;
    }

    .filters select {
        width: 100%;
        /* max-width: 300px; */
    }

    .job {
        flex-direction: column;
        align-items: flex-start;
        margin: 15px;
        padding: 15px;
    }

    .job-info {
        max-width: 100%;
    }

    .apply-btn {
        margin-top: 10px;
        margin-left: auto;
        text-align: center;
    }

    .positions-count {
        font-size: 1.2rem;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .header p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}