/*
 * ===================================================================
 *  STYLES SPÉCIFIQUES POUR LA PAGE PROCESSUS D'ADMISSION
 * ===================================================================
*/
:root {
    --accent-color-red: #c0392b;
    --primary-color: #0a2342;
}

h1 {
    font-size: 4rem !important;
}
h2 {
    font-size: 3rem !important;
}

/* ======================= HERO ======================= */
.hero-admission {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.hero-admission h1 {
    color: var(--primary-color);
    font-size: 4rem;
}
.hero-admission .hero-subtitle {
    font-size: 1rem;
    max-width: 80rem;
    margin: 1.5rem auto 0;
    color: #555;
}

/* ======================= INFOGRAPHIC TIMELINE ======================= */
.timeline-container {
    position: relative;
    max-width: 90rem;
    margin: 5rem auto 0;
}
/* La ligne centrale */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 0.3rem;
    background-color: var(--bg-light-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    display: none; /* Cachée par défaut (mobile-first) */
}
.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
}
.timeline-step-bubble {
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white-color);
    background-color: var(--accent-color-red);
    border-radius: 50%;
    text-align: center;
    position: absolute;
    left: -1rem;
    top: 0;
    z-index: 1;
    border: 3px solid var(--white-color);
}
.timeline-content {
    padding: 2rem 3rem;
    background: var(--bg-light-color);
    border-radius: 1rem;
    position: relative;
    margin-left: 3rem;
}
.timeline-content i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}
.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.final_cta_subtitle {
    margin-bottom: 24px;
}

.hero-home {
    background-image: url('/images/home-hero.png') !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* min-height: 50vh;
    padding-top: 4rem; */
}

/* ======================= CONTACT ======================= */
.hero-contact {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.hero-contact h1 {
    color: var(--primary-color);
    font-size: 4rem;
}
.hero-contact .hero-subtitle {
    font-size: 1rem;
    max-width: 80rem;
    margin: 1.5rem auto 0;
    color: #555;
}

.personal-information {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    margin-block: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.radio-div {
    display: flex;
    gap: 1rem;
}

.radio-group {
    display: flex;
    gap: .2rem;
}

.contact-information {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    margin-block: 2rem;
}

.contact-information .form-group:nth-child(3) {
    grid-column-start: 1;
    grid-column-end: 3;
}

textarea {
    resize: none;
    padding-block: 2rem;
}

.academic-information {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    margin-block: 2rem;
}

.training-information {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    margin-block: 2rem;
}

.declaration-information {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    margin-block: 2rem;
}

.declaration-group {
    accent-color: var(--primary-color);
    margin-top: -1rem;
    grid-column-start: 1;
    grid-column-end: 3;
}

/* Responsive pour la timeline sur desktop */
@media (min-width: 992px) {
    .timeline-container::after { display: block; }
    .timeline-item { width: 50%; margin-bottom: 0; }
    .timeline-step-bubble { left: 50%; transform: translateX(-50%); }
    /* Items à gauche */
    .timeline-item:nth-child(odd) { left: 0; padding-left: 0; padding-right: 2rem; }
    .timeline-item:nth-child(odd) .timeline-content { margin-left: 0; }
    /* Items à droite */
    .timeline-item:nth-child(even) { left: 50%; padding-right: 0; padding-left: 2rem; }
    .timeline-item:nth-child(even) .timeline-content { margin-left: 0; }
    .timeline-item:nth-child(2) { margin-top: -2rem; }
    .timeline-item:nth-child(3) { margin-top: -2rem; }
    .timeline-item:nth-child(4) { margin-top: -2rem; }
    .timeline-item:nth-child(5) { margin-top: -2rem; }
    .timeline-item:nth-child(6) { margin-top: -2rem; }
    .timeline-item:nth-child(7) { margin-top: -2rem; }
    .timeline-item:nth-child(8) { margin-top: -2rem; }
}

/* ======================= REQUIRED DOCUMENTS ======================= */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.doc-item {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-weight: 600;
}
.doc-item i {
    color: var(--accent-color);
    font-size: 2rem;
}
.doc-note { margin-top: 4rem; }
.doc-note p { margin-bottom: 2rem; }
.doc-note .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.doc-note .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* ======================= APPLICATION FEES ======================= */
.fees-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
.fees-explanation h2 {
    color: var(--primary-color);
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
}
.fees-explanation h4 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.fees-explanation ul {
    list-style: none;
    padding-left: 0;
}
.fees-explanation li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.fees-explanation li i { color: var(--accent-color); margin-top: 0.5rem; }
.fees-amount {
    margin-top: 2.5rem;
    font-weight: 600;
    background-color: var(--bg-light-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--accent-color-red);
}
.fees-visual {
    display: none; /* Caché sur mobile pour la clarté */
}

@media (min-width: 992px) {
    .fees-grid { grid-template-columns: 2fr 1fr; }
    .fees-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15rem;
        color: var(--bg-light-color);
    }
}

/*
 * ===================================================================
 *  STYLES SPÉCIFIQUES POUR LA PAGE CONTACT
 * ===================================================================
*/
:root {
    --accent-color-red: #c0392b;
}

/* ======================= HERO ======================= */
.hero-contact {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.hero-contact h1 {
    color: var(--primary-color);
    font-size: 4rem;
}
.hero-contact .hero-subtitle {
    font-size: 1rem;
    max-width: 80rem;
    margin: 1.5rem auto 0;
    color: #555;
}

/* ======================= MAIN CONTACT AREA ======================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
}
.contact-info h2, .contact-form-container h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.contact-info p {
    margin-bottom: 2rem;
}
.info-block {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.info-block i {
    font-size: 1.5rem;
    color: var(--accent-color-red); /* Utilisation du rouge */
    margin-top: 0.5rem;
}
.info-block h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.info-block p, .info-block a {
    color: var(--dark-text-color);
    text-decoration: none;
    margin-bottom: 0;
    transition: color 0.3s ease;
}
.info-block a:hover {
    color: var(--accent-color);
}
.social-links-contact {
    margin-top: 4rem;
}
.social-links-contact h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.social-links-contact a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--bg-light-color);
    color: var(--primary-color);
    margin-right: 1rem;
    transition: background-color 0.3s, color 0.3s;
}
.social-links-contact a:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
}

