/* استایل پاپ‌آپ لایت‌باکس */
.lightbox-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-popup img {
    max-width: 90%;
    max-height: 90%;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
}









.image-slider { padding: 20px 0 40px 0;
  overflow: hidden;
  width: 100%;
  direction: ltr;
  position: relative;
}

.image-slider::before,
.image-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 30px; /* نازک‌تر شد */
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.image-slider::before {
  left: 0;
}

.image-slider::after {
  right: 0;
}

.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollLeft 90s linear infinite;
  position: relative;
  z-index: 1;
}

.slider-track img {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* موبایل */
@media (max-width: 500px) {
  .slider-track img {
    width: 120px;
    height: 120px;
  }
}


























.hero-text h1 {
    font-size: clamp(24px, 5vw, 32px);
}
.hero {
  padding: 60px 0px;
  background-color: var(--bg);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  flex: 1 1 500px;
  padding: 50px 0 20px 0;
}

.tagline {
  display: inline-block;
  background-color: var(--gold);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: 36px;
  color: var(--dark);
  margin: 0;
}

.hero-text .highlight {
  color: var(--gold);
}

.hero-text h2 {
  font-size: 28px;
  color: var(--teal);
  margin-top: 10px;
}

.hero-text p {
  line-height: 2;
  color: #444;
  margin-top: 20px;
}

.hero-buttons {
  margin-top: 30px;
}

.btn.call {
  background-color: var(--teal);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn.call:hover {
  background-color: #245c64;
}

.hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
}














.insta-gallery {
  background: linear-gradient(135deg, #fdf497 0%, #fd5949 50%, #d6249f 75%, #285AEB 100%);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius:16px
}

.insta-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.insta-icon img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 2px #00000033);
}

.insta-title {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  margin-bottom: 5px;
}

.insta-subtitle {
  font-size: 18px;
  color: #444;
  margin-bottom: 20px;
}

.insta-text {
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
}

.insta-note {
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.insta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.insta-btn {
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  transition: all 0.3s ease;
}

.insta-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(100) invert(1);
}

.insta-btn--pink {
  background: #d6249f;
  color: white;
}

.insta-btn--pink:hover {
  background: #b91c87;
}

.insta-btn--white {
  background: #fff;
  color: #d6249f;
  border: 2px solid #d6249f;
}

.insta-btn--white:hover {
  background: #fdf4fb;
}








.about-doctor {
  background: linear-gradient(180deg, #f9fafb 0%, #e6ecef 100%);
  padding: 60px 0 0px 0px;
  position: relative;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.about-text h2 {
  color: #6e4c1e;
  font-size: 32px;
  margin-bottom: 15px;
}
.about-text p {
  color: #333;
  line-height: 1.8;
}
.about-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-image {
    justify-content: center;
  }
}




.benefits-section {
  padding: 60px 0;
  background: #f9fafb;
}
.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.benefits-container h2 {
  color: #6e4c1e;
  font-size: 32px;
  margin-bottom: 40px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.benefit-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.benefit-icon img {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}
.benefit-item h3 {
  color: #6e4c1e;
  font-size: 20px;
  margin-bottom: 10px;
}
.benefit-item p {
  color: #333;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}





.cosmetic-dentistry-section {
  padding: 60px 0px;

}

.cosmetic-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.cosmetic-text {
  flex: 1;
  min-width: 300px;
}

.cosmetic-text h2 {
  font-size: 28px;
  color: #6e4c1e; /* قهوه‌ای قالب */
  margin-bottom: 10px;
}

.cosmetic-text .subtitle {

  color: #b88b4a;
  margin-bottom: 20px;
}

.cosmetic-text p {

  line-height: 2.2;
  color: #444;
  margin-bottom: 16px;
  text-align: justify;
}

.cosmetic-btn {
  display: inline-block;
  margin-top: 20px;
  background: #b88b4a;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cosmetic-btn:hover {
  background: #926c32;
}

.cosmetic-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.cosmetic-image img {float: none;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    .hero-text {
        padding: 20px;
    }
}







/* تماس بین مطالب */

.cta-box {
  background-color: #f2f7f8;
  border: 1px solid #d8dadc;
  border-radius: 20px;
  max-width: 700px;
  margin: 60px auto;
  padding: 30px 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.cta-title {
  font-size: 22px;
  font-weight: bold;
  color: #2f2f2f;
  border-bottom: 1px solid #d8dadc;
  padding-bottom: 10px;
  margin-bottom: 20px;
  position: relative;
}

.cta-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #c08a4d;
}

.cta-address,
.cta-phones {
  color: #333;
  line-height: 1.8;
  margin-bottom: 14px;
}

.cta-phones a {
  color: #2f5f5f;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta-phones a:hover {
  color: #b87a3f;
  text-decoration: underline;
}



.faq-section {
  padding: 60px 0;
  background: #f2f7f8;
}
.faq-section .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.faq-section h2 {
  color: #6e4c1e;
  font-size: 32px;
  margin-bottom: 40px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: right;
}
.faq-item {
  margin-bottom: 15px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.faq-question {
  color: #6e4c1e;
  font-size: 20px;
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  transition: background 0.3s ease;
}
.faq-question:hover {
  background: #f9fafb;
}
.faq-question.active::after {
  content: '-';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #b88b4a;
  font-size: 24px;
}
.faq-question::after {
  content: '+';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #b88b4a;
  font-size: 24px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  color: #333;
  line-height: 1.8;
  padding: 0 20px 15px 20px;
  margin: 0;
}
@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 28px;
  }
  .faq-question {
    font-size: 18px;
  }
}






.blog-section {
  padding: 60px 0;
  background: #f2f7f8;
}
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.blog-container h2 {
  color: #6e4c1e;
  font-size: 32px;
  margin-bottom: 40px;
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.blog-item {
  background: #ffffff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px; /* ارتفاع ثابت برای کارت‌ها */
  text-align: center;
}
.blog-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.blog-item h3 {
  color: #6e4c1e;
  font-size: 18px;
  margin: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}
.blog-item h3 a {
  text-decoration: none;
  color: #6e4c1e;
  transition: color 0.3s ease;
}
.blog-item h3 a:hover {
  color: #b88b4a;
}
.blog-date {
  color: #555;
  font-size: 14px;
  margin: 0;
  padding-bottom: 10px;
}
@media (max-width: 768px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .blog-list {
    grid-template-columns: 1fr;
  }
}