
body {
  font-family: serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  background: #f1f1f1;
  color: #333;
}
.ind h2{
  font-size: 30px;
  text-align: center;
}

.ind p{
  font-size: 25px;
  text-align: center;
}
h2{
  color: rgb(189, 106, 106);
}
header {
  background: #004080;
  color: #fff;
  padding: 1em;
  text-align: center;
}
nav {
  background: #222;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav li {
  margin: 0;
}
nav a {
  display: block;
  padding: 1em;
  color: white;
  text-decoration: none;
}
nav a:hover {
  background: #444;
}
main {
  padding: 2em;
  max-width: 1300px;
  margin: auto;
  background: white;
}
footer {
  text-align: center;
  background: #004080;
  color: white;
  padding: 1em;
}
.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
}
.toph img{
height: 100%;
width: 100%;

}
nav .menu-toggle {
  display: none;
  padding: 1em;
  background: #444;
  color: white;
  cursor: pointer;
  text-align: center;
}
.gallery {
  padding: 2em;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1em;
  margin-top: 1em;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease-in-out;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.carousel-bg {
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-caption {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1em;
  border-radius: 10px;
}

.service-section {
  padding: 3em 2em;
  text-align: center;
}
.section-title {
  font-size: 2em;
  margin-bottom: 0.5em;
}
.section-title .highlight {
  color: #0195aa;
}
.section-subtitle {
  color: #555;
  margin-bottom: 2em;
}
.service-grid {
  display: grid;
  gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
}
.service-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 1.5em;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card img {
  width: 100%;
  margin-bottom: 1em;
}
.service-card h3 {
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
.service-card p {
  font-size: 0.95em;
  color: #333;
}

.about-us-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  gap: 2em;
  flex-wrap: wrap;
}

.about-us-left {
  flex: 1 1 50%;
  text-align: left;
}

.about-us-left h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.about-us-left .highlight {
  color: #0195aa;
}

.about-us-left p {
  line-height: 1.6;
  margin-bottom: 1em;
  color: #333;
}

.about-us-right {
  flex: 1 1 45%;
  display: flex;
  justify-content: flex-end;
}

.about-us-img-frame img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  background: white;
  border-radius: 10px;
  
}

.service-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  
  flex-wrap: wrap;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1 1 40%;
  
}

.service-text h3 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  color: #004080;
}

.service-text p {
  font-size: 1em;
  color: #333;
  line-height: 1.6;
}

.service-image {
  flex: 5 5 40%;
}

.service-image img {
  width: 70%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.auto-gallery {
  padding: 3em 2em;
  text-align: center;
}
.gallery-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 100%;
}
.gallery-track {
  display: flex;
  gap: 1em;
  transition: transform 0.5s ease-in-out;
}
.gallery-track img {
  flex: 0 0 calc(100% / 3 - 1em);
  border-radius: 10px;
  height: 200px; /* ✅ hauteur fixée ici */
  max-width: 100%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



@media (max-width: 768px) {
  .gallery-track img {
    flex: 0 0 calc(100% / 2 - 1em);
  }
}
@media (max-width: 480px) {
  .gallery-track img {
    flex: 0 0 100%;
  }
}


@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    display: none;
  }
  nav ul.showing {
    display: flex;
  }
  nav .menu-toggle {
    display: block;
  }
  
  .service-block,
  .service-block.reverse {
    flex-direction: column;
  }

  .service-image, .service-text {
    flex: 1 1 100%;
  }
}
