@font-face {
  font-family: 'Nunito';
  src: url('../Fonts/nunito/Nunito-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito-LightItalic';
  src: url('../Fonts/nunito/Nunito-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

body{
    /*background-color: #fbfbff;*/
    font-family: 'Nunito', Arial, sans-serif;
    /*background: #e8e9ef;*/
}
h1, h2, h3, h4, h5 {
  font-family: 'Nunito', Arial, sans-serif;
  /*font-weight: 700;*/
}
.Home-title{
  color: #2e2c7c;
}
/* Start Loader en plein écran */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: #fff; /* fond blanc */
    background: #F0F2F8;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Logo clignotant */
.loader-logo {
    width: 260px;
    animation: blink 2.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* End Loader en plein écran 
.navbar-nav .nav-link {
  font-weight: 600;
  color: #000;
}

.navbar-nav .nav-link:hover {
  color: #0056b3;
}

.navbar-brand img {
  transition: transform 0.3s ease-in-out;
}

.navbar-brand img:hover {
  transform: scale(1.1);
}*/
/* Start Header */
.header-top{
    background: #2e2c7c;
    font-size: 14px;
}
.head{
    background: #2e2c7c;
}
.header-top .row {
  display: flex;
  justify-content: center;   /* centre horizontalement */
  align-items: center;       /* centre verticalement */
  text-align: center;        /* centre le texte */
}

.header-top ul {
  padding: 0;
  margin: 0;
}

.header-top li {
  display: inline-block;
  margin: 0 15px; /* espace horizontal entre les éléments */
  font-size: 14px;
}

.header-top ul li{
  display: inline-block;
margin-left: 15px;
color: #FFF;
}
.head .header-top ul li a{
  color: #FFF;
  display: inline-block;
}
.header-top .header-top-right ul li a{
    text-decoration: none;
}
.header-top .header-top-right ul li a:hover{
    text-decoration:underline;
}
.header-top .header-top-left p,
.header-top .header-top-left .fa{
  font-size: 13px;
}
.header-top .header-top-left ul li{
  margin-left: 0px;
}

/* =========================
   HEADER FIXE
========================= */

.head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Hauteur totale du header (top + navbar) */
:root {
  --header-height: 125px; /* ajuste si besoin */
}

/* Décaler le contenu */
header {
  padding-top: var(--header-height);
}

/* Ombre élégante au scroll */
.head.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}


/* Navbar */
.navbar {
  transition: all 0.3s ease;
}

/* Logo responsive */
.navbar-brand img {
  transition: all 0.3s ease;
}

/* Réduction au scroll (option PRO) */
.head.scrolled .navbar-brand img {
  height: 70px;
}

/* Start Navbar */
.navbar {
  border-radius: 15px 15px 0 0;
}

.navbar-nav .nav-link {
  color: #333;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  padding-bottom: 1px; /* espace sous le lien */
}

/* icônes du menu */
.navbar-nav .fa {
  color: #2e2c7c;
  margin-bottom: 6px; /* espace entre icône et texte */
  font-size: 1.8rem; /* icône plus grande */
}

.navbar-nav .nav-item {
  min-width: 140px; /* largeur homogène */
  text-align: center;
  position: relative;
}

/* Hover des liens */
.navbar-nav .nav-link:hover {
  transform: scale(1.05);
  color: #2e2c7c !important;
}

/* Ligne soulignement animée */
.navbar-nav .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #2e2c7c;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar-nav .nav-item:hover > .nav-link::after {
  width: 60%;
}

/* Flèche ▼ au survol */
.navbar-nav .nav-item > .nav-link::before {
  /*content: "▼";
  position: absolute;
  bottom: -14px;
  left: 50%;
  font-size: 10px;
  color: #2e2c7c;
  transform: translateX(-50%) scaleY(0);
  transition: transform 0.3s ease;*/
}

.navbar-nav .nav-item:hover > .nav-link::before {
  transform: translateX(-50%) scaleY(1);
}

/* Dropdowns affichés au hover */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 11px;
}

.navbar-nav .dropdown-menu {
  /*text-align: center;*/
}
/* Dropdown Menu Moderne */
.dropdown-menu {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(46, 44, 124, 0.15);
  padding: 20px 0;
  margin-top: 15px;
  background: white;
  min-width: 280px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  overflow: hidden;
  border-top: 3px solid #2e2c7c;
}

/* Animation d'apparition */
.nav-item.show .dropdown-menu,
.nav-item:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Effet de fond animé */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 44, 124, 0.05) 0%, rgba(90, 87, 216, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-item:hover .dropdown-menu::before {
  opacity: 1;
}

/* Triangle décoratif en haut du dropdown */
.dropdown-menu::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 8px solid white;
  filter: drop-shadow(0 -2px 3px rgba(46, 44, 124, 0.1));
}

/* Dropdown Items */
.dropdown-item {
  padding: 12px 30px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

/* Effet de slide coloré au hover */
.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(180deg, #2e2c7c, #5a57d8);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

/* Fond au hover */
.dropdown-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(46, 44, 124, 0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.dropdown-item:hover::after {
  transform: translateX(0);
}

.dropdown-item:hover {
  color: #2e2c7c;
  background: transparent;
  padding-left: 35px;
  font-weight: 600;
}

/* Animation des items au chargement */
.dropdown-item {
  animation: fadeInItem 0.4s ease forwards;
  opacity: 0;
}

.dropdown-item:nth-child(1) {
  animation-delay: 0.1s;
}
.dropdown-item:nth-child(2) {
  animation-delay: 0.15s;
}
.dropdown-item:nth-child(3) {
  animation-delay: 0.2s;
}
.dropdown-item:nth-child(4) {
  animation-delay: 0.25s;
}

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

/* Responsive */
@media (max-width: 991px) {
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    margin-top: 10px;
    border-left: 3px solid #2e2c7c;
    border-radius: 0 16px 16px 0;
  }

  .dropdown-menu::after {
    display: none;
  }
}

.scroll-line-wrapper {
  width: 100%;
  height: 3px;
  position: relative;
  overflow: hidden;
  /*background: transparent;*/
  background: #fff;
  box-shadow: 0px 15px 25px 0px #2e2c7c;
}

.scroll-line {
  height: 100%;
  width: 0%;
  opacity: 0;
  background: linear-gradient(90deg, #2e2c7c, #5a58c8);
  /*background: #000;*/
  transition: 
    width 0.15s linear,
    opacity 0.3s ease;
  box-shadow: 0 0 8px rgba(46, 44, 124, 0.6);
}


/* End Navbar */

/*Start Home Presentation*/
.home-presentation {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  margin-top: 50px;
}

.home-presentation-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  /*align-items: center;*/
  justify-content: center;
  min-height: 500px;
}

/* Image Styling */
.home-presentation-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*height: 450px;*/
  object-fit: cover;
  border-radius: 20px;
  z-index: 1;
  
}

/* Overlay with gradient */
.home-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
  border-radius: 20px;
}

/* Content Positioning */
.home-presentation-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 40px 0;
  /*max-width: 800px;*/
  margin-right: auto;
  animation: fadeInUp 1s ease-out;
  width: 100%;
}

