/* Application Form Styles */
.apply-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(42, 75, 141, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(42, 75, 141, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.application-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

.application-info {
    flex: 1;
    min-width: 300px;
    background-color: #0a192f;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.application-info h3 {
    color: #00d4ff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.application-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.info-block {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.info-block h4 {
    color: #00d4ff;
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-block ol {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.info-block li {
    margin-bottom: 0.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #4fc3dc;
    text-decoration: underline;
}

.application-form-container {
    flex: 2;
    min-width: 500px;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.application-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group:nth-child(5),
.form-group:nth-child(6),
.form-group:nth-child(7),
.form-group:nth-child(8),
.form-group:nth-child(9),
.form-submit {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2a4b8d;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin-bottom: 0;
}

.checkbox-group a {
    color: #3498db;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.form-submit {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apply-btn {
    background-color: #2a4b8d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.apply-btn:hover {
    background-color: #1e3a6d;
}

.required-fields {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success i {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: #2a4b8d;
    margin-bottom: 1rem;
}

.form-success p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.return-home {
    display: inline-block;
    background-color: #2a4b8d;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.return-home:hover {
    background-color: #1e3a6d;
}

/* Responsive styles */
@media (max-width: 992px) {
    .application-form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-child(5),
    .form-group:nth-child(6),
    .form-group:nth-child(7),
    .form-group:nth-child(8),
    .form-group:nth-child(9),
    .form-submit {
        grid-column: span 1;
    }
    
    .application-form-container {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .application-container {
        flex-direction: column;
    }
    
    .application-info,
    .application-form-container {
        width: 100%;
    }
}
