:root{
--fontfa: "Shabnam";
--fontFaB: "ShabnamBold";
--span: #6d6d6d;
--color1: #14457b;
--color2: #2490eb;
--blackco: #000000;
--whiteco: #ffffff;
--bg-image: #40e0d012;
--gradient-bg: linear-gradient(90deg, var(--color1) -10.59%, var(--color2) 282.59%);
--shadow: 0px 4px 25px 0px #0000000f;
--transition: all 1s ease-in-out;
}
a{
text-decoration: none;
}
a:hover{
text-decoration: none;
color: var(--color2);
}

/* بهبود transition برای لینک‌ها */
/* افکت زیرخط هنگام هاور */
#header3 .content-item {
  position: relative !important;
}

#header3 .content-item::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 0 !important;
  height: 2px !important;
  background-color: white !important;
  transition: all 0.3s ease !important;
  transform: translateX(-50%) !important;
}

#header3 .content-item:hover::after {
  width: 70% !important;
}

/* دکمه ورود به پنل - ساده و بدون انیمیشن */
#header3 .panel-login-btn {
  position: relative !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  display: inline-block !important;
  background-color: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.2s ease !important;
}

#header3 .panel-login-btn:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* بهبود لوگو */
#header3 .header-logo {
  transition: all 0.3s ease !important;
}

#header3 .header-logo:hover {
  transform: scale(1.02) !important;
}

#header3 .nav-logo {
  transition: all 0.3s ease !important;
  border-radius: 4px !important;
}

/* استایل اصلی هدر */
#header3 {
  background: linear-gradient(90deg, rgb(20, 69, 123), rgb(36, 144, 235)) !important;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease !important;
  position: fixed !important;
  width: 100% !important;
  top: 0 !important;
  z-index: 999 !important;
  padding: 10px 20px !important;
  box-shadow: none !important;
}

/* حالت اسکرول هدر */
#header3.scrolled {
  background: linear-gradient(90deg, rgb(36, 144, 235), rgb(20, 69, 123)) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  padding: 5px 20px !important;
  animation: headerScroll 0.4s ease !important;
}

/* لینک‌ها */
#header3 .content-item {
  color: white !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  border-radius: 5px !important;
  transition: background-color 0.3s ease !important;
  text-decoration: none !important;
}

#header3 .content-item:hover {
  background-color: rgba(36, 144, 235, 0.3) !important;
}

/* active link state */
#header3 .content-item.active {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  font-weight: 700 !important;
}

/* دکمه ورود به پنل - حذف background gradient */
#header3 .left-header {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 4px !important;
}

/* آیکون هدر */
#header3 .left-header svg {
  transition: opacity 0.3s ease, filter 0.3s ease !important;
  cursor: pointer !important;
}

/* حالت ضبدر شده آیکون */
#header3 .left-header svg.dimmed {
  opacity: 0.4 !important;
  filter: grayscale(70%) !important;
  pointer-events: none !important;
}

/* animation for scrolled state */
@keyframes headerScroll {
  from {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
  }
  to {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
}

/* ========== RESPONSIVE STYLES ========== */

/* تبلت و موبایل - زیر 992px */
@media (max-width: 992px) {
  #header3 .center-header {
    display: none !important;
  }
  
  #header3 .nav-title {
    font-size: 16px !important;
  }
  
  /* مخفی کردن دکمه ورود به پنل در موبایل */
  #header3 .panel-login-btn {
    display: none !important;
  }
  
  /* تنظیمات left-header در موبایل */
  #header3 .left-header {
    background-color: transparent !important;
    justify-content: center !important;
    padding: 0 !important;
    min-width: 40px !important;
  }
  
  /* مرکزیت آیکون همبرگر */
  #header3 .mobile-login-btn {
    display: block !important;
    margin: 0 auto !important;
  }
  
  /* مخفی کردن عنوان در موبایل */
  @media (max-width: 768px) {
    #header3 .nav-title {
      display: none !important;
    }
  }
}

