/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #0066cc;
}

h2 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #0066cc;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    color: #333;
}

/* Form Styles */
.section {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 5px;
}

.other-input {
    margin-top: 5px;
    width: 100%;
}

/* Button Styles */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-submit,
.btn-reset {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit {
    background-color: #0066cc;
    color: white;
}

.btn-submit:hover {
    background-color: #0052a3;
}

.btn-reset {
    background-color: #f2f2f2;
    color: #333;
}

.btn-reset:hover {
    background-color: #e0e0e0;
}

/* Thank You Message */
.thank-you-message {
    text-align: center;
    padding: 30px;
}

.thank-you-message h2 {
    color: #0066cc;
    margin-bottom: 15px;
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .radio-group,
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-submit,
    .btn-reset {
        width: 100%;
    }
}