/* ÙÙˆÙ†Øªâ€ŒÙ‡Ø§ÛŒ ÙØ§Ø±Ø³ÛŒ â€” IRANSans Ø¨Ø±Ø§ÛŒ Ú©Ù„ Ø³Ø§ÛŒØªØŒ YekanBakh Ø¨Ø±Ø§ÛŒ Ù†Ø§Ù… Ø¯Ú©ØªØ± */

@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSans_0.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh-Fat.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body,
button,
input,
select,
textarea,
.form-control,
.btn {
  font-family: 'IRANSans', Tahoma, Arial, sans-serif;
}

.brand-name-yekan {
  font-family: 'YekanBakh', 'IRANSans', Tahoma, sans-serif;
}

.navbar-brand .brand-name-yekan {
  display: block;
  font-weight: normal;
}

#ftco-navbar .navbar-brand.site-header-brand {
  display: inline-flex;
  flex-direction: row;
  direction: ltr;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  max-width: 100%;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.site-header-logo {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: none;
  border-radius: 0;
  padding: 0;
}

.site-header-brand > .site-header-brand-text {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  text-align: right;
  direction: rtl;
  white-space: normal;
}

#ftco-navbar .navbar-brand.site-header-brand .brand-name-yekan,
#ftco-navbar .navbar-brand.site-header-brand .brand-subtitle {
  width: 100%;
  text-align: right;
}

#ftco-navbar .navbar-brand .brand-name-yekan {
  color: #4793b7;
  text-align: right;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

#ftco-navbar .navbar-brand .brand-subtitle {
  display: block;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.72rem;
  font-weight: 200;
  color: rgba(0, 0, 0, 0.5);
  text-align: right;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

@media (min-width: 992px) {
  #ftco-navbar .navbar-brand .brand-name-yekan {
    font-size: 1.05rem;
  }

  .site-header-logo {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 575.98px) {
  #ftco-navbar .navbar-brand.site-header-brand {
    gap: 0.5rem;
    padding: 0.4rem 0.7rem;
    max-width: 100%;
  }

  .site-header-logo {
    width: 40px;
    height: 40px;
  }

  #ftco-navbar .navbar-brand .brand-name-yekan {
    font-size: 0.9rem;
  }

  #ftco-navbar .navbar-brand .brand-subtitle {
    font-size: 0.65rem;
  }
}

/* Owl Carousel Ø¨Ø§ dir=rtl ØµÙØ­Ù‡ Ø¨Ø¯ÙˆÙ† direction:LTR Ú©Ø§Ø± Ù†Ù…ÛŒâ€ŒÚ©Ù†Ø¯ */
.home-slider.owl-carousel,
.carousel-testimony.owl-carousel {
  direction: ltr;
}

/* Ù…ÙˆØ¨Ø§ÛŒÙ„/ØªØ¨Ù„Øª: Ø§Ø³Ú©Ø±ÙˆÙ„ Ø¹Ù…ÙˆØ¯ÛŒ Ø±ÙˆÛŒ ØªØµÙˆÛŒØ± Ù‡ÛŒØ±Ùˆ â€” Owl Ù¾ÛŒØ´â€ŒÙØ±Ø¶ touchDrag Ø¯Ø§Ø±Ø¯ */
@media (max-width: 991.98px) {
  .home-slider.owl-carousel .owl-stage-outer,
  .home-slider.owl-carousel .owl-stage {
    touch-action: pan-y;
  }
}

.home-slider.owl-carousel:not(.owl-loaded) {
  display: block !important;
  height: 600px;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .home-slider.owl-carousel:not(.about-page-hero):not(.owl-loaded) {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.home-slider.owl-carousel:not(.owl-loaded) .slider-item:not(:first-child) {
  display: none;
}

html[dir="rtl"] .home-slider .slider-text,
html[dir="rtl"] .carousel-testimony .text {
  direction: rtl;
  text-align: right;
}

/* Ù…Ù†ÙˆÛŒ Ø®Ø¯Ù…Ø§Øª â€” RTL */
html[dir="rtl"] .ftco-navbar-light .dropdown-menu {
  text-align: right;
  right: 0;
  left: auto;
}

html[dir="rtl"] .ftco-navbar-light .nav-item.dropdown.active > .nav-link,
html[dir="rtl"] .ftco-navbar-light .dropdown-menu .dropdown-item.active {
  color: #4793b7;
  background-color: rgba(71, 147, 183, 0.14);
}

html[dir="ltr"] body {
  text-align: left;
}

html[dir="ltr"] .home-quality-heading,
html[dir="ltr"] .home-quality-body,
html[dir="ltr"] .hero-slider-content.text-right {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .ftco-footer-widget,
html[dir="ltr"] .block-23 .text {
  text-align: left;
}

/* English â€” LTR typography, alignment, brand layout */
html[lang="en"] body,
html[lang="en"] button,
html[lang="en"] input,
html[lang="en"] select,
html[lang="en"] textarea,
html[lang="en"] .form-control,
html[lang="en"] .btn {
  font-family: Arial, Helvetica, sans-serif;
}

html[lang="en"] .brand-name-yekan {
  font-family: Arial, Helvetica, sans-serif;
}

html[lang="en"] #ftco-navbar .navbar-brand.site-header-brand .site-header-logo {
  order: 1;
}

html[lang="en"] #ftco-navbar .navbar-brand.site-header-brand .site-header-brand-text {
  order: 2;
  direction: ltr;
  text-align: left;
  align-items: flex-start;
}

html[lang="en"] #ftco-navbar .navbar-brand.site-header-brand .brand-name-yekan,
html[lang="en"] #ftco-navbar .navbar-brand.site-header-brand .brand-subtitle {
  text-align: left;
}

html[lang="en"] body,
html[lang="en"] .ftco-section,
html[lang="en"] p,
html[lang="en"] li,
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] .heading-section,
html[lang="en"] .subheading,
html[lang="en"] .slider-text,
html[lang="en"] .hero-slider-content,
html[lang="en"] .hero-wrap .slider-text,
html[lang="en"] .inner-page-hero .slider-text,
html[lang="en"] .home-quality-heading,
html[lang="en"] .home-quality-body,
html[lang="en"] .home-services-intro,
html[lang="en"] .home-promise-text,
html[lang="en"] .home-promise-list,
html[lang="en"] .home-intro-text,
html[lang="en"] .consultation,
html[lang="en"] .home-booking-guide,
html[lang="en"] .home-booking-guide-list,
html[lang="en"] .home-clinic-hours,
html[lang="en"] .home-clinic-hours-body,
html[lang="en"] .media-body,
html[lang="en"] .testimony-wrap .text,
html[lang="en"] .service-page-intro-text,
html[lang="en"] .service-page-card-title,
html[lang="en"] .contact-page-intro,
html[lang="en"] .contact-info-card-body,
html[lang="en"] .contact-info-card-title,
html[lang="en"] .contact-map-panel-header,
html[lang="en"] .service-blog-entry-body,
html[lang="en"] .blog-single-content,
html[lang="en"] .blog-single-article,
html[lang="en"] .aparat-videos-section,
html[lang="en"] .equipment-showcase-intro,
html[lang="en"] .equipment-showcase-section,
html[lang="en"] .ftco-footer,
html[lang="en"] .ftco-footer-widget,
html[lang="en"] .ftco-footer-widget p,
html[lang="en"] .ftco-footer-widget ul li,
html[lang="en"] .block-23 ul li,
html[lang="en"] .block-23 .text,
html[lang="en"] .open-hours,
html[lang="en"] .site-footer-copyright,
html[lang="en"] .breadcrumbs,
html[lang="en"] .breadcrumbs span,
html[lang="en"] .about-hero-text-col,
html[lang="en"] .wrap-about,
html[lang="en"] .gallery-page-section,
html[lang="en"] .videos-page-section,
html[lang="en"] .service-coming-soon-text,
html[lang="en"] .booking-type-label,
html[lang="en"] .booking-selected-label,
html[lang="en"] .home-portfolio-video,
html[lang="en"] .ftco-heading-2 {
  direction: ltr;
  text-align: left !important;
}

html[lang="en"] .text-right,
html[lang="en"] .text-justify,
html[lang="en"] .text-center {
  text-align: left !important;
}

html[lang="en"] .home-booking-guide-list {
  padding-left: 1.25rem !important;
  padding-right: 0 !important;
}

html[lang="en"] .home-quality-heading.pl-md-5,
html[lang="en"] .home-quality-body.pl-md-5,
html[lang="en"] .home-quality-heading.ml-md-5,
html[lang="en"] .home-quality-body.ml-md-5 {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

html[lang="en"] .ftco-footer .list-unstyled li a .ion-ios-arrow-round-forward {
  margin-right: 0.5rem !important;
  margin-left: 0 !important;
}

@media (min-width: 992px) {
  html[lang="en"] .ftco-navbar-light .dropdown-menu {
    text-align: left;
    right: auto;
    left: 0;
  }
}

/* Ø³Ú©Ø´Ù† Ø¯ÙˆÙ… ØµÙØ­Ù‡ Ø®Ø§Ù†Ù‡ â€” Ø¹Ù†ÙˆØ§Ù† Ùˆ Ù…ØªÙ† */
.home-quality-heading,
.home-quality-body {
  direction: rtl;
  text-align: right;
}

/* Ø³Ú©Ø´Ù† about â€” Ù„Ø¨Ù‡ Ø¨Ø§Ù„Ø§ÛŒ Ø¹Ú©Ø³ = Ù„Ø¨Ù‡ Ø¨Ø§Ù„Ø§ÛŒ Ø³Ú©Ø´Ù† */
.home-slider.owl-carousel {
  margin-bottom: 0 !important;
}

section.home-quality-section.ftco-section {
  --home-quality-image-height: 320px;
  position: relative;
  z-index: 2;
  display: flow-root;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  background-color: #fff;
  clear: both;
}

section.home-quality-section .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible;
}

section.home-quality-section .row {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

section.home-quality-section .home-quality-image-col {
  margin: 0 !important;
  padding: 0 !important;
  align-self: stretch;
}

/* Ú©Ø§Ø¯Ø± Ø¹Ú©Ø³ â€” Ø§Ø±ØªÙØ§Ø¹ Ù…Ø±Ø¬Ø¹ Ø³Ú©Ø´Ù† */
section.home-quality-section .home-quality-image.img.img-2 {
  position: relative;
  top: 0;
  display: block;
  width: 100%;
  height: var(--home-quality-image-height);
  min-height: var(--home-quality-image-height);
  max-height: var(--home-quality-image-height);
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  transform: none;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Ø¯Ø³Ú©ØªØ§Ù¾ â€” Ø§Ø±ØªÙØ§Ø¹ Ø³Ú©Ø´Ù† = Ø§Ø±ØªÙØ§Ø¹ Ø¹Ú©Ø³ */
@media (min-width: 768px) {
  section.home-quality-section.ftco-section {
    --home-quality-image-height: 480px;
    height: var(--home-quality-image-height);
    min-height: var(--home-quality-image-height);
    max-height: var(--home-quality-image-height);
  }

  section.home-quality-section .container,
  section.home-quality-section .row {
    height: 100%;
    min-height: var(--home-quality-image-height);
    align-items: stretch !important;
  }

  section.home-quality-section .home-quality-image-col {
    height: 100%;
  }

  section.home-quality-section .home-quality-image.img.img-2 {
    height: 100%;
    min-height: 100%;
    max-height: none;
  }

  .home-quality-section .home-quality-text {
    height: 100%;
    max-height: var(--home-quality-image-height);
    overflow-y: auto;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    -webkit-overflow-scrolling: touch;
  }
}

.home-quality-section .home-quality-logo {
  position: absolute;
  left: 1.5rem;
  right: auto;
  bottom: 2rem;
  z-index: 3;
  width: auto;
  max-width: 120px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.25));
}

html[dir="rtl"] .home-quality-section .home-quality-logo {
  left: 1.5rem;
  right: auto;
}

