* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Roboto", "Lato", Arial, Helvetica, sans-serif;
    background: #DCE6F1;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #2C3E50;
    color: white;
    position: relative;
}

/* Header Font Sizes & Colors */
h1 { 
    font-size: 36px; 
    color: #666; 
    margin-bottom: 10px; }
h2 { 
    font-size: 30px; 
    color: #555; 
    margin-bottom: 10px; }
h3 { 
    font-size: 25px; 
    color: #444; 
    margin-bottom: 10px; }
h4 { 
    font-size: 22px; 
    color: #444; 
    margin-bottom: 8px; }
h5 { 
    font-size: 18px; 
    color: #444; 
    margin-bottom: 6px; }
h6 { 
    font-size: 16px; 
    color: #444; 
    margin-bottom: 4px; }
p { 
    font-size: 16px; 
    line-height: 1.6; 
    color: #333; 
    margin-bottom: 12px; }
li { 
    margin-left: 2em; }

.highlight { 
    color: #fff;
    text-align: center;
    background-color: #28e690;
    border-bottom: 2px solid #d8ece3; /* Line between items */
    border-radius: 20px 0 20px 0;
    margin-top: 1em;
    padding: 8px;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); /* Offset-x, offset-y, blur-radius, color */
}

.menu-icon, .sidebar-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 10px;
}
/* Style for the logo */
.logo {
    color: white;
    font-size: 26px;
    font-weight: bold;
    padding: 8px;
    border-radius: 10px 0 10px 0;
}
.logo:hover {
    color: white;
    background-color: #425d78; /* Change background color on hover */
}.logo a {
    color: white;
    text-decoration: none; /* Remove underline */
}
.logo a:hover {
    color: white; /* Ensure it remains white on hover */
    background-color: #425d78; /* Change background color on hover */
}

/* Navigation Menu - Spans Full Width */

.nav-menu {
    display: flex;
}
.nav-menu ul {
    list-style: none;
    display: flex;
}
.nav-menu ul li {
    border-radius: 10px 0 10px 0;
    margin-left: 0;
}
.nav-menu ul li a {
    color: white;
    margin: 5px;
    padding: 10px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 10px 0 10px 0;
}
.nav-menu ul li a:hover {
    background-color: #425d78; /* Change background color on hover */
    margin-left: 5px;
}

.container {
    display: flex;
    flex: 1;
}
.sidebar-left {
    width: 20%;
    background: #B0C4DE;
    padding: 20px;
}
.sidebar-left h3 a {
    display: block;
    color: white;
    background-color: #2e7bba;
    text-decoration: none;
    font-size: 22px;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px 0 8px 0;
}
.sidebar-left h3 a:hover {
    color: white; /* Reverse text color */
    background-color: #0d6dbc; /* Reverse background color */
}

.sidebar-left ul {
    list-style: none;
    background-color: #659ac6;
    border-radius: 8px 0 8px 0;
}
.sidebar-left ul li {
    color: #1F487E;
    font-weight: bold;
    margin-left: 0;
    border-bottom: 2px solid #c5e3fc; /* Line between items */
    border-radius: 8px 0 8px 0;
}
.sidebar-left ul li a {
    padding: 8px;
    text-decoration: none;
    color: #1F487E;
    margin-left: 0;
    display: block;
    border-radius: 8px 0 8px 0;
}
.sidebar-left ul li a:hover {
    color: #e3ebf7;
    background: #416aa0;
    margin-left: 0;
}
.main-content {
    flex: 1;
    padding: 20px;
    background: white;
}

.sidebar-right {
    width: 20%;
    background: #A2B9D1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sidebar-right h3 {
    color: #fff;
    background-color: #4682B4;
    font-size: 22px;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 8px 0 8px 0;
}
.sidebar-right img {
    width: 90%;
    margin-bottom: 10px;
    border-radius: 5px;
}
.footer {
    text-align: center;
    padding: 12px;
    background: #2C3E50;
    color: white;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar-right {
        width: 100%;
    }
    .menu-icon, .sidebar-icon {
        display: block;
    }


    .header {
        justify-content: flex-start;
    }
    .logo {
        flex-grow: 1;
        text-align: left;
    }

    /* Navigation Menu - Aligned to Right */
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        width: 160px;
        background: #3a658f;
        flex-direction: column;
        text-align: left;
        border-radius: 20px 0 0 20px;
    }
    .nav-menu ul {
        flex-direction: column;
        padding: 8px 0;
        text-align: right;
    }
    .nav-menu ul li {
        margin: 10px 0;
    }
    .nav-menu ul li a:hover {
        width: 100vw;
        background-color: #3777b7; /* Change background color on hover */
    }
    .nav-menu.show {
        display: flex;
        right: 0; /* Slide into view */
    }


    /* Sidebar-Left - Hidden by Default, Slides in When Toggled */
    .sidebar-left {
        position: fixed;
        top: 60px;
        left: -200px; /* Off-screen initially */
        width: 200px;
        height: 100vh;
        background: #B0C4DE;
        padding: 12px;
        border-radius: 0 10px 10px 0;
        transition: left 0.3s ease-in-out;
        box-shadow: 3px 0 10px rgba(0, 0, 0, 0.3);
    }
    .sidebar-left.show {
        left: 0; /* Slide into view */
    }

    /* Overlay when menu is open */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 998;
    }
    .overlay.show {
        display: block;
    }
}