/**********  CSS Optimisé **********/

/* ---------- GLOBAL ---------- */
/*** bouton traduction *****/
.lang-btn {
  background: #2fb4c6; /* turquoise 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: #5fd2dd;
}

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

#lang-label {
  font-size: 14px;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #f8f9fb;
  color: #333;
}


.fw-medium {
  font-weight: 500;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  font-family: 'Poppins', sans-serif;
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  background: #2fb4c6;
  color: #fff;
  border-radius: 50%;
}

.back-to-top:hover {
  background: #5fd2dd;
}

/* ---------- SPINNER ---------- */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}
#spinner.show {
  visibility: visible;
  opacity: 1;
  transition: opacity .5s ease-out, visibility 0s linear 0s;
}

/* ---------- ICON CIRCLE ---------- */
.icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
   background-color: #2fb4c6;
}
.icon-circle .bg-primary {
    background-color: #2fb4c6; /*!important;*/
 }   
/* ---------- LOGO ---------- */
.logo-header {
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0px 0px 6px rgba(255,255,255,0.9))
          drop-shadow(0px 0px 2px rgba(0,0,0,0.6));
  transition: transform .3s ease;
}
/* ---------- BUTTONS ---------- */
.btn {
  transition: .3s ease;
  font-weight: 500;
}
.btn-primary,
.btn-outline-primary:hover {
  background: #2fb4c6;
  border-color: #2fb4c6;
  color: #fff;
}

.btn-primary:hover {
  background: #5fd2dd;
  border-color: #5fd2dd;
}
.btn-secondary,
.btn-outline-secondary:hover {
  color: #2a2a2a;
}


.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: normal;
}

.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; } /* réduit pour cohérence */
.btn-lg-square { width: 48px; height: 48px; }

/* Icônes sociales */
/* Icônes sociales */
.btn-sm-square {
  border: 1px solid #2fb4c6;
  color: #2fb4c6;
  transition: all 0.3s ease;
}
.btn-sm-square:hover {
  background: #2fb4c6;
  color: #fff;
}
/* ---------- ICON BOX ---------- */
.icon-box-primary,
.icon-box-light {
  position: relative;
  padding: 0 0 10px 10px;
  z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
  font-size: 60px;
  line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 35px;
  left: 0;
  bottom: 0;
  border-radius: 35px;
  transition: .5s;
  z-index: -1;
}

.icon-box-primary::before { background: var(--bs-primary); }
.icon-box-light::before { background: var(--bs-light); }

/* ---------- NAVBAR ---------- */
.sticky-top {
  top: 0;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 1000;
}

.navbar { padding: 0.7rem 1rem; }

.navbar .nav-link {
  font-weight: 500;
  font-size: 17px;
  color: #2fb4c6;
  padding: 15px 20px;
  transition: color 0.3s ease, transform 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #2fb4c6;
  transform: translateY(-2px);
}


.navbar .dropdown-menu {
  border-radius: 8px;
  border: none;
  box-shadow: 0px 6px 20px rgba(0,0,0,0.1);
  padding: 0.5rem;
}

.navbar .dropdown-item {
  padding: 10px 15px;
  font-size: 15px;
}
.navbar .dropdown-item:hover {
  background-color: #f4f7f9;
  color: #2fb4c6;
}

/* ---------- CAROUSEL ---------- */
.header-carousel .carousel-item img {
  object-fit: cover;
  height: 85vh;
  filter: brightness(70%);
}

.carousel-caption {
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
  background: rgba(0,0,0,0.35);
}

.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0px 2px 8px rgba(0,0,0,0.5);
}

.carousel-caption p {
  font-size: 1.25rem;
  margin-bottom: 25px;
  max-width: 600px;
  text-shadow: 0px 2px 6px rgba(0,0,0,0.4);
}

.carousel-caption .btn {
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 600;
}
.carousel-caption .btn {
  background: #2fb4c6;
  border: none;
}
.carousel-caption .btn:hover {
  background: #5fd2dd;
}


