/* Basic Reset & Font */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Light grey background */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #ffffff; /* Clean white header */
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0; /* Subtle separator */
    text-align: center;
}

header h1 {
    color: #3B82F6; /* Vibrant Blue */
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

header .tagline {
    color: #555;
    font-size: 1rem;
    font-weight: 300;
}

/* Main Content */
main {
    padding: 40px 0;
}

main h2 {
    text-align: center;
    color: #333;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

main .intro {
    text-align: center;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

/* Job Listings Layout */
.job-listings {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Spacing between cards */
    justify-content: center; /* Center cards if they don't fill a row */
}

/* Job Card Styling */
.job-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Softer shadow */
    flex: 1 1 300px; /* Flex properties: grow, shrink, basis */
    max-width: 450px; /* Max width for cards on larger screens */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.job-card h3 {
    color: #3B82F6; /* Blue title */
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.job-card .job-about {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}


.job-card h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee; /* Separator for sections */
    padding-bottom: 5px;
}

.job-card ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    margin-bottom: 15px;
    flex-grow: 1; /* Allows list to take up space push button down */
}

.job-card ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #444;
    padding-left: 20px; /* Space for custom bullet */
    position: relative;
}

/* Custom bullet point */
.job-card ul li::before {
    content: '✓'; /* Checkmark or could use '•' */
    color: #3B82F6; /* Blue bullet */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Apply Button */
.apply-button {
    display: inline-block;
    background-color: #3B82F6; /* Blue button */
    color: #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: auto; /* Pushes button to the bottom */
    align-self: center; /* Center button horizontally */
}

.apply-button:hover {
    background-color: #2563EB; /* Darker blue on hover */
    transform: scale(1.03);
}

/* Footer */
footer {
    background-color: #e9ecef; /* Lighter grey footer */
    color: #6c757d; /* Muted text color */
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.9rem;
    border-top: 1px solid #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    main h2 {
        font-size: 1.8rem;
    }
    .job-card {
        flex-basis: 100%; /* Stack cards on smaller screens */
        max-width: none; /* Allow cards to take full width */
    }
}