/*******************************/
/********* General CSS *********/
/*******************************/
body {
    
color: #213546; 
background: #eeeeee; 
font-family: 'Raleway', sans-serif; 
} a 
{ color: #4F84C4; 
    transition: .3s; 
} a:hover, a:active, a:focus { 
    color: #00539C; 
    outline: none; 
    text-decoration: none; 
} .btn:focus { 
    box-shadow: none; 
} .wrapper { 
    position: relative; 
    width: 100%; 
    max-width: 1366px; 
    margin: 0 auto; 
    background: #ffffff; 
} .container { 
    max-width: 1050px; 
}

/*******************************/
/********** Header CSS *********/
/*******************************/
.header {
    position: relative;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #f2f2f2;
    background: #ffffff;
}

@media (min-width: 1200px) {
    .header .container-fluid {
        padding-left: 60px;
        padding-right: 60px;
    }
}

.header .brand {
    position: relative;
}

.header .brand img {
    width: 100%;
    max-width: 150px;
    height: 100%;
    max-height: 100px;
}

.header .topbar {
    position: relative;
    text-align: right;
}

.header .topbar .topbar-col {
    display: inline-block;
    padding: 0 15px;
    margin-bottom: 15px;
}

.header .topbar-col a {
    color: #2B2B2B;
    font-size: 13px;
}

.header .topbar-col a i {
    margin-right: 10px;
    color: #FF7A00; /* Orange logo */
}

.header .topbar-social {
    position: relative;
}

.header .topbar-social a {
    display: inline-block;
}

.header .topbar-social a i {
    margin-right: 10px;
    font-size: 18px;
    color: #bbbbbb;
    transition: .3s;
}

.header .topbar-social a:last-child i {
    margin: 0;
}

.header .topbar-social a:hover i {
    color: #FF7A00; /* Orange hover */
}

.header .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f5f5f5;
}

.header .dropdown-menu a.active {
    color: #FF7A00; /* lien actif orange */
}

@media (min-width: 992px) {
    .header .navbar {
        background: #ffffff !important;
    }
    
    .header .navbar-brand {
        display: none;
    }
    
    .header .navbar-light a.nav-link {
        position: relative;
        padding: 8px 10px;
        color: #2B2B2B;
        font-size: 16px;
        z-index: 1;
        transition: .3s;
    }
    
    .header .navbar-light a.nav-link:hover,
    .header .navbar-light a.nav-link.active {
        color: #FF7A00; /* survol ou actif orange */
    }
}

