/* Professional Section Heading - Trend Soft */
h2.h5.py-0.py-sm-2.fw-bold {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto 25px !important;
  padding: 12px 0 16px !important;
  color: #0F9193 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.6;
  position: relative;
}

/* Brand underline */
h2.h5.py-0.py-sm-2.fw-bold::after {
  content: "";
  display: block;
  width: 65px;
  height: 4px;
  margin-top: 9px;
  background: #0F9193;
  border-radius: 10px;
  box-shadow: none;
}

/* Mobile */
@media (max-width: 576px) {
  h2.h5.py-0.py-sm-2.fw-bold {
    font-size: 21px !important;
    padding: 10px 0 14px !important;
  }
}



/* =====================================
   Trend Soft - Hero Slider
===================================== */

/* Desktop & Tablet */
div[id^="hero-slider-"] {
  width: 88% !important;
  max-width: 1250px !important;
  margin: 25px auto !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

/* Show Desktop Image Only */
div[id^="hero-slider-"] img.desktop-tablet-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
}

div[id^="hero-slider-"] img.mobile-image {
  display: none !important;
}

/* Desktop Dimensions */
div[id^="hero-slider-"] .carousel-item {
  aspect-ratio: 16 / 6 !important;
  height: auto !important;
  overflow: hidden !important;
}

/* =====================================
   Mobile
===================================== */

@media (max-width: 768px) {

  div[id^="hero-slider-"] {
    width: 94% !important;
    max-width: 100% !important;
    margin: 15px auto !important;
    border-radius: 10px !important;
  }

  /* Hide Desktop Image */
  div[id^="hero-slider-"] img.desktop-tablet-image {
    display: none !important;
  }

  /* Show Mobile Image Only */
  div[id^="hero-slider-"] img.mobile-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 10px !important;
  }

  /* Natural Image Height */
  div[id^="hero-slider-"] .carousel-item {
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }
}


footer .container.py-sm-5 {
  padding: 1.5rem 0 0 !important;
}