* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

header {
    background-color: #007BFF;
    color: white;
    padding: 1rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.slide-right h {
    width: 100%;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;  /* Center align within the parent */
}

.slide-right h2 {
    animation: slide-right 2s ease-out;
    animation-delay: 2s;
    margin: 0;  /* Reset margin to avoid additional spacing */
}

@keyframes slide-right {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.header-text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #000000;
    animation: slideBox 3s infinite;
}

@keyframes slideBox {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
#contactInfoButton {
    position: absolute; /* Change to absolute positioning */
    bottom: 5px; /* Adjust the bottom position */
    right: 5px; /* Adjust the left position */
    background-color: #ffffff;
    color: #007BFF; /* Change text color to match the header */
    border: none;
    padding: 0.5rem 1rem; /* Adjust padding for smaller button */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10; /* Ensure the button is above other elements */
}
#price-info-section {
    background-color: #000000;
    color: #ffffff;
    animation: popup 0.5s ease-out;
    transition: height 0.5s ease, max-height 0.5s ease; /* Smooth transition for height and max-height */
    overflow: scroll;
}

/* Price Button Styles */
.price-info-button {
    position: absolute; /* Change to absolute positioning */
    bottom: 5px; /* Adjust the bottom position */
    left: 5px; /* Adjust the left position */
    background-color: #ffffff;
    color: #007BFF; /* Change text color to match the header */
    border: none;
    padding: 0.5rem 1rem; /* Adjust padding for smaller button */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10; /* Ensure the button is above other elements */
}

.price-info-button:hover {
    background-color: #000000;
    color: #ffffff; /* Change text color to white on hover */
}
#contact-info-section {
    background-color: #000000;
    color: #ffffff;
    animation: popup 0.5s ease-out;
    transition: height 0.5s ease, max-height 0.5s ease; /* Smooth transition for height and max-height */
    overflow: scroll;
}
.contact-info-button {
    position: fixed; /* Position fixed to the viewport */
    bottom: 20px; /* Adjust the bottom position */
    right: 20px; /* Adjust the right position */
    background-color: #ffffff;
    color: #007BFF; /* Change text color to match the header */
    border: none;
    padding: 0.5rem 1rem; /* Adjust padding for smaller button */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10; /* Ensure the button is above other elements */
    
}

 a.facebook-link {
    display: inline-block;
    margin-top: 8px;
    padding: 0.4rem 0.6rem;
    color: white;
    background-color: #3b5998;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

footer a.facebook-link:hover {
    background-color: #2d4373;
}
/* Section styles */
section {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#introduction-section {
    background-color: #000000;
    color: #ffffff;
    animation: popup 0.5s ease-out;
    transition: height 0.5s ease, max-height 0.5s ease; /* Smooth transition for height and max-height */
    overflow: auto;
}

@keyframes popup {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
#introduction-section h2, #introduction-section h3 {
    margin-bottom: 1rem;
}

#introduction-section button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#introduction-section button:hover {
    background-color: #0056b3;
}

#form-section {
    background-color: #e0c9a6;
    display: none;
    margin-bottom: 40px;
}

#form-section h2 {
    color: #000000;
    margin-bottom: 1rem;
}

#surveyForm {
    width: 100%;
    height: 100%;
    border: none;
}

/* Smaller style for introduction section */
.introduction-small {
    height: 20vh; /* Set the height to a smaller value */
    overflow: hidden; /* Hide the overflow if the content exceeds the new height */
    transition: height 0.3s ease; /* Smooth transition */
}

/* Expanded style for form section */
.form-expanded {
    display: block; /* Make sure the form section is visible */
    height: 70vh; /* Set a larger height for the form section */
    overflow: auto; /* Allow scrolling if content overflows */
    transition: height 0.5s ease; /* Smooth transition */
}
/* Footer styles */
footer {
    position: fixed;  
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #000000;
    color: #a4a4a4;
    text-align: center;
    padding: 5px;
    border: 1px solid #000000;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
}





/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        width: 100%;
    }

    /* Adjust the button position on smaller screens */
    .price-info-button {
        bottom: 3px;
        left: 10px; /* Ensure the button stays on the left side */
        width: auto; /* Adjust width for smaller screens */
        padding: 0.5rem; /* Adjust padding for smaller screens */
        font-size: 0.875rem; /* Adjust font size for smaller screens */
        border-radius: 3px;
    }

    header {
        padding: 1rem 1.5rem; /* Adjust padding to ensure enough space for the button */
    }
}