/* Modern Job Cards */
.job-listings {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.job-item {
    background: linear-gradient(135deg, #ffffff, #f3f6f9);
    border-radius: 12px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff7a18, #af002d, #319197);
    top: 0;
    left: 0;
}

.job-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.job-item h3 {
    font-size: 1.4em;
    margin-bottom: 8px;
    color: #222;
}

.job-item p {
    margin: 5px 0;
    font-size: 0.95em;
    color: #555;
}

.job-item .job-desc {
    margin-top: 10px;
    font-size: 0.95em;
    line-height: 1.5;
    color: #333;
}

.job-apply {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff7a18, #af002d, #319197);
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media screen and (max-width: 1024px) {
    .job-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media screen and (max-width: 600px) {
    .job-item {
        flex: 1 1 100%;
    }
}