@media (max-width: 992px) {
    .header .brand {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .header .topbar {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .header .topbar .topbar-col {
        margin: 0;
    }
    
    .header .topbar .topbar-social {
        margin-top: 5px;
    }
    
    .header .navbar {
        background: #ffffff !important;
        border: 1px solid #eeeeee;
        z-index: 1;
    }
    
    .header a.nav-link {
        padding: 5px 0;
    }
    
    .header .dropdown-menu {
        box-shadow: none;
    }
}

.header .navbar .btn {
    position: relative;
    margin-left: 15px;
    padding: 12px 25px 10px 25px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    background: linear-gradient(#FF7A00, #CC6200); /* dégradé orange */
    transition: .5s;
}

.header .navbar .btn:hover {
    background: linear-gradient(#CC6200, #FF7A00);
}

.header .navbar .btn i {
    font-size: 16px;
    margin-right: 8px;
}

@media (max-width: 992px) {
    .header .navbar .btn {
        margin: 15px 0 10px 0;
    }
}

/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to right, #6798d4, #1c7fd5 60%); /* Dégradé bleu */
}

.page-header h2 {
    color: #ffffff;
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 500;
    color: #E0F0FF; /* bleu clair pour contraste */
    transition: color 0.3s ease;
}

.page-header a:hover {
    color: #A3D4FF; /* bleu clair lumineux au hover */
}

.page-header a::after {
    position: absolute;
    content: "";
    width: 7px;
    height: 7px;
    top: 6.5px;
    right: -6px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.8;
}

.page-header a:last-child::after {
    display: none;
}

/*******************************/
/*********** slider CSS **********/
/*******************************/
/* Container principal */
.domaines-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Overlay sombre pour lisibilité */
.slide .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Contenu centré */
.slide .content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
  max-width: 900px;
  animation: fadeUp 1s ease forwards;
}

/* Animation d’apparition */
@keyframes fadeUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Titres */
.slide h2 {
  font-size: 50px;
  font-weight: 900;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  color: #FFFFFF; /* Titre orange logo */
}

/* Texte */
.slide p {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* Boutons navigation */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 55px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  transition: 0.3s;
  z-index: 3;
}
.nav:hover {
  color: #FF7A00; /* Hover orange */
}
.prev { left: 30px; }
.next { right: 30px; }

/* Image plein écran */
.domain-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* rempli sans déformation */
  border-radius: 0;  /* supprime les bords arrondis */
  margin-bottom: 0;
}

/* Responsive version mobile */
@media (max-width: 768px) {
  .slide h2 {
    font-size: 28px; /* réduit la taille du titre */
    letter-spacing: 1px;
  }

  .slide p {
    font-size: 16px; /* réduit le texte/slogan */
    line-height: 1.4;
    padding: 0 10px; /* ajoute un peu de marge sur les côtés */
  }

  /* Boutons navigation adaptés */
  .nav {
    font-size: 32px; /* plus petit qu’en desktop */
    padding: 5px;
  }

  .prev { left: 15px; }
  .next { right: 15px; }
}

/*** buton traduction *****/
.lang-btn {
  background: #FF7A00; /* orange branding */
  border: none;
  border-radius: 50px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lang-btn:hover {
  background: #e56d00;
}

.lang-btn .icon {
  width: 20px;
  height: 20px;
}

#lang-label {
  font-size: 14px;
}


/*******************************/
/******* Section Header ********/
/*******************************/
/*.section-header {
    position: relative;
    width: 100%;
    max-width: 650px; /* un peu plus large */
   /* text-align: center;
    margin: 0 auto 50px auto;
    padding-bottom: 20px;
}

.section-header::after {
    position: absolute;
    content: "";
    width: 80px;
    height: 4px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background: linear-gradient(to right, #f0950b, #ffbb33, #00539C);
    border-radius: 50px;
}

/* Titre */
/*.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    color: #213546;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Texte slogan */
/*.section-header p {
    margin: 0 auto;
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
    color: #555;
    max-width: 500px;
}

/* Responsive */
/*@media (max-width: 768px) {
    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 15px;
        line-height: 22px;
    }

    .section-header::after {
        width: 60px;
        height: 3px;
    }
}
/*******************************/
/********* Service CSS *********/
/*******************************/
/* --- Services Section --- */
.service {
    position: relative;
    padding: 60px 0;
    background: #f9f9f9; /* fond clair élégant */
}

.service .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: #213546;
    margin-bottom: 10px;
}

.service .section-header .slogan {
    font-size: 16px;
    color: #213546;
    margin-bottom: 40px;
}

/* --- Service Item --- */
.service-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0; /* pour fade-in */
    transform: translateY(30px); /* pour fade-in */
}

/* Animation au scroll (fade-in-up) */
.service-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effect */
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 18px rgba(0, 83, 156, 0.15);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #f07b0a; /* bleu clair corporate */
    margin-bottom: 15px;
}

.service-item p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
    .service-item {
        padding: 25px 15px;
    }
    .service .section-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .service .section-header h2 {
        font-size: 22px;
    }
    .service-item h3 {
        font-size: 18px;
    }
}
/*******************************/
/******* Service Row CSS *******/
/*******************************/
.service-row {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.service-row .service-row-img {
    position: relative;
    width: 100%;
    padding: 0 30px;
    overflow: hidden;
}

.service-row .service-row-img img {
    width: 100%;
    height: 220px; /* même hauteur pour toutes */
    object-fit: cover; /* recadre proprement l’image */
    border-radius: 12px; /* ajout arrondi moderne */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media(max-width: 767.98px) {
    .service-row .service-row-img {
        margin-bottom: 30px;
    }
    
    .service-row .service-row-img img {
        height: 180px; /* un peu plus petit en mobile */
    }
}

/* Texte */
.service-row .service-row-text {
    position: relative;
    width: 100%;
    padding: 0 30px;
}

.service-row h2.section-title {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 15px;
    color: #f07b0a; /* orange principal */
}

.service-row h2.section-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #FF7E00, #f07b0a, #FF7E00);
    border-radius: 50px; 
}

.service-row p {
    font-size: 16px;
    color: #444; /* lisibilité */
    line-height: 1.6;
}

/* Bouton */
.service-row a.btn {
    margin-top: 15px;
    padding: 10px 35px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #FF7E00, #f07b0a);
    box-shadow: 0 4px 10px rgba(255,126,0,0.4);
    transition: all 0.3s ease;
}

.service-row a.btn:hover {
    background: linear-gradient(45deg, #f07b0a, #FF7E00);
    box-shadow: 0 6px 14px rgba(255,69,0,0.5);
    transform: translateY(-2px);
}

/* Petits icônes internes */
.service-row .service-row-col .col-sm-6 {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 15px;
}

.service-row .service-row-col-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    padding: 8px 0;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(45deg, #FF7E00, #f07b0a);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(255,69,0,0.4);
}

.service-row .service-row-col-text {
    width: calc(100% - 55px);
}

.service-row .service-row-col-text h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #f07b0a;
}

.service-row .service-row-col-text p {
    margin: 0;
    font-size: 11px;
    font-weight: 400;
    color: #555;
}

/* Mobile optimisé */
@media (max-width: 768px) {
    .service-row .service-row-img,
    .service-row .service-row-text {
        padding: 0;
    }
}

/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

@media (min-width: 768px) {
    .about .container-fluid {
        padding: 0;
    }
    
    .about .row {
        margin: 0;
    }
    
    .about .col-md-6:first-child {
        padding: 0;
    }
    
    .about .col-md-6:last-child {
        padding: 0 60px;
    }
}

.about h2.section-title {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 15px;
    color: #2B2B2B;
}

.about h2.section-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to left, #FF7A00, #CC6200, #FF7A00); /* Dégradé orange */
    border-radius: 0 100% 100% 0;
}

