* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f0f5; /* Light grey background */
    font-family: Arial, sans-serif;
}

.form-container {
    max-width: 800px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: #FFD700; /* Dark purple */
    font-size: 24px;
    font-weight: bold;
}

.form-subtitle {
    color: #FFD700; /* Medium purple */
    font-size: 1.1em;
    font-weight: bolder;
}

.form-email {
    color: #FFD700; /* Lighter purple */
    font-size: 0.9em;
}

.form-email a {
    color: #4285f4; /* Google blue */
    text-decoration: none;
}

.form-info {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 20px;
}

.required-note {
    color: #d32f2f; /* Red for required note */
    font-size: 0.9em;
    margin-bottom: 15px;
}

.form-section-header {
    background-color: #FFD700; /* Medium purple */
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-size: 1.3em;
    font-weight: bold;
}

.form-group label {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.required-asterisk {
    color: #d32f2f; /* Red for asterisk */
    margin-left: 5px;
}

.form-control:focus {
    border-color: #8e24aa; /* Purple on focus */
    box-shadow: 0 0 0 0.25rem rgba(142, 36, 170, 0.25);
}

.btn-primary {
    background-color: #6a1b9a; /* Medium purple */
    border-color: #6a1b9a;
}

.btn-primary:hover {
    background-color: #4a148c; /* Darker purple on hover */
    border-color: #4a148c;
}

.btn-secondary {
    background-color: #9e9e9e; /* Grey */
    border-color: #9e9e9e;
}

.btn-secondary:hover {
    background-color: #757575; /* Darker grey on hover */
    border-color: #757575;
}

.btn-success {
    background-color: #388e3c; /* Green */
    border-color: #388e3c;
}

.btn-success:hover {
    background-color: #2e7d32; /* Darker green on hover */
    border-color: #2e7d32;
}

.multi-step-form .form-step {
    display: none;
}

.multi-step-form .form-step.active {
    display: block;
}

.award-category-group h6 {
    color: #4a148c;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.award-category-group .category-description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.award-category-group .category-prompt {
    font-weight: bold;
    color: #444;
    margin-bottom: 10px;
}

.form-check-label {
    margin-left: 5px;
}

/* Style for invalid feedback messages */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: none; /* Hidden by default */
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-feedback {
    display: block;
}

.award-category-error {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
}

.award-category-group.is-invalid .award-category-error {
    display: block;
}

.form-check-input:required:invalid + .form-check-label {
    color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a2035; /* Dark Blue from image background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f8f9fa; /* Light text color */
}

.form-container {
    max-width: 800px;
    background-color: #0e162d; /* Darker Blue for the container */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); /* Stronger shadow for depth */
}

.form-title {
    color: #FFD700; /* Gold accent color */
    font-size: 28px;
    font-weight: bold;
}

.form-subtitle {
    color: #FFD700; /* Muted gold */
    font-size: 1.1em;
    font-weight: normal;
}

.form-section-header {
    background-color: #FFD700; /* Gold accent color */
    color: #0e162d; /* Dark text on gold */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 1.4em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.form-group label {
    font-weight: bold;
    color: #f8f9fa; /* Light text */
    margin-bottom: 8px;
    display: block;
}

.required-asterisk {
    color: #dc3545; /* Red for asterisk */
}

/* Input Fields */
.form-control, .form-select {
    background-color: #2a344d; /* Slightly lighter dark background for input */
    color: #f8f9fa;
    border: 1px solid #4a5573;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus, .form-select:focus {
    background-color: #2a344d;
    color: #f8f9fa;
    border-color: #FFD700; /* Gold border on focus */
    box-shadow: 0 0 0 0.25rem rgba(234, 179, 40, 0.3); /* Gold shadow */
}

.form-select option {
    color: #0e162d; /* Dark text for options for better contrast */
}

/* Checkbox/Radio styling */
.form-check-input {
    background-color: #4a5573;
    border-color: #6c757d;
}

.form-check-input:checked {
    background-color: #FFD700;
    border-color: #FFD700;
}

.form-check-label {
    color: #f8f9fa; /* Light text for labels */
}

/* Buttons */
.btn-primary {
    background-color: #FFD700; /* Gold accent */
    border-color: #FFD700;
    color: #0e162d; /* Dark text on gold */
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #FFD700; 
    border-color: #FFD700;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #4a5573; /* Muted dark color for back button */
    border-color: #4a5573;
    color: #f8f9fa;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-success {
    background-color: #1e8449; /* Darker green for submit */
    border-color: #1e8449;
    color: #f8f9fa;
    font-weight: bold;
}

/* Award Category styling */
.award-category-group h6 {
    color: #FFD700; /* Gold for category titles */
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.award-category-group .category-description,
.award-category-group .category-prompt {
    color: #ccc;
}

/* ---------------------------------- */
/* PROGRESS BAR STYLING */
/* ---------------------------------- */
.progress-bar-container {
    position: relative;
    padding-top: 30px;
    margin-bottom: 50px !important;
}

.progress-bar-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #4a5573; /* Inactive line color */
    border-radius: 2px;
}

.progress-bar-fill {
    height: 100%;
    background: #FFD700; /* Active/Gold color */
    width: 0%; 
    transition: width 0.5s ease-in-out; /* Smooth progress update */
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.progress-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 20%; 
    cursor: default;
}

.step-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #4a5573; /* Inactive circle color */
    color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
    border: 3px solid #4a5573;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.step.active .step-circle {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #0e162d;
}

.step.completed .step-circle {
    background-color: #1e8449; /* Green for completed steps */
    border-color: #1e8449;
    color: #f8f9fa;
}

.step-label {
    font-size: 0.85em;
    color: #ccc;
    font-weight: 600;
    transition: color 0.3s;
}

.step.active .step-label {
    color: #FFD700; /* Gold for active label */
}

/* ---------------------------------- */
/* MOTION ANIMATIONS (New) */
/* ---------------------------------- */

.multi-step-form .form-step {
    display: none;
    opacity: 0;
}

.multi-step-form .form-step.active {
    display: block;
    animation: fadeSlideIn 0.5s ease-out forwards; 
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px); /* Start from right (for next step) */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation for sliding out when pressing 'Next' */
@keyframes fadeSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px); /* Slide out to the left */
    }
}

/* Animation for sliding out when pressing 'Back' */
@keyframes fadeSlideOutBackwards {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px); /* Slide out to the right */
    }
}

/* Validation Feedback adjustments */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-text.text-muted {
    color: #ccc !important;
}
