:root {
    --bg-color: #0D0615;
    --primary-color: #6A1B9A;
    --secondary-color: #E0B0FF;
    --text-color: #F8F8F8;
    --font-family: 'Kanit', sans-serif;
    --transition-speed: 0.5s;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    padding: 8rem 5%;
    min-height: 100vh;
}
h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-description {
    text-align: center;
    color: #CFCFCF;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Header & Navbar */
.header {
    background: rgba(13, 6, 21, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(224, 176, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: auto;
}
.logo {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}
.cta-button-small {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 5px rgba(106, 27, 154, 0.5);
}
.cta-button-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(106, 27, 154, 0.8);
}

/* Fade-in Effect */
#bio-full .section-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
#bio-full .section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Biography Page Specific Styles */
.bio-content {
    max-width: 800px;
    margin: auto;
}
.timeline {
    list-style: none;
    padding-left: 0;
    margin-top: 3rem;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: rgba(224, 176, 255, 0.2);
}
.timeline li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}
.timeline li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 25px;
    height: 25px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    z-index: 1;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: #0d0615;
    border-top: 1px solid rgba(224, 176, 255, 0.1);
}
.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline li {
        padding-left: 0;
        text-align: center;
    }
    .timeline li::before {
        left: 50%;
        transform: translateX(-50%);
    }
}