.Sites {
  margin: 80px auto;
  width: 90%;
  text-align: center;
}

header {
  background-color: #222;
  padding: 1rem 0;
}
nav.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  background-color: #fff;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffcc00;
}

nav .logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #000f38;
  font-weight: bold;
}

nav ul li a.active {
  color: #007BFF;
}

/* ===== Gallery Blocks ===== */


.gallery-block {
  margin-bottom: 60px;
  text-align: center;
  font-style: arial;
  letter-spacing: 10%;
}

.gallery-block h4 {
  font-size: 22px;
  color: #000f38;
  margin-bottom: 15px;
}

.gallery-block p {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* ===== Gallery Grid ===== */
.gallery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery img {
  width: 23%;
  border-radius: 10px;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.gallery img:hover {
  transform: scale(1.05) translateY(-5px);
}

/* ===== Slideshow + Text Section ===== */
.service-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
}

/* Slideshow Box */
.slideshow-box {
  flex: 1 1 45%;
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* All Slides Hidden by Default */
.slideshow-box img.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  display: none;
  transition: opacity 1s ease-in-out;
}

/* Active Slide */
.slideshow-box img.slide.active {
  opacity: 1;
  display: block;
}

/* Text on Right */
.service-description {
  flex: 1 1 45%;
  text-align: left;
}

.service-description h2 {
  font-size: 26px;
  color: #000f38;
  margin-bottom: 15px;
}

.service-description p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ===== Buttons and Icons ===== */
.small-btn {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 5px;
  background-color: rgb(235, 218, 218);
}

.arrow-icon {
  width: 16px;
  height: 18px;
  margin-left: 6px;
  background-color: beige;
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .gallery {
    flex-wrap: wrap;
    justify-content: center;
  }

  .gallery img {
    width: 48%;
    margin-bottom: 25px;
  }

  .service-layout {
    flex-direction: column;
    align-items: center;
  }

  .slideshow-box,
  .service-description {
    width: 100%;
  }

  .slideshow-box {
    height: 250px;
  }

  .service-description {
    text-align: center;
  }
}
