/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
}

/* Header Styles */
.registration-header {
    background-color: #004aad;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.registration-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.registration-subtitle {
    font-size: 0.5rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Main Content Styles */
.registration-main {
    padding: 20px 0;
}

.registration-form {
    max-width: 1000px;
    margin: 0 auto;
}

/* Form Section Styles */
.form-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #004aad;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffb703;
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Form Element Styles */
.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px 10px;
    border: 1.5px solid #e1e1e1;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 80%;
    background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #004aad;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

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

.form-group input[type="file"] {
    padding: 10px;
    background-color: white;
    border: 1.5px dashed #e1e1e1;
}

.form-group input[type="file"]:focus {
    border-style: solid;
    border-color: #004aad;
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background-color: #004aad;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 15px 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 74, 173, 0.2);
}

.submit-btn:hover {
    background-color: #003a87;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 74, 173, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer Styles */
.registration-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.registration-footer {
    background-color: #003a87;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
}

.footer-address {
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-contact {
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-title {
        font-size: 1.8rem;
    }
    
    .registration-subtitle {
        font-size: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-section {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .registration-header {
        padding: 30px 0;
    }
    
    .registration-title {
        font-size: 1.5rem;
    }
    
    .registration-main {
        padding: 20px 0;
    }
    
    .form-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    .footer-address,
    .footer-contact {
        font-size: 0.9rem;
    }
}

/* Form Validation Styles */
.form-group input:required:valid,
.form-group select:required:valid,
.form-group textarea:required:valid {
    border-color: #28a745;
}

.form-group input:required:invalid:not(:focus):not(:placeholder-shown),
.form-group select:required:invalid:not(:focus),
.form-group textarea:required:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc3545;
}

/* Progress Bar Styles */
.progress-container {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 10px;
margin-top: 10px;
flex-direction: column;
}

.progress-steps {
display: flex;
justify-content: space-between;
width: 100%;
max-width: 600px;
margin-bottom: 5px;
}

.step {
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
position: relative;
}

.step-number {
width: 25px;
height: 25px;
border-radius: 50%;
background-color: #e1e1e1;
color: #666;
display: flex;
align-items: center;
justify-content: center;
font-weight: 200;
margin-bottom: 4px;
transition: all 0.3s ease;
}

.step.active .step-number {
background-color: #004aad;
color: white;
}

.step-label {
font-size: 0.80rem;
color: #666;
text-align: center;
}

.step.active .step-label {
color: #004aad;
font-weight: 600;
}

.progress-bar {
width: 100%;
height: 3px;
background-color: #e1e1e1;
border-radius: 2px;
overflow: hidden;
max-width: 600px;
}

.progress {
height: 100%;
background-color: #004aad;
transition: width 0.3s ease;
width: 0%;
}

/* Form Step Styles */
.form-step {
display: none;
}

.form-step.active {
display: block;
}

/* Error Message Styles */
.error-message {
color: #dc3545;
font-size: 0.85rem;
margin-top: 5px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
border-color: #dc3545;
}

/* Navigation Button Styles */
.form-navigation {
display: flex;
justify-content: space-between;
margin-top: 25px;
}

.btn {
padding: 8px 16px;
border: none;
border-radius: 5px;
font-family: 'Poppins', sans-serif;
font-size: 0.95rem;
cursor: pointer;
transition: all 0.3s ease;
}

.btn-outline {
background-color: transparent;
color: #004aad;
border: 2px solid #004aad;
}

.btn-outline:hover {
background-color: #004aad;
color: white;
}

.btn-primary {
background-color: #004aad;
color: white;
width: 80%;
padding: 10px;
}

.btn-primary:hover {
background-color: #003a87;
}

.btn-submit {
background-color: #28a745;
color: white;
}

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

/* Review Section Styles */
.review-section {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
margin-top: 15px;
}

.review-section h3 {
font-size: 1.1rem;
color: #004aad;
margin-bottom: 12px;
margin-top: 15px;
}

.review-section h3:first-child {
margin-top: 0;
}

.review-item {
margin-bottom: 8px;
padding: 8px;
background: white;
border-radius: 5px;
border-left: 4px solid #004aad;
}

.terms-checkbox {
margin-top: 15px;
}

.terms-checkbox label {
display: flex;
align-items: center;
font-size: 0.85rem;
}

.terms-checkbox input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Responsive for Progress */
@media (max-width: 768px) {
.progress-steps {
flex-direction: column;
gap: 15px;
}
    
.step {
flex-direction: row;
gap: 12px;
}
    
.form-navigation {
flex-direction: column;
gap: 12px;
}
}