*{
    direction: rtl;
    box-sizing: border-box;
   }
body{
  background-color:#d6d3d3e8; 
} 
  

/* Top Bar Styles */
.org-chart-container {
    position: absolute;
    z-index: 10; /* پایین‌تر از منو */
    margin-top: -120px; /* این عدد را تغییر بده تا دقیقاً زیر منو قرار بگیرد */
    padding-bottom: 50px;
}
.top-bar {
  width: 100%;
  padding: 8px 0;
  color: #fa6908; /* طلایی */
  font-weight: bold;
  animation: colorChange 5s infinite alternate;
  font-size: 0.7rem; /* اندازه فونت اصلی */
  background-color: #ccc; /* بنفش تیره */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: flex; /* استفاده از Flexbox برای چیدمان */
  align-items: center; /* هم‌راستایی عمودی آیتم‌ها */
  justify-content: space-between; /* توزیع فضا بین آیتم‌ها */
  flex-wrap: wrap; /* اجازه شکستن خط در صورت نیاز */
  text-align: center; /* برای متنی که در وسط قرار می‌گیرد */
}

.top-bar .container-fluid {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 15px;
  padding-right: 15px;
}

/* لوگو */
.header-logo-container {
  display: flex; /* برای هم‌راستایی لوگو در صورت نیاز */
  align-items: center;
  flex-shrink: 0; /* جلوگیری از کوچک شدن لوگو */
}

.site-logo {
  height: 70px; /* اندازه لوگو */
  width: 100%;
  display: flex;
 border: 1px solid #e0e3eb;
border-radius: 3px
  
}

/* شعار */
.header-slogan {
  margin: 0;
  font-size: 1rem; /* کمی بزرگتر از بقیه */
  flex-grow: 1; /* اجازه می‌دهد شعار فضا را پر کند */
  margin: 0 15px; /* فاصله از لوگو و زبان */
  white-space: nowrap; /* جلوگیری از شکستن خط در دسکتاپ */
}

/* زبان‌ها */
.header-languages {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fad608;
  /* font-weight: bold; */
  transition: 0.3s;
}

.lang-link:hover {
  color: #fff;
}

.lang-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
}


.lang-link:hover {
  color: #fff; /* سفید در هاور */
}

.lang-link.active {
  color: #ffffff; /* سفید برای زبان فعال */
}

.lang-separator {
  color: rgba(255, 255, 255, 0.5);
}

