body {
    font-family: 'Sarabun', sans-serif;
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

.container {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 700px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

h1 {
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

h1 .fas {
    color: #fff;
    font-size: 1.2em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-weight: 700;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label .fas {
    color: #e0e0e0;
}

input[type="text"],
input[type="tel"],
textarea,
select {
    width: calc(100% - 20px);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: #ccc;
}

input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.3);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group label {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #e0e0e0;
    font-weight: 400;
    border: 1px solid transparent;
}

.radio-group input[type="radio"]:checked + label {
    background-color: #9c27b0; /* Deeper purple */
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    color: #fff;
    transform: translateY(-2px);
}

input[type="file"] {
    color: #e0e0e0;
    padding: 10px 0;
}

.btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #6a11cb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn:hover {
    background-color: #530ca0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }
.delay-9 { animation-delay: 0.9s; }


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.response-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.response-message.success {
    background-color: #4CAF50; /* Green */
    color: white;
}

.response-message.error {
    background-color: #f44336; /* Red */
    color: white;
}