body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
}

.header-left {
    display: flex;
    align-items: center;
}
.header-center h1 {
    margin: 0;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #8a2e2e;
    margin: 0;
    width: 100%;
}

nav ul li {
    position: relative;
    margin-right: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
}
nav ul.menu li:hover .submenu {
    display: block;
    width: 200px; 
}
.menu-item:hover .sub-menu {
    min-width: 250px; /* Adjust width to fit text */
}

nav ul.menu .submenu {
    display: none;
    position: absolute;
    background-color: #282323;
    list-style-type: none;
    padding: 100;
    margin: 50;
    top: 100%;
    left: 0;
    z-index: 1000;
}

nav ul.menu .submenu li a {
    padding: 1rem;
    white-space: nowrap;
}

main {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sidebar {
    width: 20%;
    background-color: #d0c9c9;
    padding: 10px;
    box-sizing: border-box;
    border-top: 4px solid orange;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-holder {
    width: 145px; /* Adjusted width for the image holder */
    height: 160px; /* Adjusted height for the image holder */
    overflow: hidden; /* Hide any overflowing content */
    margin-bottom: 10px;
    border: 1px solid #ccc; /* Optional: add a border to the image holder */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.sidebar-image {
    width: 100%; /* Image will fill the width of the holder */
    height: auto; /* Maintain the aspect ratio */
    object-fit: cover; /* Ensures the image fits within the holder without distortion */
}

.main-content {
    width: 55%;
    background-color: #fff;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px; /* Center and add bottom margin */
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: auto;
    display: block;
}

.updates {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: #f9f9f9;
}

.update-box {
    width: 23%;
    background-color: #ffffff;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid orange;
}

.update-box h3 {
    margin-top: 0;
}

.update-box ul {
    list-style: none;
    padding: 0;
}

.update-box ul li {
    margin-bottom: 0.5rem;
}

.update-box ul li a {
    text-decoration: none;
    color: black;
}

.update-box button {
    background-color: orange;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    display: block;
    margin: 1rem 0 0 0;
    cursor: pointer;
    text-decoration: none;
}

.update-box button a {
    color: white;
    text-decoration: none;
}
@keyframes slide {
    0% { transform: translateX(0); }
    20% { transform: translateX(-100%); }
    40% { transform: translateX(-200%); }
    60% { transform: translateX(-300%); }
    80% { transform: translateX(-400%); }
    100% { transform: translateX(0); }
}

.employee-list {
    margin: 20px auto;
    width: 80%;
    max-width: 800px;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.complaint-form {
    margin: 20px auto;
    width: 80%;
    max-width: 600px;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.complaint-form form {
    display: flex;
    flex-direction: column;
}

.complaint-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.complaint-form input, 
.complaint-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.complaint-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.complaint-form button:hover {
    background-color: #45a049;
}
.rti-container {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.pdf-download {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.pdf-download:hover {
    background: #0056b3;
}
footer {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    width: 25%;
}

.footer-col ul {
    list-style-type: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 5px;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .sidebar,
    .main-content,
    .update-box {
        width: 100%;
    }

    .updates {
        flex-direction: column;
    }

    .footer-col {
        width: 100%;
    }
}
