/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

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

/* Form Styles */
.application-form {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section h3 {
    color: #2c5282;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ebf8ff;
}

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

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-col {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
}

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

input[type="file"] {
    width: 100%;
    padding: 5px;
    border: 1px dashed #ddd;
    border-radius: 4px;
}

select {
    height: 40px;
}

.btn {
    display: inline-block;
    background: #4299e1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #3182ce;
}

.btn i {
    margin-right: 8px;
}

/* Dynamic Fields */
.dynamic-field {
    display: none;
    background: #f8fafc;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.dynamic-field.active {
    display: block;
}

/* Error Handling */
.error-message {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: #e53e3e;
}

/* Flash Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background: #f0fff4;
    color: #2f855a;
    border-left: 4px solid #48bb78;
}

.alert-error {
    background: #fff5f5;
    color: #c53030;
    border-left: 4px solid #f56565;
}

/* Responsive */
@media (max-width: 768px) {
    .form-col {
        flex: 100%;
    }
}


/* Application Choice Page */
.application-choice {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.application-choice h1 {
    color: #2c5282;
    margin-bottom: 10px;
}

.application-choice .subtitle {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.options-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.option-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #4299e1;
}

.visa-option .option-icon {
    color: #38a169;
}

.passport-option .option-icon {
    color: #9f7aea;
}

.option-card h2 {
    color: #2d3748;
    margin-bottom: 10px;
}

.option-card p {
    color: #718096;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    background: #4299e1;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #3182ce;
    color: white;
}

.btn-primary i {
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .options-container {
        flex-direction: column;
    }
    
    .option-card {
        min-width: 100%;
    }
}