/* Reset and Base Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Job Posting Card Container */
.job-posting-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    border: none;
}

/* Header Section */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.header-left {
    max-width: 65%;
}


.job-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #4a4a4a;
    margin: 0;
}

.location-details {
    font-size: 1rem;
    color: #757575;
    margin: 8px 0;
}

.job-type {
    font-size: 1rem;
    color: #757575;
    margin: 0;
}

/* Apply Button */
.header-right .apply-btn {
    background-color: #0fa474;
    /* Matches the screenshot color */
    color: #fff;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header-right .apply-btn:hover {
    background-color: #3e915e;
}

/* Apply Button */
.apply-container {
    margin-top: 15px;
}

.apply-btn {
    background-color: #3cb9ff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background-color: #3198d9;
}

/* Job Description Section */
.job-description p {
    margin: 10px 0;
    text-align: justify;
    color: #444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-posting-container {
        padding: 15px;
        margin: 20px;
    }

    .apply-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .header-left {
        max-width: 100%;
    }
}