/* موبایل کوچک - زیر 576px */
@media (max-width: 576px) {
  #header3 {
    padding: 8px 15px !important;
  }
  
  #header3 .nav-title {
    font-size: 14px !important;
    margin-left: 8px !important;
    display: none !important;
  }
  
  #header3 .nav-logo {
    width: 40px !important;
    height: 40px !important;
  }
  
  #header3 .left-header {
    min-width: 35px !important;
  }
}

/* دسکتاپ بزرگ - بالای 1200px */
@media (min-width: 1200px) {
  #header3 .content-item {
    padding: 10px 16px !important;
    font-size: 1.05rem !important;
  }
  
  #header3 .nav-title {
    font-size: 22px !important;
  }
  
  #header3 .panel-login-btn {
    padding: 10px 20px !important;
  }
}

/* حالت landscape موبایل */
@media (max-height: 500px) and (orientation: landscape) {
  #header3 {
    padding: 5px 15px !important;
  }
  
  #header3 .nav-logo {
    width: 35px !important;
    height: 35px !important;
  }
}

/* تنظیمات برای print */
@media print {
  #header3 {
    position: static !important;
    background: white !important;
    color: black !important;
  }
  
  #header3 .content-item {
    color: black !important;
  }
  
  #header3 .panel-login-btn,
  #header3 .mobile-login-btn {
    display: none !important;
  }
}
/* پس‌زمینه گرادینت سایدنو */
#mySidenav.sidenav {
  background: linear-gradient(180deg, rgb(20, 69, 123), rgb(36, 144, 235));
  color: rgb(255, 255, 255);
  border-left: 3px solid rgb(36, 144, 235);
  right: 0;
  opacity: 1;
  transition: background 0.4s ease;
  padding: 20px 15px;
  height: 100vh;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  z-index: 2000;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

/* وقتی سایدنو باز است */
#mySidenav.sidenav.open {
  transform: translateX(0);
}

/* دکمه بستن */
#mySidenav .closebtn {
  background: linear-gradient(45deg, rgb(36, 144, 235), rgb(20, 69, 123));
  color: white;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  padding: 5px 12px;
  display: inline-block;
  transition: background 0.3s ease;
  text-align: center;
}

#mySidenav .closebtn:hover {
  background: linear-gradient(45deg, rgb(20, 69, 123), rgb(36, 144, 235));
}

/* هدر سایدنو */
#mySidenav .sidebar-header {
  background-color: white;
  padding: 10px;
  margin-bottom: 15px;
  text-align: center;
  border-radius: 6px;
}

/* لوگو داخل هدر */
#mySidenav .sidebar-header img.nav-logo {
  max-height: 70px;
  object-fit: contain;
}

/* لینک‌ها */
#mySidenav .sidenav-content a.link-style {
  display: flex;
  align-items: center;
  color: white !important;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 5px;
  margin-bottom: 8px;
  transition: background 0.3s ease;
}

#mySidenav .sidenav-content a.link-style:hover {
  background: linear-gradient(90deg, rgb(36, 144, 235), rgb(20, 69, 123));
  color: white !important;
}

/* آیکون فلش کنار لینک */
#mySidenav .sidenav-content svg {
  margin-left: 8px;
  fill: white;
  flex-shrink: 0;
}






#id-4136 {
  position: relative;
  z-index: 20;
  background-size: 65% auto !important;
  background-repeat: repeat;
}

#id-4136::after {
  content: "";
  min-height: 100%;
  width: 100%;
  position: absolute;
  top: 0px;
  background-color: #14457be8;
}

#id-4136 .article-card-item {
  transform: none !important;
  margin-top: -70px !important;
  transition: all 0.4s ease !important;
  cursor: pointer !important;
  z-index: 1 !important;
}

/* هاور روی کارت: فقط کارت خودش بزرگ و واضح میشه */
#id-4136 .article-card-item:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 25px rgba(20, 69, 123, 0.3) !important;
  z-index: 5 !important;
}
/* فقط وقتی روی یک کارت هستیم، بقیه کم‌رنگ ولی روشن‌تر بشن */
#id-4136 .article-card-item:hover ~ .article-card-item {
  opacity: 0.85 !important;
  filter: grayscale(10%) !important;
}

