.services-three {
  padding: 1.5rem 0 1.5rem !important;
  margin-top: 0 !important;
}

.section-title {
  margin-bottom: 1.25rem !important;
}

.carousel-control-next,
.carousel-control-prev {
  color: #000 !important;
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
  color: #000 !important;
}


#jobPhotosCarousel .custom-carousel-control {
  /* Button base style */
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1; 
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 999px;
  border: none;
}


#jobPhotosCarousel .carousel-control-prev.custom-carousel-control {
  left: 0.5rem;
}

#jobPhotosCarousel .carousel-control-next.custom-carousel-control {
  right: 0.5rem;
}


#jobPhotosCarousel .custom-carousel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}


#jobPhotosCarousel .custom-carousel-icon i {
  color: #ffffff;       
  font-size: 1.2rem;     
  line-height: 1;
}


#jobPhotosCarousel .custom-carousel-control:hover,
#jobPhotosCarousel .custom-carousel-control:focus {
  background-color: rgba(0, 0, 0, 0.85);
  outline: none;
  box-shadow: 0 0 0 0.12rem rgba(0, 0, 0, 0.3);
}

#jobPhotosCarousel .custom-carousel-control:hover .custom-carousel-icon i,
#jobPhotosCarousel .custom-carousel-control:focus .custom-carousel-icon i {
  color: #ffffff; 
}


#jobPhotosCarousel .job-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-width: 480px;
  margin: 0 auto;
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

#jobPhotosCarousel .job-photo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  #jobPhotosCarousel .job-photo-frame {
    aspect-ratio: 1 / 1;  
    max-width: 100%;
  }
}

.job-header-card {
  font-family: inherit;
  line-height: 1.5;
}

.job-header-card .job-meta-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.job-header-card .job-meta-value {
  color: #212529;
}

.job-header-card .job-details-text {
  font-weight: 400;
}

.job-header-card .job-service-badge {
  font-size: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.bid-card {
  font-family: inherit;
  line-height: 1.5;
}

.bid-card {
  font-family: inherit;
  line-height: 1.5;
}

.bid-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.bid-card-main {
  flex: 1 1 auto;
}

.bid-card-price {
  font-weight: 600;
}

.bid-card-meta {
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.bid-card-provider {
  flex: 0 0 auto;
  text-align: right;
  font-size: 0.9rem;
}

.bid-card-provider-name a {
  text-decoration: none;
}

.bid-card-provider-name a:hover {
  text-decoration: underline;
}

.bid-card-provider-rating {
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.bid-card-desc {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.bid-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.bid-card-time {
  font-size: 0.85rem;
}

.bid-card-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 420px) {
  .bid-card-header-row,
  .bid-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .bid-card-provider {
    text-align: left;
  }

  .bid-card-actions {
    width: 100%;
  }
}


