/* === BASE GLOBALE === */
body {
  font-family: "Poppins", "Roboto", sans-serif;
  color: #2B2B2B;
  background-color: #F5F5F5;
  margin: 0;
  padding: 0;
}

/* === NAVBAR KOBA === */
.koba-navbar {
  background: linear-gradient(90deg, #607D8B 0%, #E87A24 100%);
  color: #fff;
  padding: 0.35rem 0.35rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.koba-navbar.scrolled {
  background: linear-gradient(90deg, #4E5F6C 0%, #C8681F 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.koba-navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.koba-navbar .nav-link:hover,
.koba-navbar .nav-link.active {
  color: #FFD8B0 !important;
}

/* === BOUTONS UNIFORMES KOBA === */
.btn,
button,
input[type="submit"],
input[type="button"] {
  background: linear-gradient(90deg, #E87A24 0%, #607D8B 100%);
  border: none;
  color: #fff !important;
  font-weight: 500;
  border-radius: 0.35rem;
  padding: 0.55rem 1.25rem;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: linear-gradient(90deg, #FF8C40 0%, #6E8B9C 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* === BOUTONS OUTLINE === */
.btn-outline-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff !important;
}

.btn-outline-light:hover {
  background: #fff;
  color: #607D8B !important;
}

/* === FOOTER KOBA === */
.koba-footer {
  background: linear-gradient(90deg, #E87A24 0%, #607D8B 100%);
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.1);
  margin-top: auto;
  animation: fadeInFooter 1s ease-out;
}

.koba-footer img {
  filter: brightness(1.15);
  margin-bottom: 1rem;
}

.koba-footer .footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  margin: 0 5px;
  transition: color 0.2s ease-in-out;
}

.koba-footer .footer-link:hover {
  color: #FFD8B0;
  text-decoration: underline;
}

/* === ANIMATION FOOTER === */
@keyframes fadeInFooter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === LOADER KOBA === */
#koba-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #F5F5F5 0%, #E6E6E6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeOutLoader 0.6s ease forwards;
  animation-delay: 2.8s; /* le loader disparaît après 2.8s */
}

.loader-circle {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.loader-logo {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  z-index: 10;
  background-color: white;
  padding: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* === Arcs en mouvement === */
.arc {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  animation: spinArc 2s linear infinite;
  mix-blend-mode: multiply;
}

.arc1 {
  width: 120px;
  height: 120px;
  border: 4px solid transparent;
  border-top-color: #E87A24;
  border-right-color: #E87A24;
  animation-duration: 1.5s;
}

.arc2 {
  width: 90px;
  height: 90px;
  border: 4px solid transparent;
  border-bottom-color: #607D8B;
  border-left-color: #607D8B;
  animation-duration: 2s;
}

.arc3 {
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-top-color: #E87A24;
  border-left-color: #607D8B;
  animation-duration: 2.5s;
}

/* === Animations === */
@keyframes spinArc {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeOutLoader {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.loader-logo {
  animation: pulseLogo 1.5s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

/* === MINI-LOADER KOBA === */
.mini-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 245, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.mini-loader-circle {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mini-loader-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fff;
  padding: 3px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: pulseMini 1.6s ease-in-out infinite;
}

/* Arcs tournants */
.mini-arc {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  animation: spinMini 1.8s linear infinite;
}

.mini-arc1 {
  width: 90px;
  height: 90px;
  border: 3px solid transparent;
  border-top-color: #E87A24;
  border-right-color: #E87A24;
  animation-duration: 1.5s;
}

.mini-arc2 {
  width: 70px;
  height: 70px;
  border: 3px solid transparent;
  border-bottom-color: #607D8B;
  border-left-color: #607D8B;
  animation-duration: 2s;
}

/* Animations */
@keyframes spinMini {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseMini {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

.chat-box {
  background: linear-gradient(180deg, #f9fafb 0%, #eef1f4 100%);
  border: 1px solid #dee2e6;
}



.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5b;
  color: white;
}

/* --- Animation d'apparition pour le bouton WhatsApp --- */
/* --- Navbar KOBA --- */
.koba-navbar {
  background: linear-gradient(90deg, #E87A24 0%, #607D8B 100%);
}

.koba-navbar .nav-link {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.koba-navbar .nav-link:hover,
.koba-navbar .dropdown-item:hover {
  color: #E87A24;
  background: transparent;
}

.koba-navbar .dropdown-menu {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* --- Bouton WhatsApp flottant --- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 18px;
  background-color: #25D366;
  color: white;
  font-size: 1.8rem;
  padding: 4px 4px 4px 4px;
  border-radius: 4%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  z-index: 1055;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5b;
  color: white;
}

/* --- Icônes sociales (mobile) --- */
@media (max-width: 991.98px) {
  .navbar-brand {
    flex-grow: 1;
  }
  .koba-navbar .nav-link {
    padding: 0.6rem 1rem;
  }
}

.text-orange { color: #E87A24; }
.btn-outline-orange {
  border: 1px solid #E87A24;
  color: #E87A24;
  transition: 0.3s;
}
.btn-outline-orange:hover {
  background-color: #E87A24;
  color: white;
}



.koba-navbar {
  background: linear-gradient(90deg, #E87A24 0%, #607D8B 100%);
}

.koba-navbar .nav-link {
  color: white !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.koba-navbar .nav-link:hover,
.koba-navbar .dropdown-item:hover {
  color: #E87A24 !important;
  background: transparent;
}

.koba-navbar .dropdown-menu {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}



.text-orange { color: #E87A24 !important; }
.btn-orange {
  background-color: #E87A24;
  color: #fff;
  border: none;
}
.btn-orange:hover {
  background-color: #cf6a20;
}
.btn-outline-orange {
  border: 1px solid #E87A24;
  color: #E87A24;
}
.btn-outline-orange:hover {
  background-color: #E87A24;
  color: white;
}
.service-hero {
  background-size: cover;
  background-position: center;
  height: 380px;
}