#id-4136 .article-card-item:has(~ .article-card-item:hover) {
  opacity: 0.85 !important;
  filter: grayscale(10%) !important;
}


/* بازیابی کارت هاورشده */
#id-4136 .article-card-item:hover {
  opacity: 1 !important;
  filter: none !important;
}

/* استایل هدر دایره‌ای */
#id-4136 .article-header {
  background-color: var(--color2) !important;
  width: 100px !important;
  height: 100px !important;
  border-radius: 50% !important;
  margin-top: -134px !important;
}

/* افکت عکس آیکون در حالت هاور */
#id-4136 .article-header img {
  transition: all 0.4s ease !important;
}

#id-4136 .article-card-item:hover .article-header img {
  transform: rotate(6deg) scale(1.15) !important;
  filter: drop-shadow(0 0 5px rgba(20, 69, 123, 0.5)) !important;
}

/* توضیح ورود بیمار */
#id-4136 .description-login {
  font-family: var(--fontfa) !important;
  font-size: 15px !important;
  text-align: center !important;
  color: var(--span) !important;
  margin: 0 !important;
}

/* دکمه ورود */
#id-4136 .description-login-button {
  font-family: var(--fontFaB) !important;
  font-size: 15px !important;
  text-align: center !important;
  color: var(--color2) !important;
  margin: 0 !important;
}

/* محتوای کارت */
#id-4136 .article-content {
  padding: 15px 25px 0 !important;
  height: 67% !important;
}

/* توضیحات داخل کارت */
#id-4136 .article-description {
  margin-bottom: 0 !important;
}




#id-4137{
padding: 60px 0 130px;
}
#id-4137 .article1-wrapper{
justify-content: space-around;
}





#id-4138 .introduction-title{
display: none;
}
#id-4138 .introduction-divider{
display: none;
}
#id-4138 .introdution-container{
background-color: #f5f7fa;
}
#id-4138 .introduction-image{
width: 100% !important;
}
#id-4138 .right-introduction{
padding: 0px 45px;
}
#id-4138 .left-introduction{

}
#id-4138 .flexible-welcome{
display: flex;
flex-wrap: wrap;
text-align: right;
}
#id-4138 .title-welcome{
font-family: var(--fontFaB);
font-size: 26px;
color: #000;
}
#id-4138 .title1-welcome{
font-family: var(--fontFaB);
font-size: 22px;
color: var(--color2);
}
#id-4138 .paragraph-welcome{
font-family: var(--fontfa);
font-size: 14px;
}
#id-4138 .child1-div{
white-space: initial;
overflow: hidden;
}
#id-4138 .item-well-flex{
display: flex;
gap: 50px;
margin-top: 10px;
}
#id-4138 .value-well-flex{
display: flex;
flex-direction: column;
align-items: center;
}
#id-4138 .title-item1{
font-family: iranyekan;
font-weight: 600;
font-size: 38px;
color: var(--color2);
}
#id-4138 .text-item1{
font-family: var(--fontfa);
font: size: 22px;
}




#id-4141 .article-description{
margin: 0;
}
#id-4147{
padding-bottom: 20px;
}
#id-4147 a{
font-family: var(--fontFaB);
font-size: 30px;
color: #000;
}
#id-4147 .section-header{
padding-bottom: 40px;
}


