/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and overall layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f7f6;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    background: linear-gradient(135deg, #5c6bc0, #3f51b5);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

header .logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

header nav ul li {
    font-size: 1rem;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #ffeb3b;
}

header .search-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

header .search-container input {
    padding: 10px 20px;
    width: 50%;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

header .search-container input:focus {
    border-color: #5c6bc0;
}

/* Dashboard Layout */
.dashboard {
    display: flex;
    padding: 30px;
    gap: 20px;
    background: #fff;
    margin-top: 80px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar h1 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar .nav-button {
    width: 100%;
    padding: 10px;
    background: #3f51b5;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sidebar .nav-button:hover {
    background: #5c6bc0;
}

.sidebar .nav-button:focus {
    outline: none;
}

/* Main Content */
.content {
    flex: 1;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

/* Job Cards */
.job-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: scale(1.02);
}

.job-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #5c6bc0;
}

.job-card p {
    color: #777;
}

.job-card button {
    background: #3f51b5;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.job-card button:hover {
    background: #5c6bc0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    margin-bottom: 20px;
}

.modal-content input {
    padding: 10px;
    width: 80%;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.modal-content button {
    background: #3f51b5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background: #5c6bc0;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* Footer Section */
footer {
    background: #3f51b5;
    color: #fff;
    text-align: center;
    padding: 20px 50px;
    font-size: 0.9rem;
    margin-top: auto;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #ffeb3b;
}
/* General Layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(255, 255, 255, 0.84), rgba(0, 0, 0, 0.685)), url('../images/DALL·E\ 2025-02-19\ 11.33.26\ -\ A\ modern\ office\ interior\ with\ a\ sleek\ and\ professional\ design\,\ slightly\ blurred\ with\ a\ cool\ blue\ tint.\ This\ office\ has\ an\ open\ workspace\ with\ ergonomi.webp') no-repeat center center/cover;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures full height */
}

/* Fixed Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px;
    z-index: 100;
}

/* Push content down to avoid being hidden under the header */
main {
    flex: 1;
    padding-top: 80px; /* Adjust based on header height */
}

/* Sticky Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    text-align: center;
    padding: 10px;
}
/* Background Image */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background.jpg') no-repeat center center/cover;
    z-index: -2;
}

/* Dark Overlay for Readability */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark transparent layer */
    z-index: -1;
}

/* Hero Section Styling */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    position: relative;
    z-index: 2;
    color: white;
}

/* Hero Text */
.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-section p {
    font-size: 1.5rem;
    margin-top: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* CTA Buttons */
.cta-btn {
    display: inline-block;
    background-color: #3f51b5;
    color: white;
    padding: 15px 30px;
    margin: 10px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.cta-btn:hover {
    background-color: #5c6bc0;
}

.employer-btn {
    background-color: #5c6bc0;
}

.employer-btn:hover {
    background-color: #5c6bc0;
}

/* Fixed Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px;
    background-color: #000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

/* Fixed Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: black;
    color: white;
    text-align: center;
    padding: 10px 0;
}
/* Background Image */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background.jpg') no-repeat center center/cover;
    z-index: -2;
}

/* Dark Overlay for Readability */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark transparent layer */
    z-index: -1;
}

/* Hero Section Styling */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    position: relative;
    z-index: 2;
    color: white;
}

/* Hero Text */
.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-section p {
    font-size: 1.5rem;
    margin-top: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* CTA Buttons Container */
.cta-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Add space between the buttons */
    margin-top: 20px;
}

/* CTA Buttons */
.cta-btn {
    display: inline-block;
    background-color: #3f51b5;
    color: white;
    padding: 15px 30px;
    margin: 10px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.cta-btn:hover {
    background-color: #5c6bc0;
}

/* Employer Button (same as Job Seeker Button) */
.employer-btn {
    background-color: #3f51b5; /* Same blue color as the job seeker button */
}

.employer-btn:hover {
    background-color: #5c6bc0; /* Same hover effect as the job seeker button */
}

/* Fixed Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px;
    background-color: #000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

/* Fixed Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: black;
    color: white;
    text-align: center;
    padding: 10px 0;
}