/* انیمیشن */
@keyframes colorChange {
  0% { background-color: #ccc; } /* بنفش تیره */
  100% { background-color: #999; } /* بنفش عمیق */
}

/* Responsive Styles */
@media (max-width: 768px) { /* برای تبلت و کوچکتر */
  .top-bar {
    font-size: 0.9rem; /* کوچک کردن فونت */
    padding: 10px 0;
    justify-content: center; /* وسط چین کردن همه چیز */
  }
  .top-bar .container-fluid {
      flex-direction: column; /* آیتم‌ها زیر هم */
      align-items: center;
  }
  .header-logo-container {
      margin-bottom: 10px; /* فاصله زیر لوگو */
      order: 1; /* اول نمایش داده شود */
  }
  .header-slogan {
    font-size: 1rem; /* اندازه کوچکتر برای شعار */
    margin: 0 auto 10px auto; /* وسط چین کردن و فاصله */
    white-space: normal; /* اجازه شکستن خط */
    width: 100%;
    order: 2; /* دوم نمایش داده شود */
  }
  .header-languages {
    order: 3; /* سوم نمایش داده شود */
    margin-top: 5px;
  }
  .site-logo {
      height: 35px; /* کوچکتر کردن لوگو در موبایل */
  }
}

@media (max-width: 576px) { /* برای موبایل‌های کوچکتر */
  .top-bar {
    font-size: 0.85rem;
  }
  .header-slogan {
    font-size: 0.9rem;
  }
  .lang-separator {
    display: none; /* جداکننده را در موبایل کوچکتر حذف می‌کنیم */
  }
}


.dropdown-item{
    color: #000000;
     padding: 0.50rem 1.5rem;
     font-size: 0.8rem;
     transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.dropdown-item:hover {
  background-color: #fcb211b4;
  /* color: #999; */

}

.menu-item {
    color: #000 !important; /* رنگ متن لینک‌ها - سفید */
    font-size: 14px;
    padding: 5px 15px !important;
    position: relative;
    transition: 0.3s;
    /* text-shadow: 1px 1px 3px rgba(0,0,0,0.5); اضافه کردن سایه برای خوانایی */
}

.menu-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #fcb111; /* رنگ خط زیر منو */
    transition: all 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
    left: 0;
}

.menu-item:hover{
    color: #fcb111!important; /* رنگ متن هنگام هاور  */

}

/* تنظیمات منو */
/* استایل پایه منو */
.glass-navbar {
    transition: all 0.4s ease-in-out; /* برای نرم شدن تغییر رنگ و چسبیدن */
    background: transparent; /* در ابتدا شفاف باشد */
    border-bottom: 1px solid transparent;
}

/* استایل منو وقتی اسکرول شد (حالت شیشه‌ای خاکستری) */
.glass-navbar.scrolled {
    position: fixed; /* چسبیدن به بالا */
    top: 0;
    left: 0;
    right: 0;
    background: rgba(235, 235, 235, 0.7) !important; /* خاکستری بسیار ملایم و نیمه شفاف */
    backdrop-filter: blur(12px); /* افکت مات کردن پشت منو */
    -webkit-backdrop-filter: blur(12px); /* برای مرورگرهای سافاری */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* خط بسیار نازک برای زیبایی بیشتر */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* سایه ملایم زیر منو */
    padding: 5px 0; /* کمی جمع و جورتر شدن منو هنگام اسکرول */
}

/* اصلاح نمایش آیتم‌های منو در حالت شیشه‌ای */
.glass-navbar.scrolled .nav-link {
    color: #333 !important; /* رنگ متن‌ها در حالت خاکستری تیره شود تا خوانا باشد */
}

/* اگر می‌خواهی در موبایل هم همین حالت باشد، این را هم اضافه کن */
@media (max-width: 991px) {
    .glass-navbar.scrolled {
        background: rgba(235, 235, 235, 0.95) !important; /* در موبایل کمی پررنگ‌تر برای خوانایی بهتر */
    }
}
/* تراز کردن دکمه ذره‌بین در دسکتاپ */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center; /* تراز عمودی با لینک‌ها */
    }
    
    .navbar-nav {
        margin-left: auto; /* این باعث می‌شود لینک‌ها به سمت راست بروند و ذره‌بین در نهایت‌ترین نقطه سمت چپ (یا راست در RTL) باشد */
    }
}

/* استایل دکمه ذره‌بین برای حذف حاشیه‌های اضافی */
.btn.text-primary.p-0 {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
}

/* برای اینکه در حالت موبایل، ذره‌بین زیر منو قرار نگیرد یا خیلی به لینک‌ها نچسبد */
@media (max-width: 991px) {
    .ms-auto {
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
        text-align: left; /* یا right بسته به جهت سایت شما */
    }
}

/* استایل منو برای شفافیت */

.navbar { /* یا هر کلاسی که برای منو استفاده می‌کنی، مثل .main-nav */

    width: 100%;
    background-color: transparent !important; /* کلید شفافیت */
    z-index: 10; /* باید بالاتر از لایه‌های دیگه باشه */
    padding: 15px 0; /* تنظیم فاصله بالایی و پایینی */
    transition: background-color 0.3s ease; /* برای تغییر رنگ در صورت اسکرول */
}
.dropdown-menu{
    background-color: #ccc;
}
/* اگر می‌خوای لینک‌ها و لوگوی منو هم رنگ مناسب داشته باشن */
.navbar a, .navbar .navbar-brand {
    color: #000 !important; /* رنگ سفید برای خوانایی روی پس‌زمینه تیره */
    text-shadow: 1px 1px 3px rgba(255,255,255,0.5); /* سایه برای خوانایی بهتر */
}

/* اگر دکمه همبرگری داری */
.navbar .navbar-toggler-icon {
    background-color: #ccc; 
}

/* برای رنگ کردن خود دکمه‌ها */
.navbar-dark .navbar-toggler {
    color: white !important;
    border-color: white;
}


/* بخش هدر (اسلایدشو) */
.hero-section {
    position: relative;
    height: 500px;              /* ارتفاع حدود 600 پیکسل */
    overflow: hidden;
}

/* عکس‌های اسلایدشو */
.hero-img {
    height: 500px;
    object-fit: cover;          /* برش مناسب تصویر برای پر کردن عرض */
}