#footer1 .information-container{
max-width: 1300px;
gap: 10px;
}
#footer1 .footer-item4{
display: grid;
}
#footer1 .services-footer{
list-style: none;
}
#footer1 .call-us{
list-style: none;
padding: 0;
color: #fff;
}
#footer1 .footer-item-table{
display: flex;
gap: 30px;
color: #fff;
}
#footer1 .footer-item-list{
display: flex;
}
#footer1 .services-footer{
padding: 0;
}
#footer1 .title-header-footer{
display: flex;
align-items: flex-end;
gap: 5px;
font-family: ShabnamBold;
font-size: 20px;
color: #fff;
margin: 0;
}
.title-footer1{
font-family: var(--fontFaB);
font-size: 24px;
color: #fff;
}
.box-title-header{
display: inline-block;
background-color: #d3e9fb;
border-radius: 3px;
padding: 4px 8px;
margin: 0 0 10px;
font-family: iranyekan;
font-size: 16px;
font-weight: 600;
color: #2490eb;
line-height: 22px;
letter-spacing: 0.05em;
}
.section-title-header{
font-family: var(--fontFaB);
font-size: 30px;
color: #000;
}
.section-title-header1{
font-family: var(--fontFaB);
font-size: 30px;
color: #fff;
}
@media (max-width: 1500px){
#footer1 .information-container{
     width: 90% !important;
  }
}
@media (max-width: 1200px) {
  #id-4136 .article-card-item{
    width: 50% !important;
  }
  #id-4136 .article-card-item{
   margin-top: 0px !important;
  }
  #id-4136 .article-header{
   margin-top: 0px !important;
  }
}
@media (max-width: 998px) and (min-width: 700px){
  #id-4137 .article1-wrapper{
   justify-content: flex-end;
  }
}
@media (max-width: 998px){
  #id-4138 .right-introduction{
   width: 100% !important;
   padding: 60px 15px;
   margin-bottom: 0;
  }
  #id-4141 .article-card-item{
   width: 46.2% !important;
  }
  #id-4137 .article-card-item{
   width: 46.5% !important;
   margin: .5rem !important;
  }
  #id-4135{
   height: auto !important;
  }
}
@media (max-width: 700px) {
  #id-4136 .article-card-item{
    width: 100% !important;
    max-width: 100% !important;
  }
  #id-4141 .article-card-item{
   width: 95% !important;
  }
  #id-4137 .article-card-item{
   width: 95% !important;
  }
  #id-4135{
   height: 300px !important;
  }
}
@media (min-width: 998px){
#footer1 .information-container{
   flex-direction: row !important;
  }
#badge-2582{
   max-width: fit-content;
  }
#badge-2583{
   max-width: fit-content;
  }
#badge-2584{
   max-width: 370px;
  }
#id-4137 .article-card-item{
   margin: 0rem .5em !important
  }
}



#id-4366 {
  position: fixed !important;
  bottom: 80px !important;
  right: 20px !important;
  z-index: 9999 !important;

  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  justify-content: center !important;

  font-family: iranyekan, Vazirmatn, sans-serif !important;
  padding: 14px 32px !important;
  border-radius: 48px !important;
  font-weight: 700 !important;
  font-size: 18px !important;

  color: #fff !important;
  background: linear-gradient(135deg, #0066ff, #3399ff) !important;
  border: 2px solid #3399ff !important;

  cursor: pointer !important;
  user-select: none !important;
  transition: all 0.3s ease !important;

  box-shadow: 
    0 4px 15px rgba(51, 153, 255, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 20px rgba(51, 153, 255, 0.2) !important;
}

/* حذف استایل‌های پیش‌فرض pre و p داخل دکمه */
#id-4366 pre,
#id-4366 p {
  all: unset !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  display: inline !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* استایل آیکون */
#id-4366 .btn-icon {
  font-size: 20px !important;
  vertical-align: middle !important;
  margin-left: 8px !important;
  transition: transform 0.3s ease !important;
}

/* افکت هاور */
#id-4366:hover {
  background: linear-gradient(135deg, #0052d4, #267ae6) !important;
  transform: translateY(-3px) !important;
  box-shadow: 
    0 8px 25px rgba(51, 153, 255, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 0 30px rgba(51, 153, 255, 0.3) !important;
}

#id-4366:hover .btn-icon {
  transform: translateX(3px) !important;
}

/* افکت فعال شدن */
#id-4366:active {
  transform: translateY(-1px) !important;
  box-shadow: 
    0 2px 10px rgba(51, 153, 255, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
}

/* جلوه درخشان ملایم */
#id-4366::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, 
    rgba(51, 153, 255, 0.6),
    rgba(51, 153, 255, 0.2),
    rgba(51, 153, 255, 0.6));
  border-radius: 50px;
  z-index: -1;
  opacity: 0.7;
  filter: blur(8px);
}