/* Formulaire */
.contact-form-container {
    background-color: var(--bg-light-color);
    padding: clamp(3rem, 5vw, 5rem);
    border-radius: 1rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.3rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-family);
    font-size: 1.2rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input[type="file"] {
    width: 100%;
    padding: 0.3rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-family);
    font-size: 1.2rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: var(--white-color);
    color: var(--dark-text-color);
    cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
    display: none;
    /* background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    margin-right: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease; */
}

.form-group input[type="file"]::file-selector-button:hover {
    background-color: var(--accent-color);
}
.form-group select {
    width: 100%;
    padding: 0.3rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-family);
    font-size: 1.2rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: var(--white-color); /* Ensure background is white */
    -webkit-appearance: none; /* Remove default browser styling for selects */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300AEEF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.2-5.4H18.6c-5%200-9.3%201.8-13.2%205.4A17.6%2017.6%200%200%200%200%2082.6c0%204.8%201.8%209.3%205.4%2013.2l128%20128c3.9%203.9%208.4%205.4%2013.2%205.4s9.3-1.8%2013.2-5.4l128-128c3.9-3.9%205.4-8.4%205.4-13.2%200-4.8-1.8-9.3-5.4-13.2z%22%2F%3E%3C%2Fsvg%3E'); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
    background-size: 0.65rem auto;
    padding-right: 2.5rem; /* Make space for the arrow */
}
.form-group input::placeholder, .form-group textarea::placeholder {
    font-family: var(--font-family);
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: 1px solid var(--accent-color);
}
.btn-submit {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.8rem;
    background-color: var(--accent-color-red);
    border-color: var(--accent-color-red);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 8rem;
    }
}

/* ======================= MAP SECTION ======================= */
.map-section {
    padding: 0;
}
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 40%; /* Ratio 2.5:1, ajustable */
    height: 0;
    overflow: hidden;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ======================= VARIABLES & GLOBAL ======================= */
