.sectionWrapper {
  background: #fff;
  padding-bottom: 40px;
  padding-top: 40px;
}

.heroImage {
  position: relative;
  background: url("../assets/images/community.png") center/cover no-repeat;
  height: 720px;
  background-size: cover;
  background-position: center center;
  margin: 40px 0px 40px auto;
  width: calc(100% - 80px);
  /* border-radius: 10px; */
  overflow: hidden;
}

.overlay {
  background: rgba(0, 0, 0, -0.55);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 2rem 0;
}

.cardsWrapper {
  margin-top: -88px;
}

.featureCard {
  border: 2px solid #b31e3b;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  min-height: 180px;
  text-align: center;
  background: #fff;
}

.notCarasouleCard {
  border: 2px solid #b31e3b;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  min-height: 180px;
  max-height: 180px; /* Prevents growing taller */
  text-align: center;
  background: #fff;
  overflow: hidden; /* hides long text */
  position: relative;
  transition: all 0.2s ease-in-out;
}

.notCarasouleCard:hover {
  transform: translateY(-3px);
}

.notCarasouleCard .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* show 3 lines max */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  font-size: 15px;
  color: #333;
}

.featureCard .card-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Swiper bullets outside cards */
.swiperWrapper {
  padding-bottom: 45px;
}
.swiper-pagination-bullets {
  bottom: 0px !important;
}
.swiper-pagination-bullet {
  background: #b31e3b !important;
}

/* Add space for bullets */
.swiperWrapper {
  position: relative;
}

/* Pagination container */
.swiperWrapper :global(.swiper-pagination) {
  bottom: 0 !important;
  text-align: center;
}

/* Bullet default */
.swiperWrapper :global(.swiper-pagination-bullet) {
  background-color: #d9d9d9 !important;
  opacity: 1;
  width: 12px;
  height: 12px;
  margin: 0 5px !important;
  transition: all 0.3s ease;
}

/* Bullet active */
.swiperWrapper :global(.swiper-pagination-bullet-active) {
  background-color: #b31e3b !important;
  border-radius: 10px; /* pill effect */
}

.labels {
  font-family: OpenSans-ExtraBold;
  opacity: 8;
  font-size: 16px;
  color: #fff;
  white-space: break-spaces;
}

@media (max-width: 768px) {
  .heroImage {
    height: 380px;
  }
  .featureCard {
    font-size: 14px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .heroImage {
    height: 480px;
  }
}

/* Medium screens */
@media (max-width: 768px) {
  .heroImage {
    width: 100%;
    margin: 0 auto;
  }
  .featureCard {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .heroImage {
    background: rgb(1 51 85 / 94%) !important;
    height: 550px;
  }

  .overlay {
    background: none;
  }

  .description {
    font-size: 14px;
  }
}
