/* ========================================
   PHYSIOTHERAPY STYLES
   ======================================== */

.physio-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 20px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.1);
  position: relative;
  overflow: hidden;
}

.physio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981 0%, var(--accent-color) 50%, #10b981 100%);
}

.physio-title {
  font-size: var(--font-size-section-title);
  font-weight: 700;
  color: var(--text-color-primary);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.physio-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #10b981;
  border-radius: 2px;
}

.physio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.physio-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.physio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981 0%, var(--accent-color) 100%);
}

.physio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.physio-card-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-color-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.physio-card-description {
  font-size: var(--font-size-base);
  color: var(--text-color-primary);
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.physio-exercises {
  margin-top: 1.5rem;
}

.physio-exercise-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 8px;
  border-left: 4px solid #10b981;
}

.physio-exercise-icon {
  color: #10b981;
  font-size: 1.2em;
  margin-right: 0.75rem;
  min-width: 20px;
}

.physio-exercise-text {
  font-size: var(--font-size-sm);
  color: var(--text-color-primary);
  line-height: 1.5;
}

.physio-duration {
  font-size: var(--font-size-xs);
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 0.5rem;
  text-align: center;
}

.physio-notes {
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
}

.physio-notes-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.physio-notes-text {
  font-size: var(--font-size-xs);
  color: var(--text-color-primary);
  line-height: 1.5;
}

/* Auto-physiotherapy specific styles */
.auto-physio-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Physiothérapie post-op section */
#physiotherapie-postop {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

#physiotherapie-postop .container {
  padding: 2rem 3rem;
}

#physiotherapie-postop .section-title {
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

#physiotherapie-postop .section-description {
  padding: 1rem 0;
  line-height: 1.7;
}

#physiotherapie-postop .col-md-8 {
  padding: 0 1rem;
}

#physiotherapie-postop .col-md-4 {
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auto-physio-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: #10b981;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auto-physio-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.principle-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.principle-icon {
  font-size: 2rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.principle-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-color-primary);
  margin-bottom: 0.75rem;
}

.principle-description {
  font-size: var(--font-size-sm);
  color: var(--text-color-primary);
  line-height: 1.5;
}

/* Responsive design */
@media (max-width: 768px) {
  .physio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .physio-card {
    padding: 1.5rem;
  }
  
  .auto-physio-principles {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .principle-item {
    padding: 1rem;
  }
  
  /* Mobile padding for physiothérapie post-op */
  #physiotherapie-postop {
    padding: 2rem 0;
  }
  
  #physiotherapie-postop .container {
    padding: 1.5rem 1rem;
  }
  
  #physiotherapie-postop .section-description {
    padding: 0.75rem 0;
  }
  
  #physiotherapie-postop .col-md-8,
  #physiotherapie-postop .col-md-4 {
    padding: 0 0.5rem;
  }
}
