:root {
  --rainbow: linear-gradient(90deg,
    #7f00ff,
    #ff4fd8,
    #ff2d2d,
    #ffcc00,
    #00d26a,
    #00c3ff,
    #7f00ff
  );
}

@keyframes rainbowMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* GLOBAL */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f0f6ff, #ffffff);
  color: #222;
}

/* TITRES */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--rainbow);
  border-radius: 10px;
  margin: 10px auto 0 auto;
}

/* NAVBAR */
.custom-navbar {
  background: var(--rainbow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 20px;
  letter-spacing: 0.5px;
}

.nav-link {
  font-weight: 500;
  transition: 0.25s;
}

.nav-link:hover {
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* HERO */
.hero-section {
  padding: 90px 0;
  background: var(--rainbow);
}

.hero-img {
  transition: transform 0.3s ease;
}

.hero-img:hover {
  transform: scale(1.03);
}

/* SERVICES */
.service-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 18px 35px rgba(0, 0, 0, 0.12);
}

.service-icon,
.garantie-icon {
  font-size: 40px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
@media (max-width: 768px) {
  .service-icon,
  .garantie-icon {
    -webkit-text-fill-color: initial;
    color: #7f00ff; 
    background: none;
  }
}

/* ABOUT */
.about-list li {
  font-size: 18px;
  margin: 10px 0;
  font-weight: 500;
}

.about-list i {
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* AVIS */
.avis-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  height: 100%;
}

.avis-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 18px 35px rgba(0, 0, 0, 0.12);
}

.quote-icon {
  font-size: 35px;
  color: #ffc107;
}

/* CONTACT */
.contact-box {
  background: white;
  border-radius: 20px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-8px);
  box-shadow: 0px 18px 35px rgba(0, 0, 0, 0.12);
}

.contact-box p {
  margin-bottom: 10px;
}

/* FOOTER */
.footer-dark {
  background: var(--rainbow);
  color: white;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 35px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 9999;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  background: #1ebe5b;
}

.whatsapp-btn:active {
  transform: scale(0.95);
}

/* SLIDER REALISATIONS */
.slider-img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
}

/* ANIMATION BOUTONS */
.btn {
  transition: 0.3s ease;
  border-radius: 14px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: scale(0.95);
}

/* IMAGES */
img {
  transition: 0.3s ease;
}

img:hover {
  filter: brightness(1.05);
}

/* SECTION GARANTIES */
.garanties-section {
  background: var(--rainbow);
  position: relative;
  overflow: hidden;
}

.garanties-section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.garanties-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.garantie-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  transition: 0.35s ease;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.garantie-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.25);
}

.garantie-icon {
  font-size: 45px;
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.3s ease;
}

.garantie-card:hover .garantie-icon {
  transform: scale(1.2);
}

/* ANIMATIONS RAINBOW */
.custom-navbar,
.hero-section,
.footer-dark,
.garanties-section {
  background: var(--rainbow);
  background-size: 400% 400%;
  animation: rainbowMove 10s ease infinite;
}

.service-icon,
.about-list i,
.garantie-icon,
.nav-link:hover {
  background-size: 400% 400%;
  animation: rainbowMove 6s ease infinite;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-section {
    padding: 70px 0;
  }

  .slider-img {
    max-height: 350px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 50px 0;
  }

  .hero-section h1 {
    font-size: 28px;
  }

  .hero-section p {
    font-size: 16px;
  }

  .about-list li {
    font-size: 15px;
    margin: 6px 0;
  }

  .slider-img {
    max-height: 250px;
  }

  .navbar-brand {
    font-size: 17px;
  }

  .whatsapp-btn {
    width: 55px;
    height: 55px;
    font-size: 30px;
  }
}

.custom-navbar,
.hero-section,
.footer-dark,
.garanties-section {
  background: linear-gradient(270deg,
    #7f00ff,
    #ff4fd8,
    #ff2d2d,
    #ffcc00,
    #00d26a,
    #00c3ff,
    #7f00ff
  );
  background-size: 1400% 1400%;
  animation: rainbowMove 12s ease infinite;
}