.about p {
    color: #444444;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.about a.btn {
    padding: 10px 35px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    background: linear-gradient(#FF7A00, #CC6200); /* bouton orange */
    transition: .5s;
}

.about a.btn:hover {
    background: linear-gradient(#CC6200, #FF7A00);
    transform: translateY(-2px);
}

.about img {
    max-width: 100%;
    border-radius: 0 30px 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media(max-width: 767.98px) {
    .about img {
        margin-bottom: 30px;
        border-radius: 30px 30px 0 0;
    }
}

.about .youtube-player {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #ffffff;
    margin: 0;
    border-radius: 0 30px 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 991.98px) {
    .about .youtube-player {
        padding-bottom: 50%;
    }
}

@media (max-width: 767.98px) {
    .about .youtube-player {
        padding-bottom: 56.23%;
        margin-bottom: 30px;
        border-radius: 30px 30px 0 0;
    }
}

.about .youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
}

.about .youtube-player img {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-filter: brightness(100%);
    transition: .4s all;
}

.about .youtube-player img:hover {
    -webkit-filter: brightness(90%);
}

.about .youtube-player .play {
    height: 100px;
    width: 100px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
    position: absolute;
    background: url("../img/play.png") no-repeat center center;
    cursor: pointer;
    transition: transform .3s ease;
}

.about .youtube-player .play:hover {
    background: url("../img/play-hover.png") no-repeat center center;
    transform: scale(1.1);
}

@media (max-width: 575.98px) {   
    .about .youtube-player .play {
        height: 60px;
        width: 60px;
        margin-left: -30px;
        margin-top: -30px;
        background: url("../img/play-60.png") no-repeat center center;
    }
    
    .about .youtube-player .play:hover {
        background: url("../img/play-hover-60.png") no-repeat center center;
    }
}
/*******************************/
/*********** FAQs CSS **********/
/*******************************/
/* Section Impact */
/* Section Impact */
.impact {
    position: relative;
    padding: 60px 0;
    background: #ffffff; /* Fond doux */
}

/* Titre + slogan */
.impact .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.impact .section-header .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #213546;
    text-transform: uppercase;
    margin-bottom: 10px; /* espace sous le h2 */
}

.impact .section-header .slogan {
    font-size: 1.1rem;
    font-weight: 500;
    color: #213546; /* bleu clair */
    margin-bottom: 20px; /* espace avec le texte suivant */
}

.impact p {
    font-size: 1rem;
    color: #555;
}

/* Chiffres */
.counter {
    font-size: 2rem;
    font-weight: bold;
    color: #213546;
    margin-bottom: 10px;
}

/* Conteneur des compteurs */
.impact .row.counters {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 10px;
}

/* Chaque bloc compteur */
.impact .row.counters > div {
    flex: 1 1 220px;
    background: #ffffff;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.impact .row.counters > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Icônes (optionnel) */
.impact .row.counters i {
    color: #4F84C4; /* Bleu branding */
    margin-bottom: 15px;
    font-size: 32px;
}

/* Libellés */
.impact .row.counters p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    margin: 0;
}

/*******************************/
/******* PARTNERS CSS *******/
/*******************************/
.partners {
    position: relative;
    padding: 40px 0;
    background: #f9f9f9;
}

.partners .section-header h2 {
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 700;
    color: #213546;
    text-align: center;
    margin-bottom: 30px;
}

.partners-slider {
    display: flex;
    align-items: center;
    gap: 50px;
    overflow: hidden; /* on cache le débordement pour effet slider */
    padding: 20px 0;
    position: relative;
}

.partner-item {
    flex: 0 0 auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-item img {
    max-height: 80px; /* plus grand qu’avant */
    max-width: 150px;
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

.partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}
/*******************************/
/********** Story CSS **********/
/*******************************/
.story {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

@media(min-width: 768px) {
    .story {
        padding: 45px 60px 15px 60px;
    }
}

.story .story-container {
    position: relative;
    width: 100%;
}

.story .story-end,
.story .story-start,
.story .story-year {
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 1;
}

.story .story-end p,
.story .story-start p,
.story .story-year p {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 0;
    padding: 30px 0;
    text-align: center;
     background: linear-gradient(#f07b0a, #ff9c4d); /* Orange gradient */
    border-radius: 100px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .4);
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
}

.story .story-year {
    margin: 30px 0;
}

.story .story-continue {
    position: relative;
    width: 100%;
    padding: 60px 0;
}

.story .story-continue::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    margin-left: -1px;
     background: #f07b0a; /* Ligne centrale orange */
}

.story .row.story-left,
.story .row.story-right .story-date {
    text-align: right;
}

.story .row.story-right,
.story .row.story-left .story-date {
    text-align: left;
}

.story .story-date {
    font-size: 20px;
    font-weight: 600;
    margin: 41px 0 0 0;
}

.story .story-date::after {
    content: '';
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    top: 45px;
    background: linear-gradient(#f07b0a, #ff9c4d); /* Pastilles orange */
    box-shadow: 0 0 5px rgba(0, 0, 0, .4);
    border-radius: 15px;
    z-index: 1;
}

.story .row.story-left .story-date::after {
    left: -7px;
}

.story .row.story-right .story-date::after {
    right: -7px;
}

.story .story-box,
.story .story-launch {
    position: relative;
    display: inline-block;
    margin: 15px;
    padding: 20px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background: #ffffff;
}

.story .story-launch {
    width: 100%;
    margin: 15px 0;
    padding: 0;
    border: none;
    text-align: center;
    background: transparent;
}

.story .story-box::after,
.story .story-box::before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.story .row.story-left .story-box::after,
.story .row.story-left .story-box::before {
    left: 100%;
}

.story .row.story-right .story-box::after,
.story .row.story-right .story-box::before {
    right: 100%;
}

.story .story-launch .story-box::after,
.story .story-launch .story-box::before {
    left: 50%;
    margin-left: -10px;
}

.story .story-box::after {
    top: 26px;
    border-color: transparent transparent transparent #ffffff;
    border-width: 10px;
}

.story .story-box::before {
    top: 25px;
    border-color: transparent transparent transparent #dddddd;
    border-width: 11px;
}

.story .row.story-right .story-box::after {
    border-color: transparent #ffffff transparent transparent;
}

.story .row.story-right .story-box::before {
    border-color: transparent #dddddd transparent transparent;
}

.story .story-launch .story-box::after {
    top: -20px;
    border-color: transparent transparent #dddddd transparent;
}

.story .story-launch .story-box::before {
    top: -19px;
    border-color: transparent transparent #ffffff transparent;
    border-width: 10px;
    z-index: 1;
}

.story .story-box .story-icon {
    position: relative;
    width: 40px;
    height: auto;
    float: left;
}

.story .story-icon i {
    font-size: 25px;
    color: #f07b0a; /* Icônes orange */
}

.story .story-icon img {
    width: 25px;
}

.story .story-box .story-text {
    position: relative;
    width: calc(100% - 40px);
    float: left;
}

.story .story-launch .story-text {
    width: 100%;
}

.story .story-box {
    border: 1px solid #eee;
    transition: all 0.3s ease-in-out;
}

.story .story-box:hover {
    border-color: #f07b0a;
    box-shadow: 0 4px 12px rgba(240, 123, 10, 0.25);
}

.story .story-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3px;
     color: #333;
}

.story .story-text p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
     color: #555;
}

@media (max-width: 768px) {
    .story .story-continue::after {
        left: 40px;
    }
    
    .story .story-end,
    .story .story-start,
    .story .story-year,
    .story .row.story-left,
    .story .row.story-right .story-date,
    .story .row.story-right,
    .story .row.story-left .story-date,
    .story .story-launch {
        text-align: left;
    }
    
    .story .row.story-left .story-date::after,
    .story .row.story-right .story-date::after {
        left: 47px;
    }
    
    .story .story-box,
    .story .row.story-right .story-date,
    .story .row.story-left .story-date {
        margin-left: 55px;
    }
    
    .story .story-launch .story-box {
        margin-left: 0;
    }
    
    .story .row.story-left .story-box::after {
        left: -20px;
        border-color: transparent #ffffff transparent transparent;
    }

    .story .row.story-left .story-box::before {
        left: -22px;
        border-color: transparent #dddddd transparent transparent;
    }
    
    .story .story-launch .story-box::after,
    .story .story-launch .story-box::before {
        left: 30px;
        margin-left: 0;
    }
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 45px 0 60px 0;
    background: #f9f9f9; /* léger fond neutre pour faire ressortir les blocs */
}

@media (min-width: 768px) {
    .team {
        padding: 45px 60px 60px 60px;
    }
}

.team .team-item {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    padding: 30px;
    background: #ffffff;
    border-radius: 300px 300px 5px 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team .team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(240, 123, 10, 0.92); /* orange REACSYS */;
}

.team .team-img {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.team .team-img img {
    width: 100%;
    border-radius: 300px;
    transition: transform 0.4s ease;
}

.team .team-item:hover .team-img img {
    transform: scale(1.08);
}

.team .team-text {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.team .team-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.team .team-text p {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: #777777;
}


/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
  padding: 60px 0;
  background: #ffffff;
}

.portfolio .section-header h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #213546;
}

.portfolio .portfolio-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.portfolio .portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(118, 70, 6, 0.12);
}

