html {
  font-size: 14px;
}

* {
  font-family: 'Roboto', Tahoma, sans-serif !important;

  padding: 0px;
  margin: 0px;
  direction: ltr !important;
}

body {
  font-family: 'Roboto', Tahoma, sans-serif !important;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: black;
  text-align: left;
  margin: 0px;
  padding: 0px;
  direction: ltr !important;
}

@media (max-width: 600px) {

  html,
  body {
    font-size: 15px;
  }
}

.ratio {
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

.ratio>* {
  width: 100% !important;
  height: 100% !important;
  left: 0 !important;
  top: 0 !important;
  position: absolute !important;
}

.ratio>img {
  -o-object-fit: cover !important;
  object-fit: cover !important;
}

/* استایل صفحه اصلی */
/* استایل منو */
.navbar-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  color: #f7f7f7 !important;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 8px;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #65bdc2;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.navbar-nav .nav-link:hover {
  color: #65bdc2 !important;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

/* دکمه همبرگر آبی */
.custom-toggler {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.custom-toggler span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: #65bdc2;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {

  .custom-toggler,
  .custom-toggler span {
    display: none;
  }
}

.offcanvas {
  transition: transform 0.8s ease, opacity 0.8s ease !important;
}

.offcanvas.show {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

.offcanvas {
  transform: translateX(-100%) !important;
  opacity: 0 !important;
}

.custom-toggler span:nth-child(2) {
  width: 70%;
  align-self: flex-end;
}

.custom-toggler:hover span:nth-child(2) {
  width: 100%;
}

.iconsv {
  width: 100px;
  height: 101px;
  line-height: 75px;
  color: #ffffff;
  font-size: 50px;
  transition: 0.5s;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  background: #65bdc2;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border: 4px solid;
  border-image: linear-gradient(45deg, #d4af37, #f5e197, #c49b6c) 1;
  border-radius: 8px;
  color: #65bdc2;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #65bdc2;
  color: #fff;
}

.cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border: 2px solid #ebebeb;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  z-index: 9999;
}

.cursor-dot {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 5px;
  height: 5px;
  background-color: #848484;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {

  .cursor-circle,
  .cursor-dot {
    display: none;
  }
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 80px 50px 80px;
  background: #ffffff;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 0 0 20px 0;
  }
}

.rotating-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotating-image {
  width: 600px;
  height: 600px;
  animation: spin 20s linear infinite;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .rotating-image {
    width: 100vw;
    height: 100vw;
    animation: none;
  }

  .rotating-wrapper {
    height: 340px;
  }
}

.sur-p {
  font-size: 18px;
}

.surr-p {
  font-size: 12px;
  margin-bottom: 4px;
}

.surrr-p {
  font-size: 14px;
  margin-bottom: 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.rotating-image img {
  width: 100%;
  height: 100%;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #222;
  z-index: 2;
  width: 80%;
}

.overlay-text h1 {
  font-size: 55px;
  margin-bottom: 15px;
  font-weight: bold;
}

.overlay-text p {
  font-size: 20px;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .overlay-text {
    width: 90%;
    top: 70%;
    padding: 48px 10px;
  }

  .overlay-text h1 {
    font-size: 36px;
  }

  .overlay-text p {
    font-size: 12px;
  }
}

.side-image {
  flex: 1;
  display: flex;
  /* justify-content: center; */
}

.side-image img {
  width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .side-image {
    justify-content: center;
  }

  .side-image img {
    width: 85vw;
    max-width: 350px;
    height: auto;
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.btn-8 {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin-top: 30px;
  text-transform: none;
}

.btn-8 a {
  position: relative;
  display: inline-block;
  padding: 14px 32px;
  background-color: #65bdc2;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  z-index: 2;
}


@media (max-width: 768px) {
  .btn-8 {
    margin-top: 10px;
    display: block;
    width: 100%;
    text-align: center;
  }

  .btn-8 a {
    padding: 10px 10px;
    font-size: 14px;
    border-radius: 6px;
    width: 90%;
    display: inline-block;
  }
}

.btn-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 3;
}

.btn-content strong {
  font-weight: normal;
  display: inline-block;
}

.btn-content svg {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* افکت در بازشو */
.btn-8 a:before,
.btn-8 a:after,
.btn-content:before,
.btn-content:after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  transition: width 0.4s ease;
  z-index: 1;
}

.btn-8 a:before,
.btn-content:after {
  left: 0;
}

.btn-8 a:after,
.btn-content:before {
  right: 0;
}

.btn-content:before,
.btn-content:after {
  transition-delay: 0.4s;
}

.btn-8 a:hover:before,
.btn-8 a:hover:after,
.btn-8 a:hover .btn-content:before,
.btn-8 a:hover .btn-content:after {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .btn-group {
    align-items: normal;
    margin-top: 25px;
    margin-bottom: 85px;
  }
}

/* سایدبار موبایل */
.custom-toggler-mobile {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  display: inline-block;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  cursor: pointer;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #212529;
  color: #fff;
  transition: right 0.3s ease;
  z-index: 1050;
  padding: 15px;
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.sidebar a {
  display: block;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1040;
}

#overlay.active {
  display: block;
}

.menu-icon {
  width: 25px;
  height: 25px;
  margin-left: 8px;
  vertical-align: middle;
}

.time-icon {
  width: 25px;
  height: 25px;
  margin-left: 8px;
  vertical-align: middle;
}

.sidebar p {
  margin-top: 15px;
  font-size: 14px;
}

.sidebar-image {
  margin-top: 15px;
  text-align: center;
}

.sidebar-image img {
  max-width: 100%;
  border-radius: 8px;
  transform: scaleX(-1);
}

/* دکمه گرد با متن چرخان */
.btn-round-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

.btn-round {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background-color: #65bdc2;
  border-radius: 50%;
  z-index: 2;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .btn-round {
    width: 60px;
    height: 60px;
    top: 17%;
  }
}

.btn-round:hover {
  background-color: #000;
}

.btn-round a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.btn-round-content {
  z-index: 3;
}

.btn-round svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* متن دایره‌ای */
.circle-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  pointer-events: none;
}

.circle-text svg {
  width: 100%;
  height: 100%;
}

.rotating-text {
  animation: rotateText 6s linear infinite;
  transform-origin: 100px 100px;
}

.circle-text text {
  fill: #222;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;
  direction: rtl;
  text-anchor: middle;
}

@keyframes rotateText {
  to {
    transform: rotate(-360deg);
  }
}

@media (max-width: 768px) {
  .circle-text {
    width: 120px;
    height: 150px;
    top: -20%;
  }
}

/* سکشن انواع جراحی بینی */
.card-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  position: relative;
  width: calc(25% - 30px);
  min-width: 250px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 768px) {
  .info-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 0;
  }

  .card-container {
    gap: 10px;
    padding: 10px;
  }

  .info-card {
    padding: 10px;
  }

}

