/* General styles */
body {
  background-color: #111;
  color: #fff;
  line-height: 1.6;
  margin: 0px;
}

/* Contact Us Footer styles */
.contactusfoot {
  position: relative;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0), #111),
    url("../img/portfoliobackground.jpg"); /* Effet de dégradé sur l'image de fond */
  background-size: cover;
  background-position: center;
  height: 300px; /* Hauteur du header */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
  margin-bottom: 50px;
}

.contactusfoot h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

.contactusfoot p {
  font-size: 1rem;
  margin-top: 10px;
  color: #ddd;
}

.contactusfoot p a {
  text-decoration: none;
  color: #ff3366; /* Couleur pour les liens */
}

.contactusfoot p a:hover {
  color: #ff0033; /* Couleur au survol */
}

/* Section styles */
section {
  padding: 20px;
  text-align: center;
  margin: 20px auto;
  width: 80%;
  border-bottom: 1px solid #333;
}

section img {
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

section .btn {
  display: inline-block;
  background-color: #ff3366;
  color: #fff;
  padding: 10px 20px;
  margin-top: 10px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
}

section .btn:hover {
  background-color: #ff0033;
}
.cta-wrapper {
  background-color: #111; /* Couleur spécifique pour la partie contenant .cta */
  padding: 20px 0; /* Espacement autour de la section */
}
.cta {
  position: relative;
  background-image: linear-gradient(180deg, #000000cd, #000000cd),
    url("../img/contactusimagefoot.jpg"); /* Effet de dégradé sur l'image de fond */
  background-position: center;
  background-size: cover;
  width: 1000px;
  height: 400px; /* Hauteur du header */

  align-items: center;
  align-content: center;
  text-align: center;
  text-align: center;
  margin: 30px auto;
  border: #111;
  border-radius: 10px;
}
.cta h2 {
  margin: 20px;
}
.cta-btn {
  background: #ff3366; /* Couleur rose */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s;
}

.cta-btn:hover {
  transform: scale(1.1);
}

/* Style du footer */
footer {
  text-align: center;
}
footer {
  filter: blur(0.55px);
  background-color: #111;
  color: #fffefe;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-section h3 {
  border-bottom: 2px solid #555;
  padding-bottom: 5px;
  margin-bottom: 10px;
  text-align: center;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 5px 0;
  text-align: center;
}

.footer-section ul li a {
  color: #fffafa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #1e90ff;
}

.social-links a {
  font-size: 1.5rem;
  margin: 0 10px;
  color: #fffbfb;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #1e90ff;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #555;
  padding-top: 10px;
  font-size: 0.9rem;
}
/* Pour la mise en page responsive (pour les écrans plus petits) */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer .menu,
  .footer .office-box,
  .footer .logo {
    min-width: 100%;
    margin-top: 20px;
  }

  .footer .logo h2 {
    font-size: 1.8rem;
  }
}
/* Responsive styles for screens smaller than 768px */
@media (max-width: 768px) {
  .contactusfoot {
    height: 250px; /* Reduced height for smaller screens */
  }

  .contactusfoot h1 {
    font-size: 1.8rem;
  }

  .cta {
    width: 90%;
    height: auto;
    padding: 20px;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  .footer h2 {
    font-size: 1.5rem;
  }

  .footer .menu,
  .footer .office-box,
  .footer .logo {
    margin: 15px 0;
  }

  .footer .logo h2 {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  section {
    padding: 10px; /* Further reduce padding */
    margin: 10px auto; /* Narrower margin */
    width: 95%; /* Maximize width on small screens */
  }

  section img {
    margin-top: 8px; /* Adjust spacing for a cleaner layout */
    border-radius: 6px;
    width: 90%;
  }

  section .btn {
    padding: 8px 12px; /* Smaller button padding for phones */
    font-size: 0.8rem; /* Further reduce button font size */
  }
}
