/* Carrière Page Styles */
:root {
    --primary-color: #00AAE4;
    --primary-dark: #0088cc;
    --primary-light: #33bbee;
    --secondary-color: #ff6b6b;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-blue: linear-gradient(135deg, #00AAE4 0%, #0088cc 100%);
    --gradient-text: linear-gradient(135deg, #00AAE4 0%, #0088cc 100%);
}

/* Career Slider Section */
.career-slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.career-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.career-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.career-slide.active {
    opacity: 1;
    z-index: 2;
}
/* .hero-content */
.career-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 3;
}

/* Styles responsifs */
@media (max-width: 768px) {
    .career-slider-container {
        height: 50vh;
        min-height: 400px;
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.slide-overlay h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.slide-overlay p {
    font-size: 1.5rem;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section avec Slider hero-content */
.career-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.career-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.career-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    /* position: absolute; */
    /* top: 50%;
    left: 50%; */
    /* transform: translate(-50%, -50%); */
    z-index: 10;
    text-align: center;
    /* width: 90%; */
    /* max-width: 800px; */
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 2rem ;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

.career-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 170, 228, 0.3);
}

.btn-primary i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 170, 228, 0.4);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(0, 170, 228, 0.1);
    transform: translateY(-3px);
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.hero-shape svg {
    width: 100%;
    height: auto;
}

/* Swiper Navigation & Pagination */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--white);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.career-about {
    background-color: var(--light-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.why-join-us h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.benefit-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Programs Section */
.career-programs {
    background-color: var(--white);
}

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

.program-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card.featured {
    background: var(--gradient-blue);
    color: var(--white);
    transform: scale(1.05);
}

.program-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.program-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-card.featured .program-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.program-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.program-card.featured .program-icon i {
    color: var(--white);
}

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.program-card.featured h3 {
    color: var(--white);
}

.program-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.program-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.program-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

/* Process Section */
.career-process {
    background-color: var(--light-bg);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.process-step {
    position: relative;
    width: 22%;
    min-width: 200px;
    text-align: center;
    z-index: 2;
    margin-bottom: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 170, 228, 0.3);
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Application Form */
.career-application {
    background-color: var(--white);
}

.form-intro {
    margin-top: 1.5rem !important;
    font-weight: 500;
}

.application-form {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--light-bg);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow-color);
}

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

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

.form-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 170, 228, 0.2);
    outline: none;
}

.form-control-file {
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1rem;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input,
.checkbox-label input {
    margin-right: 0.5rem;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    padding: 1rem 2.5rem;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 170, 228, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 170, 228, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.modal-body ul li {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-body a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.modal-body a:hover {
    text-decoration: underline;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        width: 45%;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .career-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content {
        width: auto;
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .benefit-card, .program-card {
        padding: 1.5rem;
    }
    
    .process-step {
        width: 100%;
    }
    
    .application-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .career-hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-content {
        padding: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .radio-group, .checkbox-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
}