/* Title Styling */
.home-presentation-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Accent Bar */
.home-presentation-accent {
  /*width: 60px;
  height: 4px;
  /*background: linear-gradient(90deg, #2e2c7c 0%, #4a4891 100%);*/
  /*background: #fff;
  margin: 10px 0;
  border-radius: 10px;
  animation: slideInRight 0.8s ease-out 0.3s both;*/
}

/* Description Text */
.home-presentation-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
  /*max-width: 400px;*/
}

/*.home-btn-block{
  width: 100%;
  position: absolute;
  bottom: 50px;
  display: none;
}*/

.home-btn-block {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  z-index: 4;

  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
  pointer-events: none;
  
}

/* Dégradé animé derrière le bouton */
.home-btn-block::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;

  background: linear-gradient(
    to top,
    rgba(46, 44, 124, 0.9),
    rgba(46, 44, 124, 0.6),
    rgba(46, 44, 124, 0)
  );

  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: 0px 0px 20px 20px;
}

.home-presentation-wrapper:hover{
  cursor: pointer;
}

.home-presentation-wrapper:hover .home-btn-block {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.home-presentation-wrapper:hover .home-btn-block::before {
  opacity: 1;
}

/* Button Styling */
.btn-lire-plus {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #fff;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(60, 53, 255, 0.3);
  animation: fadeInUp 1s ease-out 0.4s both;
  position: relative;
  margin-bottom: 25px;
  /*bottom: 30px;*/
}

.btn-lire-plus:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(60, 53, 255, 0.3);
  /*background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);*/
  background: #fff;
  color: #2e2c7c;
}

.home-presentation-wrapper:hover{

}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .home-presentation {
    min-height: 400px;
  }

  .home-presentation-wrapper {
    min-height: 400px;
  }

  .home-presentation-title {
    font-size: 1.8rem;
  }

  .home-presentation-text {
    font-size: 1rem;
  }

  .home-presentation-content {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .home-presentation {
    min-height: 300px;
  }

  .home-presentation-wrapper {
    min-height: 300px;
  }

  .home-presentation-title {
    font-size: 1.5rem;
  }

  .home-presentation-text {
    font-size: 0.95rem;
  }

  .home-presentation-content {
    padding: 20px 15px;
  }

  .btn-lire-plus {
    padding: 10px 30px;
    font-size: 0.9rem;
  }
}
/*End Home presentation*/

/*Start Carousel*/
.header-carousel .carousel{
    height: 70vh;
    overflow: hidden;
}
.header-carousel .carousel .carousel-title{
  font-weight: bold;
  text-shadow: 2px 2px 2px #2e2c7c;
}
.carousel-caption {
  /*background: rgba(255, 255, 255, 0.7); /* léger fond blanc transparent */
  /*padding: 20px;
  border-radius: 10px;
  max-width: 900px;*/
}

.carousel-caption h1 {
  /*font-size: 80px;*/
}

.carousel-caption h2 {
  /*font-size: 28px;
  font-weight: bold;*/
}

.carousel-caption h3 {
  /*font-size: 22px;
  margin-bottom: 15px;*/
}

.carousel-indicators [data-bs-target]{
    /*background-color: #2e2c7c;*/
}

.carousel-indicators button{
    width: 15px !important;
    height: 15px !important;
    border-radius: 50%;
}

/*.carousel .carousel-overlay{
    position: absolute;
    z-index: 2;
    background: rgba(0, 0, 0, 0.300); /* léger fond semi-transparent */
    /*width: 100%;
    height: 100vh;
}*/

.header-carousel .carousel-item img {
  width: 100%;
  /*height: 100%;*/
  height: 70vh;
  object-fit: cover;
}

.header-carousel #carouselExampleIndicators .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* en dessous du texte */
    background: rgba(0, 0, 0, 0.5); /* fond sombre transparent */
    width: 100%;
    height: 100%;
}

#carouselExampleIndicators .carousel-caption {
  z-index: 3;
}
#carouselExampleIndicators .carousel-control-prev,
#carouselExampleIndicators .carousel-control-next {
  z-index: 4;
}

.carousel-fade .carousel-item {
  transition: opacity 1s ease-in-out;
}

.carousel-indicators-custom button {
  /*width: 12px;
  height: 12px;
  border-radius: 50%; /* cercle */
  /*background-color: #bbb;
  border: none;
  margin: 0 5px;
  transition: all 0.3s ease;*/
}

.carousel-indicators-custom button.active {
  /*background-color: #2e2c7c; /* ta couleur principale */
  /*transform: scale(1.3); /* cercle un peu plus grand */
}

.carousel-control-prev, .carousel-control-next{
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #2e2c7c !important;
    background-color: #a4abb6b6;
    font-weight: bold;
    font-size: 36px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    bottom: auto;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  width: 80%;
  z-index: 2; /* au-dessus de l’overlay */
}

.carousel-content h1 {
  font-size: 3rem;
  font-weight: bold;
}

.carousel-content p {
  font-size: 1.2rem;
  margin: 20px 0;
}

.carousel-content .btn {
  font-size: 1rem;
  padding: 10px 20px;
}
.carousel .lire-plus{
    color: #fff;
    border: 2px solid;
    /*text-transform: uppercase;*/
    font-size: 20px;
    font-weight: 500;
}
.carousel .lire-plus:hover{
    color: #2e2c7c !important;
    background-color: #FFF;
    border: 2px solid #FFF;
}

/*End Carousel*/

/*Start Home Blog*/
.Home-blog{

}
.Home-blog .card{
  border-radius: 20px;
  max-width: 90%;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  height: 510px;
  background: #fbfbfb;
  border: 0;
}
.Home-blog .card .card-img-top{
  border-radius: 20px 20px 0px 0px;
}
.Home-blog .card .media{
  font-family: 'Nunito-LightItalic';
}
.Home-blog .card .event-type-link{
  text-decoration: none;
  color: #2e2c7c;
}
.Home-blog .card .event-type-link:hover{
  font-weight: bold;
}
.Home-blog .card .card-title{
  font-weight: 600;
  margin-bottom: .75rem;
}
.Home-blog .card .Blog-more{
  color: #fff;
  background-color: #2e2c7c;
  border-color: #2e2c7c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(23, 31, 56, 0.075);
  border-radius: 10px;
}
.Home-blog .Home-Voir-plus .btn{
  color: #2e2c7c;
  background-color: #fff;
  border-color: #2e2c7c;
  border-radius: 20px;
  font-weight: bold;
  font-size: large;
}
.Home-blog .Home-Voir-plus .btn:hover{
  color: #e8e9ef;
  background-color: #2e2c7c;
}
/*End Home Blog*/

/*Start Nos zones en chiffre*/

