
/* Online Services Section */
.online-services-section {
  background-color: #fcf9f7;
  overflow: hidden;
  padding: 6rem 0;
}

.online-services-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
}

.online-services-eyebrow {
  color: #7d2925;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.online-services-controls {
  display: flex;
  gap: 0.75rem;
}

.online-services-controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.online-services-controls button:hover {
  background: #7d2925;
  color: white;
  border-color: #7d2925;
}

.online-services-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0 3rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.online-services-track::-webkit-scrollbar {
  display: none;
}

.online-service-card {
  flex: 0 0 320px;
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: start;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.online-service-card.is-selected,
.online-service-card:hover {
  transform: translateY(-8px);
  border-color: #7d2925;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.online-service-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #7d2925;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.online-service-icon {
  width: 64px;
  height: 64px;
  background: #fdf2f2;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.online-service-icon img {
  width: 32px;
  height: 32px;
}

.online-service-copy h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.online-service-copy p {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.online-service-meta {
  display: flex;
  gap: 2rem;
  margin-top: auto;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.online-service-meta span {
  display: flex;
  flex-direction: column;
}

.online-service-meta strong {
  font-size: 1.125rem;
  color: #111827;
}

.online-service-meta small {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.online-service-book {
  background: #7d2925;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.online-service-book:hover {
  opacity: 0.9;
}

/* Treatment Catalogue Styles */
.treatment-service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.treatment-service-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--treatment-delay, 0ms);
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  height: 100%;
  display: flex;
}

.treatment-service-card .service-accordion-item {
  width: 100%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.treatment-service-card .service-accordion-heading {
  height: 100%;
}

.treatment-service-card .accordion-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.treatment-service-card .accordion-heading-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.treatment-service-card .accordion-heading-icon {
  width: 48px;
  height: 48px;
  margin-right: 0;
}

.treatment-service-card .service-accordion-title {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0;
}

.treatment-service-card .accordion-heading-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.treatment-service-card .que-description {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.6;
}

.treatment-service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.treatment-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.treatment-book {
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s;
  background: #7d2925;
  color: white;
  text-align: center;
  width: 100%;
}

.treatment-book:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media screen and (max-width: 1024px) {
  .treatment-service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .online-services-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .online-services-controls {
    display: none;
  }
  
  .online-service-card {
    flex: 0 0 280px;
    padding: 1.5rem;
  }
  
  .treatment-service-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .treatment-service-card .service-accordion-item {
    padding: 1.5rem;
  }
}