.portfolio .portfolio-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: #f07b0a;
  margin-bottom: 15px;
}

.portfolio .portfolio-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.contact h2.section-title {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 45px;
    padding-bottom: 15px;
}

.contact h2.section-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to left, #4F84C4, #00539C, #4F84C4);
    border-radius: 0 100% 100% 0;
}

.contact .contact-info {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
}

.contact .contact-info iframe {
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.contact .contact-info h3 {
    color: #3f4b5a;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact .contact-info h3 span {
    font-weight: 400;
    padding-left: 5px;
}

.contact .contact-info p {
    color: #3f4b5a;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
}



@media (min-width: 992px) {
    .contact .contact-form {
        padding-left: 30px;
    }
}

.contact-form {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

.contact-form h2.section-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: #213546;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4F84C4; /* Bleu clair comme ton thème */
    outline: none;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    background: linear-gradient(#4F84C4, #00539C);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form .btn-submit:hover {
    background: linear-gradient(#00539C, #4F84C4);
}

/*******************************/
/******* Single Page CSS *******/
/*******************************/
.single {
    position: relative;
    width: 100%;
    padding: 45px 0 65px 0;
}

.single h2.section-title {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 45px;
    padding-bottom: 15px;
}

.single h2.section-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to left, #4F84C4, #00539C, #4F84C4);
    border-radius: 0 100% 100% 0; 
}

.single h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}

.single p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 25px;
}

