/* Additional floating icons enhancements */
.floating-icons .up-arrow-link:hover img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.floating-icons .whatsapp-link:hover .whatsapp-logo {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.floating-icons .whatsapp-logo:hover {
  background-color: #128C7E;
}

/* section-2 */
.sec-2-body {
  background-color: #F8F9FE;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 10px;
  overflow-x: visible;
}

.sec-2-container {
  max-width: 1400px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  padding: 2rem;
}

.sec-2-heading {
  text-align: center;
  margin-bottom: 1rem;
}

.sec-2-heading h2 {
  font-size: 3rem;
  color: #090808;
  font-weight: 500;
  line-height: 1.3;
  font-family: syne;
  font-family: "syne", sans-serif;
}

.sec-2-benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.sec-2-benefit-card {
  flex: 1;
  min-width: 250px;
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: calc(25% - 15px);
  /* Ensure 4 cards fit in one row with gap */
  min-width: unset;
}


.sec-2-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sec-2-image-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.sec-2-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sec-2-benefit-card:hover .sec-2-image-container img {
  transform: scale(1.05);
}

.sec-2-benefit-card h2 {
  font-family: "syne", sans-serif;
  color: #07124D;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.sec-2-benefit-card p {
  font-family: "poppins", sans-serif;
  color: #3A3A3A;
  line-height: 1.5;
  font-size: 0.8rem;
}

/* Up- Arrow */
.tooltiptext-pageup {
  visibility: hidden;
  width: 80px;
  background-color: #07124D;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 15px;
}

.tooltiptext-pageup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #07124D transparent transparent transparent;
}

a:hover .tooltiptext-pageup {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 767px) {
  .sec-2-benefits-container {
    flex-direction: column;
  }

  .sec-2-benefit-card {
    width: 100%;
  }

  .sec-2-heading h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .sec-2-benefits-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .sec-2-scroll-wrapper {
    overflow-x: auto;
    width: 100%;
  }

  .sec-2-benefit-card {
    flex: 0 0 auto;
    width: 280px;
    /* Fixed width suitable for small screens */
    min-width: 280px;
    max-width: 280px;
  }

  /* Hide scrollbar (optional) */
  .sec-2-benefits-container::-webkit-scrollbar {
    display: none;
  }

  .sec-2-benefits-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}