@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fugaz+One&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
    font-family: 'Segoe UI', sans-serif;
}



.page-title {
  margin-top: 120px;
  text-align: center;
}

.page-title h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.4rem, 3vw, 2rem);
  color: #0d47a1;
  line-height: 1.3;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: 1.5rem;
  padding: 1rem 10rem;
  text-align: center;
  background-color: whitesmoke;
}

section {
  padding: 4rem 2rem;
}

.container {
  max-width: 1200px;
  margin: auto;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

p, li {
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-grid, .gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-card, .gallery-item {
  flex: 1 1 250px;
  background: #f4f6f8;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.team-card img, .gallery-item img {
  max-width: 100%;
  border-radius: 10px;
}

.certifications {
  text-align: center;
  margin-top: 2rem;
}

.testimonials {
  margin-top: 3rem;
}

.testimonial {
  background-color: #e3eaf4;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: center;
}

.cta-section {
  background-color: #0d47a1;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section a {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.2rem;
}

.cta-section a:hover {
  background-color: #1d4ed8;
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  .about-grid,
  .gallery-grid {
    flex-direction: column;
    align-items: center;
  }
}

.about-section {
  padding: 4rem 2rem;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 500px;
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: "Roboto Flex";
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0d47a1;
  font-family: "Roboto Flex";
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-image {
    margin-top: 2rem;
  }
  .page-title{
      display: none;
  }
}

  footer {
    position: relative;
    width: 100%;
    background: #3586FF;
    min-height: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: auto; /* S'assure que le footer est en bas */
  }
  
  footer .social_icon,
  footer .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
  }
  
  footer .social_icon li,
  footer .menu li {
    list-style: none;
  }
  
  footer .social_icon li a {
    font-size: 2em;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
  }
  
  footer .social_icon li a:hover {
    transform: translateY(-10px);
  }
  
  footer .menu li a {
    font-size: 1rem;
    font-family: "Oswald";
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    text-decoration: none;
    opacity: 0.75;
  }
  
  footer .menu li a:hover {
    opacity: 1;
    transition: 0.5s;
    transform: translateY(-10px);
  }
  
  footer p {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 0.9em;
  }
  
  footer .wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #0d47a1 url(wave.png);
    background-size: 1000px 100px;
  }
  
  footer .wave#wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: animateWave 4s linear infinite;
  }
  
  @keyframes animateWave {
    0% {
      background-position-x: 1000px;
    }
    100% {
      background-position-x: 0px;
    }
    
  }

.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 100px;
  width: 100px;
  object-fit: contain;
  justify-content: center;
  align-items: center;
}

.nav-links {
  font-family: "Bebas Neue";
  font-size: 1.3rem;
  font-style: normal;
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 1.3rem;
  position: relative;
  transition: color 0.3s;
  padding: 0.5rem;
  display: inline-block;
}

.nav-links a:hover {
  color: #2563eb;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #2563eb;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.contact-btn a {
  font-family: "Bebas Neue";
  background-color: #2563eb;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s;
}

.contact-btn a:hover {
  background-color: #1d4ed8;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: white;
  padding: 1rem;
  gap: 1rem;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #2563eb;
}

.mobile-contact {
  background-color: #2563eb;
  color: white;
  padding: 0.5rem;
  text-align: center;
  border-radius: 8px;
}

.hidden {
  display: none;
}

.active-link {
  color: #2563eb;
  font-weight: bold;
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
}

.testimonial {
  display: none;
  text-align: center;
  margin-top: 2rem;
  padding: 2rem;
  font-style: italic;
  background: #f7f7f7;
  border-radius: 1rem;
  transition: opacity 0.5s ease-in-out;
}

.testimonial.active {
  display: block;
}

.testimonial h4 {
  margin-top: 1rem;
  font-weight: bold;
  font-style: normal;
}

@media (max-width: 768px) {
  .nav-links,
  .contact-btn {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .page-title h1 {
    font-size: clamp(1rem, 6vw, 2rem);
  }
}