/* حالت موبایل */
@media (max-width: 768px) {
  #id-4366 {
    left: 20px !important;
    right: 20px !important;
    bottom: 20px !important;
    width: calc(100% - 40px) !important;
    font-size: 16px !important;
    border-radius: 24px !important;
    padding: 16px !important;
    justify-content: center !important;
  }
  
  #id-4366::before {
    border-radius: 26px;
  }
}





#id-4141 {
  background-color: rgb(20, 69, 123) !important;
  background-size: cover !important;
  background-attachment: scroll !important;
  min-height: 450px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 40px 15px !important;
  color: white !important;
  font-family: iranyekan, sans-serif !important;
}

#id-4141 .section-header {
  text-align: center !important;
  margin-bottom: 30px !important;
  color: white !important;
}

#id-4141 .box-title-header,
#id-4141 .section-title-header1 {
  margin: 0 !important;
  line-height: 1.2 !important;
  color: white !important;
}

#id-4141 .article-wrapper {
  display: flex !important;
  justify-content: center !important;
  gap: 20px !important;
  max-width: 1300px !important;
  width: 100% !important;
  flex-wrap: wrap !important;
}

#id-4141 .article-card-item {
  background-color: transparent !important;
  border-color: #f4f6f938 !important;
  color: white !important;
  width: 22.6% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1) !important;
  padding: 0 !important; /* حذف padding از کارت */
  height: 400px !important; /* افزایش ارتفاع کلی */
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  overflow: hidden !important; /* اضافه کردن overflow */
}

#id-4141 .article-header {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 0 !important; /* حذف margin */
  height: 180px !important; /* افزایش قابل توجه ارتفاع هدر */
  background-color: rgba(255, 255, 255, 0.1) !important; /* پس‌زمینه روشن برای هدر */
  overflow: hidden !important; /* اضافه کردن overflow */
}

#id-4141 .article-image {
  object-fit: cover !important; /* تغییر از contain به cover */
  width: 100% !important; /* عرض کامل */
  height: 100% !important; /* ارتفاع کامل */
  border-radius: 0 !important;
  padding: 0 !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}

#id-4141 .article-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important; /* تغییر به flex-start */
  text-align: center !important;
  color: white !important;
  overflow: hidden !important;
  padding: 20px 15px !important; /* اضافه کردن padding به محتوا */
  width: 100% !important;
}

#id-4141 .article-title {
  font-size: 20px !important; /* افزایش سایز فونت */
  font-family: ShabnamBold, sans-serif !important;
  color: white !important;
  margin: 10px 0px 15px 0px !important; /* تنظیم margin */
  line-height: 1.4 !important;
}

#id-4141 .article-description {
  width: 100% !important;
  overflow: hidden !important;
}

#id-4141 .article-description p {
  font-family: iranyekan, sans-serif !important;
  font-size: 15px !important;
  color: white !important;
  margin: 0 !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

#id-4141 .paragraph-services {
  font-family: iranyekan !important;
  font-size: 16px !important;
  color: #fff !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.6 !important;
}

#id-4141 .paragraph-icon-services {
  font-family: shabnam !important;
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 15px 0 0 0 !important;
  display: inline-block !important;
}

#id-4141 .paragraph-icon-services a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

#id-4141 .paragraph-icon-services a:hover {
  color: white !important;
}

#id-4141 .article-description pre {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  font-family: inherit !important;
  white-space: normal !important;
}

/* Hover Effects */
#id-4141 .article-card-item:hover {
  background-color: var(--color2) !important;
  box-shadow: 0 8px 24px rgba(20, 69, 123, 0.4) !important;
  transform: translateY(-6px) !important;
}

#id-4141 .article-card-item:hover .article-image {
  transform: scale(1.05) !important; /* تغییر افکت hover به زوم */
}

/* Responsive Design */
@media (max-width: 900px) {
  #id-4141 .article-card-item {
    width: 90% !important;
    height: auto !important;
    min-height: 350px !important;
    margin-bottom: 20px !important;
  }
  
  #id-4141 .article-header {
    height: 150px !important;
  }
  
  #id-4141 .article-image {
    width: 100% !important;
    height: 100% !important;
  }
}

