:root {
    --bg: #f9f9fb;
    --primary: #333;
    --sidebar: #fff;
    --text: #333;
    --border: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 70px;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .title {
    font-size: 18px;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.container {
    display: flex;
    margin-top: 60px;
}

.sidebar {
    width: 250px;
    min-height: calc(100vh - 60px);
    background-color: var(--sidebar);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 60px;
    left: 0;
    padding: 20px;
    transition: transform 0.3s ease;
    z-index: 999;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin-bottom: 15px;
}

.sidebar nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.sidebar nav ul li a.active {
    background-color: var(--primary);
    color: white;
}

.sidebar nav ul li a:hover {
    background-color: var(--primary);
    color: white;
}

main {
    margin-left: 250px;
    padding: 30px 40px;
    flex: 1;
}

h2 {
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--primary);
    border-bottom: 1px solid #9a9a9a;
    padding-bottom: 10px;
    font-weight: 600;
}

h4{
    padding-top: 10px;
    padding-bottom: 15px;
    font-size: 22px;
    font-weight: 400;
}

p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

ul.list{
    padding-left: 30px;
    line-height: 2;
    padding-bottom: 10px;
    padding-top: 10px;
}

.list-style-none{
    list-style: none;
}

section{
    border: 2px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

img{
    width: 100%;
    padding: 2px;
    border-radius: 10px;
    background-color: var(--primary);
    margin-top: 10px;
    margin-bottom: 10px;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    transition: transform 0.3s;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    background-color: #fafafa;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 1rem 0;
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .faq-question {
        font-size: 1rem;
    }
}


@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    main {
        margin-left: 0;
        padding: 20px;
    }
}