/* ==================== WHAT WE DO PAGE ==================== */
/* Introduction Section */
.intro-section {
  padding: 5rem 0;
  background: white;
  color: #1e293b;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 2rem;
  font-weight: 700;
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background: var(--background-section);
}

.services-section .section-title {
  color: var(--primary-color);
}

.additional-treatments-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.additional-treatments-section .section-title {
  color: var(--secondary-color);
}

.selfpay-section {
  padding: 5rem 0;
  background: var(--background-section);
}

.selfpay-section .section-title {
  color: var(--accent-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  position: relative;
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(74, 108, 247, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 2px solid rgba(74, 108, 247, 0.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 108, 247, 0.95) 0%, rgba(103, 128, 254, 0.95) 100%);
  opacity: 0.97;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.service-item:hover .service-overlay {
  opacity: 0.85;
  transform: scale(1.05);
}

.service-content {
  position: relative;
  z-index: 2;
  color: #F1F5F9;
  min-width: 0;
  max-width: 100%;
}

.service-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(74, 108, 247, 0.3);
}

.service-icon-large {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.service-item:hover .service-icon-large {
  transform: scale(1.15) rotate(5deg);
}

.service-item h3 {
  font-size: 1.6rem;
  color: #F1F5F9;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-details {
  list-style: none;
  margin-top: 1.5rem;
}

.service-details li {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-item,
.service-details {
  min-width: 0;
  max-width: 100%;
}

.service-item h3,
.service-description,
.service-details li,
.service-link {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.service-link:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateX(5px);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Treatment Modalities */
.treatments-section {
  padding: 5rem 0;
  background: white;
}

.treatments-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.treatment-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.treatment-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 108, 247, 0.2);
}

.treatment-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.treatment-item h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .intro-content h2 {
    font-size: 1.5rem;
  }

  .intro-content p {
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
    padding: 2rem 1.25rem;
  }

  .service-item h3 {
    font-size: 1.25rem;
  }

  .service-description {
    font-size: 0.95rem;
  }

  .service-details li {
    font-size: 0.85rem;
  }

  .service-icon-large {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .intro-content h2 {
    font-size: 1.35rem;
  }

  .intro-content p {
    font-size: 0.9rem;
  }

  .service-item h3 {
    font-size: 1.15rem;
  }

  .service-description {
    font-size: 0.9rem;
  }

  .service-details li {
    font-size: 0.8rem;
  }

  .service-icon-large {
    font-size: 2.25rem;
  }
}
