body {
    margin: 0;
    font-family: 'Playwrite IT Moderna', sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 10px 20px;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 1.5em;
}

.hamburger {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 3;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.nav-links a {
    text-decoration: none;
    color: #1b2256;
}

.main-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 3rem auto;
    flex-wrap: wrap; /* Allow elements to wrap on smaller screens */
}

.container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    flex-wrap: wrap; /* Allow the container to wrap for smaller screens */
}

.image-slider {
    width: 100%;
    padding: 0 1rem;
    margin-bottom: 2rem; /* Add margin for separation on mobile */
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    white-space: nowrap;
}

.slider img {
    width: 100%; /* Adjusts the image to fill the width of the container */
    scroll-snap-align: start; /* Ensures that only one image is shown at a time */
    display: inline-block;
}

.select-package {
    margin-top: 1rem;
}

.select-package p {
    font-size: 1.2rem;
    color: #1b2256;
    margin-bottom: 0.5rem;
}

.select-package select {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    color: #1b2256;
}

.contact-form {
    width: 100%;
    padding: 0 1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form button {
    margin-bottom: 1rem;
    padding: 0.5rem;
    font-size: 1rem;
    color: #1b2256;
}

.agree-checkbox {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.agree-checkbox input {
    margin-right: 0.5rem;
    color: #1b2256;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.footer a {
    color: #1b2256;
    font-size: 1.5em;
    text-decoration: none;
}

/* Mobile View */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: white;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 3;
        text-align: center;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .main-section {
        flex-direction: column; /* Stacks the sections vertically */
        align-items: center; /* Centers the content */
    }
    .container {
        width: 95%;
        flex-direction: column;
    }

    .image-slider, .contact-form {
        width: 100%; /* Ensures the sections take up full width on mobile */
        padding: 0;
    }

    .image-slider .slider {
        overflow-x: scroll;
        white-space: nowrap;
    }

    .slider img {
        width: auto;
        max-width: 90%;
        height: auto;
        margin-right: 1rem;
    }

    .contact-form input,
    .contact-form button {
        font-size: 1rem;
        padding: 0.5rem;
    }
}
