* {
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-family: "Lato", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.header-section {
    position: relative;
    overflow: visible;
    height: 100%;
    width: 100vw;
}

.header-section::before {
    border-radius: 100%;
    position: absolute;
    background: radial-gradient(76.53% 29.28% at 68.11% 81.16%, #FFFAFB 0%, #FFEDF0 100%);
    right: -150px;
    left: -180px;
    top: -300px;
    content: '';
    bottom: 0;
    z-index: 1; /* Add this */
}

.header {
    margin-top: 12%;
    position: relative; /* Add this */
    z-index: 2; /* Add this */
}

.header h1 {
    margin-bottom: 5%;
    color: #E21E5B;
    text-align: center;
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 32px;
}

.wave-svg {
    position: absolute;
    top: 40%;
    right: 0;
    z-index: 4;
}

main {
    position: relative;
    z-index: 5;
    margin-top: -460x;
}

.form-wrapper {
    position: relative;
    max-width: 480px;
    margin: 2% auto 4%;
    z-index: 3;
    padding: 0 20px;
}

.form-container {
    margin: 3% 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.03),  /* Subtle top shadow */
                0px 4px 16px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    color: #374151;
    font-size: 14px;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #1F2937;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #E21E5B;
}

.name-group {
    display: flex;
    gap: 16px;
}

.input-wrapper {
    flex: 1;
}

.input-wrapper input {
    width: 100%;
}

.phone-input {
    display: flex;
    gap: 8px;
}

.phone-input select {
    width: 80px;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1F2937;
}

textarea {
    min-height: 120px;
    max-height: 120px; /* Fix the height */
    height: 120px; /* Set a fixed height */
    resize: none; /* Prevent resizing */
    overflow-y: auto;
}

textarea::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

textarea::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}

textarea::-webkit-scrollbar-thumb {
    background: #E21E5B;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 13, 90, 0.9);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.checkbox-group label {
    margin: 0;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
}

button[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #E21E5B;
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

button[type="submit"]:hover {
    background-color: #de0043;
}

@media screen and (max-width: 480px) {
    .wave-svg {
        display: none;
    }

    .header-section {
        padding-top: 65px; /* Adjusted for mobile navbar height */
        min-height: 200px; /* Minimum height for mobile */
    }

    .header-section::before {
        right: -50px;
        left: -50px;
        top: -200px;
    }

    .header {
        margin-top: 15%;
        padding: 0 16px;
    }

    .header h1 {
        font-size: 26px;
        margin-bottom: 8%;
    }
}