/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0066cc;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #0066cc;
    color: white;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-secondary:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: #1e293b;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Jobs Section */
.jobs {
    padding: 100px 0;
    background: #f8fafc;
}

.job-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.job-carousel {
    position: relative;
    overflow: hidden;
}

.job-carousel-container {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    padding: 10px 0;
}

.job-card {
    min-width: 320px;
    max-width: 320px;
    height: 680px;
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.job-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.job-card:hover .job-image img {
    transform: scale(1.05);
}

.job-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: calc(100% - 180px);
    padding: 1rem;
    justify-content: flex-start;
    gap: 0.1rem;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.1rem;
    line-height: 1.2;
    min-height: 2.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.1rem;
    flex-wrap: wrap;
}

.job-meta span {
    background: #e2e8f0;
    color: #64748b;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.job-description {
    color: #64748b;
    margin-bottom: 0.1rem;
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    font-size: 0.85rem;
    min-height: 7rem;
}

.job-requirements {
    color: #64748b;
    margin-bottom: 0.1rem;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.8rem;
    font-weight: 500;
    min-height: 4rem;
}

.job-salary {
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
}

.job-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 12px 16px;
    font-size: 0.9rem;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.job-apply-btn:hover {
    background: #0052a3;
    transform: translateY(-1px);
}

.job-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-meta span {
    background: #e2e8f0;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.job-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.job-apply-btn {
    width: 100%;
    justify-content: center;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #0066cc;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #0052a3;
    transform: scale(1.1);
}

/* Company Section */
.company {
    padding: 100px 0;
    background: white;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.company-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.company-locations {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #0066cc;
}

.location h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.location p {
    color: #64748b;
}

.company-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: #f8fafc;
}

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

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #1e293b;
    font-size: 1.8rem;
}