.info-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(101, 189, 194, 0.2), transparent);
  top: -100%;
  left: -100%;
  transition: all 0.5s ease;
  z-index: 0;
}

.info-card:hover::before {
  top: 100%;
  left: 100%;
}

.info-card:hover {
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.05);
}

.card-icon {
  margin-bottom: 20px;
  transition: background 0.4s ease;
  padding: 20px;
  border-radius: 12px;
}

.card-text {
  font-size: 16px;
  text-align: center;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.card-text-p {
  font-size: 14px;
  text-align: justify;
  color: #333;
  margin-bottom: 5px;
}

.card-button {
  display: inline-block;
  padding: 12px 24px;
  background: #65bdc2;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.card-button:hover {
  background: #4aa5b0;
}

.info-card>* {
  position: relative;
  z-index: 1;
}

.iconsvg {
  width: 100px;
  height: 101px;
  background: #65bdc2;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease, background-color 0.5s ease;
  transform-origin: center center;
}

.iconsvg:hover {
  transform: rotate(-180deg);
  background-color: #000;
}

.icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.iconsvg:hover .icon-img {
  transform: rotate(180deg);
}

/* سکشن پروتز چانه */
.section-wrapper {
  padding: 60px 20px;
  background-color: #65bdc2;
  margin-top: 40px;
  direction: ltr;
}

@media (max-width: 768px) {
  .section-wrapper {
    padding: 60px 10px 20px 10px;
    margin-top: 20px;
  }
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .section-container {
    gap: 0;
  }
}

.section-left {
  flex: 1;
  min-width: 300px;
}

.section-right {
  flex: 1;
  min-width: 300px;
}

.section-heading {
  font-size: 28px;
  margin-bottom: 10px;
  color: #ffffff;
}

.section-summary {
  font-size: 16px;
  margin-bottom: 25px;
  color: #333;
}

@media (max-width: 768px) {

  .section-heading,
  .section-summary {
    text-align: center;
  }
}

.slider-wrapper {
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.swiper-wrapper {
  padding-top: 30px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.nose-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.nose-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(101, 189, 194, 0.2), transparent);
  top: -100%;
  left: -100%;
  transition: all 0.5s ease;
  z-index: 0;
}

.nose-card:hover::before {
  top: 100%;
  left: 100%;
}

.nose-card:hover {
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.05);
}

.nose-icon {
  width: 200px;
  height: 301px;
  background: #1a5258;
  padding: 10px;
  border-radius: 10px;
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nose-icon:hover {
  transform: rotate(180deg);
  background-color: #000;
}

.nose-image {
  width: 150px;
  height: 292px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.nose-image-2 {
  width: 100px;
  height: 282px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.nose-icon:hover .nose-image {
  transform: rotate(-180deg);
}

.nose-icon:hover .nose-image-2 {
  transform: rotate(-180deg);
}

.nose-text {
  font-size: 15px;
  margin-bottom: 10px;
  color: #333;
}

.nose-button {
  display: inline-block;
  padding: 8px 16px;
  background: #65bdc2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.nose-button:hover {
  background: #000;
}

.slide-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .slide-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 5px;
  }

  .nose-card {
    width: 70%;
    padding: 10px;
  }

  .nose-icon {
    width: 100%;
    height: auto;
  }

  .nose-image {
    width: 100%;
    height: auto;
  }
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  top: 65% !important;
  background-color: rgba(35, 35, 35, 0.1);
  border-radius: 50%;
  color: #333 !important;
  font-size: 16px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(101, 189, 194, 0.2);
  transform: scale(1.1);
}

.custom-shape-divider-top-1759056807 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-top-1759056807 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 63px;
}

.custom-shape-divider-top-1759056807 .shape-fill {
  fill: #FFFFFF;
}

@media (max-width: 768px) {
  .custom-shape-divider-top-1759056807 svg {
    height: 40px;
  }
}

.section-photo {
  max-width: 75%;
  height: auto;
  transform: scaleX(-1);
}

/* وسط‌چین در موبایل */
@media (max-width: 768px) {
  .section-photo {
    display: block;
    margin: 0 auto;
  }
}

/* سکشن مقایسه */
.compare-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.compare-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: ew-resize;
  border-radius: 8px;
}

.compare-img {
  width: 100%;
  display: block;
}

.compare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.compare-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.compare-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #65bdc2;
  z-index: 2;
}

.compare-caption {
  margin-top: 15px;
  font-size: 15px;
  color: #333;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  justify-items: center;
}

