:root {
    --primary: #7C9CBF;
    --secondary: #B4D7EE;
    --accent: #FFB6C1;
    --text: #4A4A4A;
    --cloud: #ffffff;
}

body {
    font-family: 'Quicksand', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.cloud-wrapper {
    position: relative;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: var(--cloud);
    border-radius: 50px;
    animation: float 15s infinite ease-in-out;
    opacity: 0.9;
    z-index: 1;
}

.cloud:before, .cloud:after {
    content: '';
    position: absolute;
    background: var(--cloud);
    border-radius: 50%;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    top: 50px;
    left: -100px;
    animation-delay: 0s;
}

.cloud-2 {
    width: 80px;
    height: 30px;
    top: 150px;
    right: -80px;
    animation-delay: 5s;
}

@keyframes float {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(1000px); }
}

.testimonials {
    position: relative;
    height: 100vh;
    margin-top: 20px;  /* Changed from -40px to positive margin */
    margin-bottom: -60vh;
    pointer-events: none;  /* Allow clicking through to location prompt */
}

.testimonial {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 300px;
    z-index: 2;
    pointer-events: auto;  /* Re-enable interactions for individual bubbles */
}

.testimonial:before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    bottom: -10px;
    left: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.testimonial:after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    bottom: -25px;
    left: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

/* Position each testimonial */
.testimonial:nth-child(1) {
    top: 10%;
    left: 5%;
    transform: rotate(-5deg);
}

.testimonial:nth-child(2) {
    top: 20%;
    right: 5%;
    transform: rotate(5deg);
}

.testimonial:nth-child(3) {
    top: 40%;
    left: 8%;
    transform: rotate(3deg);
}

.testimonial:nth-child(4) {
    top: 35%;
    right: 8%;
    transform: rotate(-3deg);
}

.testimonial:nth-child(5) {
    top: 60%;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
}

.testimonial:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 3;
}

.form-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

input, button, select {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid var(--secondary);
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

button {
    background: var(--accent);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.2s ease;
}

button:hover {
    transform: scale(1.02);
}

h1, h2 {
    color: var(--text);
    text-align: center;
    margin-bottom: 30px;
}

.info {
    text-align: center;
    font-size: 14px;
    color: var(--text);
    margin-top: 15px;
}

.location-prompt {
    text-align: center;
    margin: 20px auto 60px;  /* Increased bottom margin */
    max-width: 500px;
    position: relative;
    z-index: 3;  /* Ensure it's above testimonials */
}

.location-prompt p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.location-btn {
    background: var(--accent);
    padding: 15px 30px;
    border-radius: 25px;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location-btn:hover {
    transform: scale(1.05);
}

#mainContent {
    margin-bottom: 40px;  /* Add space between form and testimonials */
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .testimonial {
        position: relative;
        margin: 30px auto;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }

    .form-section {
        margin-top: 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }

    .testimonials {
        height: auto;
        margin-bottom: 20px;
        pointer-events: auto;
    }
}