/* ÙØ§ØµÙ„Ù‡ Ù…ØªÙ† Ø§Ø² Ø¹Ú©Ø³ Ø³Ù…Øª Ø±Ø§Ø³Øª (Ø¯Ø± RTL) */
.home-quality-section .home-quality-text {
  padding-inline-start: 1.25rem;
}

@media (min-width: 768px) {
  .home-quality-section .home-quality-text {
    padding-inline-start: 2.5rem;
  }

  .home-quality-section .home-quality-logo {
    bottom: 2.5rem;
    max-width: 130px;
    max-height: 130px;
  }
}

.home-quality-heading {
  padding-top: 1.25rem;
}

.home-quality-title {
  font-size: 1.75rem;
  line-height: 1.5;
  text-align: right;
  direction: rtl;
}

@media (min-width: 768px) {
  .home-quality-heading {
    padding-top: 1.5rem;
  }

  .home-quality-title {
    font-size: 2rem;
  }

  .home-quality-section .heading-section.mb-5 {
    margin-bottom: 1rem !important;
  }

  .home-quality-section .home-quality-body.mb-5 {
    margin-bottom: 0 !important;
  }
}

/* Ù…ØªÙ† Ú©Ø§Ø±ÙˆØ³Ù„ â€” Ø³ÙÛŒØ¯ØŒ ÙÙˆÙ†Øª Ø±ÛŒØ²ØªØ±ØŒ Ø´ÛŒØ´Ù‡ Ø®ÛŒÙ„ÛŒ Ú©Ù…Ø±Ù†Ú¯ */
.home-slider .hero-slider-content {
  direction: rtl;
  text-align: right;
  padding-block: 1.35rem;
  padding-inline: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(4px) saturate(110%);
  backdrop-filter: blur(4px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  --hero-text-white-halo:
    0 0 6px rgba(255, 255, 255, 1),
    0 0 14px rgba(255, 255, 255, 1),
    0 0 28px rgba(255, 255, 255, 1),
    0 0 48px rgba(255, 255, 255, 1),
    0 0 72px rgba(255, 255, 255, 0.98),
    0 0 100px rgba(255, 255, 255, 0.96),
    0 0 132px rgba(255, 255, 255, 0.92),
    0 3px 12px rgba(255, 255, 255, 1);
}

.home-slider .hero-slider-content .hero-slider-title {
  text-shadow: none;
}

.home-slider .hero-slider-content .hero-slider-subtitle,
.home-slider .hero-slider-content .hero-slider-membership,
.home-slider .hero-slider-content .hero-slider-desc {
  text-shadow: var(--hero-text-white-halo);
}

.home-slider .slider-item .slider-text .hero-slider-title,
.home-slider .slider-item .slider-text .hero-slider-desc {
  color: #fff;
}

.home-slider .slider-item .slider-text .hero-slider-subtitle {
  color: #b5d4e4;
}

.home-slider .slider-item .slider-text h1.hero-slider-title {
  font-family: 'YekanBakh', 'IRANSans', Tahoma, sans-serif;
  font-size: 1.45rem;
  font-weight: normal;
  line-height: 1.4;
  color: #fff;
}

.home-slider .slider-item .slider-text p.hero-slider-subtitle {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.home-slider .slider-item .slider-text p.hero-slider-membership {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.55;
  color: #000;
}

.home-slider .slider-item .slider-text p.hero-slider-desc {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.75;
  text-align: justify;
}

/* Ø¯Ú©Ù…Ù‡ Ø´ÛŒØ´Ù‡â€ŒØ§ÛŒ Ø¢Ø¨ÛŒ â€” Ú©Ø§Ø±ÙˆØ³Ù„ Ùˆ Ù…Ù†Ùˆ */
.btn.btn-glass-secondary,
.home-slider .hero-slider-content .btn.btn-secondary {
  color: #fff;
  background: rgba(71, 147, 183, 0.45);
  border-color: rgba(181, 212, 228, 0.55);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.btn.btn-glass-secondary:hover,
.btn.btn-glass-secondary:focus,
.home-slider .hero-slider-content .btn.btn-secondary:hover,
.home-slider .hero-slider-content .btn.btn-secondary:focus {
  color: #fff;
  background: rgba(71, 147, 183, 0.65);
  border-color: #b5d4e4;
}

@media (min-width: 992px) {
  .home-slider .slider-item .slider-text h1.hero-slider-title {
    font-size: 1.65rem;
  }

  .home-slider .hero-slider-content {
    padding-block: 1.5rem;
    padding-inline: 1.35rem;
  }
}

/* Ø±ÛŒØ³Ù¾Ø§Ù†Ø³ÛŒÙˆ â€” Ú©Ø§Ø¯Ø± Ù…ØªÙ† Ù¾Ø§ÛŒÛŒÙ† ØªØµÙˆÛŒØ±ØŒ Ø­Ø¯ÙˆØ¯ Û±Û°Ùª Ø¨Ø§Ù„Ø§ØªØ± Ø§Ø² Ù„Ø¨Ù‡ Ù¾Ø§ÛŒÛŒÙ† */
@media (max-width: 991.98px) {
  .home-slider.owl-carousel:not(.about-page-hero) {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .home-slider.owl-carousel:not(.about-page-hero) .owl-stage-outer,
  .home-slider.owl-carousel:not(.about-page-hero) .owl-stage,
  .home-slider.owl-carousel:not(.about-page-hero) .owl-item {
    height: 100%;
  }

  .home-slider.owl-carousel:not(.about-page-hero) .slider-item,
  .home-slider.owl-carousel:not(.about-page-hero) .slider-item .slider-text {
    height: 100%;
    min-height: 100%;
  }

  .home-slider .slider-item .slider-text.align-items-center {
    align-items: flex-end !important;
    padding-bottom: 0;
  }

  .home-slider .slider-item > .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 10vh;
  }

  .home-slider.owl-carousel:not(.about-page-hero) .slider-item {
    background-position: 42% center !important;
  }
}

@media (max-width: 991.98px) {
  .home-slider .hero-slider-content .btn.btn-secondary {
    font-size: 0.85rem;
    padding: 0.5rem 1.15rem !important;
    line-height: 1.4;
  }
}

@media (max-width: 767.98px) {
  .home-slider .hero-slider-content {
    text-align: center;
    padding-block: 1.1rem;
    padding-inline: 1rem;
  }

  .home-slider .hero-slider-content .btn.btn-secondary {
    font-size: 0.78rem;
    padding: 0.4rem 0.95rem !important;
  }

  .home-slider .hero-slider-desc {
    text-align: center;
  }

  .home-slider .slider-text > [class*="col-"] {
    margin-left: 0 !important;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .home-slider .slider-item > .container {
    padding-bottom: 10vh;
  }

  .home-slider.owl-carousel:not(.about-page-hero) .slider-item {
    background-position: 38% center !important;
  }

  section.home-quality-section .home-quality-image.img.img-2 {
    height: 300px;
  }

  .home-quality-section .home-quality-logo {
    left: 1rem;
    bottom: 1.25rem;
    max-width: 90px;
    max-height: 90px;
  }
}

/* ØµÙØ­Ù‡ Ø¯Ø±Ø¨Ø§Ø±Ù‡ Ù…Ø§ â€” Ú©Ø§Ø¯Ø± Ù…ØªÙ† Ø¯Ø± Ø³Ù…Øª Ú†Ù¾ØŒ Ø¹Ø±Ø¶ Ø¨Ø± Ø§Ø³Ø§Ø³ Ù…Ø­ØªÙˆØ§ */
.about-page-hero .slider-item .slider-text {
  direction: ltr;
  justify-content: flex-start !important;
}

.about-page-hero .about-hero-text-col {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.about-page-hero .hero-slider-content {
  direction: rtl;
  text-align: right;
  width: fit-content;
  max-width: 100%;
}

@media (min-width: 992px) {
  .about-page-hero .slider-item .slider-text {
    justify-content: center !important;
  }

  .about-page-hero .about-hero-text-col {
    max-width: 36%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-page-hero .hero-slider-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .about-page-hero .slider-item .slider-text.align-items-center {
    align-items: center !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .about-page-hero .about-hero-text-col {
    max-width: 41.666667%;
  }
}

@media (max-width: 991.98px) {
  .about-page-hero .slider-item .slider-text.align-items-center {
    align-items: center !important;
  }

  .about-page-hero .about-hero-text-col {
    max-width: calc(100% - 1.5rem);
  }

  .about-page-hero.owl-carousel,
  .about-page-hero.owl-carousel:not(.owl-loaded) {
    height: 400px;
  }

  .about-page-hero .slider-item,
  .about-page-hero .slider-item .slider-text {
    height: 400px;
  }

  .home-slider.about-page-hero .slider-item > .container {
    justify-content: center;
    padding-bottom: 0;
    padding-top: 0;
    transform: translateY(-3.5rem);
  }

  .about-page-hero .hero-slider-content {
    padding-block: 0.85rem;
    padding-inline: 0.95rem;
  }

  .about-page-hero .hero-slider-content .hero-slider-title {
    margin-bottom: 0.45rem !important;
  }

  .about-page-hero .hero-slider-content .hero-slider-subtitle {
    margin-bottom: 0.35rem !important;
  }

  .about-page-hero .hero-slider-content .hero-slider-membership {
    margin-bottom: 0.25rem !important;
  }

  .about-page-hero .hero-slider-content .hero-slider-membership.mb-3 {
    margin-bottom: 0.5rem !important;
  }

  .about-page-hero .about-hero-doctor-wrap {
    width: 46%;
    padding: 0.25rem 0.5rem 0;
    align-items: flex-start;
    transform: translateY(-3.5rem);
  }

  .about-page-hero .about-hero-doctor {
    max-width: 100%;
    max-height: 90%;
    object-position: center top;
  }
}

.about-page-hero .slider-item > .container {
  position: relative;
  z-index: 2;
}

.about-page-hero .about-hero-doctor-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem 0;
  pointer-events: none;
  z-index: 1;
}

.about-page-hero .about-hero-doctor {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 26rem);
  max-height: 94%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  transform: translateX(4.5rem);
  animation: about-hero-doctor-enter 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes about-hero-doctor-enter {
  from {
    opacity: 0;
    transform: translateX(4.5rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-page-hero .slider-item {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .home-slider.about-page-hero .slider-item > .container {
    transform: translateY(-4rem);
  }

  .about-page-hero .about-hero-doctor-wrap {
    width: 42%;
    transform: translateY(-4rem);
  }

  .about-page-hero .about-hero-doctor {
    max-height: 88%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page-hero .about-hero-doctor {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.about-memberships-section {
  direction: rtl;
}

.about-memberships-row {
  align-items: flex-start;
}

.about-membership-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.about-membership-logo {
  display: block;
  width: 100%;
  max-width: 120px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.about-membership-label {
  direction: rtl;
  text-align: center;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #333;
  max-width: 16rem;
  margin-inline: auto;
}

.about-membership-since {
  direction: rtl;
  text-align: center;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #4793b7;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .about-memberships-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .about-membership-logo {
    max-width: 72px;
    margin-bottom: 0.65rem;
  }

  .about-membership-label {
    font-size: 0.68rem;
    line-height: 1.5;
    max-width: 100%;
  }

  .about-membership-since {
    font-size: 0.62rem;
  }
}

/* ØµÙØ­Ù‡ Ø¯Ø±Ø¨Ø§Ø±Ù‡ Ù…Ø§ â€” Ø¨ÛŒÙˆÚ¯Ø±Ø§ÙÛŒ Ø¨Ø§ Ú©Ø§Ø¯Ø± Ù†ÙˆØ± Ø¢Ø¨ÛŒ */
.about-bio-section {
  direction: rtl;
  background: linear-gradient(180deg, #f8fcfe 0%, #ffffff 45%, #f3f9fc 100%);
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.about-bio-row {
  align-items: stretch;
}

.about-bio-image-wrap {
  position: relative;
  height: 100%;
  min-height: 320px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(71, 147, 183, 0.22), rgba(181, 212, 228, 0.12));
  border: 1px solid rgba(71, 147, 183, 0.35);
  box-shadow:
    0 0 28px rgba(71, 147, 183, 0.28),
    0 12px 32px rgba(71, 147, 183, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.about-bio-image-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(71, 147, 183, 0.55), rgba(181, 212, 228, 0.15), rgba(71, 147, 183, 0.35));
  z-index: 0;
  opacity: 0.45;
  filter: blur(8px);
}

.about-bio-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.about-bio-card {
  position: relative;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.about-bio-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(71, 147, 183, 0.22), transparent 55%),
    radial-gradient(circle at bottom left, rgba(71, 147, 183, 0.18), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-bio-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 2rem 1.75rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(232, 246, 251, 0.92) 100%);
  border: 1px solid rgba(71, 147, 183, 0.42);
  border-radius: 18px;
  box-shadow:
    0 0 32px rgba(71, 147, 183, 0.22),
    0 0 64px rgba(71, 147, 183, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.about-bio-card-inner p {
  direction: rtl;
  text-align: justify;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.92rem;
  line-height: 1.95;
  color: #2f3a40;
  margin-bottom: 1.1rem;
}

.about-bio-lead {
  padding-bottom: 0.85rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(71, 147, 183, 0.25);
}

.about-bio-lead-line {
  font-weight: 600;
  color: #054664;
  text-align: right;
  line-height: 1.85;
  margin-bottom: 0.55rem;
}

.about-bio-lead-line:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .about-bio-image-col {
    padding-left: 0;
  }

  .about-bio-text-col {
    padding-right: 0;
  }

  .about-bio-image-wrap {
    min-height: 100%;
  }

  .about-bio-image {
    min-height: 100%;
  }
}

@media (max-width: 991.98px) {
  .about-bio-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .about-bio-image {
    min-height: 280px;
  }

  .about-bio-card-inner {
    padding: 1.35rem 1.15rem;
  }

  .about-bio-card-inner p {
    font-size: 0.86rem;
    line-height: 1.85;
  }
}

/* ØµÙØ­Ù‡ Ø¯Ø±Ø¨Ø§Ø±Ù‡ Ù…Ø§ â€” Ù…Ø¬ÙˆØ²Ù‡Ø§ Ùˆ Ú¯ÙˆØ§Ù‡ÛŒâ€ŒÙ†Ø§Ù…Ù‡â€ŒÙ‡Ø§ */
.about-licenses-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.about-licenses-section .heading-section {
  direction: rtl;
}

.about-licenses-row {
  align-items: stretch;
}

.about-license-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-license-card:hover {
  transform: translateY(-6px);
}

.about-license-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(71, 147, 183, 0.35), transparent 52%),
    radial-gradient(circle at 80% 100%, rgba(71, 147, 183, 0.22), transparent 48%);
  pointer-events: none;
  z-index: 0;
}

.about-license-cert {
  position: absolute;
  top: 0;
  left: 1.25rem;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(71, 147, 183, 0.25));
}

.about-license-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.15rem 1.5rem 1.75rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 244, 252, 0.94) 100%);
  border: 1px solid rgba(71, 147, 183, 0.42);
  border-radius: 18px;
  box-shadow:
    0 0 28px rgba(71, 147, 183, 0.18),
    0 14px 36px rgba(71, 147, 183, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.about-license-card:hover .about-license-card-inner {
  border-color: rgba(71, 147, 183, 0.62);
  box-shadow:
    0 0 36px rgba(71, 147, 183, 0.28),
    0 18px 42px rgba(71, 147, 183, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.about-license-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.65;
  color: #054664;
  text-align: right;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(71, 147, 183, 0.22);
}

.about-license-meta li {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #3a4a52;
  text-align: right;
  margin-bottom: 0.65rem;
}

.about-license-meta li:last-child {
  margin-bottom: 0;
}

.about-license-label {
  color: #4793b7;
  font-weight: 600;
}

.about-license-action {
  margin-top: auto;
  padding-top: 1.35rem;
}

.about-license-btn.btn-glass-secondary {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.55rem 1rem !important;
  color: #fff;
  background: rgba(71, 147, 183, 0.82);
  border-color: rgba(181, 212, 228, 0.65);
}

.about-license-btn.btn-glass-secondary:hover,
  .about-license-btn.btn-glass-secondary:focus {
  color: #fff;
  background: #3aa8cf;
  border-color: #b5d4e4;
}

/* ØµÙØ­Ù‡ Ø¯Ø±Ø¨Ø§Ø±Ù‡ Ù…Ø§ â€” Ø§ÙØªØ®Ø§Ø±Ø§Øª */
.about-honors-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
}

.about-honors-section .heading-section {
  direction: rtl;
}

.about-honors-row {
  align-items: stretch;
}

.about-honor-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-honor-card:hover {
  transform: translateY(-6px);
}

.about-honor-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 10%, rgba(71, 147, 183, 0.38), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(71, 147, 183, 0.24), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-honor-medal {
  position: absolute;
  top: 0;
  left: 1.25rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(71, 147, 183, 0.3));
}

.about-honor-card--medal .about-honor-card-inner {
  padding-top: 2.15rem;
}

.about-honor-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 244, 252, 0.94) 100%);
  border: 1px solid rgba(71, 147, 183, 0.42);
  border-radius: 18px;
  box-shadow:
    0 0 28px rgba(71, 147, 183, 0.18),
    0 14px 36px rgba(71, 147, 183, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.about-honor-card:hover .about-honor-card-inner {
  border-color: rgba(71, 147, 183, 0.62);
  box-shadow:
    0 0 36px rgba(71, 147, 183, 0.28),
    0 18px 42px rgba(71, 147, 183, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.about-honor-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.7;
  color: #054664;
  text-align: right;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(71, 147, 183, 0.22);
}

.about-honor-detail {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #3a4a52;
  text-align: right;
  margin-bottom: 0.85rem !important;
}

.about-honor-date {
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
  color: #4793b7;
  text-align: right;
}

@media (max-width: 767.98px) {
  .about-honors-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .about-honor-card-inner {
    padding: 1.35rem 1.15rem;
  }

  .about-honor-medal {
    left: 1rem;
    width: 2.1rem;
    height: 2.1rem;
  }

  .about-honor-card--medal .about-honor-card-inner {
    padding-top: 1.85rem;
  }

  .about-honor-title {
    font-size: 0.92rem;
  }

  .about-honor-detail {
    font-size: 0.82rem;
  }

  .about-honor-date {
    font-size: 0.76rem;
  }
}

@media (max-width: 767.98px) {
  .about-licenses-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .about-license-card-inner {
    padding: 1.85rem 1.15rem 1.35rem;
  }

  .about-license-cert {
    left: 1rem;
    width: 2.35rem;
    height: 2.35rem;
  }

  .about-license-title {
    font-size: 0.95rem;
  }

  .about-license-meta li {
    font-size: 0.82rem;
  }
}

/* Ø³Ú©Ø´Ù† Ø®Ø¯Ù…Ø§Øª â€” Ù‡Ù…Ø§Ù‡Ù†Ú¯ Ø¨Ø§ Ù…Ù†ÙˆØŒ Ø¢ÛŒÚ©ÙˆÙ† SVG */
.home-services-section .heading-section {
  direction: rtl;
}

.home-services-section .home-services-intro {
  text-align: center !important;
  direction: rtl;
}

.home-services-section .services.p-4 {
  padding: 1.75rem !important;
}

@media (max-width: 767.98px) {
  .home-services-section .services.p-4 {
    padding: 1.1rem !important;
  }

  .home-services-section .home-service-card .media-body h3.heading {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .home-services-section .home-service-card .media-body p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .home-services-section .services .icon {
    width: 64px;
    height: 64px;
  }

  .home-services-section .services .icon .home-service-icon {
    width: 40px;
    height: 40px;
  }
}

.home-services-section .home-service-card {
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 1.35rem 1.15rem;
  box-shadow: none;
  transition: border-color 0.3s ease;
}

.home-services-section .home-service-card:hover,
.home-services-section .home-service-card:focus {
  text-decoration: none;
  color: inherit;
  transform: none;
  box-shadow: none;
  border-color: rgba(71, 147, 183, 0.75);
  outline: none;
}

.home-services-section .home-service-card .media-body.p-2 {
  padding: 0.5rem 0.25rem 0 !important;
}

.home-services-section .home-service-card .media-body {
  direction: rtl;
}

.home-services-section .home-service-card .media-body h3 {
  transition: color 0.2s ease;
}

.home-services-section .home-service-card:hover .media-body h3,
.home-services-section .home-service-card:focus .media-body h3 {
  color: #4793b7;
}

.home-services-section .home-service-card .media-body p {
  text-align: justify;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.65);
}

.home-services-section .services .icon .home-service-icon {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  /* SVG Ù…Ø´Ú©ÛŒ â†’ Ø¢Ø¨ÛŒ #4793b7 */
  filter: brightness(0) saturate(100%) invert(59%) sepia(90%) saturate(500%) hue-rotate(165deg) brightness(95%) contrast(90%);
}

/* Ø³Ú©Ø´Ù† Ù…Ø¹Ø±ÙÛŒ Ø¯Ú©ØªØ± â€” We promised */
.home-promise-section {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.home-promise-section .home-promise-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.65) 100%);
}

.home-promise-section .container {
  z-index: 1;
}

/* Ú†ÛŒØ¯Ù…Ø§Ù† LTR â†’ Ø¨Ù„ÙˆÚ© Ø¯Ø± Ù†ÛŒÙ…Ù‡ Ú†Ù¾ ØµÙØ­Ù‡ */
.home-promise-section .home-promise-row {
  direction: ltr;
  justify-content: flex-start;
}

.home-promise-content {
  direction: rtl;
  text-align: right;
  max-width: 100%;
}

.home-promise-text {
  color: #fff;
  margin-bottom: 2rem;
  animation: homePromiseSlideIn 0.85s ease-out both;
}

@keyframes homePromiseSlideIn {
  from {
    opacity: 0;
    transform: translateX(-2.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-promise-name {
  font-size: 2rem;
  line-height: 1.35;
  color: #fff;
  text-align: right;
}

.home-promise-title {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
}

.home-promise-list li {
  position: relative;
  padding-inline-start: 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
}

.home-promise-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4793b7;
}

.home-promise-stats {
  direction: rtl;
  margin-top: 0.25rem;
  animation: homePromiseSlideIn 0.85s ease-out 0.15s both;
}

.home-promise-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  margin: 0.35rem;
  padding: 1rem 0.65rem;
  text-align: center;
  direction: rtl;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.home-promise-badge:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-promise-badge-value {
  display: block;
  font-family: 'YekanBakh', 'IRANSans', Tahoma, sans-serif;
  font-size: 1.65rem;
  line-height: 1.2;
  color: #4793b7;
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.home-promise-badge-label {
  display: block;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .home-promise-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .home-promise-section .home-promise-content {
    flex: 0 0 75%;
    max-width: 75%;
    width: 75%;
  }

  .home-promise-name {
    font-size: 1.65rem;
  }

  .home-promise-badge-value {
    font-size: 1.35rem;
  }

  .home-promise-badge-label {
    font-size: 0.72rem;
    white-space: normal;
  }

  .home-promise-badge {
    min-height: 96px;
    padding: 0.75rem 0.4rem;
  }
}

@media (max-width: 575.98px) {
  .home-promise-badge-value {
    font-size: 1.15rem;
  }
}

/* Ø³Ú©Ø´Ù† Ù…Ø¹Ø±ÙÛŒ Ø¬Ø±Ø§Ø­ÛŒâ€ŒÙ‡Ø§ (ftco-intro) â€” ÙˆØ³Ø·â€ŒÚ†ÛŒÙ† Ø¯Ø± Ù…ÙˆØ¨Ø§ÛŒÙ„ Ùˆ ØªØ¨Ù„Øª */
@media (max-width: 991.98px) {
  section.home-intro-section.ftco-intro .home-intro-text {
    text-align: center;
    margin-bottom: 1.25rem;
  }

  section.home-intro-section.ftco-intro .home-intro-text h2 {
    font-size: 1.5rem;
    line-height: 1.45;
  }

  section.home-intro-section.ftco-intro .home-intro-action {
    justify-content: center;
  }

  section.home-intro-section.ftco-intro .home-intro-action .mb-0 {
    width: 100%;
    text-align: center;
  }
}

.about-teaching-section .about-teaching-text {
  direction: rtl;
  text-align: right;
}

.about-teaching-section .about-teaching-line {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991.98px) {
  .about-teaching-section .about-teaching-text {
    text-align: center;
  }
}

/* ØµÙØ­Ù‡ Ø¯Ø±Ø¨Ø§Ø±Ù‡ Ù…Ø§ â€” Ù…Ù‚Ø§Ù„Ø§Øª Ø¹Ù„Ù…ÛŒ */
.about-articles-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.about-articles-section .heading-section {
  direction: rtl;
}

.about-articles-row {
  align-items: stretch;
}

.about-article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.about-article-card:hover {
  transform: translateY(-5px);
}

.about-article-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(71, 147, 183, 0.3), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(71, 147, 183, 0.18), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-article-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.35rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 246, 251, 0.95) 100%);
  border: 1px solid rgba(71, 147, 183, 0.4);
  border-radius: 18px;
  box-shadow:
    0 0 26px rgba(71, 147, 183, 0.16),
    0 12px 30px rgba(71, 147, 183, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.about-article-card:hover .about-article-card-inner {
  border-color: rgba(71, 147, 183, 0.58);
  box-shadow:
    0 0 34px rgba(71, 147, 183, 0.24),
    0 16px 38px rgba(71, 147, 183, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.about-article-source {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(71, 147, 183, 0.2);
}

.about-article-source-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(71, 147, 183, 0.15);
}

.about-article-source-name {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4793b7;
  line-height: 1.4;
}

.about-article-title {
  flex: 1 1 auto;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.75;
  color: #054664;
  text-align: right;
  margin-bottom: 1.15rem;
}

.about-article-action {
  margin-top: auto;
}

.about-article-btn.btn-glass-secondary {
  width: 100%;
  font-size: 0.82rem;
  padding: 0.5rem 1rem !important;
  color: #fff;
  background: rgba(71, 147, 183, 0.85);
  border-color: rgba(181, 212, 228, 0.65);
}

.about-article-btn.btn-glass-secondary:hover,
.about-article-btn.btn-glass-secondary:focus {
  color: #fff;
  background: #3aa8cf;
  border-color: #b5d4e4;
}

@media (max-width: 767.98px) {
  .about-articles-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .about-article-card-inner {
    padding: 1.2rem 1rem;
  }

  .about-article-title {
    font-size: 0.82rem;
  }
}

/* â€”â€”â€” Ø³ØªÙˆÙ†â€ŒÙ‡Ø§ÛŒ Ú©Ù†Ø§Ø±ÛŒ Ø±Ø²Ø±Ùˆ Ù†ÙˆØ¨Øª â€”â€”â€” */
.consultation.home-booking-guide,
.consultation.home-clinic-hours {
  text-align: right;
}

.consultation.home-booking-guide h3,
.consultation.home-clinic-hours h3 {
  text-align: right;
}

.home-booking-guide-list {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  line-height: 1.75;
  padding-right: 1.15rem;
}

.home-booking-guide-list li {
  margin-bottom: 0.65rem;
}

.home-booking-guide-list li:last-child {
  margin-bottom: 0;
}

.home-clinic-hours-body {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  line-height: 1.65;
}

.home-clinic-hours-line strong,
.home-clinic-holidays strong {
  color: #fff;
  font-weight: 600;
}

.home-clinic-holidays-list li {
  font-size: 0.84rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.home-clinic-holidays-list li:last-child {
  border-bottom: none;
}

/* â€”â€”â€” ÙØ±Ù… Ø±Ø²Ø±Ùˆ Ù†ÙˆØ¨Øª (ØµÙØ­Ù‡ Ø§ØµÙ„ÛŒ) â€”â€”â€” */
.home-booking-form .booking-type-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 0.85rem;
}

.home-booking-form .booking-type-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.home-booking-form .booking-type-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex: 1 1 auto;
}

.home-booking-form .booking-type-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  transition: background 0.15s, border-color 0.15s;
}

.home-booking-form .booking-type-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.home-booking-form .booking-type-option input {
  accent-color: #4793b7;
}

.home-booking-form .booking-type-option input:checked + span {
  font-weight: 600;
}

.home-booking-form .booking-selected-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-size: 0.9rem;
}

.home-booking-form .booking-selected-label {
  opacity: 0.85;
  margin-left: 0.35rem;
}

.home-booking-form #btnEditBookingSlot {
  color: #b8ecff;
  text-decoration: underline;
}

.home-booking-form .booking-btn-pick {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.home-booking-form .booking-btn-pick:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.home-booking-form #bookingFormAlert {
  font-size: 0.88rem;
}

.booking-slots-modal,
.booking-slots-modal .modal-content,
.booking-slots-modal .modal-body,
.booking-slots-modal .modal-header {
  direction: rtl;
  text-align: right;
}

.booking-modal-content {
  border-radius: 14px;
  border: none;
}

.booking-slots-modal .modal-title {
  width: 100%;
  text-align: right;
}

.booking-modal-content .modal-header {
  background: linear-gradient(270deg, #054664, #4793b7);
  color: #fff;
}

.booking-modal-content .modal-header .close {
  color: #fff;
  opacity: 0.9;
}

.booking-slots-intro {
  text-align: right;
  margin: 0 0 1rem;
}

.booking-slots-loading {
  text-align: right;
}

.booking-slots-loading .spinner-border {
  display: block;
  margin-right: 0;
  margin-left: auto;
}

#bookingSlotsEmpty {
  text-align: right;
}

.booking-slots-by-day {
  text-align: right;
}

.booking-day-title {
  color: #054664;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  text-align: right;
}

.booking-slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  direction: rtl;
}

.booking-slot-btn {
  border: 1px solid #d8ecf4;
  background: #f8fcfe;
  color: #054664;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.booking-slot-btn:hover,
.booking-slot-btn.is-selected {
  background: #4793b7;
  border-color: #4793b7;
  color: #fff;
}

/* Ø§Ø³Ú©Ø±ÙˆÙ„ Ù„Ù…Ø³ÛŒ Ù…ÙˆØ¯Ø§Ù„â€ŒÙ‡Ø§ÛŒ Ø±Ø²Ø±Ùˆ Ù†ÙˆØ¨Øª Ùˆ Ø§Ù†ØªØ®Ø§Ø¨ Ø²Ù…Ø§Ù† */
.booking-modal-touch.show {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.booking-modal-touch.show .booking-modal-dialog {
  pointer-events: auto;
  max-height: calc(100vh - 1rem);
}

.booking-modal-touch.show .modal-dialog-scrollable .modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}

.booking-modal-touch.show .modal-dialog-scrollable .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

/* Ù…ÙˆØ¯Ø§Ù„ Ø§Ù†ØªØ®Ø§Ø¨ Ø²Ù…Ø§Ù† â€” Ø¨Ø§Ø² Ø´Ø¯Ù‡ Ø±ÙˆÛŒ Ù…ÙˆØ¯Ø§Ù„ Ø±Ø²Ø±Ùˆ */
.booking-slots-modal--nested {
  z-index: 1060 !important;
  background-color: rgba(0, 0, 0, 0.45);
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.booking-slots-modal--nested .booking-modal-dialog {
  margin: 1rem auto;
  max-height: calc(100vh - 2rem);
}

.booking-slots-modal--nested .modal-content {
  max-height: calc(100vh - 2rem);
}

.booking-slots-modal--nested .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  max-height: calc(100vh - 8rem);
}

/* Ù…ÙˆØ¯Ø§Ù„ Ú©Ø§Ù…Ù„ Ø±Ø²Ø±Ùˆ Ù†ÙˆØ¨Øª (Ù…Ù†Ùˆ) */
.home-booking-main-modal .modal-dialog {
  max-width: 1140px;
}

.booking-main-modal-content {
  border: none;
  border-radius: 14px;
  overflow: visible;
}

.home-booking-main-modal .modal-header {
  background: linear-gradient(270deg, #054664, #4793b7);
  color: #fff;
  border: none;
}

.home-booking-main-modal .modal-header .modal-title {
  font-size: 1.05rem;
  font-weight: 600;
  text-align: right;
  width: 100%;
}

.home-booking-main-modal .modal-header .close {
  color: #fff;
  opacity: 0.9;
}

.home-booking-main-modal .booking-block-row .consultation {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (max-width: 991.98px) {
  .home-booking-main-modal .booking-block-row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Ù…ÙˆØ¨Ø§ÛŒÙ„/ØªØ¨Ù„Øª: Ø§Ø³Ú©Ø±ÙˆÙ„ Ø¨Ø§ Ø§Ù†Ú¯Ø´Øª Ø±ÙˆÛŒ Ú©Ù„ Ù…ÙˆØ¯Ø§Ù„ */
  .booking-modal-touch.show {
    padding: 0 !important;
  }

  .booking-modal-touch.show .booking-modal-dialog.modal-dialog-centered {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
    max-height: 100vh;
    height: 100%;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .booking-modal-touch.show .booking-modal-dialog.modal-dialog-centered::before {
    display: none !important;
    height: 0 !important;
    content: none !important;
  }

  .booking-modal-touch.show .modal-dialog-scrollable .modal-content {
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
  }

  .booking-modal-touch.show .modal-dialog-scrollable .modal-body {
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    max-height: none;
  }

  .booking-slots-modal--nested.show {
    padding: 0 !important;
  }

  .booking-slots-modal--nested.show .booking-modal-dialog {
    margin: 0;
    max-height: 100vh;
    height: 100%;
    width: 100%;
    max-width: 100%;
  }

  .booking-slots-modal--nested.show .modal-content {
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
  }

  .booking-slots-modal--nested.show .modal-body {
    max-height: none;
    overflow-y: scroll !important;
  }
}

/* Ù†Ø¸Ø±Ø§Øª Ø¨ÛŒÙ…Ø§Ø±Ø§Ù† â€” Ø¢ÛŒÚ©ÙˆÙ† Ø¨Ù‡â€ŒØ¬Ø§ÛŒ Ø¹Ú©Ø³ */
.testimony-wrap .user-img.testimony-user-icon {
  background-image: none;
  background-color: #e8f6fb;
  border: 2px solid #4793b7;
  flex-shrink: 0;
}

.testimony-wrap .user-img.testimony-user-icon .icon-person:before {
  font-size: 48px;
  color: #4793b7;
}

/* Ù†Ù…ÙˆÙ†Ù‡ Ú©Ø§Ø±Ù‡Ø§ â€” ÙˆÛŒØ¯Ø¦Ùˆ */
.home-portfolio-video {
  margin-bottom: 30px;
  padding: 10px;
  background: linear-gradient(145deg, #ececec 0%, #c8c8c8 45%, #b8b8b8 100%);
  border: 1px solid #a8a8a8;
  border-radius: 4px;
  box-shadow:
    -2px -2px 3px rgba(255, 255, 255, 0.95),
    2px 2px 3px rgba(0, 0, 0, 0.35),
    4px 4px 14px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.home-portfolio-video-wrap {
  aspect-ratio: 16 / 9;
  max-height: 300px;
  height: auto;
  background: #000;
  border: 1px solid #1a1a1a;
  box-shadow:
    inset 0 4px 12px rgba(0, 0, 0, 0.65),
    inset 0 2px 4px rgba(0, 0, 0, 0.45),
    inset 0 -1px 2px rgba(255, 255, 255, 0.06);
}

.home-portfolio-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* ÙÙˆØªØ± â€” RTL */
html[dir="rtl"] .ftco-footer {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .ftco-footer .block-23 ul li {
  text-align: right;
}

html[dir="rtl"] .site-footer-copyright {
  direction: rtl;
}

html[dir="rtl"] .site-footer-intro,
html[dir="rtl"] .site-footer-intro-text {
  text-align: center;
}

html[lang="en"] .site-footer-intro {
  text-align: center !important;
  align-items: center;
}

html[lang="en"] .site-footer-intro-brand {
  text-align: center !important;
  align-items: center;
}

html[lang="en"] .site-footer-intro .site-footer-logo {
  align-self: center;
}

html[lang="en"] .site-footer-intro-brand .ftco-heading-2,
html[lang="en"] .site-footer-intro-brand .brand-name-yekan {
  text-align: center !important;
}

.site-footer-intro-row {
  margin-bottom: 2.5rem;
}

.site-footer-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}

.site-footer-intro .site-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.site-footer-intro-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.site-footer-intro-brand .site-footer-logo {
  margin-bottom: 1rem;
}

.site-footer-intro-brand .ftco-heading-2 {
  margin-bottom: 0;
  color: #fff;
}

.site-footer-intro-text {
  max-width: 42rem;
  margin-inline: auto;
}

.site-footer-bio-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.site-footer-bio-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  font-size: 0.95rem;
}

.site-footer-logo-img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

@media (max-width: 767.98px) {
  .site-footer-intro-row {
    margin-bottom: 2rem;
  }

  .site-footer-intro-brand {
    width: 100%;
    max-width: none;
    margin-bottom: 1.25rem;
    padding: 1.35rem 1.25rem 1.15rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .site-footer-intro-brand .site-footer-logo {
    margin-bottom: 0.85rem;
  }

  .site-footer-logo-img {
    width: 120px;
    height: 120px;
    padding: 12px;
  }
}

.site-footer-hours-time {
  display: inline-block;
  unicode-bidi: embed;
  font-weight: 500;
}

.site-footer-copyright .site-footer-credit {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-copyright .site-footer-credit:hover,
.site-footer-copyright .site-footer-credit:focus {
  color: #3c312e;
  text-decoration: underline;
}

.ftco-footer .site-footer-appointment-item {
  margin-top: 0.75rem;
}

.ftco-footer .site-footer-appointment-btn.btn-glass-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  padding: 0.35rem 0.85rem;
  line-height: 1.4;
  display: inline-block;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ftco-footer .site-footer-appointment-btn.btn-glass-secondary:hover,
.ftco-footer .site-footer-appointment-btn.btn-glass-secondary:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.65);
}

/* ØµÙØ­Ø§Øª Ø¯Ø§Ø®Ù„ÛŒ â€” Ø¯Ø±Ø¨Ø§Ø±Ù‡ Ù…Ø§ Ùˆ ØªÙ…Ø§Ø³ */
html[dir="rtl"] .inner-page-hero .slider-text {
  direction: rtl;
}

html[dir="rtl"] .inner-page-hero .breadcrumbs {
  direction: rtl;
  text-transform: none;
  letter-spacing: 0;
}

.about-page-subtitle {
  color: #4793b7;
  font-size: 1.05rem;
}

.about-page-credentials {
  margin-top: 0.5rem;
}

html[dir="rtl"] .contact-page-panel,
html[dir="rtl"] .contact-page-panel-inner {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .contact-page-panel .block-23 ul li {
  text-align: right;
}

/* ØµÙØ­Ù‡ ØªÙ…Ø§Ø³ Ø¨Ø§ Ù…Ø§ â€” Ú†ÛŒØ¯Ù…Ø§Ù† Ø¬Ø¯ÛŒØ¯ */
.contact-page-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4.5rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
}

.contact-page-section .heading-section {
  direction: rtl;
}

.contact-page-intro {
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.95rem;
  line-height: 1.85;
}

.contact-page-layout {
  align-items: stretch;
}

.contact-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.2rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 244, 252, 0.94) 100%);
  border: 1px solid rgba(71, 147, 183, 0.38);
  border-radius: 16px;
  box-shadow:
    0 0 22px rgba(71, 147, 183, 0.12),
    0 10px 28px rgba(71, 147, 183, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(71, 147, 183, 0.58);
  box-shadow:
    0 0 28px rgba(71, 147, 183, 0.2),
    0 14px 34px rgba(71, 147, 183, 0.12);
}

.contact-info-card-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(71, 147, 183, 0.14);
  color: #4793b7;
  font-size: 1.25rem;
}

.contact-info-card-icon .ion-ios-share {
  font-size: 1.35rem;
}

.contact-info-card-body {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.contact-info-card-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #054664;
  margin-bottom: 0.45rem;
}

.contact-info-card-body p {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #3a4a52;
}

.contact-info-card-link {
  color: #4793b7;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.contact-info-card-link:hover {
  color: #3aa8cf;
  text-decoration: none;
}

.contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(71, 147, 183, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-social-link:hover {
  text-decoration: none;
  transform: translateX(-3px);
  border-color: rgba(71, 147, 183, 0.45);
}

.contact-social-link-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.25rem;
  color: #fff;
}

.contact-social-link-icon img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.contact-social-link-text {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #054664;
}

.contact-social-link-handle {
  margin-right: auto;
  font-size: 0.78rem;
  color: rgba(58, 74, 82, 0.72);
}

.contact-social-link-instagram .contact-social-link-icon,
.contact-social-link-aparat .contact-social-link-icon {
  background: #4793b7;
  color: #fff;
  box-shadow: 0 4px 12px rgba(71, 147, 183, 0.28);
}

.contact-social-link-aparat .contact-social-link-icon img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.contact-social-link-instagram:hover,
.contact-social-link-aparat:hover {
  background: rgba(71, 147, 183, 0.1);
  border-color: rgba(71, 147, 183, 0.5);
}

.contact-page-actions {
  margin-top: 0.35rem;
}

.contact-page-book-btn {
  width: 100%;
  color: #fff !important;
  background: rgba(71, 147, 183, 0.88) !important;
  border-color: rgba(71, 147, 183, 0.95) !important;
  font-weight: 600;
}

.contact-page-book-btn:hover,
.contact-page-book-btn:focus {
  color: #fff !important;
  background: #3aa8cf !important;
  border-color: #3aa8cf !important;
}

.contact-map-panel {
  height: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(71, 147, 183, 0.42);
  box-shadow:
    0 0 32px rgba(71, 147, 183, 0.16),
    0 16px 40px rgba(71, 147, 183, 0.1);
  background: #fff;
}

.contact-map-panel-header {
  padding: 1.15rem 1.35rem;
  background: linear-gradient(135deg, rgba(71, 147, 183, 0.14) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-bottom: 1px solid rgba(71, 147, 183, 0.2);
  text-align: right;
}

.contact-map-panel-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #054664;
}

.contact-map-panel-subtitle {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: #4793b7;
}

.contact-map-wrap {
  flex: 1;
  min-height: 420px;
  position: relative;
}

.contact-map-wrap #map,
.contact-map-wrap .contact-google-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 0;
  z-index: 0;
}

.contact-page-title {
  font-size: 1.5rem;
}

.contact-page-hours-time {
  display: inline-block;
  unicode-bidi: embed;
  font-weight: 500;
}

.contact-page-note {
  color: rgba(0, 0, 0, 0.65);
  font-size: 15px;
}

html[dir="rtl"] .contact-info-box {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .contact-info-box span {
  color: #4793b7;
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
}

html[dir="rtl"] .contact-info-box a {
  color: inherit;
}

html[dir="rtl"] .contact-info-box a:hover {
  color: #4793b7;
}

.contact-section .contact-page-panel .btn-glass-secondary {
  color: #fff;
  background: rgba(71, 147, 183, 0.85);
  border-color: rgba(71, 147, 183, 0.95);
}

.contact-section .contact-page-panel .btn-glass-secondary:hover,
.contact-section .contact-page-panel .btn-glass-secondary:focus {
  color: #fff;
  background: #3aa8cf;
  border-color: #3aa8cf;
}

@media (max-width: 991.98px) {
  .contact-map-panel {
    min-height: 460px;
  }

  .contact-map-wrap {
    min-height: 360px;
  }

  .contact-map-wrap #map {
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {
  .contact-page-section {
    padding-top: 2.5rem !important;
    padding-bottom: 3rem !important;
  }

  .contact-info-card {
    padding: 1.05rem 1rem;
  }

  .contact-info-card-icon {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.1rem;
  }

  .contact-map-panel {
    min-height: 380px;
  }

  .contact-map-wrap,
  .contact-map-wrap #map {
    min-height: 300px;
  }
}

/* ØµÙØ­Ø§Øª Ø®Ø¯Ù…Ø§Øª â€” Ø±ÛŒÙ†ÙˆÙ¾Ù„Ø§Ø³ØªÛŒ Ùˆ Ø³Ø§ÛŒØ± Ø¬Ø±Ø§Ø­ÛŒâ€ŒÙ‡Ø§ */
.service-page-hero {
  background-position: center center;
  background-size: cover;
}

@media (max-width: 991.98px) {
  .service-page-hero--keloid.hero-wrap {
    background-image: url('../images/bg_keloid_mobile.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
  }
}

.service-page-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4.5rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
}

.service-page-intro-card,
.service-page-content-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.service-page-content-card {
  overflow: visible;
}

.service-page-cards-row {
  align-items: stretch;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.service-page-card-icon {
  position: absolute;
  left: 50%;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  filter:
    brightness(0) saturate(100%) invert(64%) sepia(28%) saturate(1125%) hue-rotate(157deg) brightness(97%) contrast(89%)
    drop-shadow(0 2px 8px rgba(71, 147, 183, 0.32));
}

.service-page-card-icon--top {
  top: 0;
  transform: translate(-50%, -50%);
}

.service-page-card-icon--bottom {
  bottom: 0;
  transform: translate(-50%, 50%);
}

.service-page-content-card--icon-top .service-page-card-inner {
  padding-top: 2.5rem;
}

.service-page-content-card--icon-bottom .service-page-card-inner {
  padding-bottom: 2.5rem;
}

.service-page-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 8%, rgba(71, 147, 183, 0.34), transparent 52%),
    radial-gradient(circle at 88% 92%, rgba(71, 147, 183, 0.2), transparent 48%);
  pointer-events: none;
  z-index: 0;
}

.service-page-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.85rem 1.65rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 244, 252, 0.94) 100%);
  border: 1px solid rgba(71, 147, 183, 0.4);
  border-radius: 18px;
  box-shadow:
    0 0 26px rgba(71, 147, 183, 0.16),
    0 12px 32px rgba(71, 147, 183, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: right;
}

.service-page-intro-card {
  overflow: visible;
}

.service-page-intro-inner {
  padding: 2rem 1.85rem;
}

.service-page-intro-heading {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  direction: rtl;
  margin-bottom: 1.35rem;
}

.service-page-intro-heading-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.service-page-intro-heading-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.service-page-intro-heading-icon {
  height: 100%;
  width: auto;
  min-width: 3.25rem;
  max-width: 5rem;
  object-fit: contain;
  filter:
    brightness(0) saturate(100%) invert(64%) sepia(28%) saturate(1125%) hue-rotate(157deg) brightness(97%) contrast(89%)
    drop-shadow(0 2px 8px rgba(71, 147, 183, 0.28));
}

.service-page-intro-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.service-page-intro-text {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.service-page-intro-video-col {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-page-mobile-video {
  position: relative;
  width: 100%;
  max-width: 220px;
  padding: 12px 10px 14px;
  background: linear-gradient(160deg, #f4f4f4 0%, #d8d8d8 42%, #c4c4c4 100%);
  border: 1px solid #b0b0b0;
  border-radius: 28px;
  box-shadow:
    -2px -2px 4px rgba(255, 255, 255, 0.95),
    3px 3px 6px rgba(0, 0, 0, 0.28),
    0 12px 28px rgba(71, 147, 183, 0.18);
}

.service-page-mobile-video-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  max-width: 72px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  z-index: 2;
  pointer-events: none;
}

.service-page-mobile-video-wrap {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 390px;
  background: #000;
  border: 1px solid #1a1a1a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    inset 0 4px 14px rgba(0, 0, 0, 0.68),
    inset 0 2px 4px rgba(0, 0, 0, 0.45),
    inset 0 -1px 2px rgba(255, 255, 255, 0.06);
}

.service-page-mobile-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.service-page-intro-card .service-page-card-inner {
  padding: 2.15rem 2rem;
}

.service-page-card-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #054664;
}

.service-page-content-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.65;
  color: #054664;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(71, 147, 183, 0.22);
}

.service-page-card-inner p {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #3a4a52;
}

.service-page-cta {
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(71, 147, 183, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(71, 147, 183, 0.28);
}

.service-page-cta-text {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #3a4a52;
}

.service-page-cta .btn-glass-secondary {
  color: #fff;
  background: rgba(71, 147, 183, 0.88);
  border-color: rgba(71, 147, 183, 0.95);
}

.service-page-cta .btn-glass-secondary:hover,
.service-page-cta .btn-glass-secondary:focus {
  color: #fff;
  background: #3aa8cf;
  border-color: #3aa8cf;
}

@media (max-width: 991.98px) {
  .service-page-intro-layout {
    flex-direction: column;
    gap: 1.75rem;
  }

  .service-page-intro-video-col {
    order: -1;
    width: 100%;
  }

  .service-page-mobile-video {
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .service-page-section {
    padding-top: 2.5rem !important;
    padding-bottom: 3rem !important;
  }

  .service-page-intro-inner,
  .service-page-intro-card .service-page-card-inner,
  .service-page-card-inner {
    padding: 1.35rem 1.15rem;
  }

  .service-page-intro-heading {
    gap: 0.75rem;
    margin-bottom: 1.1rem;
  }

  .service-page-intro-heading-icon {
    min-width: 2.75rem;
    max-width: 3.75rem;
  }

  .service-page-intro-heading-text .service-page-card-title {
    font-size: 1.15rem;
  }

  .service-page-mobile-video {
    max-width: 185px;
  }

  .service-page-mobile-video-wrap {
    max-height: 330px;
  }

  .service-page-card-title {
    font-size: 1.2rem;
  }

  .service-page-content-title {
    font-size: 0.92rem;
  }

  .service-page-card-inner p {
    font-size: 0.86rem;
    line-height: 1.85;
  }

  .service-page-card-icon {
    width: 3rem;
    height: 3rem;
  }

  .service-page-content-card--icon-top .service-page-card-inner {
    padding-top: 2.1rem;
  }

  .service-page-content-card--icon-bottom .service-page-card-inner {
    padding-bottom: 2.1rem;
  }

  .service-page-cards-row {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .service-page-cta-actions .btn {
    display: block;
    width: 100%;
    margin-left: 0 !important;
  }
}

/* ÙˆÛŒÚ˜Ú¯ÛŒâ€ŒÙ‡Ø§ÛŒ Ù…Ù†Ø­ØµØ± Ø¨Ù‡ ÙØ±Ø¯ â€” ØµÙØ­Ù‡ Ø®Ø¯Ù…Ø§Øª */
.service-features-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.service-features-section .heading-section {
  direction: rtl;
}

.service-features-row {
  align-items: stretch;
}

.service-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-feature-card:hover {
  transform: translateY(-5px);
}

.service-feature-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(71, 147, 183, 0.32), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.service-feature-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.75rem 1.25rem 1.5rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 244, 252, 0.94) 100%);
  border: 1px solid rgba(71, 147, 183, 0.38);
  border-radius: 18px;
  box-shadow:
    0 0 22px rgba(71, 147, 183, 0.14),
    0 10px 28px rgba(71, 147, 183, 0.08);
}

.service-feature-card:hover .service-feature-card-inner {
  border-color: rgba(71, 147, 183, 0.55);
  box-shadow:
    0 0 30px rgba(71, 147, 183, 0.22),
    0 14px 34px rgba(71, 147, 183, 0.12);
}

.service-feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(71, 147, 183, 0.14);
  color: #4793b7;
  font-size: 1.75rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(71, 147, 183, 0.18);
}

.service-feature-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.55;
  color: #054664;
  margin-bottom: 0.75rem;
}

.service-feature-text {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.86rem;
  line-height: 1.8;
  color: #3a4a52;
  text-align: center;
}

.service-page-cta-section {
  padding-top: 2rem !important;
  padding-bottom: 4rem !important;
}

@media (max-width: 767.98px) {
  .service-features-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .service-features-row > [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .service-feature-card-inner {
    padding: 1.15rem 0.65rem 1rem;
  }

  .service-feature-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    margin-bottom: 0.9rem;
  }

  .service-feature-title {
    font-size: 0.9rem;
  }

  .service-feature-text {
    font-size: 0.82rem;
  }

  .service-page-cta-section {
    padding-bottom: 3rem !important;
  }
}

/* Ù†Ù…ÙˆÙ†Ù‡â€ŒÚ©Ø§Ø± Ø¬Ø±Ø§Ø­ÛŒ Ø¨ÛŒÙ†ÛŒ â€” ØµÙØ­Ù‡ Ø±ÛŒÙ†ÙˆÙ¾Ù„Ø§Ø³ØªÛŒ */
.service-portfolio-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
}