.section-container-compare {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-title {
  font-size: 28px;
  color: #007b8f;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
}

/* سکشن معرفی دکتر */
.doctor-intro {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Cairo', sans-serif;
}

@media (max-width: 768px) {
  .doctor-intro {
    padding: 30px 10px;
  }
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.text-section {
  flex: 1 1 45%;
  padding: 20px;
}

.text-section h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
}

.text-section p {
  font-size: 14px;
  line-height: 2;
  color: #555;
  text-align: justify;
}

.text-section h3 {
  font-size: 18px;
  color: #333;
}

.more-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #007b8f;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.more-button:hover {
  background-color: #005f6b;
}

.video-section {
  flex: 1 1 45%;
  padding: 20px;
}

.video-section video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-reveal {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 6px;
}

.btn-reveal a {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  background-color: #007b8f;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn-reveal a:hover {
  background-color: #005f6b;
}

.btn-label {
  position: relative;
  z-index: 2;
}

.btn-reveal a::before,
.btn-reveal a::after,
.btn-label::before,
.btn-label::after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  transition: width 0.4s ease;
  z-index: 1;
}

.btn-reveal a::before,
.btn-label::after {
  left: 0;
}

.btn-reveal a::after,
.btn-label::before {
  right: 0;
}

.btn-label::before,
.btn-label::after {
  transition-delay: 0.4s;
}

.btn-reveal a:hover::before,
.btn-reveal a:hover::after,
.btn-reveal a:hover .btn-label::before,
.btn-reveal a:hover .btn-label::after {
  width: 100%;
}

@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .text-section,
  .video-section {
    flex: 1 1 100%;
    padding: 10px 0;
    text-align: center;
  }

  .text-section h2 {
    font-size: 22px;
  }

  .text-section h3 {
    font-size: 14px;
    color: #005f6b;
  }

  .text-section p {
    font-size: 13px;
    text-align: justify;
  }

  .more-button,
  .btn-reveal {
    display: block;
    margin: 20px auto;
    text-align: center;
  }

  .btn-reveal a {
    font-size: 15px;
    padding: 10px 20px;
  }
}

/* سکشن نظرات مراجعه کنندگان */
.testimonial-section {
  position: relative;
  overflow: hidden;
  background-color: #fefefe;
  padding: 60px 0 20px 0;
  text-align: center;
}

.floating-photo {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  animation: floatBubble 6s ease-in-out infinite;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* کارت چهارم */
.photo-1 {
  top: 35%;
  left: 30%;
  animation-delay: 0s;
}

/* کارت راست اول */
.photo-2 {
  top: 78%;
  left: 79%;
  animation-delay: 1s;
}

/* تصویر سوم */
.photo-3 {
  top: 78%;
  left: 48%;
  animation-delay: 2s;
}

/* عکس دوم */
.photo-4 {
  top: 35%;
  left: 63%;
  animation-delay: 3s;
}

.photo-5 {
  top: 78%;
  left: 18%;
  animation-delay: 0s;
}

@keyframes floatBubble {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-15px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.8;
  }
}


.testimonial-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  margin-bottom: 40px;
}

.section-icon {
  width: 90px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 28px;
  color: #007b8f;
}

.section-header-2 h2 {
  font-size: 28px;
  color: #007b8f;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1rem;
  }

  .section-header-2 h2 {
    font-size: 1rem;
  }
}

.testimonial-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 40px;
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 20px 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  scroll-snap-align: start;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  transition: box-shadow 0.3s ease;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -75%;
  left: -75%;
  background: radial-gradient(circle at center, rgba(138, 167, 70, 0.15), transparent 70%);
  transform: rotate(25deg);
  transition: all 0.6s ease;
  z-index: 0;
}

.testimonial-card:hover::before {
  top: 0%;
  left: 0%;
}

.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.testimonial-card p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.testimonial-slider::-webkit-scrollbar {
  height: 10px;
}

.testimonial-slider::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.testimonial-slider::-webkit-scrollbar-thumb {
  background-color: #007b8f;
  border-radius: 4px;
}

.testimonial-slider::-webkit-scrollbar-thumb:hover {
  background-color: #01a0b8;
}

@media (max-width: 768px) {
  .floating-photo {
    display: none;
  }
}

/* سکشن گالری */
.gallery-section {
  padding: 60px 20px;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.gallery-card {
  position: relative;
  width: calc(100% / 6 - 20px);
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-card:hover .overlay {
  opacity: 1;
}

.zoom-icon {
  font-size: 2rem;
  color: #fff;
  font-weight: bold;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .gallery-card {
    width: calc(50% - 10px);
    /* دو کارت در یک ردیف با فاصله مناسب */
  }

  .gallery-container {
    gap: 20px;
  }
}

/* وبلاگ */
.blog-section {
  padding: 60px 20px;
  background-color: #fefefe;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-title {
  font-size: 28px;
  color: #007b8f;
  text-align: center;
  margin-bottom: 40px;
}

.blog-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: right;
}

@media (max-width: 768px) {
  .blog-row {
    margin-bottom: 20px;
  }
}

.blog-card {
  width: calc(25% - 15px);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  min-height: auto;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-content {
  padding: 20px 5px 20px 5px;
  text-align: center;
}

.blog-content h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 30px;

}

.blog-content h3 a {
  font-size: 1.1rem;
  text-decoration: none !important;
  color: #007b8f;
}

.blog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: -20px;
}