/* ---------- DOMAINES COULEURS ---------- */
/* Scorpions */
.carousel-item:nth-child(1) .btn {
  background: #e67e22;
  border-color: #e67e22;
}
.carousel-item:nth-child(1) .btn:hover { background: #cf711c; }

/* Serpents */
.carousel-item:nth-child(2) .btn {
  background: #27ae60;
  border-color: #27ae60;
}
.carousel-item:nth-child(2) .btn:hover { background: #1e874b; }

/* Rage */
.carousel-item:nth-child(3) .btn {
  background: #c0392b;
  border-color: #c0392b;
}
.carousel-item:nth-child(3) .btn:hover { background: #a93226; }

/* ---------- CAROUSEL CONTROLS ---------- */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(44, 123, 229, 0.9);
  background-size: 50% 50%;
  transition: background-color 0.3s;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: #2c7be5;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .carousel-caption {
    padding: 0 5%;
    text-align: center;
    justify-content: center;
  }
  .carousel-caption h1 { font-size: 2.2rem; }
  .carousel-caption p { font-size: 1rem; }
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)),
              url(../img/testimonial.jpg) center center no-repeat;
  background-size: cover;
}
.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: var(--bs-white);
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--bs-white);
}
/*** Features ***/
.feature {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/feature.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}

.experience .nav-pills .nav-link {
    color: var(--dark);
}

.experience .nav-pills .nav-link.active {
    color: #FFFFFF;
}

.experience .tab-content hr {
    width: 30px;
}


/*** About ***/
/* ---------- ABOUT SECTION ---------- */
.about-section {
  background: linear-gradient(135deg, #f8fbfc 0%, #ffffff 100%);
  padding: 80px 20px;
  border-radius: 12px;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.06);
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2fb4c6; /* turquoise branding */
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #5fd2dd; /* accent color */
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}

/* Turquoise theme color */
.text-turquoise {
  color: #2fb4c9 !important;
}

.about-box {
  border-top: 4px solid #2fb4c9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(47, 180, 201, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .about-title {
    font-size: 2rem;
  }
  .about-text {
    font-size: 1rem;
  }
}


/* Service Section */
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: linear-gradient(135deg, #00C2CB, #004C7F);
    border-radius: 12px;
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

/* Icon box styling */
.icon-box-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 194, 203, 0.1);
    transition: all 0.4s ease;
}

.icon-box-primary i {
    font-size: 32px;
    color: #00C2CB;
    transition: all 0.4s ease;
}

.service-item:hover .icon-box-primary {
    background: rgba(255, 255, 255, 0.2);
}

.service-item:hover .icon-box-primary i {
    color: #FFFFFF !important;
}

/* Button styling */
.service-item .btn {
    border-radius: 30px;
    font-size: 14px;
    padding: 8px 18px;
    border: 2px solid #00C2CB;
    color: #004C7F;
    transition: all 0.3s ease;
}

.service-item .btn:hover {
    background: linear-gradient(135deg, #00C2CB, #004C7F);
    color: #fff;
    border-color: transparent;
}

/***** FEATURES ****/
/* Gradient background for right column */
.bg-primary-gradient {
    background: linear-gradient(135deg, #00C2CB, #004C7F);
}

/* Icon box */
.icon-box-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 194, 203, 0.1);
    transition: all 0.4s ease;
}

.icon-box-primary i {
    font-size: 32px;
    color: #00C2CB;
    transition: all 0.4s ease;
}

.icon-box-primary:hover {
    background: #004C7F;
}

.icon-box-primary:hover i {
    color: #fff;
}