.single .table,
.single .list-group {
    margin-bottom: 30px;
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    padding-top: 90px;
    background: #1f2429; /* fond légèrement plus profond */
    color: #cccccc;
    
}

/* Sections */
.footer .footer-about,
.footer .footer-link {
    position: relative;
    margin-bottom: 45px;
}

@media(min-width: 992px) {
    .footer .container:first-child {
        max-width: 1080px;
        margin-bottom: 30px;
    }
    
    .footer .footer-about,
    .footer .footer-link {
        padding: 0 30px;
    }
}

/* Titres */
.footer .footer-about h2,
.footer .footer-link h2 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #f07b0a; /* orange REACSYS */
    letter-spacing: 1px;
}

.footer .footer-about h2::after,
.footer .footer-link h2::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #f07b0a, #ffffff);
    border-radius: 5px;
}

/* Texte about */
.footer .footer-about p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #bbbbbb;
}

.footer .footer-about p i {
    width: 20px;
    color: #f07b0a;
}

/* Liens */
.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #bbbbbb;
    transition: color 0.3s ease;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #f07b0a;
}

.footer .footer-link a:hover {
    color: #ffffff;
}

/* Copyright */
.footer .copyright {
    padding: 15px 0;
    border-top: 1px solid #333;
    margin-top: 30px;
}

