/* === Palette DIGICOM === */
h1, h2 {
  color: #c8102e;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

:root {
  --primary-green: #0ddb4b;
  --accent-red: #e74c3c;
  --neutral-white: #ffffff;
  --text-dark: #2c3e50;
  --light-gray: #f9f9f9;
}

/* === Reset & base === */
* {
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--neutral-white);
  color: var(--text-dark);
}
/* === Header === */
header {
  background-color: var(--primary-green);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo img {
  max-width: 80px;
  width: 30%;
  height: 30%;
  border-radius: 6px;
}
.slogan {
  font-size: 1.1em;
  font-weight: 500;
  color: white;
  font-style: bold;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  font-size: 1.4em;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
nav a:hover {
  color: var(--accent-red);
  text-decoration: underline;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  margin: auto;
  border-radius: 10px;
}
.hero-slider .prev,
.hero-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  color: #333;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
}

.hero-slider .prev:hover,
.hero-slider .next:hover {
  background: #ff6600; /* couleur accent */
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.hero-slider .prev { left: 20px; }
.hero-slider .next { right: 20px; }

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}


.slide-text {
  text-align: center;
  color: #fff;
}

.slide-text h1 {
  font-size: 5em;
  margin-bottom: 1rem;
}

.slide-text p {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.slide-text span {
  font-size: 1.2rem;
  max-width: 600px;
  display: block;
  margin: 0 auto;
  line-height: 1.6;
}

.cta {
  background-color: var(--primary-green);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.cta:hover {
  background-color: var(--accent-red);
}

/* === Services Section === */
.main_page {
  background-image: url(images/accuiel3.png);
  margin-top: 50px;
  background-size: cover;
}
.services-section {
  padding: 40px 20px;

}
.services-section h2 {
  text-align: center;
  color: #c8102e;
  margin-bottom: 30px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.service {
  flex: 1 1 300px;
  max-width: 300px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.service h3 {
  color: #0ddb4b;
  margin-bottom: 10px;
}
.encre {
  text-decoration: none;
  color: #000;
}
.encre:hover{
  background-color: aqua;
}
/* === À propos Section === */
.about-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 300px;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}
.about-section h2 {
  text-align: center;
  color: #c8102e;
  margin-bottom: 20px;
}
.about-section p {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* === Contact Section === */
.contact-section {
  padding: 40px 20px;
  background-color: var(--light-gray);
}
.contact-section h2 {
  text-align: center;
  color: #c8102e;
  margin-bottom: 30px;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.contact-info,
.contact-form,
.contact-map {
  flex: 1 1 300px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-info h3,
.contact-form h3,
.contact-map h3 {
  color: #c8102e;
  margin-bottom: 10px;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}
.contact-form button {
  background-color: var(--primary-green);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.contact-form button:hover {
  background-color: var(--accent-red);
}
.partners-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.partners-section h2 {
  color: #c8102e;
  margin-bottom: 10px;
}

.partners-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.partner-logos img {
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-logos img:hover {
  transform: scale(1.1);
}
/* === Footer === */
footer {
  background-color: var(--primary-green);
  color: white;
  text-align: center;
  padding: 20px;
}
.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}
.social-links a {
  color: white;
  background-color: var(--text-dark);
  padding: 10px;
  border-radius: 50%;
  font-size: 18px;
  transition: background-color 0.3s ease;
}
.social-links a:hover {
  background-color: var(--accent-red);
}
/* === Burger Menu === */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* === Responsive Nav === */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;

  }

  .nav-links ul {
    flex-direction: column;
    gap: 10px;
    display: none;
    background-color: var(--primary-green);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 1em;
  }

  .nav-links ul.active {
    display: flex;
  }
}
@media (max-width: 768px) {
  .logo img {
    max-width: 180px;
  }
}
@media (max-width: 768px) {
  .slogan {
    display: none;
  }
}
@media (max-width:768px) {
  .slide-text h1 {
  font-size: 2em;
  margin-bottom: 1rem;
}
}