:root {
    --primary-color: #13b17e;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-gray: #f5f7fa;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    padding-top: 52px;
    /* For fixed navbar */
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item img {
    max-height: 40px;
}

.contact-us-btn {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.privacy-header {
    background-color: var(--light-gray);
    padding: 3rem 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-header h1 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.privacy-header .date {
    color: #666;
    font-style: italic;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    color: var(--secondary-color);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.privacy-section h3 {
    color: var(--secondary-color);
    font-size: 1.35rem;
    font-weight: 500;
    margin: 1.5rem 0 1rem;
}

.privacy-section ul {
    margin-left: 1.5rem;
}

.privacy-section ul li {
    margin-bottom: 0.5rem;
}

.privacy-section ul ul {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

.footer {
    background-color: var(--light-gray);
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.contact-info {
    margin-top: 1rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .privacy-header h1 {
        font-size: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .privacy-section h3 {
        font-size: 1.25rem;
    }
}

/* Language dropdown styling */
.navbar-dropdown {
    border-top: 2px solid var(--primary-color);
}

.navbar-link:not(.is-arrowless)::after {
    border-color: var(--primary-color);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
}

/* Table of contents */
.toc {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.toc h3 {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

.toc ul {
    margin-bottom: 0 !important;
}

.toc a {
    color: var(--primary-color);
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

/* Highlight box */
.highlight-box {
    background-color: rgba(19, 177, 126, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}