/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    padding-top: 140px; /* Increased padding to separate from nav */
    padding: 20px;
   
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    text-align: center;
    color: #068B4B;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Job List Styles */
.job-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Job Card Styles */
.job-card {
    background: #fff;
    width: calc(33% - 20px);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.job-card h2 {
    font-size: 1.5em;
    color: #444;
    margin: 16px;
    text-align: center;
}

.job-meta {
    font-size: 0.9em;
    color: #666;
    margin: 0 16px 16px;
    text-align: center;
}

/* View Details Button */
.view-details {
    display: block;
    text-align: center;
    margin: 16px;
    padding: 10px 20px;
    background: #068B4B;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.view-details:hover {
    background: #FFC20A;
    color: #444;
}

/* No Jobs Message */
.no-jobs {
    text-align: center;
    font-size: 1.2em;
    color: #888;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .job-card {
        width: calc(80% - 20px); /* Adjust card width for tablets and small screens */
    }

    h1 {
        font-size: 2em; /* Slightly smaller heading */
    }
}

@media screen and (max-width: 480px) {
    

    .job-card {
        width: 100%; /* Single column layout for mobile */
    }

    .job-card h2 {
        font-size: 1.2em; /* Adjust text size for better readability */
    }

    .view-details {
        padding: 8px 16px; /* Slightly smaller button for mobile */
        font-size: 0.9em;
    }
}
