@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSans_Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSans.ttf") format("truetype");
  font-weight: 400; /* حالت معمولی */
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSans_Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSans_Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSans_Black.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@import url(fontiran.html);

body {
  direction: rtl;

  font-family: "IranSansFaNum";

  font-size: 10px;

  color: #000000;
  text-decoration: none;
}

/*body*/

body {
  font-family: "IRANSans";

  margin: 0;

  padding: 0;

  background-color: #f8fbfc;

  display: flex;

  flex-direction: column;

  align-items: center;

  direction: rtl;

  overflow-y: auto;
}
html,
body {
  height: 100%;

  margin: 0;

  padding: 0;

  display: flex;

  flex-direction: column;

  direction: rtl;

  overflow-y: right;
}
html {
  -webkit-text-size-adjust: 100%;
}
* ::after,
::before {
  box-sizing: border-box;
}
a:hover {
  text-decoration: none;
}
/*article*/
article {
  display: flex;

  width: 100%;

  max-width: 100%;

  min-width: unset;

  padding: 1rem;

  box-sizing: border-box;

  flex-direction: column;

  align-items: center;

  text-align: center;
}
/*بنر ها*/
.banner {
  width: 100vw;

  height: auto;

  max-width: 100vw;

  max-height: 90vh;

  object-fit: contain;
  /* جلوگیری از بریده شدن */
  display: block;

  margin: 0 auto;
}
.desktop-banner {
  display: none;
  /* پیش‌فرض: مخفی کردن بنر */
}

@media (min-width: 768px) {
  .desktop-banner {
    display: block;
    /* نمایش بنر در صفحه‌نمایش‌های بزرگتر از 768px */
  }
}

/*ریسپانسیو بنرها*/
/* بزرگ */
@media (max-width: 500px) {
}
/* متوسط */
@media (max-width: 1100px) and (min-width: 769px) {
}
/* کوچک و موبایل*/
@media (max-width: 768px) {
}
/*صفحه خانه*/
.indexar {
  padding: 0;

  margin: 0;

  width: 100vw;

  max-width: 100vw;

  box-sizing: border-box;

  display: flex;

  flex-direction: column;

  align-items: center;
}

/*کارت صندوق ها*/
.fund-title-a {
  font-size: 2rem;

  font-weight: bold;

  text-align: right;

  margin-top: 5rem;

  margin-bottom: 2.5rem;

  color: #1a4d7c !important;

  display: inline-block;

  padding-bottom: 0;

  direction: rtl;

  unicode-bidi: isolate;

  padding-top: 4rem;
}
.fund-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 2rem;
  box-sizing: border-box;
}
.fund-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0rem 1rem;
  box-sizing: border-box;
  margin: 3rem;
}

