/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-container {
    display: flex;                /* Use Flexbox layout */
    align-items: center;          /* Vertically center the items */
}

.logo {
    width: 100px;                 /* Set a fixed width for the logo */
    height: auto;                 /* Maintain aspect ratio */
    margin-right: 20px;           /* Space between logo and header */
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Dashboard layout */
.dashboard {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    position: fixed;
    top: 0;
    bottom: 0;
}

.sidebar h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 5px;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background-color: #3498db;
    color: white;
}

/* Content Styling */
.content {
    margin-left: 250px;
    padding: 20px;
    width: 100%;
    overflow: hidden;
}

h1 {
    font-size: 50px;
    color: #333;
    margin-bottom: 20px;
}
h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

h4 {
    font-size: 18px;
    color: #333;
}

/* Page-specific styling */
.page {
    display: none;
}

.page.visible {
    display: block;
}

/* Quick Links Section (Home Page) */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.link-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.link-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.link-card a {
    font-size: 16px;
    color: #3498db;
    text-decoration: none;
}

.link-card a:hover {
    text-decoration: underline;
}

/* Acts Section */
.acts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.act {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.act h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Reports Section */
.reports-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.report {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.report h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.report a {
    color: #3498db;
    text-decoration: none;
}

.report a:hover {
    text-decoration: underline;
}

/* Units Section */
.units-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.unit {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.unit h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }

    .content {
        margin-left: 0;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }
}
