/* Hero Section */
.hero {
    background: #f4f4f4; /* Match other pages */
    padding: 3rem;
    text-align: center;
    line-height: 1.125;
}

/* Search Section */
.search-section {
    padding: 20px 0;
    background: #ffffff;
    text-align: center;
}

#job-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#job-search-form input,
#job-search-form select,
#job-search-form button {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#job-search-form button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

#job-search-form button:hover {
    background-color: #0056b3; /* Darker blue */
}

/* Job Listings */
.job-listings {
    padding: 30px 0;
    text-align: center;
    min-height: 100vh; /* Minimum height matches the viewport height */
    display: flex;
    flex-direction: column; /* Stack header, content, and footer */

}

.job-card {
    background: #ffffff; /* Bright white for contrast */
    border: 1px solid #ddd; /* Light border for definition */
    border-radius: 8px; /* Rounded corners for modern look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px; /* Add spacing */
    margin: 10px; /* Space between cards */
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
}

/* Hover Effect */
.job-card:hover {
    transform: translateY(-3px); /* Slight lift */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
    background-color: #f9f9f9; /* Light gray on hover */
}

.job-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.job-card p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #555; /* Softer text color */
    line-height: 1.5; /* Increased line spacing for readability */
}

/* Specific Override for Contact Card */
.job-card.contact p {
    line-height: 1.75; /* Slightly more generous spacing for multi-line text */
}

.job-card a {
    display: inline-block;
    color: white;
    background-color: #007bff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.job-card a:hover {
    background-color: #0056b3;
}

