body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    background-color: #626567;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

nav a.active {
    background-color: #333;
}

nav img {
    max-height: 50px; /* Adjust the max height as needed */
}

.logo {
    max-width: 100px;
    height: auto;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: baseline; /* Align items vertically */
}

.nav-links > * {
    margin: 0 10px; /* Adjust margins as needed */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-button {
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 0;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #f0f0f0;
}

/* Responsive Design */

/* Mobile devices */
@media (max-width: 768px) {
    .logo {
        margin-right: 0; /* Remove margin on mobile devices */
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        text-align: center;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background-color: #3498db;
    }

    .nav-links a {
        margin: 10px;
    }

    .nav-links.active {
        display: flex;
    }

}

/* Desktop devices */
@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .dropdown {
        display: inline-block;
    }
}

/* ... (remaining styles) ... */


input[type="text"] {
    padding: 10px;
    font-size: 16px;
    width: 80%; /* Adjust the width as needed */
}

button:hover {
    background-color: #e1e1e1;
}

.freelancer-list {
    margin: 20px;
}

.freelancer {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}

/* Responsive Styling */
@media only screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 10px;
    }

    .search-section input[type="text"] {
        width: 100%;
    }
}

.freelancer-search-section {
    text-align: center;
    padding: 20px;
    background-color: #2ecc71;
    color: #fff;
}

.freelancer-search-section h1 {
    color: #5D6D7E;
}

.freelancer-search-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
    .freelancer-search-form {
        flex-direction: column;
    }

    .freelancer-search-form input,
    .freelancer-search-form select,
    .freelancer-search-form button {
        width: 100%;
        margin: 5px 0;
    }
}

.job-search-section {
    text-align: center;
    align: center;
}

.job-search-form {
    max-width: 600px;
    margin: auto; /* Center align horizontally */
    padding: 10px; /* Adjust padding */
/*    border: 1px solid #ccc;   */
    border-radius: 5px;
    box-sizing: border-box; /* Include padding and border in total width */
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

/*
form {
    display: flex; /* Display form elements in-line
    align-items: center;
}*/

.form-group {
    display: flex; /* Display flex to align items horizontally */
    align-items: center; /* Center align items vertically */
    flex: 1;
    margin-right: 10px;
    margin-bottom: 10px;
}

.form-group label {
    margin-right: 10px;
    font-weight: bold;
}

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

.form-group button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-group:last-child {
    margin-right: 0;
}

@media (max-width: 768px) {
    .form-group:last-child {
        flex-direction: column;
        width: 100%;
        margin: 5px 0;
    }
}

@media (min-width: 768px) {
    .form-group {
        flex: 0 0 auto; /* Fix width for desktop */
        width: auto; /* Allow width to adjust based on content */
    }

    button[type="submit"] {
        width: auto; /* Allow button width to adjust based on content */
    }
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin-right: 20px;
    text-align: left;
}

.footer-section h3 {
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

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

/* Responsive Styling */
@media only screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        flex: none;
        margin: 0;
        margin-bottom: 20px;
    }
}

/* ... (previous styles) ... */

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #333;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #333;
    color: #fff;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #F4F6F7;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.logo {
    max-width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    justify-content: center;
    background-color: #626567;
    padding: 10px;
}

.nav-toggle {
    display: none; /* Initially hide on larger screens */
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

@media only screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Hide on larger screens */
        order: 1; /* Move to the right for mobile devices */
    }
    .logo {
        order: -1; /* Move to the left for mobile devices */
    }

    .nav-links.active {
        display: flex; /* Show on smaller screens when active */
    }

    .nav-toggle {
        display: block; /* Show on smaller screens */
    }
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 0;
}

.nav-links a.active,
.nav-links a:hover {
    background-color: #555;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    justify-content: center;
    background-color: #626567;
    padding: 10px;
}

.dropbtn a:hover {
    background-color: #555;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.freelancer-search-section,
.job-search-section {
    padding: 20px;
    background-color: #f5f5f5;
}

input[type="text"],
select,
button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
}

button {
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
}

.results-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px;
}

.result-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    width: 300px;
    margin: 10px;
    box-sizing: border-box;
}

.result-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.result-card-content {
    padding: 10px;
}

.result-card h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.result-card p {
    margin: 5px 0;
    color: #777;
}

h1 {
    color: #777;
}

/* Adjusted alignment for search fields and buttons */
.freelancer-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid #ccc;
    border-radius: 0;
}

.freelancer-search-form input,
.freelancer-search-form button,
.freelancer-search-form select {
    flex: 1;
    margin: 5px;
    height: 40px; /* Set the desired height */
    box-sizing: border-box; /* Include padding and border in the total width and height */
    width: 200px;
}

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

.page-link {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
}

.page-link:hover {
    background-color: #f0f0f0;
}

.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}


hr {
    margin: 20px 0;
    border: 0;
    border-top: 2px solid #ccc;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

footer {
    background-color: #626567;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    background-color: #f5f5f5;
    box-sizing: border-box;
}

.login-section {
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 300px;
    margin: 50px auto;
}

.login-container {
    text-align: center;
}

.login-form {
    margin-top: 20px;
}

.login-form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.login-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #999696;
}

.login-form-group input[type="text"],
.login-form-group input[type="email"],
.login-form-group input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
    text-indent: 25px;
}

