.job-list-section {
    background: var(--bg-color);
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 10px;
    box-shadow: 0 0 25px var(--highlight-shadow-color);
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.job-list-section h2 {
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: clamp(1rem, 2.5vw, 2rem);
    text-shadow: 0 0 8px #585555;
}

/* Job list container */
.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    padding: 0 clamp(0.5rem, 2vw, 1.2rem);
    user-select: none;
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

/* Individual job card */
.job-list .job-card {
    font-size: clamp(0.9rem, 1vw, 1rem);
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 1rem;
}

/* Title inside job card */
.job-list .job-card h3 {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    margin-bottom: 0.6rem;
}

/* Hover effect (only for non-touch devices) */
@media (hover: hover) {
    .job-list .job-card:hover {
        background: var(--primary-color);
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
}

.job-list .job-card .card-icon {
    width: clamp(22px, 2vw, 28px);
    height: clamp(22px, 2vw, 28px);
}

.job-list .job-card p {
    font-size: clamp(0.8rem, 0.9vw, 0.95rem);
    line-height: 1.4;
}

/* ✅ Small phones */
@media (max-width: 400px) {
    .job-list {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .job-list-section {
        padding: 0.6rem;
    }
}

/* ✅ Large desktops */
@media (min-width: 1600px) {
    .job-list {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
    }

    .job-list-section h2 {
        font-size: 2.6rem;
    }
}