:root {
  --primary: #0f766e;
  --accent: #10b981;
  --bg: #f7fafc;
  --text: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* HEADER */
.hero {
  background: url("../../prop.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--accent);
}

.animated-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.tagline {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* BUTTONS */
.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn.whatsapp { background: #25D366; }
.btn.call { background: #0ea5a3; }
.btn.primary { background: var(--primary); }
.btn:hover { opacity: 0.85; }

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
background-color: #25D366;;
}



h2 {
  color: var(--accent);
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service {
  background: var(--card);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.service:hover { transform: translateY(-5px); }

.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* INFO ENTREPRISE */
.company-info {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.company-info li {
  background: var(--card);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* TEMOIGNAGES */
    /* --- CONTAINER DU SLIDER --- */
    .slider-container {
      position: relative;
      max-width: 1000px;
      margin: 0 auto;
      overflow: hidden;
      border-radius: 16px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

    .slides {
      display: flex;
      transition: transform 0.6s ease-in-out;
    }

    .slides .img {
      width: 100%;
      height: 500px;
      object-fit: cover;
    }

    /* --- BOUTONS DE NAVIGATION --- */
    .prev, .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.4);
      color: white;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
      border-radius: 50%;
      font-size: 20px;
      transition: background 0.3s;
      z-index: 2;
    }

    .prev:hover, .next:hover {
      background: rgba(0,0,0,0.7);
    }

    .prev { left: 15px; }
    .next { right: 15px; }

    /* --- POINTS INDICATEURS --- */
    .dots {
      text-align: center;
      margin: 15px 0;
    }

    .dot {
      display: inline-block;
      height: 12px;
      width: 12px;
      margin: 0 6px;
      background: #ccc;
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s;
    }

    .dot.active {
      background: #10b981;
    }

    /* --- RESPONSIVE --- */
    @media (max-width: 900px) {
      .slides img {
        height: 350px;
      }
      h1 {
        font-size: 1.6rem;
      }
    }

    @media (max-width: 600px) {
      .slides img {
        height: 240px;
      }
      .prev, .next {
        padding: 8px 10px;
        font-size: 16px;
      }
      .dot {
        height: 10px;
        width: 10px;
      }
    }

/* CONTACT */
form input, form textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .animated-title { font-size: 1.8rem; }
  .tagline { font-size: 1rem; }
  .logo { width: 90px; height: 90px; }
}

@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
  .service { padding: 1rem; }
  .container { padding: 0 0.8rem; }
}
@media (max-width: 1145px) {

  .img{
    width: 200px;
    height: 100px;
    
  }

}