.service-portfolio-section .heading-section {
  direction: rtl;
}

.service-portfolio-gallery {
  align-items: stretch;
}

.service-portfolio-item {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.service-portfolio-item:hover {
  text-decoration: none;
  color: inherit;
}

.service-portfolio-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(71, 147, 183, 0.35);
  background: #fff;
  box-shadow:
    0 0 20px rgba(71, 147, 183, 0.12),
    0 8px 24px rgba(71, 147, 183, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-portfolio-item:hover .service-portfolio-frame {
  transform: translateY(-4px);
  border-color: rgba(71, 147, 183, 0.55);
  box-shadow:
    0 0 28px rgba(71, 147, 183, 0.22),
    0 14px 32px rgba(71, 147, 183, 0.14);
}

.service-portfolio-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 240px;
  height: auto;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-portfolio-item:hover .service-portfolio-image {
  transform: scale(1.05);
}

.service-portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 95, 120, 0.42);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.service-portfolio-item:hover .service-portfolio-overlay {
  opacity: 1;
}

.service-portfolio-zoom {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(71, 147, 183, 0.92);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
  .service-portfolio-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .service-portfolio-image {
    max-height: 200px;
  }
}

/* ÙˆÛŒØ¯Ø¦ÙˆÙ‡Ø§ÛŒ Ù‚Ø¨Ù„ Ùˆ Ø¨Ø¹Ø¯ â€” ØµÙØ­Ù‡ Ø±ÛŒÙ†ÙˆÙ¾Ù„Ø§Ø³ØªÛŒ */
.service-videos-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.service-videos-section .heading-section {
  direction: rtl;
}

.service-videos-row {
  align-items: stretch;
}

.service-videos-section .service-portfolio-video {
  margin-bottom: 0;
  height: 100%;
}

.service-videos-section .home-portfolio-video-wrap {
  aspect-ratio: 16 / 9;
  max-height: 280px;
  height: auto;
}

@media (max-width: 991.98px) {
  .service-videos-section .home-portfolio-video-wrap {
    max-height: 260px;
  }
}

@media (max-width: 767.98px) {
  .service-videos-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .service-videos-section .home-portfolio-video-wrap {
    max-height: 220px;
  }
}

/* ØµÙØ­Ø§Øª Ø¯Ø± Ø­Ø§Ù„ Ø·Ø±Ø§Ø­ÛŒ â€” Ø®Ø¯Ù…Ø§Øª */
.service-coming-soon-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 5rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
}

