/* Featured Services Section Subtitle */
.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

/* Responsive adjustments for subheading */
@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
    max-width: 95%;
  }
}

/* Critical styles for hero section */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000;
}
.hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 0.6;
}
.carousel-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}
.carousel-container h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.carousel-container p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.btn-get-started {
  display: inline-block;
  padding: 12px 30px;
  background: #18d26e;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hide carousel controls initially to prevent layout shift */
.carousel-control-prev,
.carousel-control-next {
  opacity: 0;
}
.carousel-indicators {
  opacity: 0;
}

/* Loading states */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Professional rounded search box */
.search-widget .input-group .form-control {
  border-radius: 50px 0 0 50px !important;
}
.search-widget .input-group .btn {
  border-radius: 0 50px 50px 0 !important;
/* Before and After Slider in Portfolio */
/* Portfolio Item Info */
.portfolio .portfolio-item .portfolio-info {
  position: absolute !important;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100% !important;
  opacity: 1 !important;
  padding: 15px 10px;
  text-align: center;
  background: rgba(0, 0, 0, 0.7) !important;
}
.portfolio-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: white;
}
.portfolio-info .service-category {
  font-size: 0.9rem;
  color: white;
  margin-bottom: 5px;
  font-weight: 500;
}
.portfolio-info .description {
  font-size: 0.85rem;
  color: white;
  line-height: 1.4;
  margin: 0;
}
.portfolio-info .learn-more a {
  color: white;
}
.portfolio-wrap .juxtapose {
  width: 100% !important;
  max-width: 100% !important;
  height: 200px;
  margin: 0;
}
.portfolio-wrap .juxtapose img {
  height: 100%;
  object-fit: cover;
}
.portfolio-wrap .jx-slider {
  height: 100%;
}
.portfolio-wrap .jx-image {
  height: 100%;
}
.portfolio-wrap .jx-image img {
  height: 100%;
  width: auto;
  object-fit: cover;
}
}
