/* Identical base layout shared by all six pages. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg-light);
    color: var(--color-text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    background: var(--color-header-bg);
    backdrop-filter: blur(15px);
    color: var(--color-bg-light);
    padding: 0 1rem;
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
}

.logo img {
    height: 4rem;
    transition: transform 0.3s ease;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.logo img:hover {
    transform: scale(1.08);
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-bg-light);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-wrapper {
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
}

nav ul li a {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

nav ul li a:hover {
    background: var(--color-bg-light);
    color: var(--color-text-primary);
    transform: translateY(-3px);
}

main {
    margin-top: var(--header-height);
}

section {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--color-text-primary);
}