/* zone en chiffre v2 */
/*.zone-chiffre {
  background-repeat: no-repeat;
  padding: 70px 0;
  position: relative;
  color: #2e2c7c;
}

.zone-chiffre .chiffres-cles-text .slogan {
  opacity: .9;
  margin-bottom: 40px;
  font-size: 16px;
}

.zone-chiffre .chiffres-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;
  padding: 10px 100px 10px 100px;
}

.zone-chiffre .chiffres-grid::-webkit-scrollbar {
  height: 6px;
}

.chiffre-card {
  background: #fbfbfb;;
  min-width: 220px;
  padding: 25px 15px;
  border-radius: 16px;
  text-align: center;
  color: #2e2c7c;
  box-shadow: 0px 6px 14px rgba(0,0,0,0.15);
  transition: .35s ease;
  transform: translateY(10px);
  opacity: 1;
}

.zone-chiffre .chiffre-card.show {
  transform: translateY(0);
  opacity: 1;
}

.zone-chiffre .chiffre-card i {
  font-size: 36px;
  margin-bottom: 15px;
  color: #2e2c7c;
}

.zone-chiffre .chiffre-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 12px 24px rgba(0,0,0,0.25);
  cursor: pointer;
}

@media (min-width: 1400px) {
  .zone-chiffre .chiffre-card {
    min-width: 260px;
    width: 100px;
  }
}*/

.zone-chiffre {
  /*background: url('../assets/missions.png');*/
  background-repeat: no-repeat;
  padding: 70px 0;
  position: relative;
  color: #2e2c7c;
}

.zone-chiffre .chiffres-cles-text .slogan {
  opacity: .9;
  margin-bottom: 40px;
  font-size: 16px;
}

.zone-chiffre .chiffres-grid {
  /*display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;*/
  /*display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;*/
  /*overflow-x: auto; 
  padding-bottom: 10px;*/
  padding: 10px 100px 10px 100px;
}

/* Personnalisation du scroll (optionnel + beau) */
.zone-chiffre .chiffres-grid::-webkit-scrollbar {
  height: 6px;
}

.chiffre-card {
  /*background: #ffffff;*/
  background: #fbfbfb;
  min-width: 220px;
  padding: 25px 15px;
  border-radius: 16px;
  text-align: center;
  color: #2e2c7c;
  box-shadow: 0px 6px 14px rgba(0,0,0,0.15);
  transition: .35s ease;
  transform: translateY(10px);
  opacity: 1;
}

.zone-chiffre .chiffre-card.show {
  transform: translateY(0);
  opacity: 1;
}

.zone-chiffre .chiffre-card i {
  font-size: 36px;
  margin-bottom: 15px;
  color: #2e2c7c;
}

.zone-chiffre .chiffre-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 12px 24px rgba(0,0,0,0.25);
  cursor: pointer;
}

/* Style pour le symbole % dans la carte PIB */
.counter-symbol {
  font-size: 0.8em;
  margin-left: 2px;
}

@media (min-width: 1400px) {
  .zone-chiffre .chiffre-card {
    /*min-width: 260px;
    width: 100px;*/
  }
}

.zone-chiffre .Home-Voir-plus .btn{
  color: #2e2c7c;
  background-color: #fff;
  border-color: #2e2c7c;
  border-radius: 20px;
  font-weight: bold;
  font-size: large;
}
.zone-chiffre .Home-Voir-plus .btn:hover{
  color: #e8e9ef;
  background-color: #2e2c7c;
}
/* zone en chiffre v2 */



/*End Nos zones en chiffre*/

/*Start adr section*/
.societes-section {
  /*background-color: #f8f9fb;*/
}

.societes-section .carousel-inner {
  height: 15vh;
  display: flex;
  align-items: center;
}

.societe-logo {
  width: 200px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.societe-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #2e2c7c;
  border-radius: 50%;
  padding: 15px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/*@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  white-space: nowrap;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos-slide {
  display: inline-block;
  animation: 100s slide infinite linear;
}

.logos-slide img {
  height: 100px;
  margin: 0 40px;
  filter: grayscale(100%);
  transition: transform 0.3s, filter 0.3s;
  cursor: pointer;
}
.logos-slide:hover{
  /*animation-play-state: paused; */
/*}

.logos-slide img:hover {
  transform: scale(1.25);
  filter: grayscale(0);
  
}*/

.logos {
  overflow: hidden;
  padding: 60px 0;
  position: relative;
  /*background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);*/
}

.logos-container {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.logos-slide {
  display: flex;
  gap: 60px;
  padding: 20px 0;
  animation: scroll-infinite 40s linear infinite;
  will-change: transform;
}

.logos-slide img {
  height: 80px;
  width: auto;
  min-width: 150px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              filter 0.4s ease, 
              opacity 0.4s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.logos-slide img:hover {
  transform: scale(1.1) translateY(-10px);
  filter: grayscale(0);
  opacity: 1;
  box-shadow: 0 10px 30px rgba(46, 44, 124, 0.2);
}

.logos-container:hover .logos-slide {
  /*animation-play-state: paused;*/
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50%));
  }
}

/* Responsive */
@media (max-width: 768px) {
  .logos-slide img {
    height: 60px;
    gap: 40px;
  }
  
  .logos {
    padding: 40px 0;
  }
}

/*End adr section*/

/*Start contact*/
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form-wrapper {
  /*max-width: 800px;*/
  background: #fbfbfb;
  padding: 40px 50px;
  border-radius: 15px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.contact .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #6c757d;
}

.contact .form-control {
  border: none;
  border-bottom: 2px solid #ccc;
  border-radius: 0;
  padding: 10px 5px;
  transition: all 0.3s ease;
}

.contact .form-control:focus {
  border-color: #2e2c7c;
  box-shadow: none;
}

.contact .invalid-feedback {
  color: red;
  font-size: 0.875em;
  margin-top: 5px;
}

.btn-contact {
  background: linear-gradient(135deg, #2e2c7c, #9c94bc);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 40px;
  border: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(46, 44, 124, 0.2);
}

.btn-contact:hover {
  background: linear-gradient(135deg, #9c94bc, #2e2c7c);
  transform: translateY(-2px);
  color: #fff;
}

/*End contact*/

/*Start Footer*/
footer{
  /*background-color: #;*/
}
.footer-top{
  /*background: #e8e9ef;*/
  background: #2e2c7c;
  border-radius: 0 0 15px 15px;
}
/*Start Nos Cordonnées*/
    .footer-top{
        padding: 50px 0;
    }
    /*.footer-top .cordonnees-title{
        /*text-transform: uppercase;*/
        /*color: #2e2c7c;
        text-shadow: 1px 1px 2px #2e2c7c;
        margin-bottom: 25px;
        font-family: "Nunito", sans-serif;
    }*/
    /*.footer-top .cordonnees-title:after{
        left: 0;
        right: 0;
        background-color: #2e2c7c;
        content: "";
        display: block;
        height: 3px;
        position: relative;
        width: 90px;
        top: 10px;
        margin-bottom: 45px;
    }*/
    .footer-top .cordonnees-info-ul>li>i{
        color: #2e2c7c;
        font-size: 20px;
        margin-right: 10px;
        text-align: center;
        height: 27.2px;
        width: 27.2px;
        border-radius: 20px;
        background-color: #FFF;
        padding: 4px 0 0 0;
    }
    .footer-top .cordonnees-info-ul>li{
        margin-bottom: 10px;
        font-size: 14.5px;
        /*font-weight: bold;*/
        color: #fff;
    }

    .footer-main {
      padding: 40px 0;
    }

    .footer-title {
      font-weight: 600;
      margin-bottom: 15px;
      color: #fff;
    }

    .footer-menu li {
      margin-bottom: 8px;
    }

    .footer-menu a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.2s ease;
    }
    .footer-menu a:before{
    font-family: 'FontAwesome';
    content: '\f054';
    display: inline-block;
    margin-right: 5px;
    font-size: 12px;
    color: #fff;
    position: relative;
    top: -1px;
    }
    .footer-menu a:hover {
      font-weight: 600;
    }

    /*End Nos Cordonnées*/
.footer-bottom{
  
}
.footer-bottom .footerdesc{
  color: #2e2c7c;
  font-weight: bold;
  position: relative;
  top: 8px;
}
/*End Footer*/

/*Start New Footer*/
.new-footer {
  padding: 0px 20px 0px 20px;
  color: #fff;
  margin-top: auto;
}

.in-footer {
  background-color: #2e2c7c;
  border-radius: 15px 15px 0px 0px;
  padding: 40px 30px 30px;
}

.new-footer .footer-logo {
  width: 250px;
  max-width: 100%;
  margin-bottom: 10px;
  display: block;
}

.new-footer .footer-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #ffffff;
}