.close {
    color: #64748b;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #1e293b;
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.form-section h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-group input[type="file"] {
    padding: 8px;
}

/* Estilos específicos para input date */
.form-group input[type="date"] {
    position: relative;
    background: white;
    color: #1e293b;
    font-family: inherit;
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.form-group input[type="date"]::-webkit-inner-spin-button,
.form-group input[type="date"]::-webkit-clear-button {
    display: none;
}

.form-group input[type="date"]::-webkit-datetime-edit {
    color: #1e293b;
    padding: 0;
}

.form-group input[type="date"]::-webkit-datetime-edit-text {
    color: #64748b;
    padding: 0 0.3em;
}

.form-group input[type="date"]::-webkit-datetime-edit-month-field,
.form-group input[type="date"]::-webkit-datetime-edit-day-field,
.form-group input[type="date"]::-webkit-datetime-edit-year-field {
    color: #1e293b;
    font-weight: 500;
}

.form-group input[type="date"]:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-actions {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Application Form Section */
.application-form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.application-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.application-form {
    width: 100%;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group select:focus {
    outline: none;
    border-color: #0066cc;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #0066cc;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0066cc;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-section p i {
    margin-right: 0.5rem;
    color: #0066cc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .job-card {
        min-width: 300px;
        max-width: 300px;
        height: 550px;
        padding: 1rem;
    }

    .job-carousel-container {
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        min-width: 280px;
        max-width: 280px;
        height: 450px;
        padding: 0;
    }
    
    .job-image {
        height: 140px;
    }
    
    .job-content {
        height: calc(100% - 140px);
        padding: 1rem;
    }

    .job-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .job-meta {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .job-meta span {
        padding: 3px 8px;
        font-size: 0.75rem;
    }

    .job-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        -webkit-line-clamp: 2;
    }

    .job-apply-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .job-carousel-container {
        gap: 0.75rem;
        padding: 10px 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .jobs, .company, .benefits {
        padding: 60px 0;
    }

    .job-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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


/* Success Animation */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-message {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.success-overlay.show .success-message {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: successPulse 0.6s ease-out;
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

.success-title {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-text {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.success-btn:hover {
    background: #0052a3;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Custom file input styling */
.form-group input[type="file"] {
    position: relative;
    padding: 12px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: #0066cc;
    background: #f1f5f9;
}

.form-group input[type="file"]:focus {
    outline: none;
    border-color: #0066cc;
    background: #f1f5f9;
}

/* Custom file input text */
.form-group input[type="file"]::file-selector-button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: #0052a3;
}

/* Firefox support */
.form-group input[type="file"]::file-selector-button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    font-weight: 500;
}

/* File input labels with French text */
.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.file-input-label {
    display: block;
    padding: 12px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: #64748b;
}

.file-input-label:hover {
    border-color: #0066cc;
    background: #f1f5f9;
    color: #0066cc;
}

.file-input-label i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.file-selected {
    color: #10b981;
    font-weight: 500;
}



/* Media Queries - Responsividade */

/* Tablet */
@media (max-width: 768px) {
    .job-card {
        min-width: 280px;
        max-width: 280px;
        height: 500px;
        padding: 1rem;
    }
    
    .job-carousel-container {
        gap: 1rem;
        padding: 10px 5px;
    }
    
    .job-title {
        font-size: 1.1rem;
        min-height: 2.2rem;
    }
    
    .job-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 3;
        min-height: 4rem;
    }
    
    .job-requirements {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }
    
    .job-salary {
        font-size: 0.85rem;
    }
    
    .job-apply-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .job-card {
        min-width: 260px;
        max-width: 260px;
        height: 520px;
        padding: 0;
    }
    
    .job-image {
        height: 160px;
    }
    
    .job-content {
        padding: 0.75rem;
        gap: 0.5rem;
        height: calc(100% - 160px);
    }
    
    .job-carousel-container {
        gap: 1.25rem;
        padding: 10px 2px;
    }
    
    .job-title {
        font-size: 1rem;
        min-height: 2.5rem;
        -webkit-line-clamp: 2;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .job-meta {
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    /* Melhorar input date no mobile */
    .form-group input[type="date"] {
        min-height: 48px;
        font-size: 16px;
        padding: 14px 12px;
        background: white;
        border: 2px solid #0066cc;
        border-radius: 8px;
        color: #1e293b;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 2v3m8-3v3m-9 8h10l-5-5-5 5z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 20px;
    }
    
    .form-group input[type="date"]:focus {
        border-color: #0052a3;
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
        outline: none;
    }
    
    .form-group input[type="date"]::-webkit-calendar-picker-indicator {
        opacity: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        cursor: pointer;
    }
    
    .job-meta span {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
    
    .job-description {
        font-size: 0.75rem;
        -webkit-line-clamp: 4;
        min-height: 4rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .job-requirements {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
        margin-bottom: 0.5rem;
        min-height: 2.5rem;
    }
    
    .job-salary {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .job-apply-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        margin-top: auto;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Modal responsividade */
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 20px auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    .job-card {
        min-width: 240px;
        max-width: 240px;
        height: 450px;
        padding: 0.75rem;
    }
    
    .job-title {
        font-size: 0.95rem;
    }
    
    .job-description {
        font-size: 0.7rem;
    }
    
    .job-requirements {
        font-size: 0.65rem;
    }
    
    .job-salary {
        font-size: 0.75rem;
    }
    
    .job-apply-btn {
        font-size: 0.7rem;
        padding: 5px 8px;
    }
}



/* Custom file upload styling for French text */
input[type="file"] {
    position: relative;
    display: inline-block;
    cursor: pointer;
    height: 50px;
    width: 100%;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 14px;
    color: #64748b;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

input[type="file"]:hover {
    border-color: #0066cc;
    background: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

input[type="file"]:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Hide default file input and create custom styling */
.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 8px;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.file-input-label:hover {
    border-color: #0066cc;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.file-input-label:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.file-input-label i {
    margin-right: 10px;
    font-size: 16px;
}

/* File input text customization */
input[type="file"]::file-selector-button {
    display: none;
}

input[type="file"]::before {
    content: '📁 Cliquez pour sélectionner un fichier';
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

input[type="file"]:hover::before {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

input[type="file"]:active::before {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* Custom styling for when file is selected */
input[type="file"]:valid {
    color: #059669;
    border-color: #059669;
}

input[type="file"]:valid::before {
    content: '✅ Fichier sélectionné avec succès';
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

input[type="file"]:valid:hover::before {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

/* Additional styling for form groups with file inputs */
.form-group input[type="file"] {
    margin-top: 5px;
}

.form-group label + input[type="file"] {
    margin-top: 8px;
}

