.treatment-subcategory {
  margin-bottom: 60px;
}

.subcategory-title {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #666;
  margin-bottom: 5px;
}

.subcategory-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 30px;
}

.treatment-list {
  list-style: disc;
  margin: 0 0 30px 20px;
  color: #444;
}

.treatment-list li {
  margin-bottom: 8px;
}

.treatment-name {
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.treatment-detail {
  font-size: 0.95rem;
  color: #f4f4f4;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.treatment-box {
  position: relative;
  height: 400px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0;
  transition: all 0.3s ease;
}

.treatment-overlay {
  width: 100%;
  padding: 1rem;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  transition: height 0.4s ease;
}

.treatment-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  position: relative;
  z-index: 2;
}

.treatment-hover {
  margin-top: 1rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.treatment-box:hover .treatment-hover {
  max-height: 100px;
  opacity: 1;
}

.treatment-desc,
.treatment-price {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

/* Responsive Grid Tweaks */
@media (max-width: 768px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .treatment-prices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .treatments-grid {
    grid-template-columns: 1fr;
  }

  .treatment-name {
    font-size: 1rem; 
  }
}