/* تبلت */
@media (max-width: 1024px) {
  .fund-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* موبایل */
@media (max-width: 600px) {
  .fund-grid {
    grid-template-columns: 1fr;
  }
}
.fund-card {
  width: 100%;

  box-sizing: border-box;

  background: #f8fbfc;

  border: 0.25rem solid #1a4d7c;

  flex-direction: column;

  transition: all 0.3s ease-in-out;

  font-family: "IranSans", sans-serif;

  background-color: var(--white-color);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fund-card:hover {
  transform: translateY(-2px);

  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
}
.fund-card-header {
  display: flex;

  justify-content: space-between;

  align-items: center;
}
.fund-card-title {
  display: flex;

  align-items: center;

  gap: 8px;
}
.fund-cards-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  padding: 2rem;

  justify-items: center;
}
.fund-name {
  font-size: 2rem;

  font-weight: 400;

  color: #1a4d7c;
}
.fund-logo {
  width: 7rem;
  height: auto;
}
.fund-badge {
  background: #41658761;

  border-radius: 10px;

  font-size: 2rem;

  color: #091b2c;

  font-weight: 800;

  align-items: center;

  padding: 0.5rem;

  margin-right: 0.2rem;

  font-weight: bold;
}
.fund-divider {
  height: 1px;

  width: 100%;

  background-color: #ced2dd;

  margin: 16px 0;
}
.fund-card-body {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 8px;

  line-height: 2rem;
}
.fund-return-rate {
  display: flex;

  align-items: center;

  color: #1a4d7c;

  gap: 4px;
}
.fund-start-time {
  display: flex;

  align-items: center;

  font-size: 18px;

  font-weight: bold;

  color: #1a4d7c;

  gap: 4px;
}
.fund-rate-label,
.fund-rate-value {
  font-weight: bold;
}
.fund-rate-label,
.fund-rate-value,
.fund-time,
.fund-start {
  font-size: 2rem;
  color: #1a4d7c;
}
.fund-aum {
  font-size: 1.5rem;
  color: #1a4d7c;
}
/*ریسپانسیو کارت صندوق ها*/
/* بزرگ */
@media (max-width: 600px) {
  .fund-title-a {
    font-size: 2rem;

    font-weight: bold;

    text-align: right;

    margin-top: 5rem;

    margin-bottom: 2.5rem;

    color: #1a4d7c !important;

    display: inline-block;

    padding-bottom: 0;

    direction: rtl;

    unicode-bidi: isolate;

    padding-top: 4rem;

    font-family: "IranSans", sans-serif;
  }
  .fund-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    box-sizing: border-box;
  }
  .fund-card {
    background: #f8fbfc;

    border: 0.25rem solid #1a4d7c;

    border-radius: 2.5rem;

    padding: 3rem;

    display: flex;

    flex-direction: column;

    transition: all 0.3s ease-in-out;

    font-family: "IranSans", sans-serif;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  .fund-name {
    font-size: 1.8rem;

    font-weight: 600;

    color: #1a4d7c;
  }
  .fund-logo {
    width: 5rem;
    height: auto;
  }
  .fund-badge {
    background: #41658761;

    border-radius: 10px;

    font-size: 1rem;

    color: #091b2c;

    font-weight: 400;

    align-items: center;

    padding: 0.75rem;
  }
  .fund-rate-label,
  .fund-rate-value,
  .fund-time,
  .fund-start {
    font-size: 1.5rem;

    color: #1a4d7c;
  }
}
@media (min-width: 599px) {
  .fund-title-a {
    font-size: 2.5rem;

    font-weight: bold;

    text-align: right;

    margin-top: 8rem;

    margin-bottom: 2.5rem;

    color: #1a4d7c !important;

    display: inline-block;

    padding-bottom: 0;

    direction: rtl;

    unicode-bidi: isolate;

    padding-top: 4rem;

    font-family: "IranSans", sans-serif;
  }
  .fund-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    box-sizing: border-box;
  }
  .fund-card {
    background: #f8fbfc;

    border: 0.25rem solid #1a4d7c;

    border-radius: 2.5rem;

    padding: 3rem;

    display: flex;

    flex-direction: column;

    transition: all 0.3s ease-in-out;

    font-family: "IranSans", sans-serif;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  .fund-name {
    font-size: 1.8rem;

    font-weight: 600;

    color: #1a4d7c;
  }
  .fund-logo {
    width: 5rem;
    height: 5rem;
  }
  .fund-badge {
    background: #41658761;

    border-radius: 10px;

    font-size: 1.25rem;

    color: #091b2c;

    font-weight: 400;

    align-items: center;

    padding: 0.5rem;
  }
  .fund-rate-label,
  .fund-rate-value,
  .fund-time,
  .fund-start {
    font-size: 1.5rem;

    color: #1a4d7c;
  }
}
/* متوسط 175 به بعد*/
@media (max-width: 1100px) and (min-width: 769px) {
  .fund-title-a {
    font-size: 2rem;
    text-align: right;
    margin-top: 5rem;
    margin-bottom: 2.5rem;
    color: #1a4d7c !important;
    display: inline-block;
    padding-bottom: 0;
    direction: rtl;
    unicode-bidi: isolate;
    font-family: "IranSans", sans-serif;
  }
  .fund-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    box-sizing: border-box;
  }
  .fund-card {
    background: #f8fbfc;

    border: 0.25rem solid #1a4d7c;

    border-radius: 2.5rem;

    padding: 3rem;

    display: flex;

    flex-direction: column;

    transition: all 0.3s ease-in-out;

    font-family: "IranSans", sans-serif;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  .fund-name {
    font-size: 1.8rem;

    font-weight: 600;

    color: #1a4d7c;
  }
  .fund-logo {
    width: 5rem;

    height: auto;
  }
  .fund-badge {
    background: #41658761;

    border-radius: 10px;

    font-size: 1rem;

    color: #091b2c;

    font-weight: 400;

    align-items: center;

    padding: 0.75rem;
  }
  .fund-rate-label,
  .fund-rate-value,
  .fund-time,
  .fund-start {
    font-size: 1.5rem;

    color: #1a4d7c;
  }
}
/* کوچک و موبایل*/
@media (max-width: 768px) {
  .fund-title-a {
    font-size: 1.75rem;

    font-weight: bold;

    text-align: center;

    margin-top: 3rem;

    margin-bottom: 1.5rem;

    color: #1a4d7c !important;

    display: inline-block;

    padding-bottom: 0;

    direction: rtl;

    unicode-bidi: isolate;

    font-family: "IranSans", sans-serif;
  }
  .fund-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    box-sizing: border-box;
  }
  .fund-card {
    background: #f8fbfc;

    border: 0.25rem solid #1a4d7c;

    border-radius: 2.5rem;

    padding: 2rem;

    padding-top: 3rem;

    padding-bottom: 3rem;

    display: flex;

    flex-direction: column;

    transition: all 0.3s ease-in-out;

    font-family: "IranSans", sans-serif;

    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  .fund-name {
    font-size: 1.5rem;

    font-weight: 600;

    color: #1a4d7c;
  }
  .fund-logo {
    width: 5rem;

    height: auto;
  }
  .fund-badge {
    background: #41658761;

    border-radius: 10px;

    font-size: 1rem;

    font-weight: 600;

    color: #091b2c;

    align-items: center;

    padding: 0.75rem;
  }
  .fund-rate-label,
  .fund-rate-value,
  .fund-time,
  .fund-start {
    font-size: 1.5rem;

    color: #1a4d7c;
  }
}

/*متن درباره ما*/
.para1,
.para2 {
  color: #000000;

  font-size: 2rem;

  font-weight: 300;

  line-height: 2;

  max-width: 1700px;

  padding-top: 0;

  padding-bottom: 0;
}
.matn {
  font-size: 2rem;
  line-height: 2;
  text-align: justify;
  margin: 0 auto;
  max-width: 1500px;
  padding: 2rem 2rem;
}
.matnn {
  font-size: 22px;
  line-height: 2;
  text-align: right;
  max-width: 1500px;
  font-weight: bold;
}
.section-title-c {
  font-size: 2.75rem;

  text-align: center;

  padding: 1rem;

  margin-top: 5rem;

  font-weight: bold;

  white-space: nowrap;

  color: #1a4c7c;
}
.section-title-c .nama {
  color: #888;

  font-size: 1.5rem;
}
/*کارت معرفی اعضا*/

/* کارت اصلی مثل کارت جدول */

.details.toggle-slide {
  display: none;
  margin-top: 10px;
  gap: 14px; /* فاصله بین کارت‌ها */
  grid-template-columns: repeat(3, 1fr);
}
.details.toggle-slide.active {
  display: grid;
}
/* واکنش‌گرا: تبلت ۲تایی */
@media (max-width: 10px) {
  .details.toggle-slide.active {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* موبایل ۱تایی */
@media (max-width: 576px) {
  .details.toggle-slide.active {
    grid-template-columns: 1fr;
  }
}
.card {
  max-width: 1500px;
  margin: 18px auto 22px;
  padding: 16px;
  background: linear-gradient(
    180deg,
    rgba(26, 77, 124, 0.06),
    rgba(26, 77, 124, 0)
  );
  border: 1px solid rgba(26, 77, 124, 0.18);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

/* هدر کارت: سرمه‌ای با خط زرد */

.card {
  max-width: 1500px;
  margin: 18px auto 22px;
  padding: 16px;
  background: linear-gradient(
    180deg,
    rgba(26, 77, 124, 0.06),
    rgba(26, 77, 124, 0)
  );
  border: 1px solid rgba(26, 77, 124, 0.18);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.card .header {
  background: #1a4d7c;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border-bottom: 3px solid #fdef11;
}

/* تیترهای آکاردئون (section) شبیه ردیف‌های جدول */

.section {
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(26, 77, 124, 0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 330px;
  color: #1a4d7c;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    transform 0.08s ease;
}

.section:hover {
  background: rgba(253, 239, 17, 0.22);
  border-color: rgba(26, 77, 124, 0.26);
}

/* فلش */
.section .arrow {
  color: #1a4d7c;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  margin-top: 20px;
}

/* محتوای هر بخش */
.details {
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid rgba(26, 77, 124, 0.18);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* کارت هر عضو (تمیز و سازمانی مثل جدول) */
.members {
  background: #ffffff;
  border: 1px solid rgba(26, 77, 124, 0.18);
  border-radius: 14px;
  padding: 12px;
  margin: 20px 0px;
  display: flex;
  align-items: center;
  gap: 12px;

  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.08s ease;
}

.members:hover {
  background: rgba(253, 239, 17, 0.14);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

/* عکس: قاب سرمه‌ای + تاکید زرد */
.photo-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 100px;
  object-fit: cover;
  background: #f8fafc;
  border: 2px solid #1a4d7c;
  flex: 0 0 auto;
}

/* اسم: سرمه‌ای بولد */
.members .name {
  margin: 0;
  color: #1a4d7c;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.6;
}

/* ریسپانسیو */
@media (max-width: 920px) {
  .details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  article {
    padding: 12px;
  }
  .card {
    padding: 12px;
  }
  .details {
    grid-template-columns: 1fr;
  }
  .section {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid rgba(26, 77, 124, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #1a4d7c;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    transition: background-color 0.2s ease, border-color 0.2s ease,
      transform 0.08s ease;
  }
}

/* =========================
     Toggle slide (با JS)
  ========================= */
.toggle-slide.active {
  max-height: 1600px;
  opacity: 1;
  padding: 12px;
  margin-top: 10px;
  border: 1px solid rgba(26, 77, 124, 0.18);
  border-radius: 14px;
  background: #ffffff;
}

/* وقتی details داخل toggle-slide است */
.toggle-slide .details {
  margin-top: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

/* =========================
   Modal (تمیز و برند-محور)
========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 9999;
  padding: 18px;
}

.modal-content {
  max-width: 780px;
  margin: 40px auto;
  background: #ffffff;
  border: 1px solid rgba(26, 77, 124, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.25);
  padding: 16px;
  position: relative;
}

.modal-content h3 {
  margin: 0 0 12px;
  padding: 10px 12px;
  color: #1a4d7c;
  border-bottom: 3px solid #fdef11;
  font-weight: 950;
  font-size: 18px;
  margin-left: 40px;
}

.modal-content p {
  margin: 8px 0;
  color: #0f172a;
  line-height: 1.9;
}

.modal-content strong {
  color: #1a4d7c;
}

.modal-content ul {
  margin: 8px 0 10px;
  padding: 0 18px 0 0;
  line-height: 1.9;
}

.modal-content li {
  margin: 4px 20px;
}

.modal .close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #1a4d7c;
  font-size: 25px;
  line-height: 1;
}

.modal .close:hover {
  transform: scale(1.04);
  filter: brightness(0.98);
}
@media (max-width: 920px) {
  .details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  article {
    padding: 12px;
  }

  .card {
    padding: 12px;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .members {
    padding: 10px;
  }

  .section {
    padding: 12px 14px;
  }
}
@media (min-width: 560px) and (max-width: 768px) {
  .section {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid rgba(26, 77, 124, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #1a4d7c;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    transition: background-color 0.2s ease, border-color 0.2s ease,
      transform 0.08s ease;
  }
  .details.toggle-slide.active {
    grid-template-columns: 1fr;
  }
}

/*اطلاعات حساب بانکی*/
.bank-info-card {
  font-size: 3rem;

  font-weight: bold;

  text-align: center;

  margin-top: 4rem;

  margin-bottom: 5rem;

  color: #0d2f4e !important;

  display: inline-block;

  padding-bottom: 0.5rem;

  unicode-bidi: isolate;
}
.bank-info {
  width: 100%;

  max-width: 600px;

  margin: 20px auto;

  text-align: center;

  font-family: "IRANsans";

  line-height: 3rem;
}
.bank-info h2 {
  font-size: 2rem;

  color: #001f4d;

  margin-bottom: 1.5rem;
}
.bank-card {
  background: #f8fbfc;

  border: 3px solid #fdef11;

  border-radius: 20px;

  padding: 1.5rem 2rem;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}
.bank-row {
  font-family: "IRANSans";

  font-size: 1.5rem;

  margin: 0.6rem 0;

  color: #333;

  text-align: center;

  display: flex;

  justify-content: space-between;

  border-bottom: 1px dashed #f8fbfc;
  padding-bottom: 5px;
}
.bank-row span {
  color: #001f4d;

  font-weight: bold;
}
.no-bullets {
  list-style-type: none;

  display: grid;

  align-items: right;

  justify-content: right;

  font-size: 1rem;

  padding-right: 0;
}
/*ریسپانسیودرباره ما*/
/* بزرگ */
@media (max-width: 500px) {
}
/* متوسط */
@media (max-width: 1100px) and (min-width: 769px) {
  .matn {
    font-size: 1.5rem;

    line-height: 2;

    text-align: justify;

    margin: 0 auto;

    max-width: 1500px;

    padding: 2rem 2rem;
  }
  .photo-placeholder,
  .profile-image {
    width: 100px;

    height: 100px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1rem;

    color: #000;
    margin: 0px 35px;
  }
  .card {
    width: 700px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 5rem;
  }
  .modal-content {
    background: #f8fbfc;

    border-radius: 30px;

    padding: 30px;

    width: 400px;

    height: 350px;

    max-width: 90%;

    text-align: right;
  }
  .modal-content h3 {
    margin-top: 0;

    font-size: 1.75rem;
  }
  .modal-content p {
    font-size: 1rem;

    padding: 0.1rem;
  }
  .modal-content ul {
    font-size: 1rem;

    line-height: 1.5rem;
  }
  .modal-content li {
    font-size: 1rem;

    line-height: 1.5rem;
  }
}
/* کوچک و موبایل*/
@media (max-width: 768px) {
  .section-title-c {
    font-size: 1.75rem;

    text-align: center;

    padding: 1rem;

    margin-top: 1.5rem;

    font-weight: bold;

    white-space: nowrap;

    color: #1a4c7c;
  }
  .card {
    width: 300px;

    background-color: #ffffff;

    border: 1px solid #ddd;

    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

    text-align: center;

    transition: transform 0.3s ease;

    border-radius: 20px;

    overflow: hidden;

    margin-top: 5rem;
  }
  .header {
    text-align: center;

    padding: 10px;

    font-size: 15px;

    color: #1a4d7c;

    font-weight: 800;
  }
  .details {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    padding: 0rem;

    margin: 0rem;

    border-radius: 10px;

    flex-direction: column;

    transition: all 0.3s ease;
  }
  .photo-placeholder,
  .profile-image {
    width: 80px;

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1rem;

    color: #000;

    margin: 0px 0px;
  }
  .members {
    color: white;

    cursor: pointer;

    padding: 1rem;

    margin-right: 1rem;
    margin-top: 1rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
  }
  .bank-info {
    width: 33rem;

    max-width: 600px;

    margin: 1rem;

    text-align: center;

    font-family: "IRANsans";
  }
  .bank-info h2 {
    font-size: 1.5rem;

    color: #000;

    margin-bottom: 1.5rem;
  }
  .bank-row span {
    color: #1a4d7c;

    font-weight: bold;

    font-size: 1.3rem;
  }
  .bank-row {
    font-family: "IRANSans";

    font-size: 1.3rem;

    margin: 0.6rem 0;

    color: #333;

    text-align: center;

    display: flex;

    justify-content: space-between;

    border-bottom: 1px dashed #f8fbfc;
    padding-bottom: 5px;
  }
  .matn {
    font-size: 1.1rem;

    line-height: 2;

    text-align: justify;

    margin: 0 auto;

    max-width: 1500px;

    padding: 0 2rem;
  }
  .matnn {
    font-size: 14px;
    line-height: 2;
    text-align: right;
    max-width: 1500px;
    font-weight: bold;
  }
  .modal-content {
    background: #f8fbfc;
    border-radius: 30px;

    padding: 30px;

    width: 300px;

    height: 300px;

    overflow: auto;

    max-width: 90%;

    text-align: right;

    margin-top: 15rem;
  }
  .modal-content h3 {
    margin-top: 0;

    font-size: 1.5rem;
  }
  .modal-content p {
    font-size: 1rem;

    padding: 0.1rem;
  }
  .modal-content ul {
    font-size: 1rem;

    line-height: 1.5rem;
  }
  .modal-content li {
    font-size: 1rem;

    line-height: 1.5rem;
  }
}
/*صفحه تماس با ما*/
.tamas-title-a {
  font-size: 3.5rem;

  font-weight: bold;

  text-align: right;

  margin-top: 4rem;

  margin-bottom: 2rem;

  color: #0d2f4e !important;

  border-bottom: 2px solid #ffdf11;

  display: inline-block;

  padding-bottom: 0;

  direction: rtl;

  unicode-bidi: isolate;
}
.baadres {
  max-width: 11rem;

  min-width: 4rem;
}
.contactar {
  display: flex;

  position: relative;

  width: auto;
  padding: 15px 100px;
  margin: 100px 10px;
}
/*اضافه*/
#tamas {
  height: 80px;
}
.contact-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-info {
  background: white;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-right: 3px solid #1a4d7c;
  border-bottom: 3px solid #1a4d7c;
}
.contact-info h2 {
  margin-bottom: 25px;
  color: #1a4d7c;
  font-size: 28px;
}
.adres {
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: 15px;
}
.contact-link {
  display: block;
  margin-bottom: 15px;
  text-decoration: none;
  color: #000;
  font-weight: 400;
  transition: 0.3s;
  font-size: 15px;
}
.contact-link:hover {
  color: #1a4d7c;
  transform: translateX(-5px);
  text-decoration: none;
}
.contact-map iframe {
  border-radius: 15px;
  border: 3px solid #ffffff;
}
/* Tablet */

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 320px;
  }
}

/* Mobile */

@media (max-width: 500px) {
  .contact-info {
    padding: 25px;
  }

  .contact-info h2 {
    font-size: 22px;
  }

  .contact-map iframe {
    height: 260px;
  }
}

/*اتمام اضافه*/

.tamas-a {
  align-items: flex-start;

  font-size: 2rem;

  font-weight: 300;

  line-height: 2;

  max-width: 1200px;

  padding-top: 2rem;

  padding-bottom: 0;
}
.tamas-b {
  width: 600px;

  height: auto;

  align-items: flex-start;

  font-size: 1.4rem;

  font-weight: 300;

  line-height: 2;

  max-width: 1200px;

  padding-top: 0;

  padding-bottom: 0;

  padding-right: 40rem;
}

/*ریسپانسیو تماس با ما*/
/* بزرگ */
@media (max-width: 500px) {
}
/* متوسط */
@media (max-width: 1100px) and (min-width: 769px) {
  .tamas-a {
    align-items: flex-start;

    font-size: 1.6rem;

    font-weight: 300;

    line-height: 2;

    max-width: 1200px;

    padding-top: 2rem;

    padding-bottom: 0;
  }
  .tamas-b {
    display: flex;

    justify-content: center;

    flex-direction: row-reverse;

    width: 40rem;

    height: auto;

    height: auto;

    align-items: flex-start;

    font-weight: 50;

    line-height: 2;

    max-width: 1200px;

    padding: 1rem;
  }
}
/* کوچک و موبایل*/
@media (max-width: 768px) {
  .tamas-a {
    display: flex;

    align-items: flex-start;

    font-size: 1.5rem;

    font-weight: 300;

    line-height: 2;

    max-width: 1200px;

    padding-top: 2rem;

    padding-bottom: 0;
  }
  .tamas-b {
    display: flex;

    justify-content: center;

    flex-direction: row-reverse;

    width: 40rem;

    height: auto;

    height: auto;

    align-items: flex-start;

    font-weight: 50;

    line-height: 2;

    max-width: 1200px;

    padding: 1rem;
  }
}

/*متن*/

.resources-container {
  font-family: "IranSans"; /* در صورت امکان از وزیر استفاده کنید */
  max-width: 900px;
  margin: 40px 20px;
  padding: 30px;
  border-radius: 20px;
  direction: rtl;
  text-align: right;
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.resources-container p {
  font-size: 15px;
  padding: 20px 0;
  font-weight: 600;
  line-height: 30px;
  text-align: justify;
}

.section-title {
  color: #1a4c7e; /* رنگ بنفش مشابه تصویر */
  border-bottom: 2px solid #fdef11;
  padding-bottom: 20px;
  margin-bottom: 20px;
  font-size: 25px;
}
.resource-list {
  list-style-type: none;
  padding: 0;
}
.resource-list li {
  padding: 10px 0;
  line-height: 30px;
  text-align: justify;
}
.resource-list li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  line-height: 30px;
  text-align: justify;
}
.resource-list li a:hover {
  color: #1a4c7c;
}

.toggle-btn {
  cursor: pointer;

  color: #395aa7;

  padding: 10px 15px;

  border-radius: 8px;

  font-weight: 700;

  margin-top: 1rem;

  display: flex;

  align-items: center;

  gap: 10px;

  transition: background 0.3s;
}

.toggle-icon {
  font-size: 18px;
  transition: transform 0.4s;
}

.toggle-btn.open .toggle-icon {
  transform: rotate(45deg);
}

.modal {
  display: none;

  position: fixed;

  z-index: 1000;

  right: 0;

  top: 0;

  width: 100%;

  height: 100%;

  overflow: auto;

  background-color: rgba(0, 0, 0, 0.5);
}
.mat6n {
  width: 100rem;
}
.copyright:hover {
  color: #fdef11;

  background-color: #1a4d7c;
}

.footeritem:hover {
  color: #fdef11;
}
#footer-widgets a:hover {
  color: #fdef11;
}
.arrow {
  left: 10px;

  top: 50%;

  transform: translateY(-50%) rotate(0deg);

  color: #fdef11;

  font-size: 20px;

  transition: transform 0.3s ease;
  display: inline-block;
}
.nama {
  color: #fdef11;
}
.rotated {
  transform: translateY(-50%) rotate(90deg);
}

.footer-widget-title {
  font-family: "IranSans";

  font-size: 1.6em;

  color: #0eb7ff;
}
#footer-widgets a {
  color: #f8fbfc;
  text-decoration: none;

  transition: all 0.25s ease;
}
#footer-widgets h6 {
  font-size: 1.2rem;

  margin-bottom: 1rem;

  font-weight: bold;

  color: #ffffff !important;
}
#footer-widgets a:hover {
  color: #fdef11;
}

@media (max-width: 767px) {
  .footer-widgets > div {
    margin-bottom: 2rem;

    text-align: right;
  }

  .footer-bottom .version {
    margin-top: 10px;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }

  #footer-widgets h5 {
    font-size: 1.7rem;
  }

  #footer-widgets ul {
    padding-right: 0;
  }
}

