/* careers.css - COMPLETE FINAL WORKING VERSION */

:root {
    --primary-dark: #1a1a1a;
    --primary-navy: #0a1931;
    --primary-gold: #c5a047;
    --primary-crimson: #ae1f25;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    --border-light: #e0e0e0;
    --success-green: #28a745;
    --error-red: #dc3545;
    --warning-yellow: #ffc107;
    --info-blue: #17a2b8;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    direction: ltr;
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.98);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    gap: 12px;
    /*font-family: 'Montserrat', sans-serif;*/
    font-weight: 750;
    font-size: 1.4rem; /* CHANGED: Was 1.4rem */
    letter-spacing: 1px; /* CHANGED: Was 1px */
    transition: color 0.3s ease;
}


.nav-logo a:hover {
    color: var(--primary-gold);
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-gold);
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== LANGUAGE BAR ===== */
.language-bar {
    position: fixed;
    top: 54px;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 49, 0.98);
    z-index: 999;
    padding: 0.8rem 0;
    margin: 0;
    border-top: 1px solid var(--primary-gold); /* ADDED: Golden line */
}

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

.language-bar .language-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.language-bar .lang-btn {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--text-light);
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
    flex-shrink: 0;
}

.language-bar .lang-btn:hover {
    background: rgba(197, 160, 71, 0.2);
    transform: translateY(-1px);
}

.language-bar .lang-btn.active {
    background: var(--primary-gold);
    color: var(--primary-dark);
    font-weight: 600;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(197, 160, 71, 0.3);
}

/* ===== CAREERS HERO SECTION ===== */
.careers-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
    margin-top: 100px;
}

.careers-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.careers-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== POSITION SELECTION ===== */
.position-selection {
    padding: 4rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.position-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.position-card {
    background: var(--text-light);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-gold);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.position-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-crimson));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    font-size: 1.8rem;
}

.position-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.position-salary {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 0.5rem 0;
}

.position-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    min-height: 4rem;
}

.position-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.position-features span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.position-features i {
    color: var(--primary-gold);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--text-light);
    border: 2px solid var(--primary-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--text-light);
}

.btn-block {
    width: 100%;
}

/* ===== APPLICATION FORM ===== */
.application-form-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-header h2 {
    color: var(--primary-navy);
    margin: 0;
    font-size: 2rem;
}

.simple-careers-form {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-left: 4px solid var(--primary-gold);
    padding-left: 1rem;
}

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

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    background: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 71, 0.1);
}

.form-group label {
    position: absolute;
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--primary-gold);
    background: var(--text-light);
    padding: 0 0.5rem;
    font-weight: 600;
    z-index: 1;
}

.field-explanation {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    line-height: 1.4;
    font-style: italic;
}

/* ===== FORM VALIDATION STYLES ===== */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--error-red) !important;
    background-color: rgba(220, 53, 69, 0.05) !important;
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.form-group.valid input,
.form-group.valid select,
.form-group.valid textarea {
    border-color: var(--success-green) !important;
    background-color: rgba(40, 167, 69, 0.05) !important;
}

/* Inline error messages */
.inline-error {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 5px;
    border-left: 3px solid var(--error-red);
    animation: slideIn 0.3s ease;
    display: block !important;
}

/* Textarea error message positioning */
.form-group textarea + .inline-error {
    margin-top: 0.5rem;
    position: static !important;
    display: block !important;
    width: 100%;
}

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

.form-group.has-error textarea {
    margin-bottom: 0.25rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CHECKBOX GROUP ===== */
.checkbox-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 5px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    border-color: var(--primary-gold);
    background: rgba(197, 160, 71, 0.05);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--primary-gold);
    cursor: pointer;
}

.checkbox-group label {
    position: static;
    background: none;
    padding: 0;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
}

/* ===== LANGUAGES SELECTION ===== */
.languages-label {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: transparent !important;
    padding: 0 !important;
    position: static !important;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.languages-grid:focus-within {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 71, 0.1);
}

.languages-grid.has-error {
    border-color: var(--error-red) !important;
    background: rgba(220, 53, 69, 0.05) !important;
}

/* FIXED: Language checkbox options - WORKING VERSION */
.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 3px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.language-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--primary-gold);
}

.language-option:hover {
    background: rgba(197, 160, 71, 0.2);
}