.btn-blog {
  display: inline-block;
  overflow: hidden;
  margin-top: 30px;
  text-transform: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.btn-blog a {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  background-color: #007b8f;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  z-index: 2;
}

.btn-content svg {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* افکت هاور */
.btn-blog a:before,
.btn-blog a:after,
.btn-content:before,
.btn-content:after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  transition: width 0.4s ease;
  z-index: 1;
}

.btn-blog a:before,
.btn-content:after {
  left: 0;
}

.btn-blog a:after,
.btn-content:before {
  right: 0;
}

.btn-content:before,
.btn-content:after {
  transition-delay: 0.4s;
}

.btn-blog a:hover:before,
.btn-blog a:hover:after,
.btn-blog a:hover .btn-content:before,
.btn-blog a:hover .btn-content:after {
  width: 100%;
}

.blog-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  margin-top: 10px;
  position: relative;
}

.blog-label,
.blog-link {
  font-size: 1.2rem;
  color: #007b8f;
  white-space: nowrap;
  z-index: 2;
}

.blog-link {
  text-decoration: none;
  color: #007b8f;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: #4aa5b0;
}

.blog-line {
  flex-grow: 1;
  height: 1px;
  background-color: #007b8f;
  position: relative;
  top: 1px;
}

@media (max-width: 768px) {
  .blog-header-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .blog-label,
  .blog-link {
    font-size: 1rem;
    white-space: normal;
  }

  .blog-line {
    width: 100%;
  }

  .blog-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .blog-card {
    width: 100%;
  }


  .btn-blog {
    margin-top: 0;
    bottom: 40px;
  }
}

/* فوتر */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.main-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* فوتر اصلی */
.site-footer {
  background-color: #65bdc2;
  color: #333;
  padding: 40px 0 0;
  font-size: 0.95rem;
  direction: ltr;
  text-align: left;
}


.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
  padding-right: 10px;
  padding-left: 10px;
}

.footer-column {
  flex: 1 1 calc(33.333% - 30px);
  min-width: 250px;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #333;
}

.footer-links a {
  text-align: left;
  direction: ltr;
}


@media (max-width: 768px) {
  .footer-column h4 {
    color: #ffffff;
  }
}

.footer-column p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #cceef2;
}

@media (max-width: 768px) {
  .footer-links li {
    font-size: 14px;
  }
}

.doctor-link {
  display: inline-block;
  margin-top: 1px;
  padding-bottom: 10px;
  color: #333;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.doctor-link:hover {
  color: #cceef2;
}

/* فوتر پایین */
.footer-bottom {
  text-align: center;
  padding: 15px;
  background-color: #222;
  color: #fff;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-column {
    flex: 1 1 100%;
  }
}

.contact-info .info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.95rem;
}

.contact-info .info-row i {
  font-size: 1.2rem;
  color: #cceef2;
  margin-top: 2px;
}