.new-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.new-footer .footer-links li {
  margin-bottom: 12px;
}

.new-footer .footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}
.new-footer .footer-links a:before{
  font-family: 'FontAwesome';
  content: '\f054';
  display: inline-block;
  margin-right: 5px;
  font-size: 12px;
  color: #fff;
  position: relative;
  top: -1px;
}

.new-footer .footer-links a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.new-footer .contact-info {
  margin-bottom: 0;
}

.new-footer .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.new-footer .contact-icon {
  width: 20px;
  min-width: 20px;
  margin-right: 15px;
  margin-top: 2px;
  opacity: 0.9;
  text-align: center;
}

.new-footer .contact-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.new-footer .contact-label {
  font-weight: 600;
  margin-bottom: 5px;
}

.new-footer .newsletter-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
}

.new-footer .newsletter-form {
  position: relative;
  max-width: 100%;
}

.new-footer .newsletter-input {
  width: 100%;
  padding: 14px 55px 14px 20px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.new-footer .newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.new-footer .newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.new-footer .newsletter-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-footer .newsletter-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.new-footer .footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0px 0 30px;
}

.new-footer .footer-bottom {
  padding-bottom: 0;
}

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

.new-footer .social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.new-footer .social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-3px);
}

.new-footer .copyright {
  font-size: 14px;
  opacity: 0.8;
  text-align: right;
}

/* Responsive */
@media (max-width: 991px) {
  .new-footer .copyright {
    text-align: center;
    margin-top: 20px;
  }

  .new-footer .social-links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .in-footer {
    padding: 30px 20px 20px;
  }

  .new-footer .footer-title {
    margin-top: 20px;
  }
}
/*End New Footer*/

/*Start Izdihar Page*/

.izdihar-section {
  position: relative;
  overflow: hidden;
  font-family: "Nunito", sans-serif;
  min-height: 60vh;
}

.izdihar-section .nav-list.is-fixed {
  position: fixed;
  top: 133px; /* ajuste selon la hauteur de ton header */
  left: 0;
  right: 0;
  background: #fff;
  z-index: 999;
  padding: 20px 0;
  /*box-shadow: 0 6px 20px rgba(0,0,0,0.08);*/
}


/* Boutons */
.nav-list {
  list-style: none;
  padding: 0;
}
/*.nav-btn {
  background: transparent;
  /*border: 1px solid #2e2c7c;*/
  /*border: 0;
  color: #2e2c7c;
  /*border-radius: 8px;*/
 /* padding: 10px 20px;
  margin: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-btn:hover,
.nav-btn.active {
  /*background-color: #2e2c7c;*/
  /*color: #fff;*/
/*}*/


/* Conteneur du bouton */
.nav-list li {
  position: relative;
  margin: 0 12px;
}

/* Style du bouton */
.nav-btn {
  position: relative;
  background: transparent;
  border: none;
  padding: 10px 5px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover du bouton */
.nav-btn:hover {
  color: #2e2c7c;
  transform: scale(1.05);
}

/* Ligne animée (comme navbar) */
.nav-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #2e2c7c;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* Hover */
.nav-btn:hover::after {
  width: 60%;
}

/* Bouton actif */
.nav-btn.active {
  color: #2e2c7c;
  font-weight: 600;
}

.nav-btn.active::after {
  width: 60%;
}


/* Wrapper principal du contenu */
.content-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 250px;
  border-radius: 15px 15px 0px 0px;
}

/* Couches colorées (plein écran verticalement dans la section) */
.layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  opacity: 0;
  z-index: 1;
  transition: transform 0.5s ease-in-out, opacity 0.4s ease;
  border-radius: 15px 15px 0px 0px;
}