.service-coming-soon-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.service-coming-soon-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 0%, rgba(71, 147, 183, 0.28), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.service-coming-soon-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 244, 252, 0.94) 100%);
  border: 1px solid rgba(71, 147, 183, 0.38);
  border-radius: 18px;
  box-shadow:
    0 0 22px rgba(71, 147, 183, 0.14),
    0 10px 28px rgba(71, 147, 183, 0.08);
}

.service-coming-soon-icon {
  flex-shrink: 0;
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(71, 147, 183, 0.14);
  color: #4793b7;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(71, 147, 183, 0.18);
}

.service-coming-soon-text {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.7;
  color: #054664;
  text-align: right;
}

@media (max-width: 767.98px) {
  .service-coming-soon-section {
    padding-top: 2.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .service-coming-soon-card-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.25rem;
    text-align: center;
  }

  .service-coming-soon-text {
    font-size: 1rem;
    text-align: center;
  }
}

/* ÙˆÛŒØ¯Ø¦ÙˆÙ‡Ø§ÛŒ Ø¢Ù¾Ø§Ø±Ø§Øª â€” ØµÙØ­Ù‡ videos.php */
.aparat-videos-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
}

.aparat-videos-section .heading-section {
  direction: rtl;
}

.aparat-videos-grid {
  align-items: stretch;
}

