/**
 * @file page-sections.css
 * @description Page section styles for Inda Consulting Due Diligence website.
 *              Covers the contact hero overlay, Swiper carousel navigation,
 *              service category list, news item scroll animations, and
 *              service content layout.
 * @version 2.0.0
 */

/* --- Contact Hero Section --- */

.contact-container {
  background-image: url(../images/contact.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.contact-container::before {
  content: "";
  width: 100%;
  height: 100%;
  background: #040498;
  opacity: 0.9;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* --- Swiper Carousel --- */

.swiper .swiper-button-container {
  position: absolute;
  z-index: 9;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.swiper .swiper-slide {
  background: #fff url(../images/pattern1.png) no-repeat;
  border-radius: 4px;
  padding: 80px 30px 45px 30px;
  box-shadow: rgba(0, 0, 0, 0.11) 0 5px 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swiper-button-container .swiper-button-prev,
.swiper-button-container .swiper-button-next {
  text-align: center;
  background: #fff;
  color: #333;
  font-size: 20px;
  transition: all 0.3s ease;
  background-image: none;
}

.swiper-button-container .swiper-button-prev:hover .icon,
.swiper-button-container .swiper-button-next:hover .icon {
  color: #fff;
}

.swiper-pagination {
  z-index: 9;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #040498;
}

/* --- Scroll Reveal Animations --- */

.choose-item {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-out;
}

.choose-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Service Category List --- */

.category-list {
  border: 1px solid #eee;
}

.category-item.active {
  background-color: #040498;
  color: #ffffff;
}

/* --- Service Content --- */

.service-container .content {
  flex: 1;
}

.service-container .content ul li {
  list-style: disc;
}

/* --- News Item Animations --- */

.news-item {
  opacity: 0;
}

.news-item.show {
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* --- Pagination Container --- */

.pagination {
  width: 100%;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
