body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth; /* Smooth scrolling */
    height: 100%; /* Ensure the body and html take up the full height */
    scroll-snap-type: y mandatory; /* Enable scroll snapping on the y-axis */
}

.parallax-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full height for each section */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    transition: transform 0.5s ease;
    scroll-snap-align: start; /* Ensure each section snaps to the start */
}

.parallax-section:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.5); /* Optional overlay for contrast */
}

.content {
    position: relative;
    z-index: 2;
}

h1 {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 1rem;
}
