html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f2f5f2;
}
/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #2c5f2d;
}

.logo img {
    height: 70px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
}

nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
}

nav a:hover,
nav a.active {
    background-color: #97bc62ff;
    color: #2c5f2d;
}


/* Titelsectie */
.header-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to bottom, #264d26, #396e39);
    color: white;
}

.header-section h1 {
    font-size: 45px;
    margin-bottom: 10px;
}

/* FAQ-lijst */
.faq-list {
    width: 70%;
    max-width: 900px;
    margin: 40px auto;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.faq-card {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 15px;
    box-shadow: 0 0 12px rgba(0,0,0,0.12);
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #264d26;
}

/* FORMULIER */
.ask-container {
    text-align: center;
    padding: 40px 20px;
}

.ask-form {
    width: 60%;
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ask-form input,
.ask-form textarea {
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #cfcfcf;
    font-size: 16px;
}

.ask-form button {
    padding: 14px;
    border: none;
    background: #264d26;
    color: white;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
}

/* CHATBOX */
.chat-toggle {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #264d26;
    color: white;
    border-radius: 50%;
    padding: 18px;
    font-size: 25px;
    cursor: pointer;
    border: none;
}

.chatbox {
    width: 320px;
    height: 420px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    position: fixed;
    right: 25px;
    bottom: 100px;
    display: none;
    flex-direction: column;
}

.chatbox.open {
    display: flex;
}

.chat-header {
    background: #264d26;
    padding: 12px;
    color: white;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.msg {
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    max-width: 80%;
}

.msg.user {
    background: #d0ffd0;
    margin-left: auto;
}

.msg.bot {
    background: #eeeeee;
}

.chat-input-box {
    display: flex;
    padding: 10px;
    gap: 8px;
}

.chat-input-box input {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #cccccc;
}

.chat-input-box button {
    background: #264d26;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
}
