/* CSS Variables */
:root {
    --bg-color: #e8e8e8;
    --text-color: #000000;
    --accent-color: #1a1a1a;
    --gray-text: #666666;
    --nav-height: 130px;
}

@media (max-width: 768px) {
    :root {
        --nav-height: 100px;
    }
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-color);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Shared Section Layout */
.section-container {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 490;
    line-height: 1.1;
    margin: 0;
    flex: 0 0 auto;
}

.section-description {
    max-width: 400px;
    margin: 0;
    margin-left: auto;
    text-align: justify;
    text-align-last: right;
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-container {
        padding: 4rem 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .section-description {
        text-align: left;
        text-align-last: left;
        margin-left: 0;
        max-width: 100%;
    }
}
