.service-hero-section {
  position: relative;
  height: 45vh;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.service-hero-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 12, 40, 0.65);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.service-hero-text-box h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  max-width: 580px;
  line-height: 1.25;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-detail-section {
  padding: 4rem 1.5rem;
  background-color: #ffffff;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
  overflow: hidden;
}

.service-detail-section .container {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.service-detail-img-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.service-detail-img-wrapper.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.service-detail-text-content {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.service-detail-text-content.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.service-detail-text-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #000000;
  margin-bottom: 1rem;
}

.service-description {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-detail-text-content h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #000000;
  margin-bottom: 1.5rem;
}

.service-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.service-benefits-list li.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.service-benefits-list li:nth-child(1) {
  transition-delay: 0.1s;
}
.service-benefits-list li:nth-child(2) {
  transition-delay: 0.2s;
}
.service-benefits-list li:nth-child(3) {
  transition-delay: 0.3s;
}

.service-benefits-list i {
  color: #000000;
  font-size: 1.3rem;
  margin-top: 2px;
}

.service-benefits-list strong {
  display: block;
  font-size: 0.95rem;
  color: #000000;
  font-weight: 800;
  margin-bottom: 2px;
}

.service-benefits-list p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}

.quote-btn-wrapper {
  text-align: center;
  margin-top: 3.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.quote-btn-wrapper.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.btn-quote {
  display: inline-block;
  background-color: var(--navy-dark);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 1.1rem 3.2rem;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 12, 40, 0.3);
  transition: all 0.3s var(--transition-smooth);
  letter-spacing: 0.5px;
}

.btn-quote:hover {
  background-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 115, 255, 0.4);
}

.carousel {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-dark);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.carousel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 12, 40, 0.1) 0%,
    rgba(0, 12, 40, 0) 40%,
    rgba(0, 12, 40, 0) 70%,
    rgba(0, 12, 40, 0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: background 0.6s ease;
}

.carousel__slide:hover::after {
  background: linear-gradient(
    180deg,
    rgba(0, 12, 40, 0.25) 0%,
    rgba(0, 12, 40, 0.05) 40%,
    rgba(0, 12, 40, 0.05) 70%,
    rgba(0, 12, 40, 0.55) 100%
  );
}

.carousel__slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.carousel__slide:hover img {
  transform: scale(1.03);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 12, 40, 0.7);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition-smooth);
  z-index: 5;
  backdrop-filter: blur(4px);
}

.carousel__btn:hover {
  background: var(--primary-blue);
}

.carousel__btn--prev {
  left: 12px;
}

.carousel__btn--next {
  right: 12px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem;
  background: rgba(0, 12, 40, 0.9);
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}

.carousel__dot.active {
  background: var(--primary-blue);
  transform: scale(1.2);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 12, 40, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--transition-smooth);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.4s var(--transition-smooth);
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition-smooth);
  z-index: 2001;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-hero-text-box h1 {
    font-size: 1.7rem;
  }

  .service-detail-img-wrapper {
    max-width: 100%;
  }

  .carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .service-hero-text-box h1 {
    font-size: 1.3rem;
  }

  .service-detail-text-content h2 {
    font-size: 1.6rem;
  }

  .service-detail-text-content h3 {
    font-size: 1.2rem;
  }

  .btn-quote {
    font-size: 0.85rem;
    padding: 0.9rem 1.8rem;
  }

  .service-benefits-list li {
    gap: 8px;
  }

  .carousel__btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .carousel__btn--prev {
    left: 4px;
  }

  .carousel__btn--next {
    right: 4px;
  }

  .lightbox__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
}