.layer1 { background-color: #9c94bc; z-index: 2; }
.layer2 { background-color: #bfbbda; z-index: 3; }
.layer3 { background-color: #e8e9ef; z-index: 4; }

.layer.show {
  transform: translateY(0);
  opacity: 1;
}

/* Zone du texte */
.content-area {
  position: relative;
  z-index: 5;
  padding: 20px 0;
}

/* Animation du texte */
.content-item {
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.content-item.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
/*.presentation-img{
  border-radius: 5px;
  box-shadow: 10px 10px 0px 0px #2e2c7c;
}*/

/*.presentation-right-col .slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.presentation-right-col figure {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  animation: fade 20s infinite;
  opacity: 0;
}

.presentation-right-col figure:nth-child(1) { 
  background-image: url(../assets/association-izdihar.jpg);
  animation-delay: 0s;
}
.presentation-right-col figure:nth-child(2) { 
  background-image: url(../assets/batiment_en_cours_de_construction.jpeg);
  animation-delay: -4s;
}
.presentation-right-col figure:nth-child(3) { 
  background-image: url(../assets/association-izdihar.jpg);
  animation-delay: -8s;
}
.presentation-right-col figure:nth-child(4) { 
  background-image: url(../assets/batiment_en_cours_de_construction.jpeg);
  animation-delay: -12s;
}
.presentation-right-col figure:nth-child(5) { 
  background-image: url(../assets/association-izdihar.jpg);
  animation-delay: -16s;
}*/

/*Start Slide*/

.presentation-right-col .slider {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 10px 10px 0px 0px #2e2c7c;
}

/* Overlay dégradé sous le slider */
.presentation-right-col figure::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0)
  );

  pointer-events: none;
  z-index: -1;
}

.presentation-right-col figure {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  height: 100%;
  z-index: 2;
  text-shadow: 1px 1px 2px #2e2c7c;
}

.presentation-right-col figure.active {
  opacity: 1;
  z-index: 2;
}

.presentation-right-col figure:nth-child(1) { background-image: url(../assets/association-izdihar.jpg); }
.presentation-right-col figure:nth-child(2) { background-image: url(../assets/batiment_en_cours_de_construction.jpeg); }
.presentation-right-col figure:nth-child(3) { background-image: url(../assets/association-izdihar.jpg); }
.presentation-right-col figure:nth-child(4) { background-image: url(../assets/batiment_en_cours_de_construction.jpeg); }
.presentation-right-col figure:nth-child(5) { background-image: url(../assets/association-izdihar.jpg); }

.presentation-right-col figcaption {
  position: absolute;
  bottom: 30px;
  /*background: rgba(46, 44, 124, 0.85);*/
  color: #fff;
  /* padding: 15px 20px; */
  /* border-radius: 8px; */
  /* max-width: 80%; */
  animation: slideUp 0.8s ease;
  width: 100%;
}

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

.slider-indicators {
  position: absolute;
  bottom: 15px;
  /*right: 20px;*/
  display: flex;
  gap: 10px;
  z-index: 3;
  width: 100%;
  justify-content : center;
}

.slider-indicators .dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider-indicators .dot.active {
  background: #fff;
  transform: scale(1.2);
}


/*End Slide*/

.presentation-left-col{
  overflow-y: scroll;
  height: 430px;
  scrollbar-width: thin;
  scrollbar-color: #2e2c7c #ffffff;
}
@keyframes fade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

/* Chrome, Edge, Safari */
.presentation-left-col::-webkit-scrollbar {
  width: 6px; /* largeur de la barre */
}

.presentation-left-col::-webkit-scrollbar-track {
  background: #ffffff; /* Couleur du fond de la barre */
  border-radius: 10px;
}

.presentation-left-col::-webkit-scrollbar-thumb {
  background-color: #19b7f9; /* Couleur du curseur */
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.presentation-left-col::-webkit-scrollbar-thumb:hover {
  background-color: #12a1dc; /* Teinte légèrement plus foncée au survol */
}
.presentation-left-col::-webkit-scrollbar {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.presentation-left-col:hover::-webkit-scrollbar {
  opacity: 1;
}

.presentation-text{
  /*text-indent: 50px;
  text-align: justify;*/
}

.presentation-text strong{
    color: #2e2c7c;
}

/*Start mot du président*/
#president .mot-du-president{
  padding: 60px;
  max-width: 70%;
  border-radius: 20px;
  box-shadow: 0px 0px 25px -15px #000;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  /*box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: 60px;
  max-width: 900px;
  margin: auto;*/
}

/* Border animé */
#president .mot-du-president::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;

  background: linear-gradient(
    120deg,
    #2e2c7c,
    #bfbbda,
    #2e2c7c
  );
  background-size: 300% 300%;

  /* Masque pour garder juste le border */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: borderFlow 6s linear infinite;
}

/* Glow discret au hover */
#president .mot-du-president:hover::before {
  filter: drop-shadow(0 0 14px rgba(46, 44, 124, 0.35));
}

/* Animation fluide */
@keyframes borderFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

#president .mot-du-president .quote-icon {
  position: absolute;
  font-size: 80px;
  color: #d1d9e6;
  font-family: 'Georgia', serif;
  line-height: 1;
  opacity: 0.6;
}

#president .mot-du-president .quote-left {
  top: 20px;
  left: 20px;
}

#president .mot-du-president .quote-right {
  bottom: 10px;
  right: 20px;
}

#president .mot-du-president .content-text {
  font-style: italic;
  color: #444;
  line-height: 1.8;
  font-size: 1.05rem;
  text-align: justify;
}

#president .mot-du-president .signature-line {
  border-top: 2px solid #e0e0e0;
  margin-top: 30px;
  padding-top: 20px;
  text-align: right;
}

#president .mot-du-president .signature-text {
  color: #2e2c7c;
  font-weight: 700;
  font-size: 1.1rem;
}
/*End mot du président*/

#comite .organigramme-img{
  border-radius: 15px;
  box-shadow: 0px 0px 40px -15px #2e2c7c;
}

/*Start Accordion*/

/* Accordion items */
.accordion-item {
  border: none;
  margin-bottom: 10px;
  border-radius: 10px !important;
  overflow: hidden;
  /*background: rgba(255, 255, 255, 0.05);*/
  box-shadow: 0px 0px 14px -5px #000;
}
.accordion-item:first-of-type {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.accordion-item:last-of-type {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

/* Accordion button */
.accordion-button {
  background: #fbfbfb;
  color: #2e2c7c;
  font-weight: 700;
  text-align: left;
  width: 100%;
  padding: 15px 20px;
  border: none;
  /*box-shadow: none;*/
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*.accordion-button:hover {
  background: rgba(255, 255, 255, 0.15);
}*/

.accordion-button:focus {
  box-shadow: none;
  color: #fff;
  /*background: #2e2c7c;*/
  background: #7674a9;
}

.accordion-button i {
  transition: transform 0.3s ease;
}

/* Rotate arrow when opened */

.accordion-button::after{
  display: none;
}
.accordion-button:not(.collapsed) {
    color: #fff;
    /*background-color: #2e2c7c;*/
    background-color: #7674a9;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}
.accordion-button:not(.collapsed) .fa-chevron-down {
  transform: rotate(180deg) !important;
  color: #fff;
}

/* Accordion body */
.accordion-body {
  /*background-color: rgba(255, 255, 255, 0.1);*/
  background-color: #7674a9;
  color: #fff;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.accordion-body ul li {
  padding: 5px 0;
  font-weight: 500;
}

.accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 1.2rem;
  /*color: #2e2c7c;*/
  min-width: 26px;
}

.accordion-title {
  flex-grow: 1;
}

/* Quand ouvert */
.accordion-button:not(.collapsed) .accordion-icon {
  color: #fff;
}

/* Optionnel : petite animation */
.accordion-icon i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) .accordion-icon i {
  transform: scale(1.1);
}

/*End Accordion*/

#missions .card{
  background: #fbfbfb;
  border-radius: 15px;
  border: 0;
  height: 420px;
  transition: all 0.4s ease;
}
#missions .card:hover{
  transform: translateY(-8px);
  cursor: pointer;
}
#missions .card .card-img-top{
  height: 185px;
  box-shadow: 0px 0px 30px -16px #000;
}
#missions .card .card-title {
  font-weight: 600;
  margin-bottom: .75rem;
  color: #2e2c7c;
  /*text-shadow: 1px 1px 2px #2e2c7c;*/
}
#missions .card .card-title:before{
  font-family: 'FontAwesome';
  content: '\f0da';
  display: inline-block;
  margin-right: 5px;
  /*font-size: 12px;*/
  /*color: #fff;*/
  position: relative;
  top: -1px;
}
#missions .card .card-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 40px;
  background-color: #2e2c7c;
  margin-top: 10px;
  margin-bottom: 10px;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.35s ease;
}
#missions .card:hover .card-title::after {
  transform: scaleX(1.5);
  background-color: #9c94bc;
}

#missions .card .card-text{
  text-indent: 10px;
  text-align: justify;
}

/*#missions .col-lg-3:nth-child(2),
#missions .col-lg-3:nth-child(4),
#missions .col-md-3:nth-child(2),
#missions .col-md-3:nth-child(4) {
    margin-top: 55px;
}*/
.mission{
  /*background: url('../assets/missions.png');
  background-repeat: no-repeat;
  height: 460px;*/
}
.mission .objectif-title {
  color: #3d3b99;
  /*color: #FFF;*/
}
.mission .objectif-title:after,
#comite .objectif-title:after{
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #3d3b99;
    content: "";
    display: block;
    height: 3px;
    position: relative;
    width: 60px;
    top: 10px;
    margin-bottom: 30px;
}
.mission .objectif-card {
  background-color: #fbfbfb;
  border-radius: 15px;
  transition: all 0.4s ease;
  cursor: pointer;
  height: 152px;
}