/* لایه‌ی تیره شیشه‌ای روی عکس (مثل شیشه سکوریتی) */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.80);   /* تیرگی زیاد */
    backdrop-filter: blur(2px);       /* کمی حالت شیشه‌ای */
    z-index: 1;
}

/* تنظیم لایه‌ها: اسلایدشو زیر، منو و محتوا روی آن */
.hero-section .carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}


/* انیمیشن ورود از پایین */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* اعمال انیمیشن روی کارت‌ها */
.custom-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  

  /* انیمیشن ورود */
  animation: slideUp 0.9s ease-out forwards;
  opacity: 0; /* برای شروع انیمیشن */
}
@keyframes cc {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* افکت هاور */
.custom-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  animation: cc 0.5s ease-out forwards;
}

/* بقیه استایل‌ها */


.card-icon {
  font-size: 2.5rem;
  color: #fcb111;
  margin-bottom: 10px;
}

.card-link {
  text-decoration: none;
}

.card-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.card-text {
  font-size: 0.8rem;
  line-height: 1.6;
}
/* آیکن شناور */
#chat-icon {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #b084f7, #6a3fbf);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(176, 132, 247, 0.6);
  animation: float 3s infinite ease-in-out;
  z-index: 9999;
}

/* انیمیشن شناور */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.infografic{
  width: 80%;
  height: 400px;
  margin: 5px auto;
  
}
.infografic img{
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.vdo{
   /* width: 80%;
  height:50vh; */
  margin: 8px auto;
  border-radius: 8px;

}
.vdo video{
  width: 80%;
  height: 100%;
  /* padding: 5px; */
  border-radius: 12px;
}
.text-center{
  color: #fff;
font-size: 1rem;
}
/* اسکرول نرم برای کل صفحه */
html {
    scroll-behavior: smooth;
}

/* کانتینر اصلی */
.team-container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    
}

.team-content {
    display: flex; /* ایجاد دو ستون */
    height: 400px; /* ارتفاع درخواستی تو */
    gap: 40px;
    
   
}

/* ستون سمت چپ (اعضا) */
.team-members {
    flex: 2; /* سهم بیشتر برای اعضا */
    overflow-y: auto; /* اگر ۹ نفر زیاد بودند، داخل خودش اسکرول بخورد */
    padding-right: 10px;
    padding-top: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
}

/* .section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
} */

/* شبکه عکس‌ها (۳ تایی) */
.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ۳ ستون مساوی */
    gap: 10px;
    text-align: center;
}

.member-item p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

/* دایره کردن عکس‌ها */
/* استایل اصلی دایره عضو */
.member-photo {
    position: relative; /* بسیار مهم برای قرار دادن هاله در زیر عکس */
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: visible; /* تغییر از hidden به visible تا هاله بیرون بزند */
    margin: 0 auto;
    /* border: 3px solid #e8e1e1; */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* ایجاد لایه هاله درخشان (The Glow) */
.member-photo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 100%;
    height: 100%;
    background: #e8e1e1; /* رنگ هاله (همان رنگ برند) */
    border-radius: 50%;
    opacity: 0; /* در حالت عادی نامرئی است */
    transition: all 0.5s ease;
    z-index: -1; /* هاله پشت عکس قرار می‌گیرد */
    filter: blur(15px); /* ایجاد حالت مات و درخشان */
}

/* افکت هاور (وقتی موس روی عکس می‌رود) */
.member-photo:hover {
    transform: scale(1.15); /* بزرگ شدن خود دایره */
    border-color: #fff; /* رنگ حاشیه سفید شود تا درخشش بهتر دیده شود */
    box-shadow: 0 0 20px #e8e1e1; /* سایه اصلی */
}

/* فعال شدن هاله در هنگام هاور */
.member-photo:hover::before {
    opacity: 0.7; /* هاله ظاهر می‌شود */
    transform: translate(-50%, -50%) scale(1.2); /* هاله کمی بزرگتر از خود عکس می‌شود */
}

/* استایل عکس داخل دایره */
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* حتماً عکس هم باید دایره باشد */
    display: block;
    transition: transform 0.5s ease;
}

/* زوم شدن خودِ عکس داخل دایره */
.member-photo:hover img {
    transform: scale(1.1);
}



/* ستون سمت راست (اعتماد) */
.trust-box {
    flex: 2; /* سهم کمتر برای متن */
    /* background-color: #78818a75; */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    /* display: flex; */
    flex-direction: column;
    justify-content: center; /* متن وسط قرار بگیرد */
    height: 100%;
}

