/* ==================================================
   General Styles
   ================================================== */
/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    background-color: #cce8ff;
    color: #29366f; /* Darker text color */
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Body style when modal is open - prevents scrolling */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Header Styling */
header {
    background-color: #002147;
    color: #ffffff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Left Header (Logo and Navigation) */
.left-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.left-header h1 {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.left-header nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.left-header nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.left-header nav a:hover {
    color: #ffcc00;
}

/* Right Header (Auth links) */
.right-header {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-left: auto;
}

.auth-links, .employer-link {
    display: flex;
    flex-direction: column;
}

.login-btn, .employer-btn {
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.login-btn {
    background-color: #0056b3;
}

.login-btn:hover {
    background-color: #004080;
    transform: scale(1.05);
}

.employer-btn {
    background-color: #28a745;
}

.employer-btn:hover {
    background-color: #1e7e34;
    transform: scale(1.05);
}

/* Existing styles for hero section */
.hero, .about, .how-it-works {
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f4f6f8;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
    border: 2px solid rgba(0, 0, 0, 0.1); /* Soft border to enhance definition */
    backdrop-filter: blur(10px); /* Optional: Adds a blur effect to the background */
}

.about {
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
    border: 2px solid rgba(0, 0, 0, 0.1); /* Soft border to enhance definition */
    backdrop-filter: blur(10px); /* Optional: Adds a blur effect to the background */
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
}

.hero {
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 40px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
    border: 2px solid rgba(0, 0, 0, 0.1); /* Soft border to enhance definition */
    backdrop-filter: blur(10px); /* Optional: Adds a blur effect to the background */
}


.hero-text {
    flex: 1;
    text-align: left;
}

.hero h2 {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 30px;
}

.hero-img {
    flex: 1;
    text-align: center;
}

.hero-img img {
    width: 100%;
    max-width: 400px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* New styles to center the Apply button on smaller screens */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

/* Style for the name container to make them side by side */
.name-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;  /* Adjust space between fields */
}

.name-field {
    flex: 1;
}

.name-field input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Style for phone number input and country code selector */
.phone-container {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px; /* Space between number input and other fields */
}

.phone-container select,
.phone-container input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.centered-button {
    text-align: center;
}

    .btn-apply {
        padding: 15px 30px;
        font-size: 1.2rem;
        background-color: #1491ea;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        transition: background-color 0.3s;
    }

    .btn-apply:hover {
        background-color: #3a4b9a;
    }
}


/* Buttons */
button {
    background: #0056b3;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

button:hover {
    background: #004080;
    transform: scale(1.05);
}

.btn-apply, .btn-learn-more {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.btn-apply {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

.btn-learn-more {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-apply:hover, .btn-learn-more:hover {
    background-color: #0056b3;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-apply:active, .btn-learn-more:active {
    background-color: #002147;
    transform: translateY(0);
}

/* Button styles in the hero section */
.hero-buttons {
    margin-top: 20px;
}

.about a {
    display: inline-block;
    margin-top: 20px;
}

/* ==================================================
   Homepage Styles
   ================================================== */
/* Categories Section */
.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px;
    padding: 20px;
}

.categories div {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    flex: 1 1 200px;
    max-width: 250px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    max-width: 1400px;
}

.categories div:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}

.categories ul {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    margin-top: 10px;
}

.categories li {
    margin: 5px 0;
    font-size: 14px;
}

.categories a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
}

.categories a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.job-search {
    background-image: url(images/job_bg.jpg);
    background-size: cover;
    background-color: rgba(239, 232, 234, 0.9); /* Semi-transparent background for contrast */
    padding: 60px 20px;
    text-align: center;
    position: relative;
    color: #fff;  /* Ensure text stands out on the background */
}

.job-search-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    color: #fff;
    position: relative;
    z-index: 1;
}

.job-search h2 {
    margin-bottom: 30px;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.job-top-bar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.job-search-bar {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.job-search-bar input {
    width: 100%;
    max-width: 500px;
    padding: 14px;
    font-size: 1.2rem;
    border: 2px solid #ccc;  /* Border color for better contrast */
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8); /* Light background for inputs */
    color: #333;
    z-index: 2;
}

.job-search-bar input::placeholder {
    color: #888;
}

.job-search-bar input:focus {
    border-color: #64c8fa;  /* Blue border when focused */
    box-shadow: 0 0 5px rgba(100, 200, 250, 0.7);
}

.location-selectors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.selector-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.85); /* Slight transparency for contrast */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    border: 2px solid #ccc;  /* Light border color */
}

.selector-group:hover {
    transform: translateY(-5px);
}

.selector-group label {
    font-weight: bold;
    color: #333;
}

.form-input {
    padding: 12px;
    font-size: 1.1rem;
    border: 2px solid #ccc;  /* Border color for input fields */
    border-radius: 6px;
    flex-grow: 1;
    min-width: 220px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #64c8fa;
    box-shadow: 0 0 5px rgba(100, 200, 250, 0.7);
}

@media (max-width: 767px) {
    .job-search {
        padding: 40px 20px;  /* Adjusted for mobile */
        margin-top: 20px;
    }

    .location-selectors {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .selector-group {
        width: 100%;
        min-width: 280px;
        padding: 15px;
        margin-bottom: 15px;
    }
}


.job-listing {
    padding: 40px;
    background-color: #efe8ea;
}

.job-listing h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.job-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px;
    background-color: #cce8ff; /* Light background for the container */
    border-radius: 15px; /* Slightly rounded container corners */
}

.job-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4a69bd; /* Soft blue for titles */
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    position: relative;
}