.mission .objectif-card i {
  color: #2e2c7c;
  transition: color 0.3s ease;
}

.mission .objectif-card:hover {
  /*background-color: #bfbbda;
  color: #fff;*/
  transform: translateY(-8px);
}

.mission.objectif-card:hover i {
  color: #fff;
}
.valeur{
  /*background: url('../assets/nos-zonesV3.svg');*/
}
.valeur .card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2e2c7c 0%, #3d3b99 100%);
  height: 140px;
  overflow: hidden;
  position: relative;
  border-radius: 15px 15px 0px 0px;
}

.valeur .card-icon-wrapper i {
  font-size: 4rem;
  color: white;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}


/*End Izdihar Page*/

/*Start Nos Zones Page*/
.nos-zones-section-title{
  margin-top: 70px;
  margin-bottom: 50px;
}
.nos-zones-section-title-content{
  position: relative;
  padding: 30px;
  background-image: url('../assets/IZDIHAR-Nos-Zones.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #FFF;
  font-style: italic;
  font-weight: bold;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start; 
}
.nos-zones-section-title-overlay {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: linear-gradient(
    90deg,
    rgba(46,44,124,0.85) 0%,
    rgba(46,44,124,0.6) 40%,
    rgba(46,44,124,0.2) 100%
  );

  z-index: 1;
}
.nos-zones-section-title-content h1 {
  position: relative;
  z-index: 2;

  margin: 0;
  max-width: 600px;

  font-size: 2.5rem;
  line-height: 1.3;
  text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}
.zones-gallery-section {
    min-height: 600px;
}

.zones-gallery {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.gallery-image-container {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /*box-shadow: 0 20px 60px rgba(46, 44, 124, 0.15);*/
    box-shadow: 0px 0px 30px -10px #000;
    height: 500px;
    /*min-height: 500px;*/
}

.gallery-image {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-image-container:hover .gallery-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(46, 44, 124, 0.95) 0%, transparent 100%);
    padding: 80px 30px 30px;
    color: white;
}

.image-overlay h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zones-selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.zone-btn {
    width: 70px;
    height: 70px;
    border: 2px solid #2e2c7c;
    border-radius: 10px;
    background-color: white;
    color: #2e2c7c;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.zone-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: #2e2c7c;
    /*border-radius: px;*/
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.zone-btn:hover::before {
    width: 100%;
    height: 100%;
}

.zone-btn:hover {
    color: white;
    box-shadow: 0 10px 30px rgba(46, 44, 124, 0.25);
    transform: translateY(-5px);
}

.zone-btn.active {
    background-color: #2e2c7c;
    color: white;
    box-shadow: 0 15px 40px rgba(46, 44, 124, 0.3);
    transform: scale(1.1);
}

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

.zone-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
    text-align: center;
}

.zone-btn:first-child {
    background-color: #2e2c7c;
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-image.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zones-gallery-section .content-wrapper h3{
  color: #2e2c7c;
  font-weight: bold;
  margin-top: 10px;
}

.zones-gallery-section .content-wrapper h3:after{
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #2e2c7c;
  content: "";
  display: block;
  height: 3px;
  position: relative;
  width: 60px;
  top: 10px;
  margin-bottom: 30px;
}

/* Section Comment Rejoindre */
.comment-rejoindre-section {
    /*padding: 80px 0;*/
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.comment-rejoindre-header {
    /*text-align: center;
    margin-bottom: 60px;*/
}

.comment-rejoindre-header h3 {
    /*font-size: 2.2rem;
    font-weight: 700;
    color: #2e2c7c;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;*/
}

.comment-rejoindre-header p {
    /*font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;*/
}

/* Grille de transport */
.transport-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    /*margin-top: 50px;*/
}

.transport-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(46, 44, 124, 0.08);
    border: 1px solid #f0f0f0;
    border-left: 5px solid #2e2c7c;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideInTransport 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.transport-card:nth-child(1) {
    animation-delay: 0s;
}

.transport-card:nth-child(2) {
    animation-delay: 0.1s;
}

.transport-card:nth-child(3) {
    animation-delay: 0.2s;
}

.transport-card:nth-child(4) {
    animation-delay: 0.3s;
}

.transport-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(46, 44, 124, 0.15);
    /*border-left-color: #ff6b35;*/
    border-left-color: #5a57d8
}

.transport-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.transport-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2e2c7c 0%, rgba(46, 44, 124, 0.8) 100%);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    transition: transform 0.4s ease;
}

.transport-card:hover .transport-icon {
    transform: scale(1.15) rotateZ(10deg);
}

.transport-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2e2c7c;
    margin: 0;
    text-transform: capitalize;
    text-align: center;
    width: 100px;
}

.transport-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transport-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Animation d'apparition */
@keyframes slideInTransport {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .transport-grid {
        grid-template-columns: 1fr;
    }
}

.nos-adherents-header{
  margin-top: 20px;
}
.nos-adherents-logo{
  width: 100%;
}
.nos-adherent-grid{
 margin: 20px 0;
}
.nos-adherent-grid .Home-Voir-plus .btn{
  color: #2e2c7c;
  background-color: #fff;
  border-color: #2e2c7c;
  border-radius: 20px;
  font-weight: bold;
  font-size: large;
  margin-top: 15px;
}
.nos-adherent-grid .Home-Voir-plus .btn:hover{
  color: #e8e9ef;
  background-color: #2e2c7c;
}
.nos-adherent-grid .nos-adherents-card{
  transition: 0.5s ease;
  border-radius: 15px;
  padding: 20px;
}
.nos-adherent-grid .nos-adherents-card:hover{
  border: 1px solid #2e2c7c;
  box-shadow: 0px 0px 25px -10px #000;
  transition: 0.3s ease;
}

/* ===== Modal Background ===== */
.download-modal{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.6);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  transition:0.4s;
}

.download-modal.show{
  opacity:1;
  visibility:visible;
}

/* ===== Box ===== */
.download-box{
  background:#fff;
  padding:40px;
  border-radius:15px;
  text-align:center;
  width:350px;
  animation:scaleIn .4s ease;
  box-shadow:0 20px 50px rgba(0,0,0,.2);
}

