* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Different states of links */
a:link {
    color: white;        /* Unvisited links */
    text-decoration: none;
}

a:visited {
    color: white;      /* Visited links */
    text-decoration: none;
}

a:active {
    color: red;         /* Active (being clicked) */
    text-decoration: underline;
}

/* Sidebar styles */
.sidebar {
    width: 250px;
    background: linear-gradient(to bottom, #2c3e50, #1a2530);
    color: white;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 600;
}

.menu-item {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(90deg);
}

.submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.submenu.active {
    max-height: 500px;
}

.submenu-item {
    padding: 12px 20px 12px 40px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: #FFFFFF;
}

.submenu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.submenu-item:last-child {
    border-bottom: none;
}

/* Main content styles */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
    background-color: white;
}

.content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.content-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.content-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.content-section p {
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 15px;
}

.content-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive design */
@media (max-width: 768px) {
    .sidebar {
        width: 70px;
    }
    
    .sidebar-header h2 span:first-child {
        display: none;
    }
    
    .menu-item span:first-child {
        display: none;
    }
    
    .submenu-item {
        padding: 12px 20px 12px 20px;
        font-size: 0.9rem;
    }
    
    .main-content {
        margin-left: 70px;
    }
}