/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../../assets/images/stethoscope-bg-lg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Services Overview */
.services-overview {
  padding: 5rem 0;
}

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

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  max-width: 100%;
  max-height: 100%;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--primary-color);
}

.read-more:hover {
  text-decoration: underline;
}

/* Testimonials */
.testimonials {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.testimonial-content {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.testimonial-content::before {
  content: "\201C";
  font-size: 4rem;
  position: absolute;
  top: 0;
  left: 1rem;
  color: var(--primary-light);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-author {
  text-align: right;
}

.author-name {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.author-relation {
  font-size: 0.9rem;
  color: var(--text-lighter);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.testimonial-prev::before,
.testimonial-next::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
}

.testimonial-prev::before {
  left: 15px;
  transform: translateY(-50%) rotate(-135deg);
}

.testimonial-next::before {
  right: 15px;
  transform: translateY(-50%) rotate(45deg);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--primary-color);
}

.values-teaser .teaser-list {
  line-height: 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
