/* Reset and Base Styles */
body, h1, h2, h3, h4, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
}
html {
    scroll-behavior: smooth;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Header */
.header {
    background-color: #007aff;
    color: #fff;
    padding: 1rem 0;
}
.header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}
.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}
.nav ul li a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #007aff, #5ac8fa);
    color: #fff;
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero .button {
    background-color: #fff;
    color: #007aff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}
.hero .button:hover {
    background-color: #f2f2f2;
}

/* Table Section */
table {
    font-family: Arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin: 2rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}
th {
    background-color: #007aff;
    color: #fff;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
tr:hover {
    background-color: #eaf4ff;
}

/* Featured Jobs Section */
.featured-jobs {
    padding: 2rem 0;
    background-color: #fff;
}
.featured-jobs h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}
.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.job-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.job-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.job-item p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.job-item .button {
    display: inline-block;
    background-color: #007aff;
    color: #fff;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}
.job-item .button:hover {
    background-color: #005bb5;
}

/* Job Details Section */
.job-details {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.job-details h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.job-details p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}
.job-details .button {
    display: inline-block;
    background-color: #007aff;
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}
.job-details .button:hover {
    background-color: #005bb5;
}

/* Footer */
.footer {
    background-color: dodgerblue;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}
.footer p {
    font-size: 0.9rem;
}
.footer a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    table {
        width: 100%;
    }
    th, td {
        font-size: 0.9rem;
        padding: 6px;
    }
    .job-details {
        padding: 1rem;
    }
    .job-details h2 {
        font-size: 1.5rem;
    }
    .job-details p {
        font-size: 0.95rem;
    }
    .job-details .button {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
}