@keyframes scaleIn{
  from{
    transform:scale(.8);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}

/* ===== Loader ===== */
.loader-circle{
  width:60px;
  height:60px;
  border:5px solid #eee;
  border-top:5px solid #2e2c7c;
  border-radius:50%;
  margin:0 auto 20px;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  100%{
    transform:rotate(360deg);
  }
}

/* ===== Success animation ===== */
.success{
  border-color:#28a745;
  animation:none;
}

.download-success{
  font-size:50px;
  color:#28a745;
  animation:pop .5s ease;
}

@keyframes pop{
  0%{transform:scale(0)}
  100%{transform:scale(1)}
}

/* Grid des cartes de secteurs */
.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.secteur-card {
  background: white;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(46, 44, 124, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid #f0f0f0;
  animation: slideInCard 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  /*min-height: 350px;*/
  display: flex;
  flex-direction: column;
}

.secteur-card:nth-child(1) {
    animation-delay: 0s;
}

.secteur-card:nth-child(2) {
    animation-delay: 0.1s;
}

.secteur-card:nth-child(3) {
    animation-delay: 0.2s;
}

.secteur-card:nth-child(4) {
    animation-delay: 0.3s;
}

.secteur-card:nth-child(5) {
    animation-delay: 0.4s;
}

.secteur-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 44, 124, 0.15);
    border-color: #2e2c7c;
}

.secteur-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #2e2c7c 0%, rgba(46, 44, 124, 0.8) 100%);
    border-radius: 50%;
    font-size: 1.8rem;
    color: white;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.secteur-card:hover .secteur-icon {
    transform: scale(1.15) rotateZ(10deg);
}

.secteur-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2e2c7c;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.secteur-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 auto 0;
    flex-grow: 1;
}

/* Animation d'apparition des cartes */
@keyframes slideInCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .secteurs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .zones-content-header h2 {
        font-size: 1.8rem;
    }

    .zones-content-section h3 {
        font-size: 1.4rem;
    }

    .secteur-card {
        padding: 20px 15px;
    }

    .secteur-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .transport-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .transport-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-left: none;
        border-top: 5px solid #2e2c7c;
        padding: 20px;
    }

    .transport-card:hover {
        transform: translateY(-5px) translateX(0);
    }

    .transport-content {
        align-items: center;
    }

    .comment-rejoindre-header h2 {
        font-size: 1.8rem;
    }

    .transport-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        min-width: 70px;
    }

    .transport-card h3 {
        font-size: 1.1rem;
    }

    .transport-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .zones-gallery {
        flex-direction: column;
        gap: 30px;
    }

    .gallery-image-container {
        height: 300px;
    }

    .zones-selector {
        flex-direction: row;
        justify-content: center;
    }

    .zone-btn {
        width: 100px;
        height: 100px;
    }

    .zone-number {
        font-size: 1.2rem;
    }

    .zone-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .zones-gallery-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .gallery-image-container {
        height: 250px;
    }

    .zones-selector {
        flex-wrap: wrap;
        gap: 15px;
    }

    .zone-btn {
        width: 90px;
        height: 90px;
        font-size: 0.9rem;
    }

    .zone-number {
        font-size: 1rem;
    }

    .image-overlay h3 {
        font-size: 1.3rem;
        padding: 20px 15px 15px;
    }
}

/*End Nos Zones Page*/

/*Start Centre Multiservices Page*/
/* Section À propos */
.about-centre-section {
  padding: 15px 0;
}

.about-centre-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-centre-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2e2c7c;
  /*margin-bottom: 20px;*/
  letter-spacing: 1px;
}
.about-centre-header h2:after {
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #2e2c7c;
  content: "";
  display: block;
  height: 4px;
  position: relative;
  width: 60px;
  top: 10px;
  margin-bottom: 30px;
  border-radius: 2px;
}

.about-centre-header p {
  font-size: 1rem;
  color: #666;
  margin: 0 auto;
  line-height: 1.8;
}

/* Section Nos Atouts */
.nos-atouts-section {
  padding: 30px 0;
}

.nos-atouts-header {
  text-align: center;
  margin-bottom: 60px;
}

.nos-atouts-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2e2c7c;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.nos-atouts-header h2:after {
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #2e2c7c;
  content: "";
  display: block;
  height: 4px;
  position: relative;
  width: 60px;
  top: 10px;
  margin-bottom: 30px;
  border-radius: 2px;
}

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

.atout-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.4s ease;
  border: 1px solid #eee;
}

.atout-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(46, 44, 124, 0.1);
  background: white;
}

.atout-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, #2e2c7c 0%, rgba(46, 44, 124, 0.8) 100%);
  border-radius: 50%;
  font-size: 1.8rem;
  color: white;
}

.atout-content h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2e2c7c;
  margin: 0 0 10px 0;
}

.atout-content p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .atouts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .atouts-grid {
    grid-template-columns: 1fr;
  }
}

/* Types d'événements */
.event-types-section {
  margin-top: 60px;
}

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

.event-types-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2e2c7c;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.event-types-header h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #2e2c7c;
  border-radius: 2px;
}

.event-types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.event-type-card {
  background: white;
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(46, 44, 124, 0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideInEvent 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.event-type-card:nth-child(1) { animation-delay: 0s; }
.event-type-card:nth-child(2) { animation-delay: 0.1s; }
.event-type-card:nth-child(3) { animation-delay: 0.2s; }
.event-type-card:nth-child(4) { animation-delay: 0.3s; }
.event-type-card:nth-child(5) { animation-delay: 0.4s; }

.event-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(46, 44, 124, 0.15);
}

.event-type-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #2e2c7c 0%, rgba(46, 44, 124, 0.8) 100%);
  border-radius: 50%;
  font-size: 2rem;
  color: white;
  transition: transform 0.4s ease;
}

.event-type-card:hover .event-type-icon {
  transform: scale(1.15);
}

.event-type-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2e2c7c;
  margin-bottom: 10px;
}

.event-type-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

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

/* Section Salles OLD*/

/*.salles-section {
  padding: 30px 0;
}

.salles-header {
  text-align: center;
  margin-bottom: 60px;
}

.salles-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2e2c7c;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.salles-header h2:after {
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #2e2c7c;
  content: "";
  display: block;
  height: 4px;
  position: relative;
  width: 60px;
  top: 10px;
  margin-bottom: 30px;
  border-radius: 2px;
}

.salles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.salle-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(46, 44, 124, 0.1);
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideInSalle 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.salle-card:nth-child(1) { animation-delay: 0s; }
.salle-card:nth-child(2) { animation-delay: 0.1s; }
.salle-card:nth-child(3) { animation-delay: 0.2s; }
.salle-card:nth-child(4) { animation-delay: 0.3s; }

.salle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(46, 44, 124, 0.15);
}

.salle-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.salle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.salle-card:hover .salle-image img {
  transform: scale(1.05);
}

.salle-price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #2e2c7c;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

.salle-content {
  padding: 25px;
}

.salle-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2e2c7c;
  margin-bottom: 10px;
}

.salle-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.salle-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
}

.spec-item i {
  color: #2e2c7c;
  font-size: 1.2rem;
}

.salle-configurations {
  margin-bottom: 20px;
}

.config-label {
  font-weight: 600;
  color: #2e2c7c;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.config-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.config-tag {
  background: #f0f0f0;
  color: #666;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid #e0e0e0;
}

.salle-actions {
  display: flex;
  gap: 15px;
}

.btn-voir-details {
  flex: 1;
  background: white;
  color: #2e2c7c;
  border: 2px solid #2e2c7c;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-voir-details:hover {
  background: #2e2c7c;
  color: white;
}

.btn-reserver {
  flex: 1;
  background: #2e2c7c;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-reserver:hover {
  background: #1f1c58;
  transform: scale(1.02);
}

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

/* Section Salles */
.salles-section {
  padding: 80px 0;
  background: white;
}