.footer .copyright p {
    margin: 0;
    font-size: 13px;
    color: #aaaaaa;
}

.footer .copyright p a {
    color: #f07b0a;
    transition: color 0.3s ease;
}

.footer .copyright p a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}

/****** mentions / Legal *****/
.legal-section {
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, #fefdfb 0%, #fffaf5 100%);
  color: #2c3e50;
  max-width: 900px;
  margin: 50px auto;
  background-color: #fff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

/* Titre principal */
.legal-section h2 {
  color: #CC6200; /* Orange foncé */
  font-size: 2em;
  margin-bottom: 20px;
  border-left: 6px solid #FF7A00; /* Orange vif */
  padding-left: 18px;
  font-weight: 700;
}

/* Paragraphes */
.legal-section p {
  line-height: 1.7;
  margin-bottom: 18px;
  color: #444;
}

/* Accordion */
.accordion {
  margin-top: 25px;
  border-top: 1px solid #f1e0d6;
}

.accordion-item {
  border-bottom: 1px solid #f1e0d6;
}

.accordion-title {
  cursor: pointer;
  padding: 18px;
  background: #fff6f0;
  color: #CC6200;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title:hover {
  background: #ffefe0;
  color: #FF7A00;
}

.accordion-content {
  display: none;
  padding: 18px;
  background-color: #ffffff;
  color: #555;
  border-left: 3px solid #FF7A00; /* accent orange */
}

.active .accordion-content {
  display: block;
}

.active .accordion-title {
  background: #ffefe0;
  color: #FF7A00;
}

/* Responsive */
@media (max-width: 600px) {
  .legal-section {
    padding: 22px;
  }
  .legal-section h2 {
    font-size: 1.5em;
  }
  .accordion-title {
    font-size: 0.95em;
  }
}

/**** policy privacy ***/ 
.privacy-policy {
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, #fefdfb 0%, #fffaf5 100%);
  margin: 0;
  padding: 0;
  color: #2c3e50;
}

.privacy-policy {
  max-width: 900px;
  margin: 50px auto;
  background-color: #fff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-policy:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

/* Titres */
.privacy-policy h2 {
  color: #CC6200; /* Orange foncé */
  font-size: 2em;
  margin-bottom: 20px;
  border-left: 6px solid #FF7A00; /* Orange vif */
  padding-left: 18px;
  font-weight: 700;
}

/* Paragraphes */
.privacy-policy p {
  line-height: 1.7;
  margin-bottom: 18px;
  color: #444;
}

/* ---- ACCORDION STYLE ---- */
.privacy-accordion {
  margin-top: 25px;
  border-top: 1px solid #f1e0d6;
}

.privacy-accordion-item {
  border-bottom: 1px solid #f1e0d6;
}

.privacy-accordion-title {
  cursor: pointer;
  padding: 18px;
  background: #fff6f0;
  color: #CC6200;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-accordion-title:hover {
  background: #ffefe0;
  color: #FF7A00;
}

.privacy-accordion-content {
  display: none;
  padding: 18px;
  background-color: #ffffff;
  color: #555;
  border-left: 3px solid #FF7A00; /* accent orange */
}

.privacy-active .privacy-accordion-content {
  display: block;
}

.privacy-active .privacy-accordion-title {
  background: #ffefe0;
  color: #FF7A00;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .privacy-policy {
    padding: 22px;
  }
  .privacy-policy h2 {
    font-size: 1.5em;
  }
  .privacy-accordion-title {
    font-size: 0.95em;
  }
}

/**** BODY ARABE RTL ****/
/* RTL (arabe) */

body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .navbar-nav {
  margin-right: auto;
  margin-left: 0;
}

body.rtl .nav-item {
  text-align: right;
}

.breadcrumb {
  background: #f9f9f9;
  padding: 20px 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #eee;
  text-align: center;
}

.breadcrumb h2 {
  font-size: 24px;
  font-weight: 700;
  color: #213546;
  margin-bottom: 10px;
}

.breadcrumb-links {
  font-size: 16px;
}

.breadcrumb-links a {
  color: #FF7A00; /* orange Reacsys */
  text-decoration: none;
  font-weight: 500;
}

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

.breadcrumb-links .separator {
  margin: 0 8px;
  color: #777;
}