.aparat-video-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: right;
  cursor: pointer;
  color: inherit;
}

.aparat-video-card:hover,
.aparat-video-card:focus {
  outline: none;
}

.aparat-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(71, 147, 183, 0.35);
  background: #fff;
  box-shadow:
    0 0 20px rgba(71, 147, 183, 0.12),
    0 8px 24px rgba(71, 147, 183, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.aparat-video-card:hover .aparat-video-thumb,
.aparat-video-card:focus .aparat-video-thumb {
  transform: translateY(-4px);
  border-color: rgba(71, 147, 183, 0.55);
  box-shadow:
    0 0 28px rgba(71, 147, 183, 0.22),
    0 14px 32px rgba(71, 147, 183, 0.14);
}

.aparat-video-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 180px;
  height: auto;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.aparat-video-card:hover .aparat-video-image,
.aparat-video-card:focus .aparat-video-image {
  transform: scale(1.05);
}

.aparat-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 95, 120, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.aparat-video-card:hover .aparat-video-overlay,
.aparat-video-card:focus .aparat-video-overlay {
  opacity: 1;
}

.aparat-video-play {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #4793b7;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.aparat-video-duration {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  direction: ltr;
}

.aparat-video-title {
  display: block;
  margin-top: 0.75rem;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.65;
  color: #054664;
}

.aparat-videos-empty {
  padding: 2rem 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(71, 147, 183, 0.3);
  color: #3a4a52;
}

.aparat-videos-pagination {
  margin-top: 1.5rem;
}

.aparat-videos-pagination .page-link {
  color: #054664;
  border-color: rgba(71, 147, 183, 0.35);
}

.aparat-videos-pagination .page-item.active .page-link {
  background-color: #4793b7;
  border-color: #4793b7;
}

.aparat-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.aparat-video-modal.is-open {
  display: flex;
}

.aparat-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 40, 0.78);
}