:root {
    --primary-color: #0A2342; /* Bleu marine profond */
    --accent-color: #00AEEF; /* Bleu ciel OMNI */
    --dark-text-color: #333333;
    --light-text-color: #f4f4f4;
    --bg-light-color: #f8f9fa;
    --white-color: #ffffff;
    --border-color: #dddddd;
    --font-family: 'Poppins', sans-serif;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-text-color);
    line-height: 1.7;
    background-color: var(--white-color);
}

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

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light-color);
}

.text-center {
    text-align: center;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* ======================= BUTTONS ======================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #0095c7;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ======================= HEADER & NAVBAR ======================= */
.header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.nav-logo img {
    width: 300px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown .nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown.active .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

ul {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--dark-text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu > li:not(:last-child) {
    border-bottom: 1px solid rgba(94, 94, 94, 0.3);
}

.dropdown-link:hover {
    background-color: var(--bg-light-color);
    color: var(--accent-color);
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #888;
    transition: color 0.3s ease;
}
.lang-btn.active {
    color: var(--accent-color);
}
.lang-switcher span { color: #ccc; }

.hamburger {
    display: none;
    cursor: pointer;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

/* ======================= 1.1 HERO ======================= */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: url('https://images.unsplash.com/photo-1609607833036-748e77d07998?q=80&w=1935&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 35, 66, 0.5); /* Overlay primary color */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ======================= 1.2 PARTNERSHIP ======================= */
.partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.partner-card {
    text-align: center;
    padding: 30px;
}

.partner-logo {
    max-height: 60px;
    margin-bottom: 20px;
}

.partner-logo-text {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.partner-logo-text strong {
    color: var(--accent-color);
}

.partner-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* ======================= 1.3 COURSES ======================= */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-card-content {
    padding: 25px;
}

.course-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}
.card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.card-link:hover i {
    transform: translateX(5px);
}

/* ======================= 1.4 IMPACT ======================= */
.impact {
    background: linear-gradient(to right, var(--primary-color), #0f3057);
    color: var(--white-color);
}

.impact .section-header h2, .impact .section-header p {
    color: var(--white-color);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.impact-stat i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.impact-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.impact-cta {
    text-align: center;
}
.impact-cta .btn-primary {
    background-color: var(--white-color);
    color: var(--primary-color);
}
.impact-cta .btn-primary:hover {
    background-color: #eee;
}

/* ======================= 1.6 HOW IT WORKS ======================= */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    border: 4px solid var(--bg-light-color);
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ======================= 1.7 FINAL CTA ======================= */
.final-cta {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.final-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.final-cta-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
}

/* ======================= FOOTER ======================= */
.footer {
    background-color: #000;
    color: #a9b3c1;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-logo { font-size: 1.8rem; }
.footer-logo strong { color: var(--accent-color); }

.footer-col p {
    margin-bottom: 10px;
}

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

.footer-col ul li a {
    text-decoration: none;
    color: #a9b3c1;
    margin-bottom: 10px;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--white-color);
    transform: translateX(5px);
}

.social-links a {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-links a:hover { color: var(--accent-color); }

.footer-bottom {
    border-top: 1px solid #2c3e50;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.footer-bottom ul li a {
    text-decoration: none;
    color: #a9b3c1;
    transition: color 0.3s ease;
}
.footer-bottom ul li a:hover {
    color: var(--white-color);
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 992px) {
    .nav-menu { gap: 20px; }
    .hero-title { font-size: 2.8rem; }
    .partnership-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-timeline { grid-template-columns: 1fr 1fr; }
    .process-timeline::before { display: none; }
    .nav-menu, .nav-actions .btn { display: none; }
    .hamburger { display: block; }
    .nav-actions .lang-switcher {
      position: absolute;
      top: 25px;
      right: 70px;
    }
/* } */

/* @media (max-width: 768px) { */
    .section-padding { padding: 60px 0; }

    /* Styles pour la navigation mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    .nav-menu.active {
        left: 0;
        display: flex;
    }
    .nav-item {
        margin: 15px 0;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta { flex-direction: column; gap: 15px; align-items: center; }
    .hero-cta .btn { width: 80%; max-width: 300px; }
    .process-timeline { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ======================= About US - HERO ABOUT ======================= */ 
.hero-about {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: url('https://images.unsplash.com/photo-1484653347102-a685b85a3533?q=80&w=2070') no-repeat center center/cover;
    padding: 4rem 0;
	min-height: 50vh; /* Légèrement réduit pour donner plus de place à la nouvelle section */
}

.hero-about .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
}

.hero-about .hero-subtitle {
    font-size: 1rem;
    max-width: 80rem;
    margin: 0 auto;
}

/* ======================= MISSION STATEMENT ======================= */
.mission-statement {
    padding: 6rem 0;
    background-color: var(--bg-light-color); /* Un fond subtil pour la section entière */
}

.mission-statement-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first: une seule colonne */
    align-items: center;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    border-radius: 1rem;
    overflow: hidden; /* Important pour que les coins de l'image soient arrondis */
}

.mission-text-block {
    background-color: #c0392b; /* Un rouge professionnel et profond */
    color: var(--white-color);
    padding: clamp(3rem, 5vw, 6rem); /* Padding fluide */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    order: 1; /* Le texte apparaît en premier sur mobile */
}

.mission-text-block h2 {
    font-size: clamp(2.4rem, 3.5vw, 3.2rem);
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--white-color); /* Assurer que la couleur est bien blanche */
}

.mission-text-block p {
    font-size: clamp(1.7rem, 2.5vw, 2rem);
    line-height: 1.8;
    font-weight: 300;
}

.mission-image-block {
    min-height: 350px;
    height: 100%;
    order: 2; /* L'image apparaît en second sur mobile */
}

.mission-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Évite les espaces blancs sous l'image */
}

/* Comportement sur les écrans plus larges */
@media (min-width: 992px) {
    .mission-statement-grid {
        grid-template-columns: 1fr 1fr; /* Deux colonnes égales */
    }
    
    /* Inverser l'ordre visuel sur desktop si besoin (ici, texte à gauche, image à droite) */
    .mission-text-block {
        order: 1;
    }
    .mission-image-block {
        order: 2;
    }
}
/* ======================= MISSION GAP ======================= */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.mission-card {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-light-color);
    border-radius: 1rem;
    border-left: 5px solid var(--accent-color);
}

.mission-card i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.mission-card h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ======================= PARTNERSHIP EXPLAINED ======================= */
.partnership-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}

.reason-item i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.reason-item h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ======================= SUPPORT TIMELINE ======================= */
.timeline {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
}

/* La ligne centrale de la timeline (pour mobile) */
.timeline::after {
    content: '';
    position: absolute;
    width: 0.4rem;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 3rem;
}

.timeline-item {
    padding: 1rem 4rem;
    padding-left: 8rem;
    position: relative;
    /* margin-bottom: 5rem; */
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--accent-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    z-index: 1;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive pour la timeline sur les grands écrans */
@media (min-width: 992px) {
    .timeline::after {
        left: 50%;
        margin-left: -0.2rem;
    }
    .timeline-item {
        width: 50%;
        padding: 1rem 4rem;
    }
    /* Items à gauche */
    .timeline-item:nth-child(odd) {
        left: 0;
        /* padding-right: 8rem; */
        text-align: right;
    }
    /* Items à droite */
    .timeline-item:nth-child(even) {
        left: 50%;
    }
    /* Icônes */
    .timeline .timeline-icon:nth-child(odd) {
        left: 0;
        margin-left: -3rem;
    }
    .timeline > div:nth-child(2) > div.timeline-icon {
        left: 100%;
        margin-left: -3rem;
    }
}

/* ======================= TEAM SECTION ======================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    justify-content: center;
}

.team-card {
    background-color: var(--white-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.12);
}

.team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top center;
}

.team-info {
    padding: 2.5rem;
}

.team-info h4 {
    font-size: 2rem;
    color: var(--primary-color);
}

.team-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.team-info .social-links a {
    color: var(--primary-color);
    margin: 0 1rem;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}
.team-info .social-links a:hover {
    color: var(--accent-color);
}

/*
 * ===================================================================
 *  STYLES SPÉCIFIQUES POUR LA PAGE TECHNICIEN (technician-style.css)
 * ===================================================================
*/

:root {
    --accent-color-red: #c0392b; /* Rouge professionnel */
    --bg-dark-color: var(--primary-color);
}

/* ======================= HERO ======================= */
.hero-technician {
    background-image: url('/images/hero_technicien.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50vh;
    padding-top: 4rem;
}

.hero-technician * {
    color: white;
}

/* ======================= KEY INFO & DESCRIPTION (styles partagés) ======================= */
.key-info-bar {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3rem 0;
}
.key-info-grid {
    display: grid;
    /* OPTIMIZATION: Grille fluide. 1, 2, 3 ou 4 colonnes selon l'espace. */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

/* ======================= PROGRAM & SPECIALIZATIONS ======================= */
.program-layout {
    display: grid;
    gap: 4rem;
}
.core-curriculum {
    background-color: var(--bg-light-color);
    padding: 3rem;
    border-radius: 1rem;
    border-left: 5px solid var(--accent-color);
}
.core-curriculum h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.specializations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.spec-card {
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.spec-card:hover {
    transform: translateY(-1rem);
    box-shadow: var(--box-shadow);
}
.spec-card i {
    font-size: 4rem;
    color: var(--accent-color-red); /* Le rouge pour les spécialisations */
    margin-bottom: 2rem;
}
.spec-card h4 {
    color: var(--accent-color-red); /* Le rouge pour le titre */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .specializations-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 992px) {
    .program-layout {
        grid-template-columns: 1fr 1.5fr;
        align-items: center;
    }
}

/* ======================= CAREER OUTLOOK ======================= */
.outlook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}
.outlook-item i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}
.outlook-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

/* ======================= CSS PARTAGÉ AVEC PILOT-STYLE.CSS ======================= */
/* Pour éviter la duplication, il serait idéal de créer un fichier "course-page-common.css".*/
.key-info-bar{background-color:var(--primary-color);color:var(--white-color);padding:3rem 0}.key-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:3rem}.info-item{display:flex;align-items:center;gap:1.5rem}.info-item i{font-size:3rem;color:var(--accent-color)}.info-item div{display:flex;flex-direction:column}.info-label{font-size:1.4rem;opacity:.7}.info-value{font-size:1.0rem;font-weight:600}.description-grid{display:grid;grid-template-columns:1fr;gap:4rem;align-items:center}.description-text h2{font-size:clamp(2.8rem,4vw,4rem);color:var(--primary-color);margin-bottom:2rem}.description-text p{margin-bottom:1.5rem}.description-image img{width:100%;border-radius:1rem;box-shadow:var(--box-shadow)}@media (min-width:992px){.description-grid{grid-template-columns:1.2fr 1fr}}.prerequisites-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.prereq-card{background:var(--white-color);padding:3rem;text-align:center;border-radius:1rem;border:1px solid var(--border-color);transition:transform .3s,box-shadow .3s}.prereq-card:hover{transform:translateY(-1rem);box-shadow:var(--box-shadow)}.prereq-card i{font-size:4rem;color:var(--accent-color-red);margin-bottom:2rem}.prereq-card h3{color:var(--primary-color);margin-bottom:1rem;font-size:1.5rem}.cost-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:3rem;margin-bottom:3rem}.cost-card{background-color:var(--white-color);padding:3rem;border-radius:1rem;border:1px solid var(--border-color);display:flex;flex-direction:column}.cost-logo{max-height:4rem;margin-bottom:2rem}.cost-logo-text{font-size:2.2rem;margin-bottom:2rem;color:var(--primary-color)}.cost-logo-text strong{color:var(--accent-color)}.cost-card h3{color:var(--primary-color);font-size:2rem}.cost-price{font-size:3rem;font-weight:700;color:var(--primary-color);margin:1rem 0 2rem}.cost-includes{list-style:none;margin-top:auto}.cost-includes li{margin-bottom:1rem;display:flex;align-items:center;gap:1rem}.cost-includes li i{color:var(--accent-color)}.financing-note{display:flex;gap:2rem;align-items:flex-start;background-color:#eaf5ff;padding:2rem;border-radius:.5rem;border-left:.5rem solid var(--accent-color);margin-top:4rem}.financing-note i{font-size:2rem;color:var(--accent-color);margin-top:.3rem}

/* ======================= FINANCING SECTION ======================= */
.financing-section {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
}

.financing-section h3 {
    color: var(--primary-color);
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.financing-section p {
    max-width: 70rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.financing-section a {
    background-color: var(--accent-color);
    padding-block: 16px;
}