/* === Variables de couleur DIGICOM === */
h1, h2 {
  color: #c8102e;
}

:root {
  --primary-green: #0ddb4b;
  --accent-red: #c8102e;
  --neutral-white: #ffffff;
  --text-dark: #2c3e50;
  --light-gray: #f9f9f9;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
/* === Reset & base === */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--neutral-white);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
}
/* === 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;
}

/* === Section Contact === */
.contact-section {
  padding: 40px 20px;
  background-image: url(../images/background3.png);
  background-size: cover;
}
#contact-text {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
  text-align: center;
  background-color: white;
  padding: 15px;
  

}
.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: var(--neutral-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: #0ddb4b;
  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);
}
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
}
.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: #0ddb4b;
  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;
  }
}