:root {
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --text-main: #2b2c34;
    --text-muted: #6b6b7b;
    --accent: #004eff;
    --accent-hover: #003bce;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-body);
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding-block: 2.5rem;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

.text-accent { 
    color: var(--accent); 
}

.text-accent-small {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #ffffff;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem max(5%, calc((100% - 1440px) / 2));
    background-color: var(--bg-body);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 70px;
}

.site-nav ul {
    display: flex;
    gap: 2rem;
}

.site-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.site-nav a:hover, .site-nav a.active {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.site-footer {
    text-align: center;
    padding: 3rem max(5%, calc((100% - 1440px) / 2));
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

body {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

body.page-loaded {
    opacity: 1;
}

body.page-exit {
    opacity: 0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0c;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 5px;
    border: 2px solid #0a0a0c;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-body);
}

.scroll-down {
    text-align: center;
    padding: 2rem 0;
}

.scroll-down a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-down .material-icons-outlined {
    font-size: 2.5rem;
    color: var(--accent);
    transition: color 0.3s ease;
}

.bounce-hover:hover {
    background: rgba(0, 78, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-8px);
}