/* static/css/careers.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.topbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.topbar h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.topbar p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.topbar i {
    margin-right: 15px;
    color: #4dabf7;
}

/* Section Styling */
.section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.section h2 {
    color: #2a5298;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 600;
}

.section h2 i {
    margin-right: 12px;
    color: #4dabf7;
}

.text-center {
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* Positions Grid */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.position-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #4dabf7;
}

.position-card i {
    font-size: 2.5rem;
    color: #2a5298;
    margin-bottom: 20px;
}

.position-card h3 {
    color: #2a5298;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.position-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form Styling */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4dabf7;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.2);
}

.input-inline {
    display: inline-block;
    width: auto;
    margin-left: 15px;
}

/* Radio & Checkbox Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-option input[type="radio"],
.radio-option input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.radio-option label {
    margin: 0;
    font-weight: normal;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Row/Column Layout for Dual Language Levels */
.row {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.col {
    flex: 1;
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 82, 152, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-card {
    display: inline-block;
    padding: 12px 25px;
    background: #2a5298;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-card:hover {
    background: white;
    color: #2a5298;
    border-color: #2a5298;
}

.btn-secondary {
    background: #6c757d;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-outline {
    background: transparent;
    border: 2px solid #2a5298;
    color: #2a5298;
}

.btn-outline:hover {
    background: #2a5298;
    color: white;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef);
    color: white;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Success Message */
.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 25px;
}

.success-icon i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .topbar {
        padding: 40px 0 30px;
    }
    
    .topbar h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 25px;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .topbar {
        padding: 30px 0 25px;
    }
    
    .topbar h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}