body {
    font-family: 'Roboto', 'Arial', sans-serif; /* Modern font stack */
    background: linear-gradient(135deg, #456dda 0%, #3976d8 100%); /* Blue gradient */
    color: #f0f4f8; /* Light gray for readability */
    margin: 0;
    padding: 0;
    line-height: 1.7;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

header {
    background-color: #ffffff; /* Crisp white navbar */
    color: #1b347a; /* Dark blue text to match gradient */
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header a {
    color: #717fa7;
    text-decoration: none;
    margin-right: 25px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

header a:hover {
    color: #6b2019; /* Coral accent for hover */
    transform: scale(1.1);
    text-decoration: none;
}

footer {
    background-color: #a5c4f4; /* Darker blue to match gradient */
    color: #f0f4f8;
    text-align: center;
    padding: 2rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

section {
    padding: 60px 0;
    background: rgba(174, 193, 245, 0.9); /* Semi-transparent blue layer */
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* Contain inner content */
}

h2 {
    color: #6b0d05; /* Coral for headings */
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #ff6f61;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff8a80;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 111, 97, 0.3);
}

.form-control {
    border-radius: 8px;
    border: 2px solid #5494ee; /* Adjusted to blue tone */
    background-color: #a3b8f0;
    color: #f0f4f8;
    padding: 12px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #983027;
    box-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
    outline: none;
}

.alert {
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.alert-success {
    background-color: #2e7d32;
    color: #e8f5e9;
    border-color: #388e3c;
}

.alert-danger {
    background-color: #541e1e;
    color: #ffebee;
    border-color: #7c4343;
}

.job-listing {
    background: #2a5caa;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.job-listing:hover {
    background: #3a70cc;
    transform: translateY(-5px);
}

@media (min-width: 768px) {
    .job-listing {
        min-height: 250px;
    }
    section {
        padding: 80px 0;
    }
    .container {
        max-width: 1100px;
    }
}