/* FIXED: Language label visibility - WORKING VERSION */
.language-option label {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
    background: none !important;
    padding: 0 !important;
    position: static !important;
}

.languages-error {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 5px;
    border-left: 3px solid var(--error-red);
    animation: slideIn 0.3s ease;
    grid-column: 1 / -1;
}

/* ===== FILE UPLOAD ===== */
.file-upload-label {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.file-upload-area {
    position: relative;
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--bg-light);
    margin-bottom: 0.5rem;
}

.file-upload-area:hover {
    border-color: var(--primary-gold);
    background: rgba(197, 160, 71, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--primary-gold);
    background: rgba(197, 160, 71, 0.1);
}

.file-upload-area.has-error {
    border-color: var(--error-red) !important;
    background: rgba(220, 53, 69, 0.05) !important;
    border-style: solid !important;
}

.file-upload-area i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.file-upload-area.has-error i {
    color: var(--error-red);
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-main-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.file-sub-text {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    pointer-events: none; /* Add this line */
}

.file-upload-error {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 5px;
    border-left: 3px solid var(--error-red);
    animation: slideIn 0.3s ease;
    text-align: center;
}

/* ===== FORM ACTIONS ===== */
.form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* ===== BENEFITS SECTION ===== */
.careers-benefits {
    padding: 4rem 0;
    background: var(--primary-navy);
    color: var(--text-light);
}

.careers-benefits .section-title {
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
}

.benefit-item i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.benefit-item h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.3rem;
}

.benefit-item p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== NOTIFICATION SYSTEM ===== */
.notification-container {
    position: fixed;
    top: 150px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    width: 90%;
}

.notification {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid;
    overflow: hidden;
}

.notification.success {
    border-left-color: var(--success-green);
}

.notification.error {
    border-left-color: var(--error-red);
}

.notification.warning {
    border-left-color: var(--warning-yellow);
}

.notification.info {
    border-left-color: var(--info-blue);
}

.notification-content {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 1.5rem;
}

.notification.success .notification-icon {
    color: var(--success-green);
}

.notification.error .notification-icon {
    color: var(--error-red);
}

.notification.warning .notification-icon {
    color: var(--warning-yellow);
}

.notification.info .notification-icon {
    color: var(--info-blue);
}

.notification-text {
    flex: 1;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-gray);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification.hiding {
    animation: slideOutRight 0.3s ease;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(197, 160, 71, 0.3);
    border-top: 4px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== FOOTER (SPECIFIC FOR CAREERS PAGE - 2 COLUMNS) ===== */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns for careers page */
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section:first-child {
    text-align: left;
}

/* Quick Links Section - Simple fix */
.footer-section:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align container to the right */
}

.footer-section:last-child h4 {
    margin-bottom: 1rem;
    text-align: right;
    width: 100%;
}

.footer-section:last-child ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    width: auto;
}

.footer-section:last-child ul li {
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

/*.footer-section:last-child {*/
/*    display: flex;*/
/*    flex-direction: column;*/
    align-items: flex-end; /* This aligns the container to the right */
/*}*/

/* Quick Links heading - right aligned */
/*.footer-section:last-child h4 {*/
/*    text-align: right;*/
/*    margin-bottom: 1rem;*/
/*    width: 100%;*/
/*}*/

/* Quick Links list - positioned to center under the heading */
/*.footer-section:last-child ul {*/
/*    list-style: none;*/
/*    padding: 0;*/
/*    margin: 0;*/
/*    text-align: center;*/
    /* Position the list so it's centered under the heading */
/*    position: relative;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*}*/

/*.footer-section:last-child ul li {*/
/*    margin-bottom: 0.5rem;*/
/*    text-align: center;*/
/*}*/

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-section i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--primary-gold);
}

.certifications {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.certifications span {
    font-size: 0.9rem;
    opacity: 0.8;
    padding: 0.25rem 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-gray);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-gold);
}

/* ===== FOOTER LOGO AREA ===== */
.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo-area h3 {
    /*margin: 0;*/
    /*font-size: 1.8rem;*/
    /*letter-spacing: 2px;*/
    /*color: var(--text-light);*/
    
    color: #ffffff; /* White color for dark footer */
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: 1px;
}


/* ===== RESPONSIVE DESIGN ===== */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
    .language-bar .language-buttons {
        gap: 0.4rem;
    }
    
    .language-bar .lang-btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .position-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-content {
        gap: 2rem;
    }
}

