/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; 
    box-sizing: border-box;
    scroll-behavior: smooth; 
}

.parallax-section {
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

.parallax-section h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}


#parallax1 {
    background-image: url('https://images.unsplash.com/photo-1464062901860-6bfe29568e56?q=80&w=1897&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

#parallax2 {
    background-image: url('https://images.unsplash.com/photo-1563089144-ef7593d0183a?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

#parallax3 {
    background-image: url('https://images.unsplash.com/photo-1538836026403-e143e8a59f04?q=80&w=2048&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

#parallax4 {
    background-image: url('https://images.unsplash.com/photo-1576079289400-c64c9c07b1f0?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

#parallax5 {
    background-image: url('https://images.unsplash.com/photo-1444703686981-a3abbc4d4fe3?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

#parallax6 {
    background-image: url('https://images.unsplash.com/photo-1524785281156-c3c68d1e03c5?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

/* Align buttons below headings */
.parallax-section button {
    margin-top: 20px;
}

.content-section {
    padding: 60px 30px;
    background-color: #fff;
    text-align: center;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
    overflow: hidden;
}

.content-section p {
    max-width: 800px;
    margin: 20px auto 40px auto; 
    transition: transform 0.3s ease-in-out;
}

.content-section h2:hover {
    transform: scale(1.03);
}
.content-section p:hover {
    transform: scale(1.05);
}

/* Basic button styling */
.btn, .content-section button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #555;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

.btn:hover, .content-section button:hover {
    background-color: #333;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 12px;
}

#backToTop:hover {
    background-color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }

    .parallax-section h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 40px 20px;
    }
}

