.banner-innerpages{
background: url(https://missionsbaraka.dev/img/entre/network_entrepreneurs.png);
    padding-top: 210px;
    padding-bottom: 130px;
    position: relative;
}
.banner-innerpages h1{
    font-weight: 700;
    text-transform: uppercase;
    font-size: 44px;
    letter-spacing: 5px;
    text-align: center;
   

}



body {
  background: linear-gradient(120deg, #f8f9fa, var(--bg-light));
}

.hero-section {
  padding: 90px 0;
}

.hero-title {
  color: #1f2937;
}

.hero-title span {
  color: #1f2937;
}


.carousel-img {
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

.btn-loading {
  position: relative;
  padding-right: 55px;
}

.btn-loading.loading::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg) translateY(-50%);
  }
}


body {
  font-family: "Segoe UI", sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
  transition: all 0.35s ease;
  padding: 40px 0;
}

.navbar.scrolled {
  background: rgba(209, 205, 205, 0.85);
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.navbar-brand img {
  height: 100px;
  transition: 0.3s;
}

.navbar.scrolled .navbar-brand img {
  height: 50px;
}

.nav-link {
  color: white !important;
  font-weight: 500;
}

.dropdown-menu {
  background: var(--blue);
  border: none;
}

.dropdown-item {
  color: white;
}

.dropdown-item:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("img7.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: #ccc;
  padding: 40px 0;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}


/* ===== FULLSCREEN MOBILE MENU ===== */
@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
  }

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

  .navbar-nav .nav-item {
    margin: 15px 0;
  }

  .navbar-nav .nav-link {
    font-size: 1.5rem;
  }
}




.mission-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.mission-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* OVERLAY */
.mission-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 30px;
  text-align: center;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.mission-overlay h4 {
  font-weight: bold;
  margin-bottom: 10px;
}

.mission-overlay p {
  font-size: 0.95rem;
}

/* ICON */
.mission-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ffc107;
  animation: floatIcon 2s ease-in-out infinite;
}

/* HOVER DESKTOP */
@media (hover: hover) {
  .mission-card:hover img {
    transform: scale(1.1);
  }

  .mission-card:hover .mission-overlay {
    transform: translateY(0);
  }
}

/* TAP MOBILE */
.mission-card.active .mission-overlay {
  transform: translateY(0);
}

/* ICON ANIMATION */
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-video {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Vidéo plein écran */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

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

/* Contenu */
.hero-content {
  z-index: 3;
}

.hero-title {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

/* Bouton */
.hero-video .btn-primary {
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 1.1rem;
}

/* Mobile optimisation */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.6rem;
  }
}



  .dropdown-mega {
    width: 700px;
  }
  .dropdown-mega .dropdown-header {
    font-weight: 600;
    color: #0d6efd;
  }



/* ================= HERO ================= */
.hero {
    position: relative;
    height: 80vh;
    background: url("assets/hero.jpg") center/cover no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
}

/* Glass effect */
.glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

/* ================= SLIDER ================= */
.swiper-slide {
    background: white;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,.1);
    transition: transform .4s;
}

.swiper-slide:hover {
    transform: translateY(-10px);
}

/* ================= GALLERY ================= */
.gallery img {
    border-radius: 18px;
    transition: transform .5s, box-shadow .5s;
}

.gallery img:hover {
    transform: scale(1.07);
    box-shadow: 0 25px 50px rgba(0,0,0,.25);
}

/* ================= TITLES ================= */
.section-title {
    font-weight: 700;
    letter-spacing: .5px;
}

    

        .bilingual-card {
            border-radius: 1.25rem;
            background: #ffffff;
        }

        .section-title {
            color: #1f3c88;
        }

        .section-text {
            color: #4a4a4a;
            line-height: 1.7;
            font-size: 1rem;
        }

        @media (max-width: 576px) {
            .section-text {
                font-size: 0.95rem;
            }
        }






.card {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  animation: fadeUp 0.8s ease forwards;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.card img {
  width: 100%;
  border-radius: 16px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* Effet hover image */
.card img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}



.grid-4 img {
  height: 160px;
  object-fit: cover;
}

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

.card:hover {
  transform: translateY(-6px);
  transition: transform 0.4s ease;
}

@media (max-width: 600px) {
  .grid-4 img {
    height: 120px;
  }
}



    /* ================= CARDS ================= */

    .card {
      background: #ffffff;
      border-radius: 24px;
      padding: 26px;
      box-shadow: 0 25px 50px rgba(0,0,0,0.06);
      display: flex;
      flex-direction: column;
      opacity: 0;
      transform: translateY(50px);
      transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .card.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 40px 80px rgba(0,0,0,0.12);
    }

    .badge {
      background: #f1f5f9;
      border-radius: 999px;
      padding: 6px 14px;
      font-size: 0.85rem;
      font-weight: 600;
      width: fit-content;
      margin-bottom: 14px;
      color: #334155;
    }

    .card h2 {
      margin: 0 0 12px;
      font-size: 1.4rem;
    }

    .card p {
      color: #475569;
      line-height: 1.55;
      margin-bottom: 20px;
    }

    .card img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      border-radius: 18px;
      margin-top: auto;
      transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .card:hover img {
      transform: scale(1.06);
    }


/*---Galerie Page-----*/

/* Slider */
.carousel-item img {
    height: 70vh;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.6s ease;
}

.carousel-item.active img {
    transform: scale(1.02);
}

/* Boutons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.6);
    padding: 25px;
    border-radius: 50%;
}

/* Miniatures */
.thumbnail-container {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active-thumb {
    opacity: 1;
    border: 2px solid #fff;
    transform: scale(1.05);
}
