.hero-beauty {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('https://drsafarpour.com/wp-content/uploads/2025/05/Drsafarpor-scaled.webp') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.gradient-overlay-beauty {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, #004a61, transparent);
  pointer-events: none;
}

.hero-text-beauty {top: 100px;
  position: relative;
  z-index: 2;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  display: flex;
  gap: 1rem;
}

.word-beauty {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpBeauty 1s forwards;
}

.word-beauty:nth-child(2) {
  animation-delay: 1s;
}

@keyframes fadeInUpBeauty {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arrow-down-beauty {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: white;
  animation: blinkBeauty 1s infinite;
  z-index: 2;
}

@keyframes blinkBeauty {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@media (max-width: 768px) {
  .hero-text-beauty {
    font-size: 2rem;
    gap: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-text-beauty {
    font-size: 1.4rem;
    gap: 0.5rem;
  }
}
/* بخش نظرات بیماران */
.testimonials-section {
  background-color: #f9fbfd;
  padding: 60px 20px;
  direction: rtl;
  font-family: 'IRANSans', sans-serif;
}

.testimonials-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 28px;
  color: #003d6a;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 25px 20px;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

.testimonial-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before {
  content: '“';
  font-size: 40px;
  color: #0077b6;
  position: absolute;
  top: -20px;
  right: -10px;
}

.testimonial-author {
  font-size: 15px;
  color: #0077b6;
  font-weight: bold;
}




.faq-section {
  background-color: #f1f5f9;
  padding: 60px 20px;
  direction: rtl;
}
.faq-container {
  max-width: 800px;
  margin: auto;
}
.section-title {
  font-size: 28px;
  color: #003d6a;
  text-align: center;
  margin-bottom: 40px;
}
.faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.faq-item input {
  display: none;
}
.faq-question {
  display: block;
  padding: 18px 20px;
  font-size: 17px;
  color: #0077b6;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: '+';
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 22px;
  color: #0077b6;
  transition: transform 0.3s ease;
}
.faq-item input:checked + .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #f9fbfd;
  padding: 0 20px;
}
.faq-item input:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px 20px 20px;
}
.faq-answer p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}


/* بخش معرفی دکتر صفرپور */
.intro-section {
  background-color: #f9fbfd;
  padding: 60px 20px;
  direction: rtl;
}

.intro-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.intro-image {
  flex: 1 1 300px;
  text-align: center;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.intro-text {
  flex: 2 1 500px;
}

.intro-text h2 {
  font-size: 28px;
  color: #003d6a;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn-book {
  background-color: #0077b6;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.btn-book:hover {
  background-color: #005f90;
}