/* Tablet: 768px and below */
@media (max-width: 768px) {
    /* Navigation for mobile */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        padding: 1.5rem 0;
        gap: 1.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Language bar responsive */
    .language-bar {
        top: 64px;
        padding: 0.6rem 0;
        border-top: 1px solid var(--primary-gold); /* Already has golden line on mobile */
    }
    
    .careers-hero {
        margin-top: 110px;
        padding: 3rem 0 2rem;
    }
    
    .careers-hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        padding: 0 1rem;
    }
    
    .careers-hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .language-bar-container {
        padding: 0 15px;
    }
    
    .language-bar .language-buttons {
        gap: 0.3rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.2rem 0;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-gold) transparent;
    }
    
    .language-bar .language-buttons::-webkit-scrollbar {
        height: 4px;
    }
    
    .language-bar .language-buttons::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .language-bar .language-buttons::-webkit-scrollbar-thumb {
        background-color: var(--primary-gold);
        border-radius: 2px;
    }
    
    .language-bar .lang-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        flex-shrink: 0;
    }
    
    .position-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .form-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .simple-careers-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-group-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* Languages grid on tablet */
    .languages-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .language-option {
        padding: 0.6rem;
    }
    
    .language-option label {
        font-size: 13px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-item {
        padding: 1.5rem 1rem;
    }
    
    /* Footer responsive for mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    /* Reset alignments on mobile */
    .footer-section:first-child,
    .footer-section:last-child {
        text-align: center;
        align-items: center;
    }
    
    .footer-section:last-child h4 {
        text-align: center;
        width: 100%;
    }
    
    .footer-section:last-child ul {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-logo-area {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-logo-area h3 {
        font-size: 1.6rem;
    }
    
    .notification-container {
        top: 120px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
    
    .notification {
        margin-bottom: 10px;
    }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo a {
        font-size: 1.3rem;
    }
    
    .language-bar {
        top: 65px;
        padding: 0.5rem 0;
    }
    
    .careers-hero {
        margin-top: 105px;
        padding: 2.5rem 0 1.5rem;
    }
    
    .careers-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .careers-hero-content p {
        font-size: 1rem;
    }
    
    .language-bar .language-buttons {
        gap: 0.25rem;
        padding-bottom: 0.3rem;
    }
    
    .language-bar .lang-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
        min-width: 65px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .simple-careers-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .position-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.75rem;
    }
    
    /* Languages grid on small mobile */
    .languages-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 0.5rem;
    }
    
    .language-option {
        padding: 0.6rem;
        justify-content: flex-start;
    }
    
    .language-option label {
        font-size: 14px;
        white-space: normal;
        line-height: 1.3;
    }
    
    .file-upload-area {
        padding: 1.5rem;
    }
    
    .file-main-text {
        font-size: 1rem;
    }
    
    .file-sub-text {
        font-size: 0.8rem;
    }
    
    /* Fix textarea error messages on mobile */
    .form-group textarea + .inline-error {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    /* Footer adjustments for small mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo-area {
        gap: 0.75rem;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-logo-area h3 {
        font-size: 1.4rem;
    }
    
    /* Fix for very small screens */
    @media (max-width: 360px) {
        .language-bar .lang-btn {
            padding: 0.3rem 0.4rem;
            font-size: 0.6rem;
            min-width: 55px;
        }
        
        .careers-hero {
            margin-top: 100px;
        }
        
        .careers-hero-content h1 {
            font-size: 1.6rem;
        }
        
        .position-card h3 {
            font-size: 1.2rem;
        }
        
        .checkbox-group-row {
            grid-template-columns: 1fr;
        }
        
        .language-option label {
            font-size: 13px;
        }
    }
}

/* Landscape orientation for mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .navbar {
        padding: 0.7rem 0;
    }
    
    .language-bar {
        top: 60px;
        padding: 0.4rem 0;
    }
    
    .careers-hero {
        margin-top: 100px;
        padding: 2rem 0;
    }
    
    .careers-hero-content h1 {
        font-size: 2rem;
    }
    
    .language-bar .language-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}

/* Remove browser validation styles */
input:invalid,
select:invalid,
textarea:invalid {
    box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    box-shadow: 0 0 0 30px white inset !important;
}