body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
}

header {
    background-color: #007BFF;
    color: white;
    padding: 20px;
    text-align: center;
}

header .logo img {
    width: 100px;
    display: block;
    margin: 0 auto;
}

header h1 {
    margin: 0;
}

/* Navigation bar styles */
nav {
    background-color: #007BFF;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FFD700;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 160px); /* Adjust based on any fixed headers/footers */
}

/* Flexbox layout for the container */
.local2 {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;  /* Ensure no content spills outside the container */
}

/* Make each div inside .local2 take up equal width */
.local2 > div {
    flex: 1 1 calc(50% - 20px); /* Each div takes 50% width with some margin */
    margin: 10px;
    min-width: 300px;  /* Prevent divs from shrinking too small */
    box-sizing: border-box; /* Ensure padding is included in the total width */
}

/* Stack divs vertically on smaller screens */
@media (max-width: 768px) {
    .local2 {
        flex-direction: column;
    }

    .local2 > div {
        width: 100%;  /* Full width on small screens */
    }
}

/* Styling for the internal content box */
.local {
    width: 100%;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #ff9;
    border-radius: 10px;
}
.service h2 {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
}
.service p {
    margin: 5px 0;
}
.service a {
    color: #007bff;
    text-decoration: none;
}
.service a:hover {
    text-decoration: underline;
}












.login-container {
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.login-box {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 45%;
}

.login-box h2 {
    margin-top: 0;
}

.login-box form {
    display: flex;
    flex-direction: column;
}

.login-box input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-box button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.login-box button:hover {
    background-color: #0056b3;
}

.registration-container {
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin: 0 auto;
    padding-top: 50px;
}

.registration-box {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 45%;
    margin: 20px;
}

.registration-box h2 {
    margin-top: 0;
}

.registration-box form {
    display: flex;
    flex-direction: column;
}

.registration-box input,
.registration-box select {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.registration-box button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.registration-box button:hover {
    background-color: #0056b3;
}

footer {
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .registration-container {
        flex-direction: column;
    }

    .registration-box {
        width: 80%;
        margin-bottom: 20px;
    }

    .login-container {
        flex-direction: column;
    }

    .login-box {
        width: 80%;
        margin-bottom: 20px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .logo img {
        max-width: 100px;
    }

    .logo h1 {
        font-size: 20px;
    }
}
.search-results {
    list-style-type: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    background-color: #fff;
    position: absolute;
    z-index: 1000;
}

.search-results li {
    padding: 8px;
    cursor: pointer;
}

.search-results li:hover {
    background-color: #f0f0f0;
}
/* Main content */
main {
    padding: 20px;
    background-color: #f0f4f8;
}

/* Dashboard content */
#dashboard .service {
    background-color: #FFFFFF;
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#dashboard .service h2 {
    color: #007BFF;
    margin-bottom: 10px;
}

#dashboard .service p {
    margin-bottom: 5px;
}

/* Form styles */
form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input,
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
}

form button {
    background-color: #007BFF;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}
