/* Swiper Styles */


/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root{
    --primary-color: #2980b9;
    --primary-color-hover: #007aff;
    --secondary-color: #2c3e50;
    --secondary-color-hover: #3498db;
}
body {
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: #2c3e50;
    color: white;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 40px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span {
    font-size: 14px;
}

.contact-info i {
    margin-right: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    /* margin-left: 12px; */
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #87CEEB; /* Bleu ciel pour l'effet hover */
}

.top-bar .contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar .contact-info a:hover {
    color: #87CEEB;
}

.top-bar .contact-info a i {
    margin-right: 5px;
}

/* Header */
/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Bouton Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 60px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #0066cc;
    z-index: 1000;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.hamburger i{
    font-size: 2rem;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #87CEEB; /* Bleu ciel */
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger:hover span {
    background-color: #5F9EA0; /* Bleu ciel plus foncé au survol */
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: white;
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.1s ease;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section with Swiper */

.carousel-section {
    /* margin: 40px 0; */
    position: relative;
}

/* Styles communs pour tous les carrousels */
.swiper-container {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.3); /* Couche bleu foncé */
    background-blend-mode: overlay;
    z-index: 1;
    transition: all 0.5s ease;
}

.swiper-slide-active .slide-bg {
    background-color: rgba(0, 0, 0, 0.5); /* Plus foncé pour le slide actif */
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(243, 243, 243, 0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    text-align: center;
    color: #fff;
}

.slide-subtitle {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #fff;
    line-height: 1.2;
}

.slide-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
}

/* Styles des boutons du carrousel */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.cta-button:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Styles spécifiques pour les boutons secondaires */
.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary::before {
    background: white;
}

.cta-button.secondary:hover {
    color: var(--primary-color);
    border-color: white;
}

/* Styles pour les boutons tertiaires */
.cta-button.tertiary {
    background-color: #0066cc;
    border-color: #0066cc;
}

.cta-button.tertiary:hover {
    color: #0066cc;
    box-shadow: 0 5px 15px 0066cc;
}

.client-info, .meta-info {
    margin-bottom: 25px;
    font-size: 16px;
}

.client-info strong {
    color: #0066cc;
}

.meta-info span {
    display: block;
    margin-bottom: 5px;
}

.meta-info .date {
    font-weight: 600;
}

.meta-info .location {
    font-style: italic;
}

/* Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 5;
}

.swiper-pagination-bullet-active {
    background: #0066cc;
}

/* Navigation */
.swiper-button-next, .swiper-button-prev {
    color: #0066cc;
    background: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
}

/* Styles spécifiques pour le carrousel 2 (témoignages) */
.carousel-2 .slide-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
    max-width: 700px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-2 .slide-title {
    font-size: 32px;
    color: #0066cc;
    font-style: italic;
    font-weight: 500;
}

/* Styles spécifiques pour le carrousel 3 (actualités) */
.carousel-3 .slide-content {
    text-align: left;
    max-width: 500px;
    margin-right: auto;
    margin-left: 100px;
    background: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 8px;
}

.carousel-3 .slide-title {
    font-size: 36px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .swiper-container {
        height: 500px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-description {
        font-size: 18px;
    }
    
    .carousel-3 .slide-content {
        margin-left: 50px;
    }
}

@media (max-width: 768px) {
    .swiper-container {
        height: 450px;
    }
    
    .slide-content {
        padding: 30px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .carousel-3 .slide-content {
        margin-left: 30px;
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    .swiper-container {
        height: 400px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-subtitle {
        font-size: 14px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 10px 20px;
    }
    
    .carousel-3 .slide-content {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}


/* À propos Section */
.about-section {
    padding: 80px 0;
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-content p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* Formations Section */
.trainings-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.trainings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.training-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.training-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.training-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.training-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.training-card .btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #f8f9fa;
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.training-card .btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* View All Buttons */
.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-size: 16px;
}

.view-all-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.view-all-service-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-size: 16px;
}

.view-all-service-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-service-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}
/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.services-section .section-title-services {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.services-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    padding: 0 10px;
    margin: 0;
}

.service-card {
    width: 100%;
    height: 100%;
    margin: 0;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-content span {
    display: block;
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: 500;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-style: italic;
}

.service-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    flex: 1;
}

.service-content .btn {
    align-self: flex-start;
    margin-top: auto;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-content .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Tablette */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .service-content {
        padding: 20px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 0 20px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .service-content {
        padding: 25px;
    }
}

/* Témoignages Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial-card {
    min-width: 100%;
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    transition: transform 0.5s ease;
}

.testimonial-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f1f1f1;
}

.testimonial-content {
    flex: 2;
    padding-left: 30px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.stars {
    color: #f1c40f;
    margin-bottom: 10px;
}

.testimonial-content h4 {
    color: #2c3e50;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-controls button {
    background-color: #3498db;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-controls button:hover {
    background-color: #2980b9;
}

/* Pourquoi nous choisir Section */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a4b8c 0%, #0d2b4e 100%);
    color: white;
}

.why-choose-us .container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.2;
}

.why-choose-us .container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4da8ff;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .why-choose-us .container h2 {
        font-size: 1.8rem;
        padding: 0 20px 15px;
        margin-bottom: 40px;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-section .container{
        padding: 0;
    }
    
    .reason {
        padding: 30px 20px;
    }
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.reason {
    background: rgba(77, 168, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.reason::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4da8ff, #0066cc);
}

.reason:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(77, 168, 255, 0.25);
}

.reason i {
    font-size: 2.5rem;
    color: #4da8ff;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.reason:hover i {
    transform: scale(1.1);
    color: #ffffff;
}

.reason h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.reason p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .reasons-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .services-section .container{
        padding: 0;
        /* margin: 0; */
    }
    .reason {
        padding: 30px 20px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: #1e88e5; /* Bleu vif */
    color: white; /* Texte blanc */
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #1976d2; /* Nuance de bleu plus foncée au survol */
}

.faq-question.active {
    background-color: #1565c0; /* Nuance de bleu encore plus foncée pour l'état actif */
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-section p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-section p i {
    margin-right: 10px;
    color: #3498db;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    background-color: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #3498db;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(0,0,0,0.2);
    font-size: 14px;
}
.copyright a{
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}
.copyright a:hover{
    color: var(--primary-color-hover);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-section .container {
        flex-direction: column;
    }
    
    .carousel-caption {
        left: 20px;
        bottom: 20px;
        max-width: 80%;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    .footer-container {
        padding: 0 20px;
    }
}
@media (min-width: 992px) {
    .footer-container {
        padding: 0 80px;
    }
}
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
    }
    
    header {
        padding: 8px 0;
    }
    
    .top-bar .container {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        text-align: center;
    }
    
    .contact-info {
        width: 100%;
        margin-bottom: 5px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }
    
    .contact-info span {
        margin: 0;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .social-icons {
        width: 100%;
        margin: 5px 0;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .social-icons a {
        /* font-size: 12px;
        margin-left: 10px; */
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero {
        height: 60vh;
    }
    
    .testimonial-card {
        flex-direction: column;
    }
    
    .testimonial-content {
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles pour les liens du footer */
.footer-section a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-section a:hover {
    color: #87CEEB;
}

.footer-section a i {
    margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-section .container {
        flex-direction: column;
    }
    
    .carousel-caption {
        left: 20px;
        bottom: 20px;
        max-width: 80%;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    .footer-container {
        padding: 0 20px;
    }
}
@media (min-width: 992px) {
    .footer-container {
        padding: 0 80px;
    }
}
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
    }
    
    header {
        padding: 8px 0;
    }
    
    .top-bar .container {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        text-align: center;
    }
    
    .contact-info {
        width: 100%;
        margin-bottom: 5px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }
    
    .contact-info span {
        margin: 0;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .social-icons {
        width: 100%;
        margin: 5px 0;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .social-icons a {
        /* font-size: 12px;
        margin-left: 10px; */
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero {
        height: 60vh;
    }
    
    .testimonial-card {
        flex-direction: column;
    }
    
    .testimonial-content {
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Styles pour les sections communes
   ========================================================================== */

/* Styles des titres de section */
.services-section h2,
.trainings-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0 auto 50px;
    position: relative;
    padding-bottom: 15px;
    max-width: 800px;
}

.services-section h2::after,
.trainings-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Styles spécifiques pour les cartes de formation */
.trainings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.training-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.training-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.training-card:hover i {
    transform: scale(1.1);
}

.training-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.training-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.training-card .btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.training-card .btn:hover {
    background-color: var(--primary-color-hover);
}

/* Styles pour la page À propos */
.about-hero {
    background: linear-gradient(135deg, #2980b9 0%, #2c3e50 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin: 0;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Section À propos */
.about-section {
    padding: 100px 0;
    background-color: #fff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Section Pourquoi Nous Choisir */
.why-choose-us {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Section Équipe */
.team-section {
    padding: 100px 0;
    background-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-card h3 {
    margin: 25px 0 5px;
    color: #2c3e50;
    font-size: 1.3rem;
}

.team-card .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .training-card,
    .feature-card,
    .team-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .trainings-grid,
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-section, 
    .why-choose-us,
    .team-section {
        padding: 60px 0;
    }
    
    .team-image {
        height: 250px;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Pour les sections qui utilisent section-title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1a4b8c 0%, #0d2b4e 100%);
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Services Page Section */
.services-page-section {
    padding: 100px 0;
    background-color: #f9fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.service-content .service-text{
    text-align: left;
}

.service-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    margin-top: auto;
}

.service-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Page Specific Styles */
.contact-hero {
    background: linear-gradient(135deg, #1a4b8c 0%, #0d2b4e 100%);
    text-align: center;
    padding: 120px 0 80px;
    color: white;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background-color: #f9fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(41, 128, 185, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 30px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-color-hover);
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
    position: relative;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9fafc;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
    outline: none;
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: white;
    padding: 0 5px;
    color: var(--primary-color);
}

.form-control + label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.cta-button:hover {
    background: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
}

/* Alert Messages */
.alert {
    padding: 15px 0;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Button with icon */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
}

.cta-button .button-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Loading state */
.cta-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.cta-button.loading .button-text {
    visibility: hidden;
}

.cta-button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
}