/*jobs.css*/
.jobs-container {
    padding: 20px;
    background-color: #ffffff;
    margin-bottom: 100px;
    margin-top: 50px;
}

.jobs-title {
    color: #3D52A0;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.jobs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center the job cards */
}

.job-card {
    background-color: #ede8f5;
    padding: 40px; /* Increased padding for aesthetics */
    border-radius: 8px;
    width: 100%;
    max-width: 500px; /* Max width for larger screens */
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s; /* Add a transition for hover effect */
    margin-bottom: 30px;
    margin-left: 30px;
    margin-right: 30px;
}

.job-card:hover {
    transform: scale(1.05); /* Slight scale effect on hover */
}

.job-position {
    color: #3D52A0;
    font-weight: bold;
}

.job-location {
    color: #7091E6;
    font-style: italic;
    margin-top: 10px;
}

.job-requirements {
    color: #000000;
    margin-top: 10px;
    padding-top: 10px;
    margin-bottom: 30px;
}

.job-requirements h3,
.job-description h3 {
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jobs-container {
        padding: 15px; /* Slightly reduce padding */
        margin-bottom: 50px; /* Adjust bottom margin for smaller devices */
    }

    .jobs-title {
        margin-bottom: 20px; /* Reduce margin for smaller devices */
        font-size: 1.8rem; /* Adjust font size for smaller screens */
    }

    .job-card {
        max-width: 90%; /* Allow job cards to take more space */
    }
}

@media (max-width: 480px) {
    .jobs-container {
        padding: 10px; /* Further reduce padding */
        margin-bottom: 30px; /* Adjust margin for mobile */
    }

    .jobs-title {
        font-size: 1.5rem; /* Adjust font size for the title */
        margin-bottom: 15px; /* Further reduce margin */
    }

    .job-card {
        max-width: 100%; /* Make job cards full-width */
        padding: 20px; /* Reduce padding for smaller devices */
    }

    .job-position {
        font-size: 1.2rem; /* Adjust job position font size */
    }

    .job-location {
        font-size: 1rem; /* Adjust job location font size */
    }

    .cv-instruction {
        font-size: 0.9rem; /* Adjust font size as needed */
    }
}

.cv-instruction {
    margin-top: 15px;
    font-size: 1rem; /* Adjust font size as needed */
    color: #3D52A0; /* Theme color */
    text-align: center; /* Center the text */
}

.cv-email {
    color: #7091E6; /* A lighter color for the email link */
    text-decoration: underline; /* Underline for link effect */
}

.cv-email:hover {
    color: #3D52A0; /* Darker color on hover */
    text-decoration: none; /* Remove underline on hover */
}