#footer {
  background-color: #333;

  color: #ccc;

  padding: 17px 0;

  text-align: center;

  border-top: solid 1px #555;
}
#footer a {
  color: #0099da;

  text-decoration: none;
}

#footer a:hover {
  color: #0099da;
}

.news-continue-btn:hover {
  background-color: #0099da;
}

#footer p {
  margin: 0;

  padding: 0;

  line-height: 100%;
}
.footer-widget .media {
  margin-bottom: 10px;
}
.footer-widget .media .media-heading {
  font-size: 1.1em;

  line-height: 1.3em;
}
.footer-widget small {
  color: #ccc;

  font-style: oblique;
}
.footer-widget .thumbnail {
  border-color: #666;

  background-color: rgba(0, 0, 0, 0.2);
}

/* ==================== Main Content & Banner ==================== */
.banner-section {
  position: relative;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white-color);
}
.banner-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 77, 124, 0.7);
}
.banner-content {
  position: relative;
  z-index: 2;
}
.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}
.banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
}
.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-primary:hover {
  background-color: #fff;
  transform: translateY(-3px);
}

/* ==================== Funds Section on Index Page (استایل اصلی و اولیه) ==================== */
.funds-section {
  padding: 80px 20px;
}
.funds-section h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 50px;
  text-align: center;
}
.funds-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.fund-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.card-header .fund-logo {
  height: 60px;
  margin-bottom: 15px;
}
.card-header h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 5px;
}
.card-header .fund-type {
  color: #777;
  font-size: 14px;
}
.card-body {
  margin: 25px 0;
}
.card-body p {
  font-size: 16px;
  color: #555;
}
.card-body .fund-return {
  display: block;
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 5px;
}
.card-footer {
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-top: auto;
}
.card-extra-info {
  color: #888;
  font-size: 13px;
  margin-bottom: 15px;
}
.btn-secondary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}
.loading-spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 50px auto;
  grid-column: 1 / -1;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==================== Information Sources Section ==================== */