.trust-box h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 22px;
}

.trust-box p {
    line-height: 1.8;
    color: #fff;
    font-size: 16px;
    text-align: justify;
}

/* ریسپانسیو برای موبایل (اگر صفحه کوچک شد) */
@media (max-width: 768px) {
    .team-content {
        flex-direction: column;
        height: auto;
    }
    .members-grid {
        grid-template-columns: repeat(2, 1fr); /* در موبایل ۲ تایی نشان بده */
    }
}

.faq-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    direction: rtl;
}

.faq-item {
    background: #e8e1e1;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* مخفی کردن مثلث پیش‌فرض */
    position: relative;
    outline: none;
}

/* اضافه کردن آیکون اختصاصی (مثلث کوچک) */
.faq-item summary::after {
    content: '+';
    position: absolute;
    left: 20px;
    font-size: 1.5rem;
    color: #007bff;
}

.faq-item[open] summary::after {
    content: '-'; /* تغییر به منها هنگام باز شدن */
}

.faq-item p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #555;
    line-height: 1.7;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* افکت هاور */
.faq-item:hover {
    border-color: #007bff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
/* بخش اخبار */
.news-section {
    padding: 60px 0;
    /* background-color: #f8f9fa;  */
}
.title{
   text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
}


/* کارت خبر */
.swiper-wrapper{
    background-color: #ece9e957;
    
}
.news-card {
    background: #cfcaca;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 10px; /* برای فاصله از pagination */
}

.news-card:hover {
    transform: translateY(-10px); /* حرکت به بالا هنگام هاور */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* جلوگیری از دفرمه شدن عکس */
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1); /* زوم شدن ملایم عکس */
}

.news-content {
    padding: 10px;
    text-align: center;
}

.news-title {
  height: 50px;
    font-size: 1rem;
    color: #333;
    line-height: 1.3;
    margin: 0;
    /* محدود کردن عنوان به دو خط برای نظم ظاهر */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* شخصی‌سازی دکمه‌های Swiper */
.swiper-button-next, .swiper-button-prev {
    color: #007bff !important;
    background: rgba(255, 255, 255, 0.8);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: #007bff !important;
}

/* Support Page Styles */
.support-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/support-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.search-box input {
    width: 100%;
    max-width: 500px;
    padding: 15px 25px;
    border-radius: 30px;
    border: none;
    margin-top: 20px;
    outline: none;
}

.support-container {
    padding: 60px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* دو ستون مساوی */
    gap: 40px;
}

/* FAQ Styling */
.faq-accordion details {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-accordion summary {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    transition: background 0.3s;
}

.faq-accordion summary:hover {
    background: #f0f7ff;
}

.details-content {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.8;
}

/* Form Styling */
.ticket-section {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0,123,255,0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 992px) {
    .support-grid {
        grid-template-columns: 1fr; /* در موبایل و تبلت زیر هم بیایند */
    }
}

.map-wrapper {
    display: flex;
    gap: 2rem;
    padding: 20px;
}

.map-section {
    position: relative;
    width: 600px;
}

#iran-map {
    width: 100%;
    height: auto;
}

/* استان‌ها */
.province {
    fill: #dce9ff;
    stroke: #1b3a57;
    stroke-width: 1;
    cursor: pointer;
    transition: 0.3s;
}

.province:hover {
    fill: #4a90e2;
}

.province.active {
    fill: #ffcc66;
}

/* پین‌پوینت */
.pin-point {
    position: absolute;
    width: 14px;
    height: 14px;
    background: red;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* لیست */
.list-section {
    min-width: 220px;
}

.city-card {
    padding: 0.6rem;
    background: #f5f5f5;
    margin-bottom: 0.4rem;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.city-card.active {
    background: #ffe9b3;
}
 /* خطوط انیمیشنی */
.animated-title {
    color: #f1a706;
    font-size: 1.4rem;
    margin:20px 50px;
    position: relative;
    padding-bottom: 18px;
    display: inline-block;
    
}

/* ایجاد خط خاکستری ثابت */
.animated-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* برای سایت‌های فارسی از راست شروع شود */
    width: 150px; /* طول خط را هرچقدر دوست داشتی تغییر بده */
    height: 4px;
    background-color: #334155; /* رنگ خاکستری تیره برای خط */
    border-radius: 2px;
    overflow: hidden; /* بسیار مهم: برای اینکه نقطه نورانی از خط بیرون نزند */
}

/* ایجاد آن نقطه نورانی متحرک */
.animated-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px; /* باید با عرض خط ::before یکی باشد */
    height: 4px;
    /* ایجاد یک گرادینت که یک نقطه روشن در وسط آن است */
    background: linear-gradient(
        to right, 
        transparent 0%, 
        transparent 40%, 
        #f97316 50%, /* رنگ نارنجی نقطه نورانی */
        transparent 60%, 
        transparent 100%
    );
    background-size: 200% 100%; /* برای اینکه فضای حرکت داشته باشد */
    z-index: 2;
    animation: moveLight 2s linear infinite; /* اجرای دائمی انیمیشن */
}

/* تعریف حرکت نقطه نورانی */
@keyframes moveLight {
    0% {
        background-position: 200% 0%;
    }
    100% {
        background-position: -200% 0%;
    }
}
/* ۱. تنظیمات اصلی فوتر و لایه‌ها */
.footer-global {
    position: relative;
    width: 100%;
    padding: 60px 0 20px;
    background-color: #0f172aad; /* پس‌زمینه تیره */
    overflow: hidden;
    color: #e2e8f0;
}

/* لایه نقشه */
.footer-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/map.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* لایه شیشه‌ای خاکستری روی نقشه */
.footer-global::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8); /* خاکستری تیره شفاف */
    /* backdrop-filter: blur(4px); مات کردن ملایم نقشه */
    z-index: 2;
}

