/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5f7a;
    --secondary-color: #57cc99;
    --accent-color: #ff9a3c;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

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

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #144c63;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: #46b082;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

/* Header et Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
    margin-top: 70px;
}

.hero-logo img {
    max-width: 300px;
    margin-bottom: 30px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

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

/* Qui sommes-nous */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.key-figures {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.figure {
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.figure-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.figure-label {
    font-weight: 600;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.image-placeholder {
    background-color: var(--light-gray);
    border-radius: 8px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    font-size: 1.2rem;
    padding: 20px;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Équipe */
.team-section {
    margin: 60px 0;
}

.team-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.team-member {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.member-features {
    margin-top: 30px;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.feature-check i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.photo-placeholder {
    background-color: var(--light-gray);
    border-radius: 8px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    text-align: center;
    padding: 20px;
}

.photo-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Valeurs */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Services */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-detail-content {
    direction: ltr;
}

.service-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.service-features {
    margin: 30px 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-item i {
    color: var(--secondary-color);
    margin-top: 5px;
}

/* Services mini */
.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-mini-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.service-mini-card:hover {
    transform: translateY(-5px);
}

.service-mini-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.service-mini-card h4 i {
    font-size: 1.5rem;
}

/* Processus */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Certifications */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.certificate {
    text-align: center;
}

.certificate-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
}

.certificate p {
    margin-top: 15px;
    font-weight: 600;
    color: var(--gray-color);
}

/* Partenaires */
.partners-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0 60px;
}

.stat {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 600;
    color: var(--gray-color);
}

.partner-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.partner-card.featured {
    border-top: 5px solid var(--accent-color);
}

.partner-type {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 20px;
    font-style: italic;
}

.partner-features {
    margin-top: 30px;
}

.logo-placeholder {
    background-color: var(--light-gray);
    border-radius: 8px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    padding: 20px;
}

.logo-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.national-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.national-partner {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.national-partner:hover {
    transform: translateY(-5px);
}

.partner-logo-small {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-small img {
    max-height: 60px;
    width: auto;
}

.national-partner h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Formations */
.training-program {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
}

.training-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

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

.training-header h4 {
    color: var(--dark-color);
    font-weight: 600;
}

.training-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.training-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.training-detail {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.detail-content h5 {
    margin-bottom: 5px;
    color: var(--gray-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-content p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.training-topics {
    margin: 40px 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.topic {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 6px;
}

.topic i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.training-about {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

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

.benefit {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-details {
    margin: 30px 0;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-icon {
    font-size: 1.5rem;
    color: var(--white);
    margin-top: 5px;
}

.contact-detail h3 {
    margin-bottom: 10px;
    color: var(--white);
}

.contact-detail p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-detail p i {
    color: var(--secondary-color);
}

.availability-note {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 10px;
}

.social-contact {
    margin-top: 40px;
}

.social-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Form */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form > p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
    text-align: center;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta .section-title {
    color: var(--white);
}

.cta .section-title::after {
    background-color: var(--white);
}

.cta .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info h2 {
    color: var(--white);
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer - Pleine largeur et indépendant */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.footer-content {
    background-color: var(--dark-color);
    padding: 60px 0 30px;
    width: 100%;
}

.footer-content .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo h3 {
    color: var(--white);
    margin: 0;
}

.footer-description {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-links a {
    color: var(--secondary-color);
}

.quick-links a:hover {
    text-decoration: underline;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.legal-docs li a i {
    color: var(--secondary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #aaa;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 5px;
    min-width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

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

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #aaa;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Assurer que le footer ne soit pas affecté par d'autres styles */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* S'assurer que les sections avant le footer ne débordent pas */
.section {
    padding: 100px 0;
    box-sizing: border-box;
}
.member-photo {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
    padding: 20px;           /* Ajoute de l'espace autour de l'image */
    text-align: center;      /* Centre le texte sous l'image */
}

.photo-placeholder {
    display: inline-block;
    text-align: center;
    background-color: transparent; /* Supprime l'arrière-plan gris */
}

.photo-placeholder img {
    max-width: 400px;   /* Limite la largeur de l'image à 200px */
    height: auto;       /* Maintient les proportions de l'image */
    border-radius: 8px; /* Ajoute des coins arrondis à l'image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajoute une ombre douce */
    margin-bottom: 10px; /* Espacement entre l'image et le texte */
}

.photo-placeholder p {
    font-size: 10px;     /* Taille de la police */
    font-weight: bold;   /* Texte en gras */
    color: #333;         /* Couleur du texte */
}



.about-image {
    display: flex;
    justify-content: center; /* Centre l'image horizontalement */
    align-items: center;     /* Centre l'image verticalement */
    padding: 20px;           /* Ajoute de l'espace autour de l'image */
}

.image-placeholder {
    display: inline-block;
    text-align: center;
    background-color: transparent; /* Supprime le fond gris */
}

.image-placeholder img {
    max-width: 150%;     /* Limite la largeur de l'image à 100% de son conteneur */
    height: auto;        /* Maintient les proportions de l'image */
    border-radius: 8px;  /* Ajoute des coins arrondis à l'image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajoute une ombre douce autour de l'image */
    margin-bottom: 20px; /* Espacement entre l'image et d'autres éléments */
}




.service-detail-image {
    display: flex;
    justify-content: center; /* Centre l'image horizontalement */
    align-items: center;     /* Centre l'image verticalement */
    padding: 20px;           /* Ajoute de l'espace autour de l'image */
}

.image-placeholder {
    display: inline-block;
    text-align: center;
    background-color: transparent; /* Supprime le fond gris */
}

.image-placeholder img {
    max-width: 100%;     /* Limite la largeur de l'image à 100% de son conteneur */
    height: auto;        /* Maintient les proportions de l'image */
    border-radius: 8px;  /* Ajoute des coins arrondis à l'image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajoute une ombre douce autour de l'image */
    margin-bottom: 20px; /* Espacement entre l'image et d'autres éléments */
}




/* Style pour la section du service avec l'ID dedouanement */
.service-detail.reverse {
    display: flex;
    flex-direction: row-reverse;  /* Permet de mettre l'image à droite si nécessaire */
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
    padding: 20px;           /* Ajoute de l'espace autour de l'image */
}

/* Style pour la zone contenant l'image */
.service-detail-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent; /* Supprime l'arrière-plan gris */
}

/* Style pour l'image */
.image-placeholder img {
    max-width: 150%;    /* Limite la largeur de l'image à 100% de son conteneur */
    height: auto;       /* Maintient les proportions de l'image */
    border-radius: 8px; /* Ajoute des coins arrondis à l'image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajoute une ombre douce autour de l'image */
    margin-bottom: 20px; /* Espacement entre l'image et d'autres éléments */
}


/* Style pour la zone contenant l'image */
.service-detail-image {
    display: flex;
    justify-content: center; /* Centre horizontalement l'image */
    align-items: center;     /* Centre verticalement l'image */
    padding: 20px;           /* Ajoute un peu d'espace autour de l'image */
    background-color: transparent; /* Assure qu'il n'y a pas d'arrière-plan gris ou de couleur */
}

/* Style pour le conteneur de l'image */
.image-placeholder {
    display: inline-block;
    text-align: center; /* Centre l'image et le texte dans le conteneur */
}

/* Style pour l'image */
.image-placeholder img {
    max-width: 100%;    /* L'image s'adapte à la largeur du conteneur */
    height: auto;       /* Maintient les proportions de l'image */
    border-radius: 8px; /* Ajoute des coins arrondis à l'image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajoute une ombre douce autour de l'image */
    margin-bottom: 50px; /* Espacement entre l'image et les éléments en dessous */
}

/* Style pour le conteneur du logo partenaire */
.partner-logo {
    display: flex;
    justify-content: center; /* Centre le logo horizontalement */
    align-items: center;     /* Centre le logo verticalement */
    padding: 20px;           /* Ajoute de l'espace autour du logo */
    background-color: transparent; /* Assure qu'il n'y a pas d'arrière-plan */
    border: none;            /* Supprime toute bordure */
}

/* Style pour l'espace du logo */
.logo-placeholder {
    display: inline-block;
    text-align: center;  /* Centre l'image dans son conteneur */
    background-color: transparent; /* Assure qu'il n'y a pas d'arrière-plan */
}

/* Style pour le logo */
.logo-placeholder img {
    max-width: 100%;    /* L'image s'adapte à la largeur du conteneur */
    height: auto;       /* Maintient les proportions du logo */
    border-radius: 5px; /* Ajoute des coins arrondis légers au logo */
    box-shadow: none;   /* Supprime l'ombre si elle existe */
    margin-bottom: 20px; /* Espacement entre le logo et d'autres éléments */
}



.partner-logo-small img {
    width: 50px;    /* Ajustez la largeur du logo à votre besoin */
    height: auto;   /* Maintient les proportions de l'image */
    margin-bottom: 10px; /* Espacement sous le logo */
}




/* Style général du corps */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}




/* Style général du corps */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* Conteneur de la galerie */
.gallery-container {
    padding: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1000px;
}

/* Titre de la galerie */
.gallery-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* Style des éléments de la galerie */
.gallery-item {
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Style des miniatures */
.thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
}

/* Effet au survol des éléments de la galerie */
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bouton "Voir plus" */
.load-more-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    margin: 0 auto;
}

.load-more-btn:hover {
    background-color: #0056b3;
}

/* Modal (fenêtre pop-up pour l'image agrandie) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#modal-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Navigation de la modal (Précédent et Suivant) */
.modal-nav {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.modal-nav-btn {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.modal-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Bouton de fermeture */
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1100;
}




/* GALERIES FORMATIONS */
.gallery-formations-container {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-formations-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

.gallery-formations-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.formation-gallery-section {
    margin-bottom: 100px;
    padding: 40px 0;
}

.formation-gallery-section:last-child {
    margin-bottom: 40px;
}

.formation-gallery-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.formation-gallery-description {
    text-align: center;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.formation-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 0 auto;
    max-width: 1200px;
}

.formation-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background-color: var(--white);
    position: relative;
    border: 1px solid var(--light-gray);
}

.formation-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.formation-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.formation-gallery-item:hover .formation-thumbnail {
    transform: scale(1.05);
}

.formation-gallery-info {
    padding: 20px;
    text-align: center;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
}

.formation-gallery-info h4 {
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.formation-gallery-info p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

/* Modal spécifique aux formations */
.formation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.formation-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

#formation-modal-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.formation-modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.formation-modal-nav-btn {
    background-color: rgba(26, 95, 122, 0.8);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.formation-modal-nav-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.formation-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 45px;
    color: var(--white);
    cursor: pointer;
    z-index: 2001;
    background: none;
    border: none;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.formation-modal-close:hover {
    color: var(--secondary-color);
    background-color: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.formation-modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

/* Animation pour les éléments de galerie */
.formation-gallery-item {
    animation: slideUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Délais d'animation pour chaque élément */
.formation-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.formation-gallery-item:nth-child(2) { animation-delay: 0.2s; }
.formation-gallery-item:nth-child(3) { animation-delay: 0.3s; }
.formation-gallery-item:nth-child(4) { animation-delay: 0.4s; }
.formation-gallery-item:nth-child(5) { animation-delay: 0.5s; }
.formation-gallery-item:nth-child(6) { animation-delay: 0.6s; }
.formation-gallery-item:nth-child(7) { animation-delay: 0.7s; }
.formation-gallery-item:nth-child(8) { animation-delay: 0.8s; }



/* Styles pour l'upload de fichiers */
.file-upload-container {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    position: relative;
    margin-top: 10px;
}

.file-upload-container:hover {
    border-color: var(--primary-color);
    background-color: #f0f8ff;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    z-index: 1;
}

.file-upload-info i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.file-upload-info span {
    font-weight: 600;
    color: var(--dark-color);
}

.file-upload-info small {
    color: var(--gray-color);
    font-size: 0.85rem;
}

.file-preview {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 150px;
    overflow-y: auto;
}

.file-preview-item {
    background-color: var(--light-gray);
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease;
}

.file-preview-item i {
    color: var(--primary-color);
}

.file-preview-item .file-name {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-preview-item .file-remove {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    font-size: 1rem;
}

.file-preview-item .file-remove:hover {
    color: #ff0000;
}

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

/* Animation pour la validation du formulaire */
.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    animation: slideIn 0.5s ease;
}

.form-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    animation: slideIn 0.5s ease;
}

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


/* Responsive pour l'équipe de direction */
@media (max-width: 768px) {
    .team-member {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }
    
    .team-member.reverse {
        direction: ltr;
    }
    
    .member-info {
        order: 2;
    }
    
    .member-photo {
        order: 1;
    }
    
    .member-photo {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .photo-placeholder {
        max-width: 300px;
        width: 100%;
    }
    
    .photo-placeholder img {
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    
    .photo-placeholder p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .member-features {
        margin-top: 20px;
    }
    
    .feature-check {
        margin-bottom: 12px;
        font-size: 14px;
    }
    
    .feature-check span {
        display: inline-block;
        line-height: 1.4;
    }
    
    .team-section {
        margin: 40px 0;
    }
    
    .team-title {
        margin-bottom: 30px;
        font-size: 1.8rem;
    }
    
    .team-member {
        margin-top: 30px !important;
    }
    
    .team-member:first-child {
        margin-top: 0 !important;
    }
}


/* Améliorations pour l'affichage mobile des photos d'équipe */
.photo-placeholder {
    position: relative;
    overflow: hidden;
}

.photo-placeholder img {
    transition: transform 0.3s ease;
}

.photo-placeholder:hover img {
    transform: scale(1.03);
}

/* Style pour le texte sous les photos sur mobile */
@media (max-width: 768px) {
    .photo-placeholder p {
        font-size: 14px;
        font-weight: 600;
        color: var(--dark-color);
        margin-top: 10px;
        text-align: center;
        line-height: 1.4;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .member-info p {
        text-align: justify;
        hyphens: auto;
    }
}


/* Alignement à gauche pour les listes de compétences */
.left-aligned .feature-check {
    justify-content: flex-start;
    text-align: left;
}

/* Style pour les checkmarks alignés à gauche */
.feature-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    justify-content: flex-start;
    text-align: left;
}

.feature-check i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-check span {
    flex-grow: 1;
    line-height: 1.4;
}



