* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Banner Styles */
.banner {
    width: 100%;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Form Wrapper */
.form-wrapper {
    padding: 40px;
}

.form-header {
    margin-bottom: 30px;
    border-left: 4px solid #1e3a5f;
    padding-left: 20px;
}

.form-title {
    font-size: 28px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 15px;
    text-decoration: underline;
}

.form-description {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* Form Styles */
#feedbackForm {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.required {
    color: #d32f2f;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio Button Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s ease;
}

.radio-label:hover {
    color: #1e3a5f;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1e3a5f;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.submit-btn,
.clear-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn {
    background-color: #1e3a5f;
    color: white;
}

.submit-btn:hover {
    background-color: #2c4875;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.submit-btn:active {
    transform: translateY(1px);
}

.clear-btn {
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.clear-btn:hover {
    background-color: #e0e0e0;
}

/* Messages */
.success-message,
.error-message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 20px;
    }

    .form-title {
        font-size: 22px;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-btn,
    .clear-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .form-wrapper {
        padding: 15px;
    }

    .form-title {
        font-size: 18px;
    }

    .form-description {
        font-size: 13px;
    }
}

/* Loading State */
.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.submit-btn.loading::after {
    content: "...";
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: "."; }
    40% { content: ".."; }
    60%, 100% { content: "..."; }
}