/* کانتینر اصلی محتوا */
.footer-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 220px;
    margin-bottom: 30px;
    padding: 0 15px;
}
/* نسخه نجات‌بخش - فقط برای تست حرکت */
.footer-column h3 {
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 10px !important;
    color: white !important;
}

/* خط پایه خاکستری */
.footer-column h3::before {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 100px !important;
    height: 3px !important;
    background: #000 !important;
    z-index: 1 !important;
}

/* نقطه نارنجی که باید حرکت کند */
.footer-column h3::after {
 content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px; /* باید با عرض خط ::before یکی باشد */
    height: 4px;
    /* ایجاد یک گرادینت که یک نقطه روشن در وسط آن است */
    background: linear-gradient(
        to right, 
        transparent 0%, 
        transparent 40%, 
        #f97316 50%, /* رنگ نارنجی نقطه نورانی */
        transparent 60%, 
        transparent 100%
    );
    background-size: 200% 100%; /* برای اینکه فضای حرکت داشته باشد */
    z-index: 2;
    animation: moveLight 2s linear infinite; /* اجرای دائمی انیمیشن */
}

@keyframes simpleMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50px); }
}


/* انیمیشن سریع‌تر برای تست راحت‌تر */
@keyframes moveLightNowFast {
    0% {
        background-position: 200% 0%;
    }
    100% {
        background-position: -200% 0%;
    }
}


/* ۳. استایل لینک‌ها و متن‌ها */
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a {
    color: #94a3b8 !important; /* خاکستری روشن برای متن‌ها */
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}
.footer-column ul li a:hover { 
    color: #f97316 !important; /* نارنجی هنگام هاور */
    transform: translateX(-5px); /* حرکت کوچک به سمت چپ در هاور */
}