.contact-info .info-row span {
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {
  .contact-info .info-row span {
    font-size: 14px;
    line-height: 2;
  }
}

.tel {
  color: #333;
  text-decoration: none;
}

.tel:hover {
  color: #005f6b;
}

@media (max-width: 768px) {
  .tel {
    font-size: 14px;
  }
}

.phone-row .phone-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.phone-buttons a {
  padding: 6px 12px;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.phone-buttons a:hover {
  background-color: #fff;
  color: #007b8f;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.95rem;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #007b8f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.icon-circle svg {
  fill: #fff;
  width: 20px;
  height: 20px;
}

.icon-circle:hover {
  background-color: #000;
}

.map-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.map-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.map-link:hover {
  color: #005f6b;
}

.map-link .icon-circle {
  width: 40px;
  height: 40px;
  background-color: #007b8f;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.map-link .icon-circle img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.map-link:hover .icon-circle {
  background-color: #000;
}

.footer-logo {
  text-align: center;
  margin-bottom: 12px;
}

.footer-logo img {
  max-width: 140px;
  height: auto;
  border-radius: 12px;
}

.footer-logo img:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.social-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  border: 1px solid #1a5258;
}

.gold-hr {
  height: 2px;
  width: 75%;
  background: linear-gradient(to right, #d4af37, #f5e197, #c49b6c);
  border: none;
  border-radius: 2px;
  margin-bottom: 30px;
}

.social-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.social-icon:hover {
  background-color: #000;
}

.doctor-name {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
}

@media (max-width: 768px) {
  .doctor-name {
    color: #ffffff;
  }
}

/* اتمام صفحه اصلی */

/* شروع صفحه تماس با ما */
.contact-header {
  background: url('/assets/images/contact-bg.jpg') no-repeat center/cover;
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-header .overlay {
  background: rgba(58, 174, 182, 0.8);
  /* آبی شفاف */
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-header h1 {
  font-size: 40px;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-header .breadcrumb {
  font-size: 14px;
}

.contact-header .breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.contact-header .breadcrumb span {
  opacity: 0.7;
}

/* کارت‌ها */
.contact-infoo {
  padding: 40px 10px 0px 10px;
  background: #fff;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background: #fff;
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card img {
  width: 60px;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 14px;
  color: #555;
}

/* نقشه تماس با ما */
.map-section {
  min-height: 40vh;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-container {
  width: 90%;
  max-width: 1330px;
  margin: 0 auto;
  padding: 30px 20px;
}

.map-box {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  background: #fff;
  text-align: center;
  padding: 30px 20px;
}

.map-box:hover {
  transform: translateY(-5px);
}

.map-box iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 576px) {
  .map-section {
    min-height: 0;
    padding: 20px 10px;
  }

  .map-container {
    width: 100%;
    padding: 10px 10px;
  }

  .map-box {
    height: 300px;
    border-radius: 10px;
    padding: 0;
  }
}

/* تماس با ما */
.contact-hero-conn {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url('/assets/images/home-img/2-headers.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .contact-hero-conn {
    background-image: none !important;
    background-color: rgba(101, 189, 194, 0.6);
    height: 200px;
    margin-bottom: 20px;
  }
}

.overlay-conn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(101, 189, 194, 0.6);
  z-index: 1;
}

.contact-content-conn {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.contact-content-conn h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.breadcrumb-conn {
  font-size: 16px;
  color: #eee;
}

/* درباره ما */
.breadcrumb-docintro {
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  direction: rtl;
}

.breadcrumb-docintro ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb-docintro li {
  color: #65bdc2;
  position: relative;
}

.breadcrumb-docintro li:not(:last-child)::after {
  content: "›";
  margin: 0 8px;
  color: #999;
}

.breadcrumb-docintro a {
  text-decoration: none;
  color: #007b8f;
  transition: color 0.3s ease;
}

.breadcrumb-docintro a:hover {
  color: #004f5f;
}


.about-content-abu h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.breadcrumb-abu {
  font-size: 16px;
  color: #eee;
}

/* معرفی دکتر */

.doctor-intro-docintro {
  padding: 30px 20px;
  background-color: #f9f9f9;
}

.container-docintro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.text-docintro {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.title-docintro {
  font-size: 24px;
  color: #1a5258;
  margin-bottom: 15px;
}

.desc-docintro {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn-docintro {
  display: inline-block;
  padding: 10px 20px;
  background-color: #65bdc2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-docintro:hover {
  background-color: #1a5258;
}

.image-docintro {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: center;
}

.image-docintro img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-docintro img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .container-docintro {
    flex-direction: column-reverse;
    text-align: center;
  }

  .text-docintro {
    padding: 10px;
  }

  .image-docintro {
    padding: 10px;
  }

  .title-docintro {
    font-size: 25px;
  }

  .desc-docintro {
    font-size: 15px;
  }
}

.doctor-details-docintro {
  padding: 40px 20px;
  background-color: #fefefe;
  animation: fadeInDoc 0.4s ease;
}

@keyframes fadeInDoc {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-8-docintro {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 6px;
}

.btn-8-docintro a {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  background-color: #65bdc2;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  z-index: 2;
}

.btn-content-docintro {
  position: relative;
  z-index: 3;
}

.btn-8-docintro a:before,
.btn-8-docintro a:after,
.btn-content-docintro:before,
.btn-content-docintro:after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  transition: width 0.4s ease;
  z-index: 1;
}

.btn-8-docintro a:before,
.btn-content-docintro:after {
  left: 0;
}

.btn-8-docintro a:after,
.btn-content-docintro:before {
  right: 0;
}

.btn-content-docintro:before,
.btn-content-docintro:after {
  transition-delay: 0.4s;
}

.btn-8-docintro a:hover:before,
.btn-8-docintro a:hover:after,
.btn-8-docintro a:hover .btn-content-docintro:before,
.btn-8-docintro a:hover .btn-content-docintro:after {
  width: 100%;
}

/* صفحه دسته بندی */
.category-layout-catlayout {
  padding: 15px 20px;
  background-color: #fefefe;
}

.container-catlayout {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.main-column-catlayout {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.post-card-catlayout {
  display: block;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.post-card-catlayout:hover {
  transform: translateY(-5px);
}

.post-card-catlayout img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.post-card-catlayout h3 {
  padding: 15px;
  font-size: 18px;
  color: #1a5258;
}

.latest-posts-catlayout {
  list-style: none;
  padding: 0;
  margin: 0;
}

.latest-posts-catlayout li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.latest-posts-catlayout img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

.latest-posts-catlayout span {
  font-size: 15px;
  color: #444;
}

@media (max-width: 768px) {
  .container-catlayout {
    flex-direction: column;
  }

  .main-column-catlayout {
    grid-template-columns: 1fr;
  }

  .sidebar-catlayout {
    margin-top: 30px;
  }
}


.container-cathead {
  max-width: 1200px;
  margin: 40px auto 20px;
  padding: 0 20px;
}

.main-title-cathead {
  font-size: 28px;
  color: #1a5258;
  margin-bottom: 10px;
}

.main-title-cathead a {
  text-decoration: none;
  color: inherit;
}

.breadcrumb-cathead {
  font-size: 14px;
  color: #666;
}

.breadcrumb-trail-cathead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.trail-begin-cathead,
.trail-end-cathead {
  color: #65bdc2;
  text-decoration: none;
}

.sep-cathead {
  margin: 0 8px;
  color: #999;
}


.btn-8-catnav {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 6px;
}

.btn-catnav {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  background-color: #65bdc2;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  z-index: 2;
}

.btn-catnav-disabled {
  color: #999;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px 24px;
  cursor: not-allowed;
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
}

.btn-content-catnav {
  position: relative;
  z-index: 3;
}

.btn-8-catnav a:before,
.btn-8-catnav a:after,
.btn-content-catnav:before,
.btn-content-catnav:after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  transition: width 0.4s ease;
  z-index: 1;
}

.btn-8-catnav a:before,
.btn-content-catnav:after {
  left: 0;
}

.btn-8-catnav a:after,
.btn-content-catnav:before {
  right: 0;
}

.btn-content-catnav:before,
.btn-content-catnav:after {
  transition-delay: 0.4s;
}

.btn-8-catnav a:hover:before,
.btn-8-catnav a:hover:after,
.btn-8-catnav a:hover .btn-content-catnav:before,
.btn-8-catnav a:hover .btn-content-catnav:after {
  width: 100%;
}

.btn-8-catnav a:hover {
  color: #ffffff;
}

/* صفحه پست */
.blogpost-layout-blogpostlayout {
  padding: 40px 20px;
  background-color: #fefefe;
}

.container-blogpostlayout {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.main-content-blogpostlayout {
  flex: 3;
  min-width: 300px;
}

.floating-cards-blogpostlayout {
  flex: 1;
  min-width: 250px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.floating-card-blogpostlayout {
  background-color: #65bdc2;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.floating-card-blogpostlayout:hover {
  transform: translateY(-5px);
}

.floating-card-blogpostlayout a {
  color: #fff;
  text-decoration: none;
}

/* هدر پست با تصویر کوچک */
.post-header-wrapper-bloglayout {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.post-header-image-bloglayout {
  flex: 0 0 100px;
  max-width: 100px;
}

.post-header-image-bloglayout img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.post-header-content-bloglayout {
  flex: 1;
  min-width: 250px;
}

.post-title-bloglayout {
  font-size: calc(1.375rem + 0.1vw);
  color: #1a5258;
  margin-bottom: 15px;
  line-height: 1.4;
}

.post-meta-bloglayout {
  font-size: 14px;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.post-author-bloglayout {
  font-size: 15px;
  color: #444;
  font-weight: 500;
  margin-bottom: 10px;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
  .container-blogpostlayout {
    flex-direction: column;
  }

  .floating-cards-blogpostlayout {
    position: static;
    margin-top: 30px;
  }

  .post-header-wrapper-bloglayout {
    flex-direction: column;
    text-align: center;
    padding: 0;
    gap: 10px;
  }

  .post-header-image-bloglayout {
    max-width: 300px;
    margin-bottom: 15px;
  }

  .post-header-image-bloglayout img {
    height: auto;
  }

  .post-meta-bloglayout {
    justify-content: center;
  }

  .post-author-bloglayout {
    margin-top: 10px;
  }

  .blogpost-layout-blogpostlayout {
    padding: 10px 20px;
  }
}

.doctor-profile-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  max-width: 100%;
}

.doctor-profile-image img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.doctor-profile-image:hover img {
  transform: scale(1.05);
}

.doctor-profile-content {
  flex: 1;
  min-width: 200px;
}

.doctor-profile-name a {
  font-size: 17px;
  font-weight: bold;
  color: #1a5258;
  text-decoration: none;
}

.doctor-profile-name a:hover {
  color: #65bdc2;
}

.doctor-profile-description {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-top: 8px;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
  .doctor-profile-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .doctor-profile-image img {
    margin-bottom: 10px;
  }
}

.breadcrumb-link {
  text-decoration: none !important;
  color: #007b8f !important;
  white-space: nowrap;
  margin-left: 4px;
}

.breadcrumb-heading {
  color: #65bdc2 !important;
  font-size: 14px !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

@media (max-width: 576px) {
  nav .d-flex {
    flex-wrap: wrap !important;
  }
}

.comment-section-bloglayout {
  margin-top: 30px;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .comment-section-bloglayout {
    padding: 30px 0;
  }
}

.comment-title-bloglayout {
  font-size: 22px;
  margin-bottom: 20px;
  color: #1a5258;
}

.comment-form-bloglayout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-bloglayout label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #444;
}

.form-group-bloglayout input,
.form-group-bloglayout textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-group-bloglayout input:focus,
.form-group-bloglayout textarea:focus {
  border-color: #65bdc2;
  outline: none;
}

.submit-btn-bloglayout {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  background-color: #65bdc2;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease;
  z-index: 2;
}

.btn-content-bloglayout {
  position: relative;
  z-index: 3;
}

.submit-btn-bloglayout:before,
.submit-btn-bloglayout:after,
.btn-content-bloglayout:before,
.btn-content-bloglayout:after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  transition: width 0.4s ease;
  z-index: 1;
}

.submit-btn-bloglayout:before,
.btn-content-bloglayout:after {
  left: 0;
}

.submit-btn-bloglayout:after,
.btn-content-bloglayout:before {
  right: 0;
}

.btn-content-bloglayout:before,
.btn-content-bloglayout:after {
  transition-delay: 0.4s;
}

.submit-btn-bloglayout:hover:before,
.submit-btn-bloglayout:hover:after,
.submit-btn-bloglayout:hover .btn-content-bloglayout:before,
.submit-btn-bloglayout:hover .btn-content-bloglayout:after {
  width: 100%;
}

.submit-btn-bloglayout:hover {
  color: #ffffff;
}

#preloader {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s ease;
}

.loader-logo img {
  width: 200px;
  height: auto;
  animation: spinZoom 2.5s ease forwards;
}

@keyframes spinZoom {
  0% {
    transform: scale(0.8) rotate(0deg);
    opacity: 0;
  }

  30% {
    transform: scale(1.1) rotate(180deg);
    opacity: 1;
  }

  70% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }

  100% {
    transform: scale(0.95) rotate(360deg);
    opacity: 0.5;
  }
}

#preloader.slide-down {
  transform: translateY(100%);
}

/* صفحه گالری */
.container-bini {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0.5rem;
}

.gallery-bini {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.gallery-card-bini {
  flex: 0 0 calc(20% - 1rem);
  height: 200px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: -12px;
  transition: transform 0.4s ease, outline 0.4s ease;
  cursor: pointer;
}

.gallery-card-bini:hover {
  transform: scale(1.05);
  outline-color: #e3e3e3;
}

@media screen and (max-width: 768px) {
  .gallery-bini {
    justify-content: center;
  }

  .gallery-card-bini {
    flex: 0 0 calc(50% - 1rem);
    height: 200px;
  }
}

.gallery-card-bini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.zoom-icon-bini {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0, 255, 200, 0.8);
  color: white;
  font-size: 24px;
  font-weight: bold;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.5);
}

/* Lightbox */
.lightbox-bini {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox-bini img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 255, 200, 0.6);
}

.gallery-header-bini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.doctor-avatar-bini {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #007b8f;
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
}

.gallery-title-bini {
  font-size: 1.8rem;
  font-weight: bold;
  color: #007b8f;
  margin: 0;
  text-align: center;
}

@media screen and (max-width: 480px) {
  .gallery-header-bini {
    flex-direction: column;
    text-align: center;
  }

  .gallery-title-bini {
    font-size: 1.1rem;
  }
}

/* صفحه قبل و بعد */
.bini-compare-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.bini-compare-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.bini-compare-card {
  flex: 0 0 calc(25% - 1rem);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.bini-compare-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.bini-compare-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.4s ease;
  border-radius: 16px;
}

.bini-compare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bini-compare-overlay .bini-compare-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.bini-compare-wrapper.active .bini-compare-overlay .bini-compare-img {
  opacity: 1;
}

.bini-compare-wrapper.active>.bini-compare-img {
  opacity: 0;
}

@media screen and (max-width: 992px) {
  .bini-compare-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media screen and (max-width: 768px) {
  .bini-compare-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media screen and (max-width: 480px) {
  .bini-compare-card {
    flex: 0 0 100%;
  }
}

.bini-compare-icon {
  position: absolute;
  top: 220px;
  right: 220px;
  font-size: 25px;
  cursor: pointer;
  z-index: 3;
}

@media screen and (max-width: 768px) {
  .bini-compare-icon {
    top: 260px;
    right: 260px;
  }
}

.bini-filter-buttons {
  text-align: center;
  margin-bottom: 2rem;
}

.bini-filter-btn {
  background: #65bdc2;
  color: white;
  border: none;
  padding: 8px 16px;
  margin: 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.bini-filter-btn.active,
.bini-filter-btn:hover {
  background: #9bc2c4;
}

.bini-filter-btn {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.bini-filter-btn::before,
.bini-filter-btn::after,
.bini-filter-btn-content::before,
.bini-filter-btn-content::after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  transition: width 0.4s ease;
  z-index: 1;
}

.bini-filter-btn::before,
.bini-filter-btn-content::after {
  left: 0;
}

.bini-filter-btn::after,
.bini-filter-btn-content::before {
  right: 0;
}

.bini-filter-btn-content::before,
.bini-filter-btn-content::after {
  transition-delay: 0.4s;
}

.bini-filter-btn:hover::before,
.bini-filter-btn:hover::after,
.bini-filter-btn:hover .bini-filter-btn-content::before,
.bini-filter-btn:hover .bini-filter-btn-content::after {
  width: 100%;
}


.timeline-container {
  position: relative;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.timeline-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-box {
  position: relative;
  background: #65bdc2;
  color: #333;
  padding: 1rem 1.5rem 3rem;
  border-radius: 12px;
  font-family: 'IRANSans', sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  overflow: visible;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.timeline-content {
  flex: 1;
}

.timeline-image-wrapper {
  position: relative;
  margin-top: 30px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(101, 189, 194, 0.3),
    inset 0 4px 8px rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e0f7fa 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: bubbleFloat 4s ease-in-out infinite;
}

.timeline-image:hover {
  transform: scale(1.05);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(101, 189, 194, 0.4),
    inset 0 6px 12px rgba(255, 255, 255, 0.5);
}

/* خط عمودی بین مراحل */
.timeline-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  width: 3px;
  height: 100%;
  background: repeating-linear-gradient(to bottom,
      #65bdc2 0px,
      #65bdc2 10px,
      transparent 10px,
      transparent 20px);
  animation: waveFlow 2s linear infinite;
  border-radius: 3px;
}

@keyframes waveFlow {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 20px;
  }
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: #0077cc;
  display: flex;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #e0f0ff;
  align-items: center;
  justify-content: center;
}


.timeline-icon {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .timeline-container {
    padding: 1rem;
  }

  .timeline-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .timeline-box {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .timeline-image-wrapper {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
  }

  .timeline-image {
    margin: 0 auto;
  }

  .timeline-number {
    align-self: flex-start;
    margin-bottom: 0.5rem;
  }

  .timeline-container::before {
    display: none;
  }
}

/* بخش سوالات متداول */
.faq-carousel {
  max-width: 1200px;
  margin: auto;
  position: relative;
  padding-bottom: 40px;
  padding-top: 30px;
}

.faq-header {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #007b8f;
}

.faq-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding-bottom: 10px;
}

.faq-card:hover {
  transform: translateY(-5px);
}

.faq-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}

.faq-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.faq-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 20px 10px 20px 10px;
  margin: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  z-index: 1;

  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(101, 189, 194, 0.2), transparent);
  top: -100%;
  left: -100%;
  transition: all 0.5s ease;
  z-index: 0;
}

.faq-card:hover::before {
  top: 100%;
  left: 100%;
}

.faq-card:hover {
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.05);
}

.faq-card h3,
.faq-card p {
  position: relative;
  z-index: 1;
}

.faq-image {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
}

.faq-image img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
}

.faq-container::-webkit-scrollbar {
  height: 10px;
}

.faq-container::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.faq-container::-webkit-scrollbar-thumb {
  background-color: #007b8f;
  border-radius: 4px;
}

.faq-container::-webkit-scrollbar-thumb:hover {
  background-color: #01a0b8;
}


.faq-side-image {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  width: 345px;
  height: auto;
  z-index: 1;
  opacity: 1;
}

.faq-side-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .faq-side-image {
    position: static;
    transform: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px auto;
    opacity: 1;
    padding: 40px 20px 0 20px;
    z-index: auto;
  }

  .faq-side-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .faq-carousel {
    padding-top: 0 !important;
  }

  .section-header-2 {
    padding-top: 0 !important;
  }
}


/* اسکرول بار کل صفحه */
body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
  background-color: #01a0b8;
  border-radius: 5px;
  border: 2px solid #f5f5f5;
}

.custom-shape-divider-top-1759664851 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-top-1759664851 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  transform: rotateY(180deg);
}

.custom-shape-divider-top-1759664851 .shape-fill {
  fill: #FFFFFF;
}

@media (max-width: 768px) {
  .custom-shape-divider-top-1759664851 svg {
    height: 40px;
  }
}


.custom-image-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.custom-image-section img {
  width: 1995px;
  height: 800px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.swing-gallery-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 20px;
}

/* گالری‌های چپ و راست */
.gallery-side {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}

/* هر ستون عکس */
.column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* موبایل وسط */
.swing-wrapper {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swing-image {
  width: 300px;
  animation: swing 2.5s ease-in-out infinite;
  transform-origin: top center;
}

/* افکت زنگوله‌ای */
@keyframes swing {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(5deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* عکس‌ها با افکت محو */
.fade-image {
  width: 150px;
  opacity: 0;
  animation: fadeLoop 10s ease-in-out infinite;
  border-radius: 5px;
  animation-fill-mode: both;
}

@media (max-width: 768px) {
  .fade-image {
    animation: none;
    opacity: 1;
    /* نمایش کامل تصویر بدون محو شدن */
  }
}

@keyframes fadeLoop {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  80% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}


/* حالت موبایل: تصاویر دو تا کنار هم */
@media (max-width: 768px) {
  .gallery-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .column {
    display: contents;
    flex-direction: row;
  }

  .fade-image {
    width: 100%;
    height: auto;
  }

  .column img:nth-child(3) {
    display: none;
  }

  .swing-image {
    width: 250px;
  }

  .swing-gallery-section {
    padding: 10px 20px;
  }

}



.instagram-title {
  position: relative;
  text-align: center;
  cursor: pointer;
}

.instagram-title::after {
  content: "@biniclinic";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #333;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 18px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  direction: ltr !important;
}

.instagram-title:hover::after {
  opacity: 1;
}

.section-header-insta {
  margin-bottom: 40px;
  margin-top: 40px;
}

.section-header-insta h2 {
  font-size: 28px;
  color: #007b8f;
}

@media (max-width: 768px) {
  .section-header-insta h2 {
    font-size: 1rem;
    margin-top: 30px;
  }

  .section-header-insta {
    margin-bottom: 10px;
  }
}

/* ویدئوها */
.section-insta-gallery {
  padding: 20px 20px;

}

.container-insta-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card-insta {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-insta:hover {
  transform: translateY(-5px);
}

.video-insta video {
  width: 100%;
  height: auto;
  display: block;
}

.title-insta {
  padding: 15px;
  font-size: 18px;
  text-align: center;
  color: #333;
}

@media (max-width: 600px) {
  .container-insta-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .title-insta {
    font-size: 16px;
    padding: 10px;
  }

  .card-insta {
    border-radius: 8px;
  }

  .last-card {
    display: none;
  }
}

/* ساختار کلی گالری */
.preview-gallery {
  padding: 0.5rem 1rem;
}

.preview-container {
  max-width: 1200px;
  margin: 0 auto;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #ddd;
}

.preview-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
}

.preview-divider {
  flex-grow: 1;
  height: 2px;
  background-color: #ccc;
  margin: 0 1rem;
}

.preview-link {
  font-size: 0.95rem;
  color: #007bff;
  text-decoration: none;
}

.preview-link:hover {
  text-decoration: underline;
}

/* گرید کارت‌ها */
.preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.preview-card {
  flex: 0 0 calc(20% - 1rem);
  /* ۵ کارت در هر ردیف */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: ew-resize;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* قاب مقایسه */
.preview-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.preview-img {
  width: 100%;
  height: auto;
  display: block;
}

/* تصویر دوم (بعد) */
.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.preview-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

.preview-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #65bdc2;
  z-index: 2;
}

@media (max-width: 1024px) {
  .preview-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 768px) {
  .preview-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 480px) {
  .preview-card {
    flex: 0 0 100%;
  }
}

.btn-outline-like {
  border: 1px solid #007b8f;
}

.bg-light-orange {
  background-color: #effdff;
}

.btn-outline-com {
  border: 1px solid #007b8f;
}

.bg-light-com {
  background-color: #effdff;
}

/* CSS */
#darkLayer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

/* دکمه منوی شناور */
.floating-menu {
  position: fixed;
  width: 150px;
  bottom: 20px;
  right: 20px;
  background-color: #efc209;
  color: #333;
  padding: 10px 15px;
  border-radius: 25px;
  border: 2px solid #ffffff;
  cursor: pointer;
  z-index: 1001;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* محتوای منو */
.menu-content {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  width: 280px;
  z-index: 1002;
}

.menu-content a {
  display: block;
  color: #007b8f;
  text-decoration: none;
  margin: 8px 0;
  border: 1px solid #005f6b;
  border-radius: 25px;
  padding: 8px;
}

.clamp-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  color: #333;
  margin-top: 4px;
}

.custom-shape-divider-top-1760345767 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-top-1760345767 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 63px;
}

.custom-shape-divider-top-1760345767 .shape-fill {
  fill: #65bdc2;
}

@media (max-width: 768px) {
  .custom-shape-divider-top-1760345767 svg {
    height: 23px;
  }
}

.custom-shape-divider-top-1760347829 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-top-1760347829 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 63px;
}

.custom-shape-divider-top-1760347829 .shape-fill {
  fill: #FFFFFF;
}

@media (max-width: 768px) {
  .custom-shape-divider-top-1760347829 svg {
    height: 23px;
  }
}