/* === GENERAL === */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.page-main {
  padding-top: 200px; /* Adjust depending on your header height */
}

* {
  box-sizing: border-box;
}

/* === TOP SECTION (WHO WE ARE, MISSION, VISION) === */
.top-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px 5%;
  background-color: #f0f8f3;
  padding-top: 220px; /* add top padding if needed */
}

.info-box {
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  background-color: #e4f3ea;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.info-box h2 {
  color: #2d4d3a;
  margin-bottom: 10px;
}

.info-box p {
  color: #444;
  font-size: 1rem;
}

/* === GALLERY & NEWS WRAPPER === */
.gallery-news-wrapper {
  width: 100%;
  padding: 5px 5% 5px;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-news-wrapper h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #2d4d3a;
  margin-bottom: 25px;
  text-align: center;
}

.gallery-news-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* === CAROUSEL BOX === */
.carousel-box {
  flex: 1;
  min-width: 300px;
  max-width: 800px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}

.carousel-box:hover {
  transform: scale(1.01);
}

.carousel-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.carousel-content img {
  width: 600px;
  height: 480px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.carousel-content h3 {
  font-size: 1.4rem;
  color: #2d4d3a;
  text-align: center;
}

.carousel-content p {
  color: #555;
  text-align: center;
  font-size: 1rem;
}

/* === CAROUSEL ARROWS === */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2d4d3a;
  color: white;
  border: none;
  padding: 6px 10px;
  font-size: 22px;
  border-radius: 50%;
  z-index: 2;
  cursor: pointer;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* === TESTIMONIALS === */
.testimonial-wrapper {
  width: 100%;
  padding: 40px 5%;
  text-align: center;
  background-color: #f6fef9;
}

.testimonial-wrapper h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #2d4d3a;
  margin-bottom: 30px;
}

.testimonial-duo-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 250px;
}

/* SLIDE CONTAINER */
.testimonial-slide {
  display: none;
  opacity: 0;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: flex;
  opacity: 1;
}

.testimonial-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1rem;
  margin: 0;
}

.testimonial-card .author {
  margin-top: 10px;
  font-weight: bold;
  color: #2d4d3a;
}

.testimonial-link {
  margin-top: 25px;
}

.testimonial-link a {
  color: #2d4d3a;
  font-weight: bold;
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .top-boxes,
  .gallery-news-carousel,
  .testimonial-slide {
    flex-direction: column;
    align-items: center;
  }

  .carousel-box,
  .testimonial-card {
    max-width: 90%;
  }

  .carousel-content img {
    height: 220px;
  }

  .testimonial-duo-container {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .carousel-content img {
    height: 200px;
  }

  .testimonial-card {
    padding: 15px;
  }

  .testimonial-card blockquote {
    font-size: 0.95rem;
  }

  .arrow {
    font-size: 18px;
    padding: 5px 8px;
  }
}