.footer-column p { color: #94a3b8 !important; font-size: 0.9rem; }

/* آیکون‌ها و نمادها */
.social-icons { display: flex; gap: 15px; margin-top: 15px; }
.social-icons a { color: #94a3b8; font-size: 1.4rem; transition: 0.3s; }
.social-icons a:hover { color: #f97316; transform: translateY(-3px); }

.trust-symbols img {
    width: 65px;
    margin-left: 10px;
    filter: grayscale(100%) brightness(0.8);
    transition: 0.3s;
}
.trust-symbols img:hover { filter: grayscale(0%) brightness(1); }

/* ۴. بخش کپی‌رایت */
.footer-content {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #64748b;
}

.reference-links a {
    color: #64748b;
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}
.reference-links a:hover { color: #f97316; }

/* ۵. واکنش‌گرایی (Responsive) */
@media (max-width: 768px) {
    .footer-container { flex-direction: column; text-align: center; }
    .footer-column h3::before, .footer-column h3::after {
        right: 50% !important;
        transform: translateX(50%) !important;
    }
    .social-icons, .trust-symbols { justify-content: center; }
}
/* معرفی اعضا */
/* کانتینر اصلی برای مدیریت انیمیشن‌های پشت سر هم */
/* ظرف نگهدارنده اصلی */
.team-pop-container {
    opacity: 0; 
    transform: translateY(30px);
    animation: fadeInUpCustom 0.8s forwards;
}

/* ایجاد تاخیر برای انیمیشن */
.team-pop-container:nth-child(1) { animation-delay: 0.2s; }
.team-pop-container:nth-child(2) { animation-delay: 0.5s; }
.team-pop-container:nth-child(3) { animation-delay: 0.8s; }
.team-pop-container:nth-child(4) { animation-delay: 1.1s; }

/* کارت اصلی - اصلاح شده برای ریسپانسیو */
.pop-card {
    width: 100%; /* بجای 250px، حالا تمام عرض ستون را می‌گیرد */
    max-width: 280px; /* یک سقف برای عرض در دسکتاپ تعیین می‌کنیم تا خیلی بزرگ نشود */
    height: 180px;
    background: #dad4d4;
    border-radius: 20px;
    position: relative;
    margin: 50px auto 20px; /* افزایش مارجین بالا برای فضای عکس */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 15px;
    z-index: 1;
}

/* ظرف نگهدارنده عکس - اصلاح شده */
.pop-img-wrapper {
    position: absolute;
    top: -70px; /* کمی بالاتر برای زیبایی */
    width: 140px; /* عرض عکس در حالت عادی */
    height: 140px;
    z-index: 2;
    display: flex;
    justify-content: center;
}

/* عکس - اصلاح شده */
.pop-img {
    width: 100%; /* تمام عرض ظرف را می‌گیرد */
    height: 100%;
    object-fit: cover;
    border-radius: 50%; 
    border: 4px solid #ee9c05;
    padding: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* بخش متن */
.pop-info {
    text-align: center;
    width: 100%;
    padding: 0 10px;
}

.pop-info h4 {
    font-size: 1rem;
    margin: 0;
    color: #333;
    white-space: nowrap; /* جلوگیری از شکستن خط در نام‌های طولانی */
    overflow: hidden;
    text-overflow: ellipsis; /* اگر نام خیلی طولانی بود، سه نقطه بخورد */
}

.pop-info p {
    font-size: 0.75rem;
    color: #ffae00;
    margin: 5px 0 0;
}

/* --- بخش جادویی: تنظیمات مخصوص موبایل --- */
@media (max-width: 768px) {
    .pop-card {
        height: 150px; /* کمی کوتاه‌تر در موبایل */
        margin-top: 60px;
    }

    .pop-img-wrapper {
        width: 110px; /* عکس در موبایل کمی کوچک‌تر شود تا فضا باز شود */
        height: 110px;
        top: -60px;
    }

    .pop-info h4 {
        font-size: 0.9rem;
    }
}

/* انیمیشن ورود */
@keyframes fadeInUpCustom {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* اصلاح کلاس pop برای هماهنگی با بقیه کارت‌ها */
.pop {
    width: 100%; /* حالا مثل بقیه کارت‌ها منعطف است */
    max-width: 280px;
    height: 180px; /* هماهنگ با ارتفاع pop-card */
    background: #fa6908; /* همان رنگ نارنجی خودت */
    border-radius: 20px;
    position: relative;
    margin: 50px auto 20px; /* هماهنگ با margin بقیه کارت‌ها */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 15px;
    z-index: 1;
}

/* اصلاح لینک داخل کارت */
.pop-info h4 a {
    text-decoration: none;
    font-size: 1rem; /* هماهنگ با فونت بقیه نام‌ها */
    font-weight: bold;
    margin: 0;
    color: #333;
    transition: color 0.3s ease; /* برای اینکه وقتی موس روی آن می‌رود نرم تغییر کند */
}

/* افکت وقتی موس روی لینک می‌رود (اختیاری اما برای زیبایی) */
.pop-info h4 a:hover {
    color: #fff; 
}

/* تنظیمات ریسپانسیو برای این کارت در موبایل */
@media (max-width: 768px) {
    .pop {
        height: 150px; /* هماهنگ با ارتفاع کارت‌های دیگر در موبایل */
        margin-top: 60px;
    }
    
    .pop-info h4 a {
        font-size: 0.9rem; /* کوچک‌تر شدن فونت در موبایل */
    }
}
