/**
 * Service Detail Page Styles
 * Madhav Plasto Mould - Individual service page layout
 */

/*--------------------------------------------------------------
# Keyframes
--------------------------------------------------------------*/
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/*--------------------------------------------------------------
# Service Hero Section
--------------------------------------------------------------*/
.service-detail-hero {
  padding: 40px 0 60px;
}

.service-detail-hero .service-detail-hero-img {
  border-radius: 8px;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out 0.1s both;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  aspect-ratio: 4/3;
}

.service-detail-hero .service-detail-hero-img:hover {
  transform: scale(1.02);
}

.service-detail-hero .service-detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-hero .service-detail-hero-img:hover img {
  transform: scale(1.05);
}

.service-detail-hero .service-detail-hero-content h1,
.service-detail-hero .features-item h1 {
  font-size: 26px;
  font-weight: 600;
  color: #001973;
  margin-bottom: 20px;
  line-height: 1.3;
}

.service-detail-hero .service-detail-hero-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-default);
}

.service-detail-hero .features-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detail-hero .features-item ul li {
  padding-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-default);
}

.service-detail-hero .features-item ul li:last-child {
  padding-bottom: 0;
}

.service-detail-hero .features-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--color-primary);
}

@media (max-width: 991px) {
  .service-detail-hero .service-detail-hero-img {
    margin-bottom: 30px;
  }

  .service-detail-hero .service-detail-hero-content h1,
  .service-detail-hero .features-item h1 {
    font-size: 22px;
  }
}

/*--------------------------------------------------------------
# Key Benefits / What We Deliver
--------------------------------------------------------------*/
.service-detail-benefits {
  padding: 40px 0;
}

.service-detail-benefits .section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-primary);
  display: inline-block;
}

.service-detail-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detail-benefits ul li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
}

.service-detail-benefits ul li i {
  font-size: 20px;
  margin-right: 12px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/*--------------------------------------------------------------
# Related Services - Full Redesign
--------------------------------------------------------------*/
.service-related.related-section-redesign {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, rgba(14, 29, 52, 0.02) 0%, #fff 100%);
  width: 100%;
  overflow: hidden;
}

.service-related .related-section-header {
  padding-bottom: 48px;
}

.service-related .related-header-inner {
  text-align: center;
  animation: fadeInDown 0.6s ease-out forwards;
}

.service-related .related-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-related .related-header-inner h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 16px 0;
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
}

.service-related .related-header-inner h2:after {
  display: none;
}

.service-related .related-header-line {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 0 auto;
  border-radius: 2px;
}

.service-related .related-section-slider {
  width: 100%;
}

.service-related .swiper {
  padding: 20px 0 50px;
  overflow: visible;
}

.service-related .swiper-slide {
  height: auto;
}

.service-related .service-card {
  border: 1px solid rgba(14, 29, 52, 0.08);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  padding: 28px;
}

.service-related .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}

.service-related .service-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(72, 169, 166, 0.18);
}

.service-related .service-card .service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(72, 169, 166, 0.12);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 26px;
  transition: transform 0.4s ease, background 0.3s ease;
}

.service-related .service-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-related .service-card h3 a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-related .service-card h3 a:hover {
  color: var(--color-primary);
}

.service-related .service-card p {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.6;
  color: rgba(14, 29, 52, 0.75);
}

.service-related .swiper-pagination {
  position: relative;
  margin-top: 24px;
}

.service-related .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-related .swiper-pagination-bullet-active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* Legacy section-header support */
.service-related .section-header {
  padding-bottom: 40px;
}

/*--------------------------------------------------------------
# Request a Quote Section (Above Footer)
--------------------------------------------------------------*/
.request-quote-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1a2d4a 100%);
  position: relative;
}

.request-quote-section .request-quote-content {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.request-quote-section .request-quote-form-wrap {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.request-quote-section .request-quote-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.request-quote-section .request-quote-content p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.request-quote-section .request-quote-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.request-quote-section .request-quote-content ul li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  animation: fadeInLeft 0.5s ease forwards;
}

.request-quote-section .request-quote-content ul li:nth-child(1) { animation-delay: 0.3s; }
.request-quote-section .request-quote-content ul li:nth-child(2) { animation-delay: 0.4s; }
.request-quote-section .request-quote-content ul li:nth-child(3) { animation-delay: 0.5s; }

.request-quote-section .request-quote-content ul li i {
  font-size: 20px;
  margin-right: 12px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.request-quote-section .request-quote-content ul li:hover i {
  transform: scale(1.1);
}

.request-quote-section .request-quote-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.request-quote-section:hover .request-quote-form-wrap {
  transform: translateY(-4px);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.2);
}

.request-quote-section .request-quote-form-wrap:focus-within {
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(72, 169, 166, 0.3);
}

.request-quote-section .request-quote-form-wrap .product-inquiry-form {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.request-quote-section .product-inquiry-form h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.request-quote-section .product-inquiry-form .form-control {
  border: 1px solid rgba(14, 29, 52, 0.15);
  padding: 14px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
  outline: none;
}

.request-quote-section .product-inquiry-form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(72, 169, 166, 0.25);
}

.request-quote-section .product-inquiry-form button[type="submit"] {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  width: 100%;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.request-quote-section .product-inquiry-form button[type="submit"]:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 169, 166, 0.4);
}

.request-quote-section .product-inquiry-form button[type="submit"]:active {
  transform: scale(0.98);
}

@media (max-width: 991px) {
  .request-quote-section {
    padding: 50px 0;
  }
  .request-quote-section .request-quote-content {
    margin-bottom: 30px;
    text-align: center;
  }
  .request-quote-section .request-quote-content ul li {
    justify-content: center;
  }
  .request-quote-section .request-quote-form-wrap {
    padding: 30px 24px;
  }
}
