body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #1a1a1a;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    text-decoration: underline;
}

.hero {
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero h2 {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
}

.btn {
    background-color: #f04;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.about, .services, .login, .post, .contact, .notices {
    padding: 50px 20px;
    text-align: center;
    background-color: white;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about h2, .services h2, .login h2, .post h2, .contact h2, .notices h2 {
    margin-bottom: 20px;
}

.services .service-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    width: 30%;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
}

.service-item h3 {
    margin: 0;
}

.notice {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
}

.notice h3 {
    margin: 0;
    font-size: 18px;
}

.notice p {
    margin: 5px 0;
    color: #555;
}

.notice-date {
    font-size: 14px;
    color: #888;
}

.login, .contact {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login h2, .contact h2 {
    margin-bottom: 20px;
}

.login-form, .contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form input, .contact-form input, .contact-form textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form button, .contact-form button {
    background-color: #f04;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-form button:hover, .contact-form button:hover {
    background-color: #d03;
}

.error {
    color: red;
    font-size: 14px;
    margin-top: -10px;
}

footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
}
/* Existing styles... */

.dashboard {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 50px 20px;
    margin: 20px 0;
}

.dashboard h2 {
    margin-bottom: 20px;
}

.dashboard form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard form input, .dashboard form select, .dashboard form button {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dashboard form button {
    background-color: #f04;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.dashboard form button:hover {
    background-color: #d03;
}

/* Hide error messages initially */
.error {
    display: none;
}
