.about-hero-section {
  background-image: url('/static/images/pages/about/Hero_header.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem;
  min-height: 60vh;
  margin: 2rem auto;
  max-width: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Tablets (landscape and portrait) */
@media (max-width: 991.98px) {
  .about-hero-section {
    min-height: 40vh;
  }

  .about-hero-section h1 {
    font-size: 2.25rem; /* Adjusted for tablets */
  }
}

/* Mobile devices */
@media (max-width: 767.98px) {
  .about-hero-section {
    min-height: 50vh;
    padding: 2rem 1rem;
  }

  .about-hero-section h1 {
    font-size: 1.75rem; /* Adjusted for mobile readability */
  }

  .about-hero-section p {
    font-size: 1rem;
  }
}


/* Center and style carousel indicators */
#aboutFeaturesCarousel .carousel-indicators {
  justify-content: center;
  gap: 0.75rem;
  margin-top: auto;
  margin-bottom: 0.25rem;
}

#aboutFeaturesCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary-color, #6c757d);
  /* fallback if --secondary-color not set */
  opacity: 0.5;
  border: none;
  transition: all 0.3s ease;
}

#aboutFeaturesCarousel .carousel-indicators .active {
  opacity: 1;
}

/* Hide arrows but make them still functional */
#aboutFeaturesCarousel .carousel-control-prev,
#aboutFeaturesCarousel .carousel-control-next {
  opacity: 0;
  pointer-events: auto;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}


/* === Mission/Vision Carousel Dots === */
#missionVisionMobileCarousel .carousel-indicators {
  justify-content: center;
  gap: 0.75rem;
  margin-top: auto;
  margin-bottom: 0.25rem;
}

#missionVisionMobileCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #6c757d;
  /* grey dot */
  opacity: 0.5;
  border: none;
  transition: all 0.3s ease;
}

#missionVisionMobileCarousel .carousel-indicators .active {
  opacity: 1;
}

/* Optional: Hide arrows visually but keep them clickable */
#missionVisionMobileCarousel .carousel-control-prev,
#missionVisionMobileCarousel .carousel-control-next {
  opacity: 0;
  pointer-events: auto;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}




@media (min-width: 992px) {
  .hover-card {
    transition: all 0.3s ease;
    border: 2px solid gainsboro;
  }

  .hover-card:hover {
    /* soft shadow all sides */
    border-color: #C84228;
    /* Trjara brand color */
    transform: translateY(-4px);
    /* optional lift */
    box-shadow: 0 0 20px rgba(200, 66, 40, 0.3); /* soft glow using brand color */
  }
}