.aparat-video-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
}

.aparat-video-modal-content {
  position: relative;
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.aparat-video-modal-close {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(71, 147, 183, 0.15);
  color: #054664;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.aparat-video-modal-title {
  margin: 0 0 0.85rem;
  padding: 0 2.5rem 0 0.5rem;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: #054664;
  text-align: right;
}

.aparat-video-modal-frame-wrap {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.aparat-video-modal-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.aparat-video-modal-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .aparat-videos-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .aparat-video-image {
    max-height: 150px;
  }

  .aparat-video-title {
    font-size: 0.82rem;
  }
}

/* Ø¨Ù„Ø§Ú¯ */
.blog-page-section {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.blog-page-section .heading-section {
  direction: rtl;
}

.blog-topic-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0.65rem;
  direction: rtl;
}

.blog-topic-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  color: #054664;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(71, 147, 183, 0.35);
  box-shadow: 0 2px 8px rgba(71, 147, 183, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-topic-filter-btn:hover,
.blog-topic-filter-btn:focus {
  color: #fff;
  background: rgba(71, 147, 183, 0.65);
  border-color: #4793b7;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(71, 147, 183, 0.18);
}

.blog-topic-filter-btn.is-active {
  color: #fff;
  background: rgba(71, 147, 183, 0.92);
  border-color: #4793b7;
  box-shadow: 0 4px 14px rgba(71, 147, 183, 0.25);
}

.blog-page-empty {
  padding: 2rem 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(71, 147, 183, 0.3);
  color: #3a4a52;
}

/* کارت‌های بلاگ — صفحه خانه */
.blog-entry .text {
  direction: rtl;
  text-align: right;
}

.blog-entry .text .heading {
  text-align: right;
}

.blog-entry .text p {
  text-align: right;
}

.blog-single-article {
  background: #fff;
  border: 1px solid rgba(71, 147, 183, 0.28);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 24px rgba(71, 147, 183, 0.08);
  direction: rtl;
  text-align: right;
}

.blog-single-meta {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  color: #4793b7;
}

.blog-single-featured-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 420px;
}

.blog-single-content {
  font-family: 'IRANSans', Tahoma, sans-serif;
  color: #3a4a52;
  line-height: 1.95;
  direction: rtl;
  text-align: right;
}

.blog-single-content .blog-content-heading {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #054664;
  margin: 1.75rem 0 1rem;
  text-align: right;
}

.blog-single-content .blog-content-paragraph {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-align: right;
}

.blog-single-content .blog-content-list {
  padding-right: 1.25rem;
  padding-left: 0;
  margin-bottom: 1.25rem;
  text-align: right;
}

.blog-single-content .blog-content-list li {
  margin-bottom: 0.55rem;
  line-height: 1.85;
}

.blog-content-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
}