.sources-section {
  background-color: #f0f4f8;
}
.sources-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}
.source-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: var(--white-color);
  border-radius: 12px;
  padding: 20px;
  width: 160px;
  height: 140px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}
.source-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(30, 78, 124, 0.12);
}
.source-item img {
  height: 50px;
  object-fit: contain;
}
.source-item span {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

/* ==================== Inner Pages (Forms, About, etc.) ==================== */

.page-title h1 {
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
}
.page-content p {
  font-size: 17px;
  line-height: 2;
  margin-bottom: 20px;
}
.page-content a {
  color: var(--primary-color);
  font-weight: 500;
}

.form-category h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
}

.form-actions {
  display: flex;
  gap: 10px;
}
.form-actions a {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  min-width: 80px;
  transition: all 0.3s ease;
}
.btn-view {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}
.btn-view:hover {
  background-color: #e0d000;
}

.fund-info-icon {
  font-size: 20px;
  color: red;
}
.modal-overlay {
  display: none; /* پیش‌فرض بسته */
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* مات شدن صفحه */
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-box {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 14px;
  padding: 24px 20px 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  animation: fadeInScale 0.2s ease;
}

.modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #444;
}

.modal-close:hover {
  color: #000;
}

.modal-content {
  font-size: 15px;
  line-height: 1.9;
  color: #222;
  text-align: right;
  padding-top: 12px;
}

@keyframes fadeInScale {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
