.popular-section {
  /* background: #0e8a72; */
  position: relative;
}
.popular-section {
  background: linear-gradient(135deg, #0e8a72, #0c6d59);
}
/* .popular-section {
  position: relative;
  background: url('../img/popular-section.jpg') no-repeat center center/cover;
  background-color: rgba(14, 138, 114, 0.6);
} */

/* .popular-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 138, 114, 0.6);
  z-index: 1;
} */

.popular-section .section-heading {
  font-weight: 700;
  color: #fff;
  font-size: 32px;
}

.popular-section .swiper {
  width: 90%;
  margin: 0 auto;
}

.popular-section .swiper-button-prev,
.popular-section .swiper-button-next {
  color: #0e8a72;
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  padding: 5px;
  margin: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

}

.popular-section .swiper-button-prev::after,
.popular-section .swiper-button-next::after {
  font-size: 20px;
}

.popular-section .swiper-button-prev:hover,
.popular-section .swiper-button-next:hover {
  color: #fff;
  background: #0e8a72;
  scale: 1.1;
  transition: 0.3s;
}
 
.popular-section .swiper-slide {
  display: flex;
  height: auto;
}

.popular-section .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.popular-section .card-img-top {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #f8f9fa;
  /* padding: 5px; */
  transition: transform 0.5s ease;
}

.popular-section .card:hover .card-img-top {
  transform: scale(1.1);
}

.popular-section .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 15px;
}

.popular-section .card-body h5 {
  font-size: 18px;
  min-height: 40px;
}

.popular-section .card-body p {
  min-height: 50px;
  margin-bottom: 15px;
  color: #6c757d;
}

.popular-section .card-body .btn {
  align-self: center;
  /* background: #0e8a72; */
  border: none;
  transition: 0.3s;
}

.popular-section .card-body .btn {
  background: linear-gradient(45deg, #0e8a72, #0aac89);
}

.popular-section .card-body .btn:hover {
  background: #0c745f;
}

@media (max-width: 768px) {
  .popular-section .card-img-top {
    height: 320px;
  }
}

/* package hover */
.package-hover-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 320px;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.package-hover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  object-position: center;
}

.package-hover-card:hover img {
  transform: scale(1.1);
}

.package-hover-card .overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: .45s ease-in-out;
}

.package-hover-card:hover .overlay {
  bottom: 0;
}

.package-hover-card .overlay h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.package-hover-card .overlay p {
  font-size: 14px;
  margin-bottom: 15px;
}

.btn-details {
  background: #0e8a72;
  color: #fff;
  border-radius: 30px;
  padding: 8px 22px;
  transition: .3s;
}

.btn-details:hover {
  background: #0b6a59;
}

@media (max-width: 768px) {
  .package-hover-card {
    height: 200px;
  }
}