.blog-content-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.86rem;
}

.blog-content-table th,
.blog-content-table td {
  border: 1px solid rgba(71, 147, 183, 0.28);
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  text-align: right;
}

.blog-content-table thead th,
.blog-content-table tbody th {
  background: rgba(71, 147, 183, 0.12);
  color: #054664;
  font-weight: 700;
}

.blog-sidebar-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #054664;
  margin-bottom: 1rem;
}

.sidebar-box {
  background: #fff;
  border: 1px solid rgba(71, 147, 183, 0.28);
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 6px 20px rgba(71, 147, 183, 0.08);
}

.blog-sidebar-item + .blog-sidebar-item {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(71, 147, 183, 0.18);
}

.blog-sidebar-link {
  display: block;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #054664;
  text-decoration: none;
}

.blog-sidebar-link:hover {
  color: #4793b7;
}

/* کارت‌های کوچک بلاگ — صفحه بلاگ و صفحات خدمات */
.service-blog-section {
  direction: rtl;
}

.service-blog-section .heading-section {
  direction: rtl;
}

.service-blog-entry {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(71, 147, 183, 0.24);
  box-shadow: 0 4px 16px rgba(71, 147, 183, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-blog-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(71, 147, 183, 0.14);
}

.service-blog-entry-image {
  display: block;
  min-height: 130px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.service-blog-entry-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.85rem 0.75rem 0.95rem;
  direction: rtl;
  text-align: right;
}

.service-blog-entry-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 0.45rem;
}

.service-blog-entry-title a {
  color: #054664;
  text-decoration: none;
}

.service-blog-entry-title a:hover {
  color: #4793b7;
}

.service-blog-entry-excerpt {
  flex: 1;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.74rem;
  line-height: 1.7;
  color: #3a4a52;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-blog-entry-btn {
  font-size: 0.74rem;
  padding: 0.3rem 0.75rem !important;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .service-blog-entry-image {
    min-height: 110px;
  }

  .service-blog-entry-body {
    padding: 0.7rem 0.65rem 0.8rem;
  }

  .service-blog-entry-title {
    font-size: 0.78rem;
  }

  .service-blog-entry-excerpt {
    font-size: 0.7rem;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 767.98px) {
  .blog-page-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .blog-single-article {
    padding: 1.25rem 1rem;
  }
}

/* عنوان hero — صفحه تک‌مطلب بلاگ (ریسپانسیو) */
@media (max-width: 991.98px) {
  .blog-single-hero .blog-single-hero-title-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    direction: rtl;
    text-align: right;
  }

  .blog-single-hero .blog-single-hero-title {
    margin-bottom: 0.5rem;
    font-size: clamp(0.95rem, 4.2vw, 1.3rem);
    line-height: 1.35;
    white-space: nowrap;
  }

  .blog-single-hero .blog-single-hero-title-text {
    display: inline-block;
    direction: rtl;
    white-space: nowrap;
    will-change: transform;
  }

  .blog-single-hero .blog-single-hero-title-wrap.is-marquee .blog-single-hero-title-text {
    animation: blog-single-hero-title-marquee var(--marquee-duration, 10s) ease-in-out infinite;
  }
}

@keyframes blog-single-hero-title-marquee {
  0%, 18% {
    transform: translateX(0);
  }
  46%, 54% {
    transform: translateX(var(--marquee-offset, 0px));
  }
  82%, 100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-single-hero .blog-single-hero-title-wrap.is-marquee .blog-single-hero-title-text {
    animation: none;
  }
}

/* دکمه ثابت تماس تلفنی */
.site-floating-phone-btn {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  direction: rtl;
  background: rgba(71, 147, 183, 0.92);
  border: 1px solid rgba(181, 212, 228, 0.65);
  box-shadow:
    0 4px 18px rgba(71, 147, 183, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

html[lang="en"] .site-floating-phone-btn {
  direction: ltr;
}

.site-floating-phone-btn:hover,
.site-floating-phone-btn:focus {
  color: #fff;
  text-decoration: none;
  background: rgba(5, 70, 100, 0.95);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(71, 147, 183, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-floating-phone-btn:active {
  transform: translateY(0);
}

.site-floating-phone-btn__icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.site-floating-phone-btn__label {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .site-floating-phone-btn {
    display: inline-flex !important;
    left: max(0.75rem, env(safe-area-inset-left, 0px));
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
    z-index: 1058;
    min-height: 44px;
    padding: 0.62rem 1rem;
    font-size: 0.84rem;
    box-shadow:
      0 6px 22px rgba(71, 147, 183, 0.42),
      0 3px 10px rgba(0, 0, 0, 0.16);
  }

  body.mobile-nav-open .site-floating-phone-btn,
  body.modal-open .site-floating-phone-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 575.98px) {
  .site-floating-phone-btn {
    left: max(0.65rem, env(safe-area-inset-left, 0px));
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    padding: 0.58rem 0.88rem;
    font-size: 0.8rem;
    gap: 0.4rem;
    max-width: calc(100vw - 1.3rem);
  }

  .site-floating-phone-btn__icon {
    font-size: 1.08rem;
  }

  .site-floating-phone-btn__label {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* نمونه‌کار — گالری قبل و بعد */
.portfolio-gallery-intro-section {
  direction: rtl;
  padding-bottom: 2rem !important;
}

.portfolio-gallery-intro-section .heading-section {
  direction: rtl;
}

.portfolio-gallery-lead {
  color: #3a4a52;
  font-size: 0.92rem;
  line-height: 1.85;
}

.portfolio-topic-filters {
  margin-bottom: 0;
}

.portfolio-gallery-section {
  direction: rtl;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.portfolio-gallery-list-section {
  direction: rtl;
  padding-top: 2rem !important;
  padding-bottom: 2.5rem !important;
}

.portfolio-gallery-grid {
  align-items: stretch;
}

.portfolio-gallery-col {
  overflow: visible;
}

@media (min-width: 992px) {
  .portfolio-gallery-grid .ba-compare-stack {
    --ba-compare-width: 100%;
    padding-top: 2.4rem;
    padding-left: 1.75rem;
  }

  .portfolio-gallery-grid .ba-compare-wrap {
    max-width: 100%;
  }

  .portfolio-gallery-grid .ba-compare-frame {
    aspect-ratio: 25 / 24;
    border-radius: 12px 12px 0 0;
  }

  .portfolio-gallery-grid .portfolio-more-info-btn {
    min-height: 6rem;
    font-size: 0.68rem;
    padding: 0.55rem 0.38rem;
    border-radius: 8px 0 0 8px;
  }

  .portfolio-gallery-grid .portfolio-surgery-type-label {
    font-size: 0.74rem;
    padding: 0.4rem 0.55rem;
    border-radius: 8px 8px 0 0;
    line-height: 1.35;
  }

  .portfolio-gallery-grid .ba-compare-btn {
    font-size: 0.76rem;
    padding: 0.45rem 0.5rem;
  }

  .portfolio-gallery-grid .ba-compare-btn:first-child {
    border-end-start-radius: 12px;
    border-end-end-radius: 0;
  }

  .portfolio-gallery-grid .ba-compare-btn-wrap-after .ba-compare-btn {
    border-end-end-radius: 12px;
    border-end-start-radius: 0;
  }

  .portfolio-gallery-grid .ba-compare-handle {
    width: 34px;
    height: 34px;
    border-width: 2px;
  }

  .portfolio-gallery-grid .ba-compare-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
    bottom: 0.65rem;
  }
}

.portfolio-gallery-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #054664;
  margin-bottom: 1.25rem;
}

.clinic-portfolio-desc {
  color: #3a4a52;
  line-height: 1.85;
}

.portfolio-tab-audio-player {
  width: 100%;
  max-width: 100%;
}

.portfolio-gallery-tabs .portfolio-item-tabs {
  border-bottom-color: rgba(71, 147, 183, 0.28);
  flex-wrap: wrap;
}

.portfolio-gallery-tabs .portfolio-item-tabs .nav-link {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #054664;
  border-color: transparent;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 0.55rem 0.85rem;
}

.portfolio-gallery-tabs .portfolio-item-tabs .nav-link.active {
  color: #054664;
  background: rgba(71, 147, 183, 0.12);
  border-color: rgba(71, 147, 183, 0.28) rgba(71, 147, 183, 0.28) #fff;
}

.portfolio-tab-description {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  line-height: 1.9;
  color: #3a4a52;
}

.portfolio-tab-video {
  aspect-ratio: 16 / 9;
  max-height: 320px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.portfolio-tab-video-player {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  background: #000;
  object-fit: contain;
}

.portfolio-item-tab-content {
  min-height: 0;
}

.portfolio-tab-gallery-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-tab-gallery-image {
  display: block;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  max-height: 180px;
  width: 100%;
  object-fit: cover;
}

.portfolio-tab-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(71, 147, 183, 0.24);
  text-decoration: none;
}

.portfolio-tab-gallery-item:hover {
  text-decoration: none;
}

.portfolio-tab-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 95, 120, 0.42);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.portfolio-tab-gallery-item:hover .portfolio-tab-gallery-overlay,
.portfolio-tab-gallery-item:focus .portfolio-tab-gallery-overlay {
  opacity: 1;
}

.portfolio-tab-gallery-zoom {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(71, 147, 183, 0.92);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.portfolio-tab-patient-item {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #3a4a52;
  margin-bottom: 0.45rem;
}

.portfolio-tab-patient-label {
  font-weight: 700;
  color: #054664;
}

.ba-compare-visual {
  position: relative;
}

.ba-compare-stack {
  position: relative;
  --ba-compare-width: 50%;
  overflow: visible;
  padding-top: 2.75rem;
}

.ba-compare-wrap {
  position: relative;
  max-width: var(--ba-compare-width, 50%);
  margin-inline: auto;
}

.portfolio-surgery-type-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  transform: translateY(calc(-100% - 0.15rem));
  display: block;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, rgba(5, 70, 100, 0.92), rgba(71, 147, 183, 0.95));
  color: #fff;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 -4px 18px rgba(5, 70, 100, 0.22);
}

.portfolio-more-info-btn {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 5;
  transform: translate(-100%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  padding: 0.85rem 0.55rem;
  margin: 0;
  border: none;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, rgba(5, 70, 100, 0.92), rgba(71, 147, 183, 0.95));
  color: #fff;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  direction: rtl;
  cursor: pointer;
  box-shadow: -4px 0 18px rgba(5, 70, 100, 0.28);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.portfolio-more-info-btn:hover,
.portfolio-more-info-btn:focus {
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 70, 100, 0.98), rgba(71, 147, 183, 1));
  box-shadow: -6px 0 22px rgba(5, 70, 100, 0.35);
  outline: none;
}

.portfolio-more-info-btn:active {
  transform: translate(-100%, -50%) scale(0.98);
}

.portfolio-info-modal .modal-dialog {
  max-width: 720px;
}

.portfolio-info-modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(5, 70, 100, 0.22);
}

.portfolio-info-modal .modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 3.5rem);
  overflow: hidden;
}

.portfolio-info-modal .modal-header {
  border-bottom: 1px solid rgba(71, 147, 183, 0.22);
  background: rgba(71, 147, 183, 0.08);
  padding: 1rem 1.25rem;
}