.job-post {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #4a69bd; /* Blue accent on the left side */
}

.job-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.job-post-content {
    z-index: 1;
    position: relative;
    transition: filter 0.3s ease;
}

.no-jobs {
            background-color: #f8f9fa;
            border-radius: 8px;
            color: #666;
            font-style: italic;
            padding: 30px;
            text-align: center;
            width: 100%;
            font-size: 1.1rem;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }
        
        .no-jobs-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            grid-column: 1 / -1; /* Make it span all columns in the grid */
            min-height: 150px;
        }

/* Blur only the content on hover */
.job-post:hover .job-post-content {
    filter: blur(5px);
}

/* Buttons container */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Show buttons on hover */
.job-post:hover .buttons-container {
    opacity: 1;
    visibility: visible;
}

/* Button base styles */
.job-post button {
    width: 140px;
    height: 45px;
    padding: 10px 15px;
    font-size: 0.95rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Fade in buttons on hover */
.job-post:hover .buttons-container button {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Specific button styles */
.job-post .apply-btn {
    background-color: #27ae60;
    color: white;
}

.job-post .view-post {
    background-color: #3498db;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .job-listing {
        padding: 20px;
    }

    .job-post {
        max-width: 100%;
    }

    .job-post h3 {
        font-size: 1.6rem;
    }

    .job-post p {
        font-size: 0.95rem;
    }

    .job-post button {
        padding: 10px;
    }
}

.job-post a {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    background-color: #28a745;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
}

.job-post a:hover {
    background-color: #218838;
}

.job-post button {
    margin: 10px 5px;  /* Add margin between buttons */
    padding: 12px 20px;  /* Increased padding for a more comfortable size */
    cursor: pointer;
    border: none;
    font-size: 16px;  /* Increased font size for readability */
    border-radius: 30px;  /* Rounded corners for a more modern look */
    transition: all 0.3s ease; /* Smooth transition for hover */
    width: 120px; /* Set fixed width for the buttons */
    text-align: center; /* Center the text inside the buttons */
}

/* Edit button style */
.job-post .edit-btn {
    background-color: #4CAF50; /* Green */
    color: white;
}

/* Delete button style */
.job-post .delete-btn {
    background-color: #f44336; /* Red */
    color: white;
}

/* Edit button hover effect */
.job-post .edit-btn:hover {
    background-color: #45a049; /* Darker green */
    transform: translateY(-2px);  /* Slight lift effect on hover */
}

/* Delete button hover effect */
.job-post .delete-btn:hover {
    background-color: #d32f2f; /* Darker red */
    transform: translateY(-2px);  /* Slight lift effect on hover */
}

/* Flexbox for aligning buttons side by side */
.job-post .button-container {
    display: flex; /* Flexbox layout */
    justify-content: center; /* Center the buttons horizontally */
    gap: 15px; /* Increased space between buttons */
}

/* Apply button styles within the flex container */
.job-post .button-container button {
    flex: 0 0 120px; /* Ensure buttons have a fixed width */
}

/* Hero Section Updated */
.hero {
    background-color: #f4f6f8;
    padding: 40px 20px;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.hero-text {
    flex: 1 1 500px;
    text-align: left;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #003366;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons button {
    margin-right: 10px;
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Category Images */
.category-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
    margin-bottom: 10px;
}

/* Quick Search Title */
.quick-search {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 20px;
}

/* Form Container */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.form-container h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Password Strength */
.password-strength {
    margin-top: 5px;
    font-size: 12px;
}

.strength-weak {
    color: red;
}

.strength-medium {
    color: orange;
}

.strength-strong {
    color: green;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}

/* Toggle Between Forms */
.form-toggle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-toggle button {
    flex: 1;
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.form-toggle button.active {
    background: #0056b3;
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Password Match */
.password-match-message {
    font-size: 14px;
    margin-top: 5px;
}

/* Button Styles for Forms */
button {
    background: #007BFF;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
}

button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* Filters Section */
.filters {
    display: none;                
    flex-wrap: wrap;           
    justify-content: center;      
    gap: 20px;                    
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filters .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
}

.filters select, .filters input {
    width: 100%;
    padding: 8px 12px;
    margin-top: 5px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.filters label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* Buttons in Filters Section */
#filterButton, button[type="submit"] {
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 5px;
    width: 150px;
    text-align: center;
    transition: background-color 0.3s ease;
}

#filterButton {
    background-color: #007BFF;
    color: white;
}

#filterButton:hover {
    background-color: #0056b3;
}

button[type="submit"] {
    background-color: #28a745;
    color: white;
}

button[type="submit"]:hover {
    background-color: #218838;
}

/* About Section */
.about-content {
    background-color: #ffffff;
    padding: 40px 30px;
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}


h2 {
    font-size: 2.2rem;
    color: #004d99;
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    color: #004d99;
    margin-bottom: 15px;
    text-align: center;
}

p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
    padding-left: 20px;
    padding-right: 20px;
}

/* Mission Section */
.mission {
    background-color: #f9f9f9;
    padding: 30px;
    margin-top: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.mission p {
    color: #333;
    font-size: 1.1rem;
    text-align: center;
}

/* Values Section */
.values {
    background-color: #ffffff;
    padding: 30px;
    margin-top: 30px;
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.values ul {
    list-style: none;
    padding-left: 0;
}

.values li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

/* Meet the Team Section */
.team {
    background-color: #f9f9f9;
    padding: 30px;
    margin-top: 30px;
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.team ul {
    text-align: center;
    list-style: none;
    padding-left: 0;
}

.team li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 12px;
    list-style: none;
}

/* Social Media Section */
.social-media {
    background-color: #ffffff;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-media:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.social-media ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.social-media a {
    color: #004d99;
    text-decoration: none;
    margin: 5px 0;
    display: block;
}

.social-media a:hover {
    color: #5f4716;
}

/* Contact Info Section */
.contact-info {
    background-color: #ffffff;
    padding: 40px 20px;
    margin-top: 30px;
    text-align: center;
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #004d99;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

.contact-info a {
    color: #007BFF;
    text-decoration: none;
}

.contact-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Privacy Policy Section */
.privacy-policy {
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin-top: 30px;
    text-align: center;
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-policy:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.privacy-policy h3 {
    font-size: 1.8rem;
    color: #004d99;
    margin-bottom: 20px;
}

.privacy-policy p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.privacy-policy a {
    color: #007BFF;
    text-decoration: none;
}

.privacy-policy a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.about-about {
    background-color: #ffffff;
    padding: 40px 20px;
    margin-top: 30px;
    text-align: center;
    background: linear-gradient(135deg, #dbeafe, #e0f2f1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-about:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}


.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

main {
    flex-grow: 1;
    padding: 20px;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

.footer-content {
    display: inline-block;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #ffbb33;
    text-decoration: underline;
}

footer p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    color: #f1f1f1;
}


/*contacts.html*/
.contact-container {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ece7e7;
  border-radius: 10px;

  /* Even shadow on all four sides */
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

  
  .contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-form label {
    margin-top: 1rem;
    font-weight: bold;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .contact-form button {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: #0073e6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .contact-form button:hover {
    background: #005bb5;
  }

.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    text-align: right;
  }
  
  .toggle-contact-btn {
    background: #0073e6;
    color: #fff;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
  }
  
  .toggle-contact-btn:hover {
    background: #005bb5;
  }
  
  .contact-info {
    display: none;
    background: #fff;
    color: #333;
    margin-top: 10px;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    width: 300px;
    text-align: left;
    position: absolute;
    bottom: 70px; 
    right: 0;
    z-index: 999; 
  }
  
  .contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .contact-info li {
    margin-bottom: 8px;
  }
  
/* Employer posting section */
.employer-posting {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 650px;
    margin: 30px auto;
    font-family: 'Roboto', sans-serif;
    max-height: 75vh; /* Set a maximum height */
    overflow-y: auto; /* Enable vertical scrolling */
}

.employer-posting h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
    text-align: center;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.95em;
    color: #34495e;
    font-weight: 500;
}

/* Grid layout for inputs */
form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

form .form-row > div {
    flex: 1;
    min-width: 250px;
}

/* Inputs, select boxes, and textareas */
form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fafafa;
    font-size: 0.95em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus, form select:focus, form textarea:focus {
    border-color: #27ae60;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.3);
}

/* Submit Button */
form button.submit-btn {
    background-color: #27ae60; 
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 75%;
    margin-top: 15px;
}

form button.submit-btn:hover {
    background-color: #2ecc71; 
    transform: scale(1.05);
}

form button.submit-btn:focus {
    outline: none;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .employer-posting {
        width: 90%;
    }

    form .form-row {
        flex-direction: column;
    }

    form input, form select, form textarea {
        padding: 8px;
    }

    form button.submit-btn {
        font-size: 1em;
    }
}


/* Job listings section */
.job-listings {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

.job-listings h2 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.job-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.job-post {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; /* Centers the content horizontally */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.job-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.job-post h3 {
    font-size: 1.5em;
    color: #2c3e50;
}

.job-post p {
    margin-bottom: 10px;
}

.job-post button {
    background-color: #2980b9;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.job-post button:hover {
    background-color: #3498db;
}

.job-post .apply-btn,
.job-post .view-post {
    width: 120px;         /* Fixed width */
    height: 40px;         /* Fixed height */
    padding: 8px 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.job-post .apply-btn {
    background-color: #4CAF50; /* Green color */
    color: white;
    padding: 8px 16px; /* Keep padding as is */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px; /* Original font size */
    text-align: center;
    
    margin-top: auto; /* Pushes the button to the bottom of the container */
}

.job-post .apply-btn:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Profile Container Styles - More specific selectors */
.profile-container {
    max-width: 900px;
    margin: 50px auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

/* Profile Header Styles */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
}

.profile-header img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.profile-header h1 {
    font-size: 24px;
    margin: 0;
    text-align: center;
    color: #333;
}

/* Profile Info Styles */
.profile-info {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.profile-info p {
    margin: 5px 0;
    color: #555;
}


/* Admin Profile Specific Styles */
.admin-profile-container {
    max-width: 1200px;
    margin: 50px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.admin-profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.admin-profile-header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 30px;
    object-fit: cover;
    border: 4px solid #f0f0f0;
}

.admin-profile-header h1 {
    font-size: 28px;
    margin: 0;
    color: #2c3e50;
}

.admin-profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.admin-info-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.admin-info-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
}

.admin-info-section p {
    margin: 8px 0;
    color: #555;
    font-size: 16px;
}

.admin-button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.admin-edit-btn {
    background-color: #3498db;
    padding: 12px 30px;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.admin-logout-btn {
    background-color: #e74c3c;
    padding: 12px 30px;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.admin-edit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.admin-logout-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* Responsive styles for both profile types */
@media (max-width: 768px) {
    .profile-container,
    .admin-profile-container {
        margin: 20px;
        padding: 20px;
    }

    .profile-header,
    .admin-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-header img,
    .admin-profile-header img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .profile-button-group,
    .admin-button-group {
        flex-direction: column;
        gap: 10px;
    }

    .profile-edit-btn,
    .profile-logout-btn,
    .admin-edit-btn,
    .admin-logout-btn {
        width: 100%;
        margin: 5px 0;
    }
}

/* Chat Styles - Modern Unified Interface */
.chat-head {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #1491ea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.chat-head:hover {
    background-color: #0f7bd4;
    transform: scale(1.1);
}

.chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    height: 600px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.chat-header {
    background: #1491ea;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    cursor: pointer;
    font-size: 24px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-btn:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.send-btn {
    background: #1491ea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.send-btn:hover {
    background: #0d7bc4;
}

.chat-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-item:hover {
    background: #f5f5f5;
}

.chat-item.active {
    background: #e3f2fd;
}

.chat-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background: #1491ea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.chat-item-info {
    flex: 1;
}

.chat-item-name {
    font-weight: bold;
    margin-bottom: 2px;
}

.chat-item-message {
    color: #666;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    margin: 5px 0;
    word-wrap: break-word;
}

.message.sent {
    background: #1491ea;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message.received {
    background: #f1f1f1;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 0.7em;
    color: #999;
    margin-top: 5px;
}

.chat-conversation {
    display: none;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.back-btn {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    color: #1491ea;
    border-top: 1px solid #eee;
    background: white;
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
}

.back-btn:hover {
    background: #f5f5f5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .chat-box {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    .chat-header {
        padding: 10px;
    }
    
    .chat-body {
        padding: 10px;
    }
    
    .message {
        max-width: 90%;
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: hidden; /* Prevent scrolling of the background */
    padding: 0;
    box-sizing: border-box;
}
  
/* Modal content */
.modal-content {
    background: #fff;
    margin: 0 auto;
    max-width: 600px;
    width: 90%;
    max-height: 80vh; /* Slightly reduced to ensure it's fully visible */
    padding: 30px 20px;
    border-radius: 12px;
    overflow-y: auto; /* Only the modal content is scrollable */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    position: absolute; /* Changed from relative to absolute */
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Close button */
.modal-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-content .close:hover {
    color: #000;
}

.application-management {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
}

.application-management h2 {
    text-align: center;
    font-size: 30px;
    color: #0066cc;
    margin-bottom: 20px;
}

.applicant-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.applicant {
    background-color: white;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.applicant:hover {
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
}

.applicant h3 {
    font-size: 22px;
    color: #0066cc;
    margin-bottom: 10px;
}

.applicant p {
    font-size: 16px;
    margin: 5px 0;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.applicant button {
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    width: 130px;
}

/* Approve button style */
.applicant .approve-btn {
    background-color: #4CAF50; /* Green */
    color: white;
}

/* Decline button style */
.applicant .decline-btn {
    background-color: #f44336; /* Red */
    color: white;
}

/* Hover effects for buttons */
.applicant .approve-btn:hover {
    background-color: #45a049; /* Darker green */
    transform: translateY(-3px);  /* Slight lift effect */
}

.applicant .decline-btn:hover {
    background-color: #d32f2f; /* Darker red */
    transform: translateY(-3px);  /* Slight lift effect */
}

/* Responsive grid for medium screens */
@media (max-width: 1024px) {
    .applicant-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive grid for smaller screens */
@media (max-width: 768px) {
    .applicant-list {
        grid-template-columns: 1fr;
    }

    .application-management {
        padding: 20px;
        margin: 0 10px; /* Prevent container from touching screen edges */
    }
}

@media (max-width: 480px) {
    .application-management {
        padding: 15px;
    }
}


.pay-range-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

#payType {
    width: 120px; /* Adjust width */
    max-height: 100px; /* Limit height */
    overflow-y: auto; /* Allow scrolling */
    padding: 5px;
}

/* Checkbox group layout */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Modern label and checkbox container */
.checkbox-group label {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

/* Hide default checkbox */
.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Custom checkbox square */
.checkbox-group label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #1491ea;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* Checkmark when selected */
.checkbox-group input[type="checkbox"]:checked + label::before {
    background-color: #1491ea;
    border-color: #1491ea;
}

/* Checkmark icon */
.checkbox-group input[type="checkbox"]:checked + label::after {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgb(255, 255, 255);
    font-weight: bold;
}

/* Hover effect */
.checkbox-group label:hover::before {
    border-color: #3a4b9a;
}

.checkbox-item {
    position: relative;
}

/* Ensure consistent width and styling */
.form-input {
    width: 30%;         /* Reduce the width to 70% */
    padding: 10px;      /* Add padding for better appearance */
    margin-bottom: 10px; /* Space between elements */
    border: 1px solid #ccc;  /* Standard border style */
    border-radius: 5px;  /* Rounded corners for all inputs/selects */
    box-sizing: border-box; /* Include padding and border in the element's total width */
}

.location-selectors label {
    display: block; /* Make the label a block element so it stacks with the input/select */
    margin-bottom: 5px; /* Space between the label and input */
}

.job-top-bar {
    display: flex;
    flex-direction: column; /* Stack the elements vertically */
    gap: 20px; /* Space between search bar and location selectors */
    justify-content: center; /* Center the items within the container */
}

/* Optional: Add spacing and alignment for responsive layouts */
@media (max-width: 768px) {
    .job-top-bar {
        flex-direction: column; /* Stack items vertically on small screens */
    }
}

/* Modal container */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: hidden; /* Prevent scrolling of the background */
    padding: 0;
    box-sizing: border-box;
}
  
/* Modal content */
.modal-content {
    background: #fff;
    margin: 0 auto;
    max-width: 600px;
    width: 90%;
    max-height: 80vh; /* Slightly reduced to ensure it's fully visible */
    padding: 30px 20px;
    border-radius: 12px;
    overflow-y: auto; /* Only the modal content is scrollable */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    position: absolute; /* Changed from relative to absolute */
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
  
/* Close button */
.modal-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-content .close:hover {
    color: #000;
}
  
/* Section spacing */
.modal-content p,
.modal-content ul {
    margin-bottom: 15px;
}
  
.modal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}
  
.modal-content h3 {
    margin-top: 0;
}
  
/* Job Listings Section */
.job-listings {
    padding: 40px 20px;
    background: #cce8ff;
    color: #333;
    font-size: 18px;
  }
  
  .job-listings h2 {
    font-size: 36px;
    text-align: center;
    color: #3a4b9a;
    margin-bottom: 40px;
  }
  
  /* Container Grid */
  .posted-jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    justify-content: center;
  }

  .posted-jobs-container p {
   text-align: center;
  }
  
  /* Job Card */
  .posted-job {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(57, 60, 74, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 520px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .posted-job:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 18px rgba(57, 60, 74, 0.12);
  }
  
  /* Title */
  .posted-job h3 {
    background-color: #3a4b9a;
    color: #fff;
    font-size: 22px;
    padding: 14px 18px;
    margin: 0;
  }
  
  /* Summary */
  .job-summary {
    font-size: 16px;
    padding: 12px 16px;
    margin: 0;
    background-color: #f0f2f5;
    color: #444;
    font-style: italic;
    border-bottom: 1px solid #ddd;
  }
  
  /* Scrollable content */
  .job-content {
    padding: 18px;
    overflow-y: auto;
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.7;
    background-color: #fdfcfc;
  }
  
  .job-content p {
    margin: 6px 0;
  }
  
  .job-content ul {
    margin: 10px 0 0 20px;
    padding: 0;
    list-style: disc;
  }
  
  .job-content li {
    margin-bottom: 6px;
  }
  
  /* Buttons */
  .employer-button {
    display: flex;
    justify-content: flex-end;
    padding: 14px 18px;
    background-color: #f5f3f4;
    gap: 12px;
  }
  
  button.employer-edit,
  button.employer-delete {
    padding: 8px 14px;
    font-size: 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  /* Edit Button */
  button.employer-edit {
    background-color: #1491ea;
    color: white;
  }
  
  button.employer-edit:hover {
    background-color: #0f7ad6;
  }
  
  /* Delete Button */
  button.employer-delete {
    background-color: #e74c3c;
    color: white;
  }
  
  button.employer-delete:hover {
    background-color: #c0392b;
  }
  
  /* Scrollbar */
  .job-content::-webkit-scrollbar {
    width: 6px;
  }
  
  .job-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
  }
  
  .job-content::-webkit-scrollbar-track {
    background: transparent;
  }
  
/* Hamburger Button */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    background-color: #1b3b6f;
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid #fff;
    margin-left: auto;
    transition: background-color 0.3s;
    z-index: 1001;
}

.hamburger:hover {
    background-color: #002147;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%; /* Positioned right below the header */
    right: 0;
    width: 260px;
    background: rgba(0, 33, 71, 0.98);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    padding: 20px;
    animation: slideDown 0.3s ease;
    z-index: 1000;
    flex-direction: column;
    gap: 12px;
    border: 2px solid #fff; /* Optional: added border for clean separation */
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu .mobile-nav a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: white;
    background-color: #003366;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s;
}

.mobile-menu .mobile-nav a:hover {
    background-color: #0056b3;
}

/* Header Styling */
header {
    background-color: #002147;
    color: #ffffff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative; /* Make header the reference point for positioning mobile menu */
}

/* Responsive trigger */
@media (max-width: 768px) {
    .left-header nav,
    .right-header {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        position: absolute;
        top: 100%; /* Ensures it's positioned directly below the header */
        right: 0;
    }
}

.message {
    display: inline-block;
    text-align: center;
    background-color: #f8d7da;
    color: #721c24 !important;
    padding: 2.5px;
    margin-bottom: 5px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}

.message p{
    margin-top: 15px;
}

/* Profile Edit and Logout Buttons */
.edit-btn, .logout-btn {
    padding: 10px 18px;
    font-size: 0.95rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.edit-btn {
    background-color: #28a745;
}

.edit-btn:hover {
    background-color: #218838;
}

.logout-btn {
    background-color: #dc3545;
}

.logout-btn:hover {
    background-color: #c82333;
}

.confirmation-modal {
    text-align: center;
    max-width: 400px;
    padding: 30px;
}

.confirmation-modal h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
}

.confirmation-modal p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.5;
}

.confirmation-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.confirmation-buttons .btn {
    min-width: 100px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}