/* ==========================================================================
   SERVICES PAGE STYLES
   ========================================================================== */

/* Ensure all elements use Open Sans */
* {
  font-family: 'Open Sans', sans-serif !important;
}

/* Services Hero */
.services-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Wave Divider */
.services-hero .wave-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.services-hero .wave-divider-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.services-hero .wave-divider-top .shape-fill {
  fill: var(--beige-bg);
}

.services-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 41, 38, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 60px 20px;
}

.services-hero .page-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services-hero .page-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 300px;
    margin-top: 90px;
  }

  .services-hero .page-title {
    font-size: 36px;
  }

  .services-hero .page-subtitle {
    font-size: 16px;
  }
}

/* Single Service Hero */
.service-hero {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--darker-green) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 100px 20px 80px 20px;
  text-align: center;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 41, 38, 0.85) 0%, rgba(0, 41, 38, 0.7) 100%);
  z-index: 1;
}

.service-hero .wave-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.service-hero .wave-divider-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.service-hero .wave-divider-top .shape-fill {
  fill: var(--beige-bg);
}

.service-hero .container {
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.service-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.service-hero .service-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FCF7F0;
  margin-bottom: 8px;
}

.service-hero .service-icon svg {
  width: 80px;
  height: 80px;
  color: #FCF7F0;
}

.service-hero .service-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.service-hero .service-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0;
}

/* Service Details Section */
.service-details {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 20px;
}

.service-detail-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 48px;
  margin-bottom: 48px;
  box-shadow: 0 10px 40px rgba(33, 73, 69, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(33, 73, 69, 0.05);
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--dark-green) 0%, var(--light-purple) 100%);
}

.service-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(33, 73, 69, 0.15);
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--beige-bg);
}

.service-detail-icon {
  font-size: 64px;
  color: var(--dark-green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(33, 73, 69, 0.08) 0%, rgba(149, 117, 205, 0.08) 100%);
  border-radius: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.service-detail-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--light-purple) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-detail-card:hover .service-detail-icon::before {
  opacity: 1;
}

.service-detail-card:hover .service-detail-icon {
  transform: scale(1.05);
}

.service-detail-icon svg {
  width: 48px;
  height: 48px;
  color: var(--dark-green);
  transition: color 0.3s ease;
}

.service-detail-card:hover .service-detail-icon svg {
  color: var(--light-purple);
}

.service-detail-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

.service-detail-content {
  color: var(--text-body);
}

.service-intro {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 32px;
  font-weight: 500;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(252, 247, 240, 0.5) 0%, rgba(245, 232, 243, 0.3) 100%);
  border-radius: 12px;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--light-purple) 0%, var(--dark-green) 100%) 1;
}

.service-detail-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-green);
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}

.service-detail-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--light-purple) 0%, var(--dark-green) 100%);
  border-radius: 2px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.service-list li {
  padding: 14px 16px 14px 48px;
  position: relative;
  line-height: 1.7;
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 8px;
  background: linear-gradient(90deg, rgba(149, 117, 205, 0.03) 0%, transparent 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-list li:hover {
  background: linear-gradient(90deg, rgba(149, 117, 205, 0.08) 0%, transparent 100%);
  padding-left: 52px;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--light-purple) 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(149, 117, 205, 0.15);
  transition: all 0.3s ease;
}

.service-list li:hover::before {
  transform: translateY(-50%) scale(1.3);
  box-shadow: 0 0 0 5px rgba(149, 117, 205, 0.2);
}

.service-list li i {
  display: none;
}

.service-highlight {
  background: linear-gradient(135deg, #FCF7F0 0%, #F5E8F3 100%);
  padding: 24px 28px;
  border-radius: 16px;
  margin-top: 32px;
  border-left: 5px solid var(--light-purple);
  font-size: 16px;
  line-height: 1.7;
  box-shadow: 0 4px 15px rgba(149, 117, 205, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-highlight:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(149, 117, 205, 0.25);
}

.service-highlight strong {
  color: var(--dark-purple);
  font-weight: 700;
}

.service-benefit {
  background: linear-gradient(135deg, #FCF7F0 0%, #E8F5F1 100%);
  padding: 24px 28px;
  border-radius: 16px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.7;
  border-left: 5px solid var(--dark-green);
  box-shadow: 0 4px 15px rgba(33, 73, 69, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-benefit:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(33, 73, 69, 0.2);
}

/* FAQ Section */
.services-faq {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 80px 20px;
  position: relative;
}

.services-faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--light-purple) 50%, transparent 100%);
}

.services-faq .section-title {
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--dark-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, #FCF7F0 0%, #ffffff 100%);
  padding: 32px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(149, 117, 205, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--light-purple) 0%, var(--dark-green) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.faq-item:hover::before {
  transform: scaleX(1);
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(149, 117, 205, 0.15);
  border-color: rgba(149, 117, 205, 0.2);
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-question i {
  color: var(--light-purple);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .services-hero {
    padding: 60px 20px 0 20px;
    min-height: 300px;
  }

  .services-hero .page-title {
    font-size: 32px;
  }

  .services-hero .page-subtitle {
    font-size: 16px;
  }

  .service-hero {
    padding: 80px 20px 60px 20px;
    min-height: 350px;
    margin-top: 90px;
  }

  .service-hero .wave-divider-top svg {
    height: 80px;
  }

  .service-hero .service-icon {
    width: 80px;
    height: 80px;
  }

  .service-hero .service-icon svg {
    width: 64px;
    height: 64px;
  }

  .service-hero .service-title {
    font-size: 32px;
  }

  .service-hero .service-subtitle {
    font-size: 16px;
  }

  .service-details {
    padding: 60px 20px;
  }

  .service-detail-card {
    padding: 32px 24px;
    margin-bottom: 32px;
  }

  .service-detail-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .service-detail-icon {
    font-size: 48px;
    width: 48px;
    height: 48px;
  }

  .service-detail-icon svg {
    width: 48px;
    height: 48px;
  }

  .service-detail-title {
    font-size: 26px;
  }

  .service-intro {
    font-size: 16px;
  }

  .service-detail-content h3 {
    font-size: 20px;
  }

  .services-faq {
    padding: 60px 20px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-item {
    padding: 24px;
  }

  .faq-question {
    font-size: 16px;
  }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-hero .page-title {
    font-size: 42px;
  }

  .service-hero .service-title {
    font-size: 40px;
  }

  .service-hero .service-subtitle {
    font-size: 18px;
  }

  .service-detail-title {
    font-size: 30px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