.portfolio-info-modal .modal-title {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #054664;
}

.portfolio-info-modal .modal-header .close {
  color: #054664;
  opacity: 0.75;
}

.portfolio-info-modal .modal-body {
  padding: 1.15rem 1.25rem 1.35rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.portfolio-info-modal .portfolio-gallery-tabs {
  position: relative;
  z-index: 1;
}

.portfolio-info-modal .portfolio-item-tab-content {
  min-height: 0;
  position: relative;
  z-index: 1;
}

/* Magnific Popup above Bootstrap modals (1050) */
.mfp-bg {
  z-index: 1060;
}

.mfp-wrap {
  z-index: 1061;
}

.ba-compare {
  --ba-pos: 0;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.ba-compare-frame {
  position: relative;
  direction: ltr;
  container-type: inline-size;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow:
    0 18px 45px rgba(71, 147, 183, 0.18),
    0 0 0 1px rgba(71, 147, 183, 0.24);
  background: #eef6fa;
  aspect-ratio: 4 / 5;
}

.ba-compare-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

.ba-compare-img-before {
  position: relative;
  z-index: 1;
}

.ba-compare-after-layer {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  height: 100%;
  width: calc(var(--ba-pos) * 1%);
  z-index: 2;
  overflow: hidden;
  will-change: width;
}

.ba-compare-img-after {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 100cqi;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ba-compare-after-layer.is-animating {
  transition: width 0.05s linear;
}

.ba-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - var(--ba-pos) * 1%);
  right: auto;
  z-index: 3;
  width: 3px;
  margin-left: -1.5px;
  background: linear-gradient(180deg, transparent, #b5d4e4, #4793b7, #b5d4e4, transparent);
  box-shadow: 0 0 18px rgba(71, 147, 183, 0.55);
  pointer-events: none;
  will-change: left;
}

.ba-compare-divider.is-animating {
  transition: left 0.05s linear;
}

.ba-compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #4793b7;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.ba-compare-handle::before,
.ba-compare-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  transform: translateY(-50%);
}

.ba-compare-handle::before {
  right: 58%;
  border-width: 6px 8px 6px 0;
  border-color: transparent #054664 transparent transparent;
}

.ba-compare-handle::after {
  left: 58%;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #054664;
}

.ba-compare-badge {
  position: absolute;
  bottom: 1rem;
  z-index: 4;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(5, 70, 100, 0.72);
  color: #fff;
  backdrop-filter: blur(6px);
}

.ba-compare-badge-before {
  left: 1rem;
  right: auto;
  opacity: calc(1 - var(--ba-pos) / 100);
  transition: opacity 0.25s ease;
}

.ba-compare-badge-after {
  right: 1rem;
  left: auto;
  opacity: calc(var(--ba-pos) / 100);
  transition: opacity 0.25s ease;
}

.ba-compare-controls {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  margin-top: 0;
}

.ba-compare-btn-wrap-after {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
}

.ba-compare-btn-wrap-after .ba-compare-btn {
  width: 100%;
  border-right: none;
  border-end-end-radius: 14px;
  border-end-start-radius: 0;
}

.ba-compare-hint {
  position: absolute;
  bottom: calc(100% + 0.1rem);
  left: 50%;
  width: max-content;
  max-width: min(14rem, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  pointer-events: none;
  z-index: 6;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.ba-compare-hint.is-hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

.ba-compare-hint-text {
  margin: 0;
  padding: 0.45rem 0.65rem;
  background: #054664;
  color: #fff;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(5, 70, 100, 0.28);
}

.ba-compare-hint-finger {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(5, 70, 100, 0.2));
  animation: ba-compare-hint-point 1.15s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes ba-compare-hint-point {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  45% {
    transform: translateY(6px) scale(1.05);
  }

  55% {
    transform: translateY(6px) scale(1.05);
  }
}

.ba-compare-btn {
  flex: 1 1 50%;
  min-width: 0;
  padding: 0.65rem 1.15rem;
  border: 2px solid rgba(71, 147, 183, 0.35);
  border-radius: 0;
  border-top: none;
  background: #fff;
  color: #054664;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ba-compare-btn + .ba-compare-btn,
.ba-compare-btn-wrap-after .ba-compare-btn {
  border-right: none;
}

.ba-compare-btn:first-child {
  border-end-start-radius: 14px;
  border-end-end-radius: 0;
}

.ba-compare-btn:last-child,
.ba-compare-btn-wrap-after .ba-compare-btn {
  border-end-end-radius: 14px;
  border-end-start-radius: 0;
}

.ba-compare-btn:hover {
  border-color: #4793b7;
  color: #4793b7;
}

.ba-compare-btn.is-active {
  background: rgba(71, 147, 183, 0.92);
  border-color: #4793b7;
  color: #fff;
  box-shadow: 0 4px 16px rgba(71, 147, 183, 0.35);
}

@media (max-width: 991.98px) {
  .ba-compare-stack {
    --ba-compare-width: 65%;
  }

  .ba-compare-wrap {
    max-width: 65%;
  }

  .portfolio-surgery-type-label {
    font-size: 0.84rem;
    padding: 0.5rem 0.85rem;
  }

  .ba-compare-stack {
    padding-top: 3rem;
  }

  .portfolio-more-info-btn {
    min-height: 7.8rem;
    font-size: 0.76rem;
    padding: 0.75rem 0.45rem;
  }

  .portfolio-gallery-grid .ba-compare-frame,
  .ba-compare-frame {
    aspect-ratio: 5 / 8;
  }

  .portfolio-gallery-list-section {
    padding-top: 2rem !important;
    padding-bottom: 2.25rem !important;
  }
}

@media (max-width: 575.98px) {
  .ba-compare-stack {
    --ba-compare-width: 88%;
  }

  .ba-compare-wrap {
    max-width: 88%;
  }
}

/* تجهیزات مطب — equipment.php */
.equipment-showcase-intro {
  direction: rtl;
  padding-top: 4rem !important;
  padding-bottom: 2rem !important;
}

.equipment-showcase-intro .heading-section {
  direction: rtl;
}

.equipment-showcase-lead {
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: #3a4a52;
}

.equipment-showcase-section {
  direction: rtl;
  padding-top: 2rem !important;
  padding-bottom: 5rem !important;
  background: linear-gradient(180deg, #f3f9fc 0%, #ffffff 55%, #f8fcfe 100%);
}

.equipment-showcase-section--empty {
  padding-top: 1rem !important;
  padding-bottom: 4rem !important;
}

.equipment-showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.35rem;
}

.equipment-showcase-col {
  grid-column: span 4;
  display: flex;
}

.equipment-showcase-col--featured {
  grid-column: span 4;
}

.equipment-showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.equipment-showcase-trigger {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: right;
  cursor: pointer;
  color: inherit;
}

.equipment-showcase-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 0%, rgba(71, 147, 183, 0.22), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.equipment-showcase-trigger:hover,
.equipment-showcase-trigger:focus {
  outline: none;
}

.equipment-showcase-trigger:hover .equipment-showcase-card-glow,
.equipment-showcase-trigger:focus .equipment-showcase-card-glow {
  opacity: 1;
}

.equipment-showcase-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(71, 147, 183, 0.34);
  background: linear-gradient(145deg, #ffffff 0%, #e8f4fa 100%);
  box-shadow:
    0 0 22px rgba(71, 147, 183, 0.12),
    0 10px 28px rgba(71, 147, 183, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.equipment-showcase-col--featured .equipment-showcase-visual,
.equipment-showcase-col:not(.equipment-showcase-col--featured) .equipment-showcase-visual {
  aspect-ratio: 4 / 3;
}

.equipment-showcase-trigger:hover .equipment-showcase-visual,
.equipment-showcase-trigger:focus .equipment-showcase-visual {
  transform: translateY(-5px);
  border-color: rgba(71, 147, 183, 0.58);
  box-shadow:
    0 0 32px rgba(71, 147, 183, 0.22),
    0 16px 36px rgba(71, 147, 183, 0.14);
}

.equipment-showcase-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.equipment-showcase-video-thumb {
  pointer-events: none;
  background: #0a3040;
}

.equipment-showcase-trigger:hover .equipment-showcase-media,
.equipment-showcase-trigger:focus .equipment-showcase-media {
  transform: scale(1.06);
}

.equipment-showcase-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.42) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.equipment-showcase-trigger:hover .equipment-showcase-shine,
.equipment-showcase-trigger:focus .equipment-showcase-shine {
  transform: translateX(120%);
}

.equipment-showcase-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(5, 70, 100, 0.08) 0%, rgba(5, 70, 100, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.equipment-showcase-trigger:hover .equipment-showcase-overlay,
.equipment-showcase-trigger:focus .equipment-showcase-overlay {
  opacity: 1;
}

.equipment-showcase-action {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #4793b7;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transform: scale(0.88);
  transition: transform 0.25s ease;
}

.equipment-showcase-trigger:hover .equipment-showcase-action,
.equipment-showcase-trigger:focus .equipment-showcase-action {
  transform: scale(1);
}

.equipment-showcase-type-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(5, 70, 100, 0.82);
  color: #fff;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.equipment-showcase-caption {
  position: relative;
  padding: 0.95rem 0.35rem 0.25rem;
}

.equipment-showcase-index {
  position: absolute;
  top: 0.55rem;
  left: 0.15rem;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(71, 147, 183, 0.16);
  direction: ltr;
}

.equipment-showcase-title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-right: 0.15rem;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.75;
  color: #054664;
  min-height: 3.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.equipment-showcase-col--featured .equipment-showcase-title {
  font-size: 0.95rem;
}

.equipment-showcase-empty {
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(71, 147, 183, 0.3);
  color: #3a4a52;
}

.equipment-showcase-empty-icon {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 2.5rem;
  color: #4793b7;
  line-height: 1;
}

.equipment-media-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.equipment-media-modal.is-open {
  display: flex;
}

.equipment-media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 40, 0.78);
}

.equipment-media-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
}

.equipment-media-modal-content {
  position: relative;
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.equipment-media-modal-close {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(71, 147, 183, 0.15);
  color: #054664;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.equipment-media-modal-title {
  margin: 0 0 0.85rem;
  padding: 0 2.5rem 0 0.5rem;
  font-family: 'IRANSans', Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: #054664;
  text-align: right;
}

.equipment-media-modal-frame-wrap {
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  line-height: 0;
}

.equipment-media-modal-video,
.equipment-media-modal-image {
  display: none;
  width: 100%;
  max-height: 75vh;
  margin: 0 auto;
  background: #000;
}

.equipment-media-modal-video.is-active,
.equipment-media-modal-image.is-active {
  display: block;
}

.equipment-media-modal-video {
  object-fit: contain;
}

.equipment-media-modal-image {
  object-fit: contain;
  background: #0a1820;
}

body.equipment-media-modal-open {
  overflow: hidden;
}

html[lang="en"] .equipment-showcase-intro,
html[lang="en"] .equipment-showcase-section,
html[lang="en"] .equipment-showcase-caption,
html[lang="en"] .equipment-media-modal-title {
  direction: ltr;
  text-align: left !important;
}

html[lang="en"] .equipment-showcase-type-badge {
  right: auto;
  left: 0.75rem;
}

html[lang="en"] .equipment-showcase-index {
  left: auto;
  right: 0.15rem;
}

html[lang="en"] .equipment-showcase-title {
  padding-right: 0;
  padding-left: 0.15rem;
}

@media (max-width: 991.98px) {
  .equipment-showcase-col,
  .equipment-showcase-col--featured {
    grid-column: span 6;
  }
}

@media (max-width: 767.98px) {
  .equipment-showcase-intro {
    padding-top: 2.5rem !important;
    padding-bottom: 1.25rem !important;
  }

  .equipment-showcase-section {
    padding-top: 1.25rem !important;
    padding-bottom: 3rem !important;
  }

  .equipment-showcase-grid {
    gap: 1rem;
  }

  .equipment-showcase-col,
  .equipment-showcase-col--featured {
    grid-column: span 12;
  }

  .equipment-showcase-title {
    font-size: 0.92rem;
    min-height: 3rem;
  }
}