.login-form-group button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
}

.login-form-group button[type="submit"]:hover {
    background-color: #45a049;
}

.login-form-group .fa-envelope,
.login-form-group .fa-lock {
  position: absolute;
  top: 8px;
  left: 10px;
  right: 20px;
}

.forgot-password {
    margin-top: 10px;
}

.forgot-password a {
    text-decoration: none;
    color: #007bff;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.login-container .form .input-group button:hover {
    background-color: #555;
}

.login-container .login-form .options {
    text-align: center;
    margin-top: 15px;
}

.login-container .login-form .options a {
    color: #666;
    text-decoration: none;
}

.login-container .login-form .options a:hover {
    text-decoration: underline;
}

.post-job-container {
    width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-job-container h1 {
    text-align: center;
}

.post-job-container .post-job-form-group {
    margin-bottom: 20px;
}

.post-job-container label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.post-job-container input[type="text"],
.post-job-container textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.post-job-container textarea {
    height: 100px;
}

.post-job-container .pricing-plans {
    margin-bottom: 20px;
}

.post-job-container .pricing-plans .plan {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.post-job-container .pricing-plans .plan input[type="checkbox"] {
    margin-right: 10px;
}

.post-job-container .buttons {
    display: flex;
    justify-content: space-between;
}

.job-details-section {
    width: 600px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.job-details-section .job-details, .company-info, #jobApplicationForm {
    margin-bottom: 20px;
}

.job-details-section h2 {
    color: #333;
}

.job-details-section p {
    margin: 10px 0;
}

.job-details-section strong {
    color: #4caf50;
}

.job-details-section label {
    display: block;
    margin: 10px 0;
    color: #333;
}

.job-details-section input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
}

.job-details-section button {
    background-color: #4caf50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

.job-details-section button:hover {
    background-color: #45a049;
}

.pricing-plans-section {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}

.pricing-plans {
    max-width: 800px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pricing-plans .plan {
    flex: 1 1 calc(25% - 20px); /* Adjust based on number of plans */
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 10px;
}

.pricing-plans .plan h2 {
    margin-top: 0;
}

.pricing-plans .plan p {
    margin-bottom: 10px;
}

.pricing-plans .plan .price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.pricing-plans .plan .description .days {
    color: #666;
}

.pricing-plans .cta-button {
    width: 100%;
    padding: 10px;
    text-align: center;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.pricing-plans .cta-button:hover {
    background-color: #0056b3;
}

.profile {
    margin-bottom: -300px;
}

.profile-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.sidebar {
    width: 200px; /* Adjust the width as needed */
    color: #5D6D7E;
    padding: 20px;
    margin-right: 20px; /* Add spacing between the sidebar and main content */
    margin-top: 0;
    margin-bottom: 600px;
    border: 1px solid #ccc;
    border-radius: 0;
}

.profile-main-content {
    width: 600px;
    /*
    flex: 1;
    */
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    margin-left: 20px; /* Add spacing between the sidebar and main content */
    margin-bottom: 400px;
}

.sidebar ul, h4 {
    list-style-type: none;
    padding: 0;
    padding: 20px; /* Move padding from .sidebar to here */
    color: #5D6D7E;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    max-width: 100%;
    text-decoration: none;
    color: #5D6D7E;
    font-size: 15px;
    transition: color 0.3s;
}

.sidebar a:hover {
    color: #007bff;
}

.sidebar-links a.active {
    background-color: #fff;
    color: #007bff;
}

.how-to-section,
.testimonials-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.testimonials-container {
    width: 80%;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.testimonials-slide {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonials-item {
    min-width: 100%;
    flex: 0 0 auto;
}

.testimonials-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.testimonials-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 100;
}

.testimonials-control {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonials-control:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.testimonials-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 100;
}

.testimonials-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonials-dot.active {
    background-color: #ffffff;
}

.how-to-container {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: stretch; /* Ensure all cards stretch to the same height */
    flex-wrap: wrap;
}

.how-to-card {
    width: 300px;
    margin: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    display: flex; /* Use flexbox to vertically center content */
    flex-direction: column; /* Align content vertically */
}

.how-to-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.how-to-card h2 {
    color: #333333;
    margin-bottom: 10px;
}

.how-to-card p {
    color: #666666;
    margin-bottom: 20px;
}

.instruction {
    font-style: italic;
    color: #999999;
    margin-top: 10px;
}

.svg {
  width: 20px;
  height: 20px;
  /*
  margin-top: 30px;
  margin-bottom: 10px;
  */
}

.dropdown-item {
    text-align: left;
    align-items: left;
}

.terms-section {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.terms-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Add a scrollbar when content exceeds container height */
    max-height: 500px; /* Set max height for the container */
}

.terms-container h1 {
    text-align: center;
}

.terms-container p {
    line-height: 1.6;
}

.profile-photo {
    max-width: 100%;
    height: auto;
    /*margin-right: 10px;*/
}

.profile-name {
    /*font-style: italic;
    color: #999999;*/
    text-align: left;
    margin-top: 2px;
    margin-left: -20px;
    margin-bottom: -12px;
}

.profile-joined {
    font-style: italic;
    text-align: left;
    color: #999999;
    margin-top: 0px;
}
