html,
body {
    height: 100%; /* Ensure the body takes full height */
    overflow: hidden; /* Prevent default scrolling */
}

.section {
    height: 100vh; /* Each section takes full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    scroll-snap-align: start; /* Align sections for snapping */
    text-align: center;
}

.section * {
    max-width: 80%;
}

.section .button-container {
    max-width: 80%;
}

.section h1 {
    margin: 0 auto;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.section ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.section ul li {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    text-align: center;
    width: 100%;
}

.cta-button {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: color-mix(
        in srgb,
        var(--hover-color) 80%,
        var(--effortless-white)
    );
}

.arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
    position: fixed;
    z-index: 5;
    opacity: 0;
    transition: all 0.3s ease;
}

.up-arrow {
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
}

.down-arrow {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.show {
    opacity: 1;
}

@keyframes glowPulse {
    0%, 100% {
        color: var(--primary-color);
        text-shadow: none;
    }
    50% {
        color: var(--tertiary-color);
        text-shadow: 0 0 3px var(--tertiary-color),
            0 0 5px var(--tertiary-color),
            0 0 10px var(--tertiary-color),
            0 0 15px var(--tertiary-color);
    }
}

.glow {
    animation: glowPulse 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
}