.salles-header {
  text-align: center;
  margin-bottom: 60px;
}

.salles-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2e2c7c;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.salles-header h2:after {
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #2e2c7c;
  content: "";
  display: block;
  height: 4px;
  position: relative;
  width: 60px;
  top: 10px;
  margin-bottom: 30px;
  border-radius: 2px;
}

.salles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.salle-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(46, 44, 124, 0.1);
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideInSalle 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.salle-card:nth-child(1) { animation-delay: 0s; }
.salle-card:nth-child(2) { animation-delay: 0.1s; }
.salle-card:nth-child(3) { animation-delay: 0.2s; }
.salle-card:nth-child(4) { animation-delay: 0.3s; }

.salle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(46, 44, 124, 0.15);
}

.salle-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.salle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.salle-card:hover .salle-image img {
  transform: scale(1.05);
}

.salle-price-badge {
  display: none;
}

.salle-content {
  padding: 25px;
}

.salle-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2e2c7c;
  margin-bottom: 10px;
}

.salle-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.salle-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
}

.spec-item i {
  color: #2e2c7c;
  font-size: 1.2rem;
}

.salle-configurations {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
}

.config-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.9rem;
}

.config-item:last-child {
  border-bottom: none;
}

.config-style {
  font-weight: 600;
  color: #2e2c7c;
}

.config-label {
  font-weight: 600;
  color: #2e2c7c;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.config-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.config-tag {
  background: #f0f0f0;
  color: #666;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid #e0e0e0;
}

.salle-actions {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.btn-voir-details {
  display: none;
}

.btn-reserver {
  flex: 1;
  background: #2e2c7c;
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  width: 100%;
}

.btn-reserver:hover {
  background: #1f1c58;
  transform: scale(1.02);
}

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

/* Section Organiser votre événement */
.organiser-event-div{
  padding: 0px 20px 0px 20px;
}
.organiser-event-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2e2c7c 0%, #1f1c58 100%);
  color: white;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
  border-radius: 15px;
}

.organiser-event-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,90.7C672,85,768,107,864,112C960,117,1056,107,1152,101.3C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.organiser-event-content {
  position: relative;
  z-index: 2;
}

.organiser-event-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.organiser-event-content p {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0.95;
}

.organiser-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-verifier {
  background: white;
  color: #2e2c7c;
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-verifier:hover {
  background: #f0f0f0;
}

.btn-reserver-now {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-reserver-now:hover {
  background: white;
  color: #2e2c7c;
}

/* Bouton flottant Réserver */
.floating-book-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2e2c7c;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(46, 44, 124, 0.3);
  transition: all 0.4s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-book-btn:hover {
  background: #1f1c58;
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(46, 44, 124, 0.4);
}

.floating-book-btn.hidden {
  display: none !important;
}

.floating-book-btn i {
  font-size: 1.2rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.3s ease;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 700px;
  width: 100%;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
}

.modal-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2e2c7c;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #2e2c7c;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 25px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #2e2c7c;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2e2c7c;
  background: #f8f9fa;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.required::after {
  content: ' *';
  color: #d32f2f;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #2e2c7c 0%, #1f1c58 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(46, 44, 124, 0.3);
}

/* Modal Détail Salle */
.salle-detail-modal .modal-content {
  max-width: 800px;
  padding: 0;
  overflow: visible;
  overflow-y: auto;
}

.salle-detail-header {
  position: relative;
  height: 480px;
  background: #f0f0f0;
}

.salle-detail-header .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-container {
  position: relative;
  /*height: 100%;*/
  height: 183px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: white;
  transform: scale(1.1);
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

.salle-detail-body {
  padding: 40px;
}

.salle-detail-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2e2c7c;
  margin-bottom: 12px;
}

.salle-detail-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.salle-specs-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.spec-detail-item {
  display: flex;
  gap: 12px;
}

.spec-detail-item i {
  color: #2e2c7c;
  font-size: 1.3rem;
  min-width: 25px;
}

.spec-detail-item span {
  font-size: 0.9rem;
  color: #666;
}

.equipements-detail {
  margin-bottom: 30px;
}

.equipements-detail h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2e2c7c;
  margin-bottom: 12px;
}

.equipements-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.equipement-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.9rem;
}

.equipement-item i {
  color: #2e2c7c;
}

.configurations-detail {
  margin-bottom: 30px;
}

.configurations-detail h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2e2c7c;
  margin-bottom: 15px;
}

.config-tags-detail {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.config-tag-detail {
  background: #f0f0f0;
  color: #2e2c7c;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
}

.salle-detail-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #f0f0f0;
  padding-top: 20px;
}

.salle-price-detail {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2e2c7c;
}

.btn-reserver-detail {
  background: linear-gradient(135deg, #2e2c7c 0%, #1f1c58 100%);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-reserver-detail:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(46, 44, 124, 0.3);
}

/* Désactiver les options de salle */
.reservation-form select[name="salle"] option:disabled {
  color: #ccc;
  background-color: #f5f5f5;
}

.reservation-form select[name="salle"] option {
  padding: 10px;
}

@media (max-width: 768px) {
  .modal-backdrop {
    padding: 60px 15px 15px;
    overflow-y: scroll;
  }

  .modal-content {
    padding: 20px;
    max-height: none;
    border-radius: 15px;
    overflow: visible;
  }

  .salle-detail-header {
    height: 320px;
    border-radius: 15px;
    margin-bottom: 0;
  }

  .salle-detail-body {
    padding: 20px;
  }

  .salle-detail-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .salle-detail-description {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }

  .salle-specs-detail {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 15px;
  }

  .equipements-detail h4,
  .configurations-detail h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .equipements-list {
    gap: 8px;
  }

  .salle-detail-footer {
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
  }

  .btn-reserver-detail {
    width: 100%;
    justify-content: center;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .carousel-dots {
    bottom: 10px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .dot.active {
    width: 24px;
  }
}

@media (max-width: 480px) {
  .modal-backdrop {
    padding: 50px 10px 10px;
    overflow-y: scroll;
  }

  .modal-content {
    padding: 15px;
    max-height: none;
    border-radius: 12px;
    overflow: visible;
  }

  .salle-detail-header {
    height: 250px;
    border-radius: 12px;
    margin-bottom: 0;
  }

  .salle-detail-body {
    padding: 15px 0;
  }

  .salle-detail-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .salle-detail-description {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .spec-detail-item {
    gap: 8px;
  }

  .spec-detail-item i {
    font-size: 1.1rem;
  }

  .spec-detail-item span {
    font-size: 0.8rem;
  }

  .equipement-item {
    font-size: 0.8rem;
  }

  .config-tag-detail {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .salle-price-detail {
    font-size: 1.2rem;
  }

  .btn-reserver-detail {
    font-size: 0.9rem;
    padding: 12px 20px;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .carousel-nav {
    padding: 0 10px;
  }
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .event-types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .salles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .organiser-event-content h2 {
    font-size: 1.8rem;
  }

  .modal-content {
    padding: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .floating-book-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

/*End Centre Multiservices Page*/