:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
}

.navbar-brand {
    font-size: 1.5rem;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
}

.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: var(--primary-color);
}

#formMessage .alert {
    border-radius: 0.5rem;
}

.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}
/* Careers Page Styles */
.nav-pills .nav-link {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin: 0 5px;
    border-radius: 50px;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.job-card {
    transition: all 0.3s ease;
}

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

.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

.modal-content {
    border-radius: 1rem;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 1rem 1rem 0 0;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 0 0 1rem 1rem;
}
/* CAPTCHA Styling */
.captcha-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

#captchaQuestion {
    font-size: 1.1rem;
    color: #495057;
    min-height: 1.5rem;
    display: inline-block;
}

#refreshCaptcha {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

#refreshCaptcha:hover {
    background-color: #0d6efd;
    color: white;
}

.fa-spin {
    animation: fa-spin 1s infinite linear;
}

/* Form validation styles */
.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* CAPTCHA input specific styling */
#captchaAnswer {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .captcha-container .row {
        flex-direction: column;
        gap: 1rem;
    }

    #captchaQuestion {
        font-size: 1rem;
    }
}