/* Progress bars */
.progress {
    height: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.progress-bar {
    border-radius: 20px;
    transition: width 1s ease-in-out;
}

/* Button style */
.btn-primary {
    background: linear-gradient(135deg, #00C2CB, #004C7F);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004C7F, #00C2CB);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 76, 127, 0.3);
}

:root {
  --team-primary: #1abc9c; /* Turquoise */
}

/* Container */
.container-team {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  background: #f9fbfc;
}

/* Swiper */
.team-slider {
  padding: 20px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

/* Card */
.team-item {
  width: 260px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.team-item:hover {
  transform: translateY(-6px);
}

/* Image */
.team-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Social overlay */
.team-social {
  position: absolute;
  inset: 0;
  background: rgba(26, 188, 156, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-item:hover .team-social {
  opacity: 1;
}

.team-social .btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--team-primary);
  background: #fff;
  transition: all 0.3s ease;
}

.team-social .btn:hover {
  background: var(--team-primary);
  color: #fff;
}

/* Text */
.team-item h5 {
  color: var(--team-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.team-item span {
  font-size: 14px;
  color: #6c757d;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: var(--team-primary);
  transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #0e6655;
}


/* Contact Section */
.contact-box {
  background: #1abc9c; /* turquoise */
  transition: all 0.3s ease-in-out;
}
.contact-box:hover {
  background: #16a085; /* darker turquoise on hover */
}

@media (min-width: 992px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, .3);
  }
}

@media (max-width: 991.98px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0px;
    top: 50%;
    left: 0;
    border-top: 1px dashed rgba(255, 255, 255, .3);
  }
}

/* Buttons & form */
.btn-primary {
  background: #2fb4c6;
  border-color: #1abc9c;
}
.btn-primary:hover {
  background: #2fb4c6;;
  border-color: #16a085;
}

.form-control {
  border-radius: 8px;
}

/*** Footer ***/
.footer {
  position: relative;
  background: linear-gradient(
      rgba(0, 180, 200, 0.8),   /* turquoise overlay */
      rgba(3, 27, 78, 0.9)      /* deep blue for contrast */
    ),
    url("../img/footer.png") center center no-repeat;
  background-size: cover; /* cover looks more professional than contain */
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 15px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.2); /* subtle overlay for separation */
}

.copyright a {
  color: #00b4c8; /* turquoise brand color */
  font-weight: 500;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: #66e0ef; /* lighter turquoise for hover */
  text-decoration: underline;
}

/****** Privacy Policy *****/
/**** 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: #1abc9c; /* Turquoise bleu (couleur du logo) */
  font-size: 2em;
  margin-bottom: 20px;
  border-left: 6px solid #1abc9c; /* Turquoise bleu 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 #e0f5f1; /* Couleur claire avec turquoise pour les bordures */
}

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

.privacy-accordion-title {
  cursor: pointer;
  padding: 18px;
  background: #f2f9f6;
  color: #1abc9c; /* Turquoise bleu */
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-accordion-title:hover {
  background: #e0f5f1; /* Hover en turquoise clair */
  color: #16a085; /* Couleur turquoise plus foncée */
}

.privacy-accordion-content {
  display: none;
  padding: 18px;
  background-color: #ffffff;
  color: #555;
  border-left: 3px solid #1abc9c; /* Bordure turquoise clair */
}

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

.privacy-active .privacy-accordion-title {
  background: #e0f5f1;
  color: #16a085; /* Turquoise plus foncé */
}

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

/******* Legal Notices *****/
/****** 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: #1abc9c; /* Turquoise Blue (Logo color) */
  font-size: 2em;
  margin-bottom: 20px;
  border-left: 6px solid #1abc9c; /* Turquoise Blue accent */
  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 #e0f5f1; /* Light turquoise */
}

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

.accordion-title {
  cursor: pointer;
  padding: 18px;
  background: #f2f9f6; /* Light turquoise */
  color: #1abc9c; /* Turquoise Blue */
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title:hover {
  background: #e0f5f1; /* Light turquoise on hover */
  color: #16a085; /* Darker turquoise */
}

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

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

.active .accordion-title {
  background: #e0f5f1;
  color: #16a085; /* Darker turquoise */
}

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