/* Services Page Custom Styles */

/* Category Headers */
.service-category-header {
  margin-bottom: 2rem;
}

.service-category-header h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #1a202c;
  margin-bottom: 0.75rem;
}

.service-category-header h3 i {
  color: #F47A24;
  margin-right: 0.75rem;
}

.service-category-header p {
  font-size: 1.05rem;
  color: #64748b;
  margin-bottom: 0;
}

.service-image-wrapper {
  position: relative;
  z-index: 1;
}

.service-image-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Dots Pattern for Developmental Support */
.service-image-wrapper.dots-pattern::before {
  background-image: radial-gradient(circle, #FFB84D 2px, transparent 2px);
  background-size: 30px 30px;
  opacity: 0.3;
  top: -30px;
  right: -30px;
  border-radius: 20px;
}

.service-image-wrapper.dots-pattern::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #F47A24 0%, #FF9933 100%);
  border-radius: 50%;
  opacity: 0.15;
  bottom: -40px;
  left: -40px;
  z-index: -2;
}

/* Wave Pattern for Care & Companionship */
.service-image-wrapper.wave-pattern::before {
  width: 110%;
  height: 110%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 Q 25 30, 50 50 T 100 50' stroke='%23F78105' stroke-width='2' fill='none' opacity='0.2'/%3E%3Cpath d='M0 70 Q 25 50, 50 70 T 100 70' stroke='%23FF9933' stroke-width='2' fill='none' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  top: -20px;
  left: -20px;
  border-radius: 20px;
}

.service-image-wrapper.wave-pattern::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, transparent 30%, rgba(244, 122, 36, 0.1) 70%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: -50px;
  right: -50px;
  z-index: -2;
  animation: blob-morph 8s ease-in-out infinite;
}

/* Geometric Pattern for Community Support */
.service-image-wrapper.geometric-pattern::before {
  background-image: 
    linear-gradient(45deg, transparent 45%, rgba(244, 122, 36, 0.15) 45%, rgba(244, 122, 36, 0.15) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, rgba(255, 153, 51, 0.15) 45%, rgba(255, 153, 51, 0.15) 55%, transparent 55%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  width: 105%;
  height: 105%;
  top: -25px;
  right: -25px;
  border-radius: 20px;
}

.service-image-wrapper.geometric-pattern::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(244, 122, 36, 0.2);
  border-radius: 20px;
  bottom: -30px;
  right: -30px;
  z-index: -2;
  transform: rotate(15deg);
}

@keyframes blob-morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: rotate(180deg);
  }
}

.service-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

/* Service Accordion */
.service-accordion .accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: white;
  overflow: hidden;
}

.service-accordion .accordion-button {
  /* background: white; */
  background: #008080;
  color: #1a202c;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  border: none;
  position: relative;
  /* background: white; */
  border: 1px solid #10b981;
  padding: 30px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  border-radius: var(--radius) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-button:not(.collapsed) {
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}
.accordion-button:not(.collapsed) span, .accordion-button:not(.collapsed):after {
    color: white !important;
    /* filter: grayscale(1); */
}
.service-accordion .accordion-button:focus {
  box-shadow: none;
  /* border: none; */
}

.service-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F47A24'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(5777%) hue-rotate(303deg) brightness(101%) contrast(106%);
}
.section-label::after {
    position: relative;
}
.service-price-badge {
  font-size: 0.9rem;
  font-weight: 900;
  /* color: #F47A24; */
  color: #ffffff;
  margin-left: auto;
  padding-left: 1rem;
      position: absolute;
    right: 55px;
}

.service-accordion .accordion-body {
  padding: 1.5rem;
  background: #f8f9fa;
}

.service-accordion .accordion-body p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Hero Section */
.services-page-hero {
  /* padding: 160px 0 80px; */
  /* background: linear-gradient(135deg, #F47A24 0%, #E87000 100%); */
  text-align: center;
}

.services-page-hero h1 {
  color: white;
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.services-page-hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-stats-services {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item-services {
  text-align: center;
  color: white;
}

.stat-number-services {
  font-size: 2.5rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label-services {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Service Cards Enhanced (for benefits section) */
.service-card-enhanced {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.service-card-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(244, 122, 36, 0.15);
}

.service-icon-box {
    min-width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #F47A24, #FF9933);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0;
}

.service-title-enhanced {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 0;
}

.service-description-text {
  color: #64748b;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* Info Box */
.support-intro-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #F47A24;
}

.support-intro-card h3 {
  color: #1a202c;
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.support-intro-card h3::before {
    display: none;
}
.support-intro-card p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Service Cards Modern (for main services list) */
.service-card-modern {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.service-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(244, 122, 36, 0.15);
}

.service-icon-modern {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #F47A24, #FF9933);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1.2rem;
}

.service-title-modern {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.service-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: #F47A24;
  margin-bottom: 1rem;
}

.service-description {
  color: #64748b;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: #64748b;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.service-features li::before {
  content: '✓';
  width: 18px;
  height: 18px;
  background: #F47A24;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.7rem;
  margin-top: 3px;
}

/* Pricing Tables */
.pricing-table-modern {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.pricing-table-modern table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table-modern thead {
  background: linear-gradient(135deg, #F47A24, #FF9933);
  color: white;
}

.pricing-table-modern th {
  padding: 0.875rem;
  font-weight: 700;
  text-align: left;
  font-size: 0.875rem;
}

.pricing-table-modern td {
  padding: 0.875rem;
  border-bottom: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 0.875rem;
  background: white;
  /* text-align: center; */
}
.accordion-item .pricing-table-modern td {
  text-align: center;
}
.pricing-table-modern tbody tr:last-child td {
  border-bottom: none;
}

/* Buttons */
.btn-service {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #F47A24, #FF9933);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(244, 122, 36, 0.3);
  color: white;
}

/* Section Headers */
.section-label-modern {
  font-weight: 700;
  color: #F47A24;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title-modern {
  font-size: 2rem;
  font-weight: 900;
  color: #1a202c;
  margin-bottom: 1rem;
}

.section-description {
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Accordions */
.accordion-modern {
  background: transparent;
}

.accordion-modern .accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: white;
  overflow: hidden;
}

.accordion-modern .accordion-button {
  background: white;
  color: #1a202c;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.25rem;
  border: none;
}

.accordion-modern .accordion-button:not(.collapsed) {
  background: #f8f9fa;
  color: #F47A24;
}

.accordion-modern .accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-modern .accordion-body {
  padding: 1.5rem;
}

/* CTA Section */
.cta-section-modern {
  background: linear-gradient(135deg, #F47A24 0%, #E87000 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-hero-primary {
  background: white;
  color: #F47A24;
}

.btn-hero-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: #F47A24;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .services-page-hero  {
    padding: 140px 0 60px;
  }

  .services-page-hero h1 {
    font-size: 2rem;
  }

  .services-page-hero p {
    font-size: 1.05rem;
  }

  .hero-stats-services {
    gap: 1.5rem;
  }

  .stat-number-services {
    font-size: 2rem;
  }

  .section-title-modern {
    font-size: 1.75rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
  .service-price-badge {
    position: static !important;
  }
}
