/* Image Slider Custom Styles */
.slider-section {
  background: #f8f9fa; /* light background */
}

.carousel-caption h5 {
    color: red !important;
}

.carousel-inner img {
  object-fit: cover;
  height: 500px;
  border-radius: 12px;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.55);
  padding: 15px 20px;
  border-radius: 8px;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: 600;
}

.carousel-caption p {
  font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .carousel-inner img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .carousel-inner img {
    height: 300px;
  }
  .carousel-caption {
    font-size: 0.9rem;
    padding: 10px;
  }
  .carousel-caption h5 {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .carousel-inner img {
    height: 220px;
  }
  .carousel-caption {
    display: none; /* hide captions on very small screens for clarity */
  }
}

/* Reduce or remove padding between featured-services and image-slider */
#featured-services.section,
#image-slider.slider-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#image-slider.slider-section {
  margin-top: 50 !important;
  padding-top: 0 !important;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-header i {
  font-size: 1.5rem;
  color: #fd2d0d; /* Bootstrap primary red */
}

.skill-header h4 {
  margin: 0;
  flex-grow: 1;
}
