.bg-primary {
  background-color: #3fa34d !important;
}

.text-color-secondary-02 {
  color: #7e32e0 !important;
}

.dropdown-toggle:after {
  border: none;
}

.btn {
  border-radius: 25px;
  border-width: 0;
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 26px;
  text-align: center;
}

.btn.btn-outline-success {
  border: 2px solid #3fa34d;
  border-radius: 25px;
  color: #3fa34d;
}

.btn.btn-outline-success:hover {
  color: white !important;
}

.btn-price {
  background-color: #efefef;
  border: 1px solid #3fa34d;
  font-size: 14px;
  height: 68px;
  width: 68px;
}

.price-bar {
  background: #efefef;
  border-radius: 30px;
}

.btn-sign {
  border: 1px solid #c4c4c4;
  border-radius: 60px;
  height: 40px;
  width: 40px;
}

.btn-sign.negative {
  background-color: #c4c4c4;
}

.bg-none {
  background: none !important;
}

.bg-back-white {
  background-color: #efefef;
}

.text-primary {
  color: #3FA34D !important;
}

.text-color-secondary {
  color: #FFC300 !important;
}

.text-color-dark-01 {
  color: #212121 !important;
}

.text-color-dark-02 {
  color: #cccccc !important;
}

body {
  background-color: #EFEFEF;
  font-family: "NotoKufiArabic";
}
body.rtl {
  /*font-family: Cairo;*/
}

a {
  text-decoration: none;
}

.rtl {
  direction: rtl;
}

.ltr {
  direction: ltr;
}

.cursor-pointer {
  cursor: pointer;
}

.text-justify {
  text-align: justify;
}

@font-face {
  font-family: "NotoKufiArabic";
  src: url("assets/fonts/NotoKufiArabic/NotoKufiArabic.woff") format("woff"), url("assets/fonts/NotoKufiArabic/NotoKufiArabic.woff2") format("woff2"), url("assets/fonts/NotoKufiArabic/NotoKufiArabic.svg#Noto-Kufi-Arabic") format("svg"), url("assets/fonts/NotoKufiArabic/NotoKufiArabic.eot"), url("assets/fonts/NotoKufiArabic/NotoKufiArabic.eot?#iefix") format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
}
.object-fit-cover {
  object-fit: cover;
}

header#header {
  height: 79px;
  z-index: 1000;
}
header#header .top-menu > ul {
  line-height: 40px;
}
header#header .top-menu > ul li {
  position: relative;
  padding-right: 25px;
  padding-left: 25px;
}
header#header .top-menu > ul li.first-level:not(:last-child) .title-block {
  position: relative;
}
header#header .top-menu > ul li.first-level:not(:last-child) .title-block:after {
  content: "";
  width: 1px;
  background-color: #F4F5F7;
  height: calc(100% - 42px);
  top: 21px;
  position: absolute;
  left: 0;
  right: auto;
}
header#header .top-menu > ul li:not(.first-level):first-child {
  padding-top: 15px;
}
header#header .top-menu > ul li:not(.first-level):last-child {
  padding-bottom: 15px;
}
header#header .top-menu > ul li .title-block {
  cursor: pointer;
  padding-left: 20px;
  padding-right: 20px;
  border-bottom: solid 3px transparent;
  transition: 0.5s border-bottom-color;
}
header#header .top-menu > ul li .title-block .title {
  color: black;
  transition: 0.5s;
  font-size: 14px;
}
header#header .top-menu > ul li .title-block .arrow {
  font-size: 14px;
}
header#header .top-menu > ul li > ul {
  transform: scale(0);
  opacity: 0;
  z-index: -10;
  position: absolute;
  top: 0;
  right: 100%;
  left: auto;
  min-width: 250px;
  transition: 0.5s opacity;
  background-color: white;
  box-shadow: -15px 6px 15px 0 rgba(0, 0, 0, 0.05);
}
header#header .top-menu > ul li:hover > .title-block .title {
  color: #3FA34D;
}
header#header .top-menu > ul li:hover > ul {
  transform: scale(1);
  opacity: 1;
  z-index: 1;
}
header#header .top-menu > ul li.first-level:hover > .title-block {
  border-bottom: solid 3px #3FA34D;
}
header#header .top-menu > ul > li {
  padding: 0;
}
header#header .top-menu > ul > li > .title-block {
  height: 79px;
}
header#header .top-menu > ul > li > ul {
  top: 79px;
  right: 0;
  left: auto;
}
header#header .buttons .button {
  background-color: rgba(204, 204, 204, 0.4);
  width: 40px;
  height: 40px;
  font-size: 100%;
  transition: 0.5s;
}
header#header .buttons .button:hover {
  background-color: rgba(204, 204, 204, 0.6);
}
header#header .buttons .contact .contact-btn {
  height: 37px;
  background-color: #3FA34D !important;
  font-size: 16px;
  color: white !important;
}
header#header .search-form {
  opacity: 0;
  z-index: -1;
  transition: 0.5s;
}
header#header .search-form .input-group {
  background-color: #EFEFEF;
  height: 42px;
}
header#header .search-form .input-group input {
  font-size: 14px;
}
header#header .search-form.show {
  opacity: 1;
  z-index: 1;
}
header#header > .languages {
  opacity: 0;
  z-index: -1;
  transition: 0.5s;
}
header#header > .languages.show {
  opacity: 1;
  z-index: 1;
}
header#header > .languages .item {
  width: 40px;
  height: 40px;
}
header#header > .languages .item.language {
  background-color: rgba(204, 204, 204, 0.4);
}
header#header > .languages .item.close {
  background-color: rgba(204, 204, 204, 0.1);
  transition: 0.5s;
}
header#header > .languages .item.close:hover {
  background-color: rgba(216, 0, 0, 0.05);
  color: #d80000;
}
header#header .slide-menu {
  width: 300px;
  max-width: 100%;
  box-shadow: -50px 0 50px rgba(0, 0, 0, 0.05);
  right: -300px;
  left: auto;
  opacity: 0;
  transition: 0.5s;
}
header#header .slide-menu a {
  color: black;
}
header#header .slide-menu.show {
  right: 0;
  left: auto;
  opacity: 1;
}
header#header .slide-menu .card .card-header {
  padding-bottom: 40px;
}
header#header .slide-menu .card .card-header .close-slide-menu {
  top: 10px;
  right: auto;
  left: 10px;
  width: 36px;
  height: 36px;
  background-color: rgba(204, 204, 204, 0.1);
  transition: 0.5s;
}
header#header .slide-menu .card .card-header .close-slide-menu:hover {
  background-color: rgba(216, 0, 0, 0.05);
  color: #d80000;
}
header#header .slide-menu .card .card-body {
  overflow-y: auto;
}
header#header .slide-menu .card .card-body .accordion-item .accordion-header {
  padding: 10px;
}
header#header .slide-menu .card .card-body .accordion-item .accordion-header .collapse-accordion {
  cursor: pointer;
}
header#header .slide-menu .card .card-body .accordion-item .accordion-header .collapse-accordion:before {
  font-family: "Font Awesome 6 Pro Light";
  content: "\f078";
  font-weight: 300;
  color: #a7a7a7;
}
header#header .slide-menu .card .card-body .accordion-item .accordion-header .collapse-accordion.collapsed:before {
  font-family: "Font Awesome 6 Pro Light";
  content: "\f053";
  font-weight: 300;
  color: #a7a7a7;
}
header#header .slide-menu .card .card-body .accordion-item:not(:last-child) .accordion-header {
  border-bottom: solid 1px #f4f4f4;
}
header#header .slide-menu .card .card-body .accordion-item .accordion-body {
  padding: 10px;
}
header#header .slide-menu .card .card-footer .languages .language {
  background-color: rgba(204, 204, 204, 0.4);
}

#authModal .modal-dialog {
  max-width: 500px;
}
#authModal .modal-dialog .modal-header .close-modal {
  background-color: rgba(204, 204, 204, 0.4);
  width: 40px;
  height: 40px;
  font-size: 100%;
  top: 20px;
  left: 20px;
  right: auto;
  border-radius: 10px;
  transition: 0.5s;
}
#authModal .modal-dialog .modal-header .title {
  color: #7e32e0;
  margin-top: 14px;
}
#authModal .modal-dialog .modal-body input.form-control {
  background-color: #EFEFEF;
  border-radius: 10px;
}
#authModal .modal-dialog .modal-body .submit button {
  background-color: #3FA34D;
}

body:not(.rtl) header#header .top-menu > ul li.first-level:not(:last-child) .title-block:after {
  right: 0;
  left: auto;
}
body:not(.rtl) header#header .top-menu > ul li > ul {
  right: auto;
  left: 100%;
  box-shadow: 15px 6px 15px 0 rgba(0, 0, 0, 0.05);
}
body:not(.rtl) header#header .top-menu > ul > li > ul {
  top: 79px;
  right: auto;
  left: 0;
}
body:not(.rtl) header#header .slide-menu {
  right: auto;
  left: -300px;
}
body:not(.rtl) header#header .slide-menu.show {
  right: auto;
  left: 0;
}
body:not(.rtl) header#header .slide-menu .card .card-header .close-slide-menu {
  right: 10px;
  left: auto;
}

footer#footer {
  margin-top: 153px;
}
footer#footer .about-us {
  margin-bottom: -90px;
}
footer#footer .about-us .card-body {
  padding: 25px 39px 21px 39px;
}
footer#footer .bottom-footer {
  padding-bottom: 72px;
  padding-top: 120px;
  background-color: #353535;
  color: white;
}
footer#footer .bottom-footer h2 {
  font-size: 25px;
  font-weight: 300;
  line-height: 40px;
}
footer#footer .bottom-footer .menu ul li a, footer#footer .bottom-footer .departments ul li a {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: white;
}
footer#footer .bottom-footer .contact-us ul li .icon {
  margin-right: 7px;
  margin-left: 0;
}
footer#footer .bottom-footer .contact-us ul li .text {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
footer#footer .bottom-footer .contact-us .socials {
  margin-top: 18px;
}
footer#footer .bottom-footer .contact-us .licenses {
  margin-top: 75px;
}
footer#footer .bottom-footer .contact-us .licenses img.small {
  height: 60px;
  margin-right: 15px;
  margin-left: 0;
}
footer#footer .bottom-footer .contact-us .licenses img.large {
  max-width: 100%;
}
footer#footer .copy-right {
  height: 44px;
  background-color: #cccccc;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: white;
}

.main {
  padding-top: 100px;
}

.page-top-block {
  padding-top: 100px;
}
.page-top-block .card {
  border-radius: 10px;
}
.page-top-block .card .card-body {
  height: 260px;
}
.page-top-block .card .card-body img {
  border-radius: 10px 10px 0 0;
}
.page-top-block .card .card-body .overlay {
  padding: 38px 47px 43px 47px;
  background: linear-gradient(90deg, rgba(63, 163, 77, 0.75) 45.85%, rgba(63, 163, 77, 0) 79.73%);
  border-radius: 10px 10px 0 0;
}
.page-top-block .card .card-body .overlay h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 65px;
  color: white;
}
.page-top-block .card .card-body .overlay .text {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: white;
}
.page-top-block .card .card-footer {
  background-color: #3FA34D;
  border-radius: 0 0 10px 10px;
  padding: 9px 80px 19px 80px;
}
.page-top-block .card .card-footer .statistic {
  color: white;
}
.page-top-block .card .card-footer .statistic .value {
  font-size: 35px;
  font-weight: 500;
  line-height: 57px;
}
.page-top-block .card .card-footer .statistic .title {
  margin-left: 8px;
  margin-right: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}
.page-top-block:not(.isSponsorship) .card .card-body img {
  border-radius: 10px;
}
.page-top-block:not(.isSponsorship) .card .card-body .overlay {
  border-radius: 10px;
}

body.rtl .page-top-block .card .card-body .overlay {
  padding: 38px 47px 43px 47px;
  background: linear-gradient(90deg, rgba(63, 163, 77, 0) 45.85%, rgba(63, 163, 77, 0.75) 79.73%);
}

.card.general {
  border-radius: 10px;
}
.card.general .card-header .image-block {
  padding-right: 30px;
  padding-left: 0;
}
.card.general .card-header .image-block img {
  border-radius: 10px;
  height: 167px;
}
.card.general .card-body {
  padding: 10px 15px 15px 15px;
}
.card.general .card-body .title {
  font-size: 18px;
  font-weight: 500;
  line-height: 29px;
}
.card.general .card-body .excerpt {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card.general .card-footer .read-more {
  color: #3FA34D;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}
.card.general.program .card-header .overlay .background {
  height: 0;
  background: linear-gradient(to top, rgb(255, 255, 255), rgba(255, 255, 255, 0));
  transition: 0.5s;
}
.card.general.program .card-header .overlay .button button {
  background-color: #3FA34D;
  width: 90px;
  height: 90px;
  transform: scale(0);
  transition: 0.5s;
}
.card.general.program .card-header:hover .overlay .background {
  height: 100%;
}
.card.general.program .card-header:hover .button button {
  transform: scale(1);
}
.card.general.institute .card-header .image-block {
  padding-right: 0;
  padding-left: 0;
}

body.rtl .card.general .card-header .image-block {
  padding-left: 30px;
  padding-right: 0;
}

.card.horizontal .content .description {
  width: calc(100% - 100px);
}
.card.horizontal .content .read-more {
  width: 100px;
}
.card.horizontal .content .read-more a {
  color: #3FA34D;
}

.custom-pagination .page-link {
  background-color: transparent;
  color: #3FA34D;
  border: none;
  border-radius: 10px !important;
  box-shadow: none;
}
.custom-pagination .page-link a {
  color: #3FA34D;
}
.custom-pagination .page-link.previousLink, .custom-pagination .page-link.nextLink {
  background-color: #C4C4C4;
  color: #495057;
}
.custom-pagination .page-link.previousLink a, .custom-pagination .page-link.nextLink a {
  color: #495057;
}
.custom-pagination .page-item.active .page-link {
  background-color: #3FA34D;
  color: white;
}

section#introduction {
  height: 120vh;
  background-image: url("assets/images/introduction/background-min.png");
  background-repeat: no-repeat;
  background-position: center top;
  padding-top: 90px;
  padding-bottom: 0px;
  transition: 0.5s;
}
section#introduction .card .card-header {
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: rgba(33, 33, 33, 0.5);
}
section#introduction .card .card-footer {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  section#introduction {
    background-position: center 40%;
  }
}
@media screen and (max-width: 767px) {
  section#introduction {
    background-position: center 47%;
  }
}
/* ======================================================
   OUR PROGRAMS – GRID VERSION (FINAL)
   ====================================================== */

section#our-programs {
  position: relative;
  padding: 120px 0 60px;
  margin-bottom: 0;
  overflow: visible;

  background:
    radial-gradient(circle at 15% 20%, rgba(63,163,77,0.14), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255,195,0,0.18), transparent 45%),
    linear-gradient(180deg, #f6f8f6 0%, #ffffff 100%);
}

section#our-programs::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(0,0,0,0.05) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

/* ================= TITLE ================= */

section#our-programs .block-title h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  color: #212121;
}

/* ======================================================
   PROGRAMS GRID
   ====================================================== */

section#our-programs .programs-grid {
  margin-top: 60px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
}

/* Card */
section#our-programs .program-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 0;
  text-align: center;

  text-decoration: none;
  color: inherit;

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section#our-programs .program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.16);
}

/* Image */
section#our-programs .program-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;

  border-top-left-radius: 22px;
  border-top-right-radius: 22px;

  position: relative; /* لازم برای پوزیشن‌دهی دکمه و pseudo */
}

/* تصویر پوشان (بدون فاصله سفید) */
section#our-programs .program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 🔥 بدون حاشیه سفید */
  display: block;
}

/* -----------------------------
   overlay های تصویر (قدیمی-شبیه‌سازی)
   ::before -> لایه تیره هنگام hover
   ::after  -> reveal gradient از پایین (انیمیشن قدیمی)
   ----------------------------- */

/* dark overlay (مثل حالت فعلی ولی controlled) */
section#our-programs .program-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

/* gradient reveal (از پایین بالا می‌آید) */
section#our-programs .program-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 60%);
  transition: height 0.45s ease;
  pointer-events: none;
  z-index: 3;
}

/* وقتی کارت hover شد، overlay و reveal فعال شوند */
section#our-programs .program-card:hover .program-image::before {
  opacity: 1;
}
section#our-programs .program-card:hover .program-image::after {
  height: 100%;
}

/* ======================================================
   DONATE BUTTON (بازگشت به ظاهر قدیمی)
   ====================================================== */
section#our-programs .program-card .donate-btn {
  position: absolute;
  left: 50%;
  bottom: 22px;                     /* فاصله از پایین تصویر (قابل تغییر) */
  transform: translateX(-50%) scale(0);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #3FA34D;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  transition: transform 0.5s cubic-bezier(.2,.9,.2,1), opacity 0.25s;
  z-index: 4; /* بالاتر از pseudo elements */
  padding: 0;
  white-space: nowrap;
  border: none;
}

/* ظاهر شدن دکمه هنگام hover کارت */
section#our-programs .program-card:hover .donate-btn {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* افکت کوچک هنگام hover روی خود دکمه */
section#our-programs .program-card .donate-btn:hover {
  transform: translateX(-50%) scale(1.06);
  box-shadow: 0 28px 60px rgba(0,0,0,0.22);
}

/* variant: اگر می‌خواهی آیکون به جای متن نمایش داده شود */
/* استفاده: <a class="donate-btn donate-btn--icon" ...></a> */
section#our-programs .program-card .donate-btn.donate-btn--icon {
  padding: 0;
  color: transparent; /* متن مخفی اگر وجود داشته باشد */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* قرار دادن آیکون داخل دکمه با ::before */
/* در اینجا نمونه‌ی data-uri SVG سفید قرار دادم — در صورت داشتن SVG اصلی، جایگزین کن */
section#our-programs .program-card .donate-btn.donate-btn--icon::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M12 21s-7-4.35-9.2-7.03C-0.28 9.73 3.4 5 7.7 7.4 9.6 8.6 12 11 12 11s2.4-2.4 4.3-3.6C20.6 5 24.28 9.73 21.2 13.97 19 16.65 12 21 12 21z'/></svg>");
  margin: 0;
}

/* حالت فوکوس برای دسترسی (accessibility) */
section#our-programs .program-card .donate-btn:focus {
  outline: 3px solid rgba(63,163,77,0.25);
  outline-offset: 3px;
}

/* کوچک‌تر برای موبایل */
@media (max-width: 575px) {
  section#our-programs .program-card .donate-btn {
    width: 70px;
    height: 70px;
    bottom: 16px;
  }
  section#our-programs .program-card .donate-btn.donate-btn--icon::before {
    width: 28px;
    height: 28px;
  }
}

/* ======================================================
   TITLE
   ====================================================== */

section#our-programs .program-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #212121;
  margin-top: 14px;
}

section#our-programs .program-title a {
  color: inherit;
  text-decoration: none;
}

section#our-programs .program-title a:hover {
  text-decoration: underline;
}

/* ======================================================
   STATISTICS (بدون تغییر)
   ====================================================== */

section#our-programs .statistics {
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
  padding: 52px 44px;

  transform: translateY(120px);
  margin-bottom: -120px;

  position: relative;
  z-index: 10;
}

section#our-programs .statistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

section#our-programs .statistics .stat-item {
  background: #f9fafb;
  border-radius: 24px;
  padding: 38px 26px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

section#our-programs .statistics .stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.14);
}

section#our-programs .statistics .value {
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 900;
  color: #3FA34D;
  line-height: 1;
  margin-bottom: 14px;
}

section#our-programs .statistics .title {
  font-size: 15px;
  font-weight: 600;
  color: #555;
}

section#our-programs .statistics .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(63,163,77,0.14);

  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

section#our-programs .statistics .icon img {
  width: 22px;
  filter: grayscale(100%) brightness(0.45);
}

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

@media (max-width: 991px) {
  section#our-programs {
    padding-top: 100px;
  }

  section#our-programs .statistics {
    transform: translateY(0);
    margin-top: 60px;
  }

  section#our-programs .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  section#our-programs {
    padding-top: 80px;
  }

  section#our-programs .statistics {
    padding: 36px 26px;
    margin-top: 40px;
  }

  section#our-programs .statistics-grid {
    grid-template-columns: 1fr;
  }
}

section#orphan-sponsorship-program {
  background-image: url("assets/images/orphan-sponsorship-program/background-min.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  /*height              : 883px;*/
  padding-top: 293px;
  padding-bottom: 100px;
}
section#orphan-sponsorship-program .title {
  font-size: 60px;
  font-weight: 300;
  line-height: 97px;
  color: white;
  margin-bottom: 55px;
}

body.rtl section#orphan-sponsorship-program {
  background-size: -100% auto;
}

/* ======================================================
   VISIONS – FLOATING BETWEEN BACKGROUNDS (FINAL)
   ====================================================== */

section#visions {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  min-height: 400px;

  position: relative;
  z-index: 1;
}

/* Swiper wrapper – floating */
section#visions .swiper {
  padding-top: 50px;
  padding-bottom: 50px;

  transform: translateY(80px);   /* ⬅️ وسط دو پس‌زمینه */
  margin-bottom: -80px;          /* ⬅️ جبران فاصله */

  position: relative;
  z-index: 5;
}

/* Cards */
section#visions .swiper .card {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 400px;
}

/* Hover effect */
section#visions .swiper .card:hover {
  transform: translateY(-50px);
}

/* Card header */
section#visions .swiper .card .card-header {
  padding-top: 42px;
}

/* Icon */
section#visions .swiper .card .card-header .icon {
  width: 135px;
  height: 135px;
  padding: 35px;
}

section#visions .swiper .card .card-header .icon img {
  width: 85px !important;
  height: 85px !important;
  max-width: none !important;
}
/* Title */
section#visions .swiper .card .card-body .title {
  font-size: 40px;
  font-weight: 500;
  line-height: 65px;
  color: #212121;
}

/* Description */
section#visions .swiper .card .card-body .description {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;        /* بهتر از 20px برای متن عربی */
  color: #4d4d4d;

  text-align: justify;     /* تراز راست و چپ */
  direction: rtl;          /* جهت نوشتار عربی */
  text-justify: inter-word;
}

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

@media (max-width: 991px) {
  section#visions .swiper {
    transform: translateY(60px);
    margin-bottom: -60px;
  }

  section#visions .swiper .card:hover {
    transform: translateY(-30px);
  }
}

@media (max-width: 575px) {
  section#visions .swiper .card .card-header .icon {
    width: 120px;
    height: 120px;
    padding: 25px;
  }

  section#visions .swiper .card .card-header .icon img {
    width: 65px;
  }
}

/* ======================================================
   LATEST NEWS - ULTIMATE FIX (PHOTO, BUTTON, ARROWS)
   ====================================================== */

section#latest-news {
    position: relative;
    z-index: 1;
    padding: 200px 0 120px;
    background: linear-gradient(180deg, #FFC300 0%, #FFB700 100%);
    overflow: hidden;
}

/* عنوان */
section#latest-news .block-title {
    margin-bottom: 60px;
}

section#latest-news .block-title h2 {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
}

/* ================= پست‌ها و مدیریت فلش‌ها ================= */
.posts-wrapper {
    position: relative;
    padding: 0 45px; /* ایجاد فضا برای فلش‌ها در دو طرف */
}

/* استایل عمومی فلش‌ها */
section#latest-news .swiper-button-prev,
section#latest-news .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: #ffffff;
    border-radius: 50%;
    color: #3FA34D;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    margin: 0;
}

/* حذف محتوای پیش‌فرض سویپر */
section#latest-news .swiper-button-prev::after,
section#latest-news .swiper-button-next::after {
    content: none;
}

/* پوزیشن فلش‌ها در دو طرف */
section#latest-news .swiper-button-next { right: -5px; }
section#latest-news .swiper-button-prev { left: -5px; }

section#latest-news .swiper-button-prev:hover,
section#latest-news .swiper-button-next:hover {
    background: #3FA34D;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* ================= حل مشکل تصویر (تمام صفحه) ================= */
section#latest-news .card.general {
    height: 100%;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: none !important;
}

section#latest-news .card.general .image-block {
    position: relative;
    width: 100% !important;
    aspect-ratio: 16 / 10; /* نسبت ابعاد استاندارد */
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

section#latest-news .card.general .image-block img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* پر کردن کامل کادر بدون فضای سفید */
    display: block;
    transition: transform 0.6s ease;
}

section#latest-news .card.general:hover .image-block img {
    transform: scale(1.08);
}

/* ================= بدنه کارت و متادیتا ================= */
section#latest-news .card.general .card-body {
    padding: 15px 20px 20px;
    flex: 1;
}

section#latest-news .card.general .post-meta {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* نمایش دائمی شعبه و تگ‌ها */
section#latest-news .card.general .post-meta .badge {
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 700;
}

section#latest-news .tag-institute { background: #f1f3f5 !important; color: #495057 !important; }
section#latest-news .tag-program { background: rgba(63,163,77,0.12) !important; color: #3FA34D !important; }

section#latest-news .card.general .title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #222;
}

/* ================= دکمه مشاهده همه در انتهای بخش ================= */
.news-footer-action {
    margin-top: 50px;
    display: flex;
    justify-content: flex-end; /* دکمه را در حالت RTL به سمت چپ هدایت می‌کند */
    padding: 0 45px;
}

section#latest-news .archive-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #ffffff;
    color: #333;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

section#latest-news .archive-btn:hover {
    background: #3FA34D;
    color: #fff;
    transform: translateY(-3px);
}

/* ریسپانسیو موبایل */
@media (max-width: 991px) {
    .posts-wrapper { padding: 0 10px; }
    section#latest-news .swiper-button-prev,
    section#latest-news .swiper-button-next { display: none; } /* مخفی کردن فلش در موبایل برای لمس راحت‌تر */
    .news-footer-action { justify-content: center; }
}
/* ======================================================
   OUR SUCCESSES – MODERN & OPTIMIZED
   ====================================================== */

section#our-successes {
  position: relative;
  padding: 60px 0 240px;
  margin-top: 0;
  z-index: 1;
  overflow: hidden;

  background-image: url("assets/images/our-successes/background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Overlay مدرن */
section#our-successes::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(63,163,77,0.85) 0%,
      rgba(63,163,77,0.75) 100%
    );
  z-index: 0;
}

/* ================= CONTENT WRAPPER ================= */

section#our-successes > .overlay {
  position: relative;
  z-index: 1;
}

/* ================= TITLE ================= */

section#our-successes .title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  text-align: center;
  margin-bottom: 70px;
  letter-spacing: -0.5px;
}

/* ================= SUCCESSES GRID ================= */

section#our-successes .successes {
  margin-top: 40px;
}

section#our-successes .successes > .row {
  row-gap: 36px;
}

/* ================= CARD ================= */

section#our-successes .successes .card {
  height: 100%;
  border-radius: 26px;
  border: none;
  padding: 32px 26px;

  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);

  box-shadow: 0 18px 45px rgba(0,0,0,0.18);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

section#our-successes .successes .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 70px rgba(0,0,0,0.28);
}
/* ================= NUMBER (SOFT & READABLE) ================= */

section#our-successes .successes .card .card-header {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 16px;

  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  line-height: 1;

  color: rgba(255, 255, 255, 0.35);

  filter: blur(0.3px);

  pointer-events: none;
  user-select: none;
}

/* ================= TEXT ================= */

section#our-successes .successes .card .card-body {
  padding: 0;
  color: #ffffff;
}

section#our-successes .successes .card .card-body .title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #ffffff;
}

section#our-successes .successes .card .card-body .description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

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

@media (max-width: 991px) {
  section#our-successes {
    padding: 180px 0 140px;
  }

  section#our-successes .title {
    margin-bottom: 50px;
  }
}

@media (max-width: 575px) {
  section#our-successes {
    padding: 150px 0 120px;
  }

  section#our-successes .successes .card {
    padding: 26px 22px;
  }
}

/* ======================================================
   PEOPLE OPINIONS – FLOATING ISLANDS (FINAL FIX)
   ====================================================== */

section#people-opinions {
  position: relative;
  z-index: 50;
  isolation: isolate;
  background: transparent;
}

/* ================= CONTAINER ================= */

section#people-opinions > .container {
  margin-top: -210px;
  position: relative;
  z-index: 60;

  background: transparent;
}

/* ================= REMOVE ALL BACKGROUNDS BETWEEN ================= */

section#people-opinions .opinions,
section#people-opinions .swiper,
section#people-opinions .swiper-wrapper,
section#people-opinions .swiper-slide,
section#people-opinions .row {
  background: transparent !important;
}

/* ================= TITLE ================= */

section#people-opinions .block-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 56px;
  text-align: center;
  letter-spacing: -0.5px;
}

/* ================= CARD (ONLY WHITE ELEMENT) ================= */

section#people-opinions .opinions .card {
  position: relative;
  z-index: 2;

  background: #ffffff;
  border-radius: 20px;
  border: none;
  height: 100%;

  box-shadow:
    0 18px 40px rgba(0,0,0,0.15);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

section#people-opinions .opinions .card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 32px 70px rgba(0,0,0,0.22);
}

/* ================= HEADER (QUOTE ICON) ================= */

section#people-opinions .opinions .card .card-header {
  padding: 26px 30px 18px;
  background: transparent;
  border: none;

  font-size: 40px;
  line-height: 1;
  color: rgba(0,0,0,0.08);
}

/* ================= BODY ================= */

section#people-opinions .opinions .card .card-body {
  padding: 0 30px 30px !important;

  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  color: #555;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================= FOOTER ================= */

section#people-opinions .opinions .card .card-footer {
  padding: 0 30px 28px;
  background: transparent;
  border: none;

  display: flex;
  align-items: center;
}

/* Name */

section#people-opinions .opinions .card .card-footer .name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #212121;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  margin-left: 10px;
}

/* ================= RTL ================= */

body.rtl
section#people-opinions
.opinions
.card
.card-footer
.name {
  margin-right: 10px;
  margin-left: 0;
}

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

@media (max-width: 767px) {
  section#people-opinions > .container {
    margin-top: -140px;
  }

  section#people-opinions .block-title {
    margin-bottom: 40px;
  }

  section#people-opinions .opinions .card {
    border-radius: 16px;
  }
}

/* ======================================================
   INSTITUTE – GRID LIST + MAP (OPTIMIZED & ENHANCED)
   ====================================================== */

section#institute {
  padding-top: 160px;
}

/* ================= BLOCK TITLE ================= */

section#institute .block-title {
  margin-bottom: 40px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: #212121;
}

/* ================= SECTION TITLES (HQ / BRANCH / OFFICE) ================= */

section#institute .section-title {
  margin: 48px 0 24px;
  font-size: 24px;
  font-weight: 600;
  color: #212121;
  position: relative;
  padding-inline-start: 16px;
  transition: color 0.3s ease;
}

/* خط سبز کنار تیتر (RTL Safe) */
section#institute .section-title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 65%;
  background: #3FA34D;
  border-radius: 4px;
}

/* فاصله بین گروه‌ها */
section#institute .institutes-grid + .section-title {
  margin-top: 72px;
}

/* ================= HQ SPECIAL STYLE (VIP) ================= */

/* تیتر اول (معمولاً المقر العام) */
section#institute .section-title:first-of-type {
  color: #3FA34D;
}

/* کارت المقر العام برجسته‌تر */
section#institute .section-title:first-of-type + .institutes-grid .institute-card {
  border-color: rgba(63, 163, 77, 0.4);
  box-shadow: 0 20px 45px rgba(63, 163, 77, 0.15);
}

section#institute .section-title:first-of-type + .institutes-grid .institute-card:hover {
  box-shadow: 0 28px 65px rgba(63, 163, 77, 0.3);
}

/* ================= LAYOUT RESET ================= */

section#institute > .container > .row.g-4 {
  flex-direction: column;
}

section#institute .institutes-list {
  width: 100%;
  margin-bottom: 24px;
}

/* Grid System */
section#institute .institutes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 24px;
}

/* خط جداکننده بین بخش‌ها */
section#institute .institutes-grid:not(:last-of-type) {
  border-bottom: 1px dashed #e5e5e5;
}

/* ================= CARD STYLE ================= */

section#institute .institute-card {
  background: #ffffff;
  border-radius: 18px;
  border: 2px solid transparent;
  cursor: pointer;
  height: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
  will-change: transform;
}

section#institute .institute-card:hover,
section#institute .institute-card.is-active {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(63,163,77,0.22);
  border-color: #3FA34D;
}

/* ================= CARD CONTENT ================= */

section#institute .institute-card .card-body {
  padding: 22px;
}

section#institute .institute-card .title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #212121;
}

section#institute .institute-card .address {
  font-size: 13.5px;
  color: #666;
  margin-bottom: 14px;
  line-height: 1.5;
}

section#institute .institute-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #888;
}

section#institute .institute-card .card-footer {
  background: transparent;
  border-top: 1px solid #f3f3f3;
  padding: 12px 22px;
}

section#institute .institute-card .more-info {
  font-size: 13px;
  font-weight: 600;
  color: #3FA34D;
}

/* ================= MAP SECTION ================= */

section#institute .institutes-map {
  width: 100%;
  margin-top: 40px;
}

section#institute #institutes-map {
  width: 100%;
  height: 520px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

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

@media (max-width: 767px) {
  section#institute {
    padding-top: 100px;
  }

  section#institute .section-title {
    font-size: 20px;
    margin: 36px 0 16px;
  }

  section#institute .institutes-grid + .section-title {
    margin-top: 48px;
  }

  section#institute #institutes-map {
    height: 380px;
  }

  section#institute .institutes-grid {
    grid-template-columns: 1fr; /* در موبایل کارت‌ها تمام‌عرض باشند */
    gap: 16px;
  }
}

/* Neutralize Bootstrap columns */
section#institute .institutes-list,
section#institute .institutes-map {
  flex: 0 0 auto;
  max-width: 100%;
}
section#get-sponsorship {
  padding-top: 142px;
}
section#get-sponsorship h2 {
  font-size: 60px;
  font-weight: 300;
  line-height: 97px;
  color: #3FA34D;
}
section#get-sponsorship .swiper .swiper-slide .step {
  font-size: 100px;
  font-weight: 300;
  color: #C4C4C4;
}
section#get-sponsorship .swiper .swiper-slide .step .number {
  background-color: #EFEFEF;
  padding: 0 20px;
  z-index: 1;
}
section#get-sponsorship .swiper .swiper-slide .step .line {
  background-color: #C4C4C4;
  height: 1px;
  right: 0;
  left: 0;
}
section#get-sponsorship .swiper .swiper-slide:first-child .step .line {
  left: 50%;
}
section#get-sponsorship .swiper .swiper-slide:last-child .step .line {
  right: 50%;
}
section#get-sponsorship .swiper .swiper-slide .content {
  padding: 0 15px;
  height: calc(100% - 110px);
}
section#get-sponsorship .swiper .swiper-slide .content .card {
  margin-top: -45px;
  z-index: 2;
  border-radius: 10px;
}
section#get-sponsorship .swiper .swiper-slide .content .card .card-header {
  padding: 30px 30px 24px 30px;
}
section#get-sponsorship .swiper .swiper-slide .content .card .card-header .icon {
  width: 80px;
  height: 80px;
  transition: 0.5s;
}
section#get-sponsorship .swiper .swiper-slide .content .card .card-header .icon svg path {
  transition: 0.5s;
}
section#get-sponsorship .swiper .swiper-slide .content .card .card-body {
  padding-top: 0;
  padding-bottom: 30px;
}
section#get-sponsorship .swiper .swiper-slide .content .card .card-body .title {
  font-size: 18px;
  font-weight: 500;
  line-height: 23px;
  color: #212121;
}
section#get-sponsorship .swiper .swiper-slide .content .card .card-body .text {
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #cccccc;
}
section#get-sponsorship .swiper .swiper-slide .content .card:hover .card-header .icon svg path {
  fill: white;
}

section#sponsorship-page-bottom-statistics {
  padding-top: 195px;
}
section#sponsorship-page-bottom-statistics .card {
  background-color: #7e32e0;
  border-radius: 10px;
}
section#sponsorship-page-bottom-statistics .card .card-body {
  padding: 19px 63px 28px 63px;
}
section#sponsorship-page-bottom-statistics .card .card-body .value {
  font-size: 40px;
  font-weight: 500;
  line-height: 65px;
  color: white;
}
section#sponsorship-page-bottom-statistics .card .card-body .title {
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
  color: #FFC300;
}

body.rtl section#sponsorship-page-top-block .card .card-body .overlay {
  background: linear-gradient(90deg, rgba(63, 163, 77, 0) 45.85%, rgba(63, 163, 77, 0.75) 79.73%);
}
body.rtl section#sponsorship-page-top-block .card .card-footer .statistic .title {
  margin-right: 8px;
  margin-left: 0;
}
body.rtl section#get-sponsorship .swiper .swiper-slide:first-child .step .line {
  right: 50%;
  left: 0;
}
body.rtl section#get-sponsorship .swiper .swiper-slide:last-child .step .line {
  left: 50%;
  right: 0;
}

.donate-now {
  bottom: 60px;
  opacity: 0;
  z-index: -101;
  left: auto;
  right: auto;
  transition: opacity 0.5s;
}
.donate-now.show {
  opacity: 1;
  z-index: 1;
}
.donate-now button {
  background-color: #3FA34D !important;
  border: none;
  padding: 15px 50px;
  width: 240px;
  color: white !important;
}

.donation-buttons {
  padding: 60px 0 60px 0;
  bottom: 0;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s;
}
.donation-buttons.show {
  opacity: 1;
  z-index: 1;
}
.donation-buttons .overlay {
  bottom: -300px;
}
.donation-buttons .overlay .background {
  background-image: radial-gradient(rgb(255, 255, 255) 0, rgba(255, 255, 255, 0) 70%);
  width: 600px;
  height: 600px;
  max-width: 100%;
  border-radius: 100%;
}
.donation-buttons .buttons {
  z-index: 1;
}
.donation-buttons .buttons button, .donation-buttons .buttons a {
  border: none;
  padding: 15px 50px;
  width: 240px;
  color: white !important;
}
.donation-buttons .buttons button:not(:last-child), .donation-buttons .buttons a:not(:last-child) {
  margin-bottom: 15px;
}
.donation-buttons .buttons button.donation, .donation-buttons .buttons a.donation {
  background-color: #3FA34D !important;
}
.donation-buttons .buttons button.sponsorship, .donation-buttons .buttons button.box-request, .donation-buttons .buttons a.sponsorship, .donation-buttons .buttons a.box-request {
  background-color: #7e32e0 !important;
}
.donation-buttons .buttons button.close, .donation-buttons .buttons a.close {
  background-color: #cccccc !important;
  width: 45px;
  height: 45px;
  padding: 0;
}

#donation-modal .modal-content {
  background-color: #EFEFEF;
  border: none;
}
#donation-modal .modal-content .modal-body {
  padding: 85px;
}
#donation-modal .modal-content .modal-body .tab-nav-list .nav {
  margin-bottom: 32px;
  z-index: 1;
}
#donation-modal .modal-content .modal-body .tab-nav-list .nav li {
  background-color: #EFEFEF;
}
#donation-modal .modal-content .modal-body .tab-nav-list .nav li button {
  background-color: transparent;
  border: none;
}
#donation-modal .modal-content .modal-body .tab-nav-list .nav li button .title {
  font-size: 14px;
  font-weight: 400;
  line-height: 23px;
  color: #8F969D;
  margin-bottom: 14px;
  top: -40px;
}
#donation-modal .modal-content .modal-body .tab-nav-list .nav li button .step {
  border: #8F969D solid 1px;
  color: #8F969D;
  font-size: 13px;
  font-weight: 300;
  line-height: 15px;
  background-color: transparent;
  width: 30px;
  height: 30px;
  border-radius: 100px;
}
#donation-modal .modal-content .modal-body .tab-nav-list .nav li button.active .title, #donation-modal .modal-content .modal-body .tab-nav-list .nav li button.colored .title {
  color: #7e32e0;
}
#donation-modal .modal-content .modal-body .tab-nav-list .nav li button.active .step, #donation-modal .modal-content .modal-body .tab-nav-list .nav li button.colored .step {
  border-color: #7e32e0;
  background-color: #7e32e0;
  color: white;
}
#donation-modal .modal-content .modal-body .tab-nav-list .line {
  background-color: #8F969D;
  height: 1px;
  top: 16px;
}
#donation-modal .modal-content .modal-body .tab-nav-list .line.active {
  background-color: #7e32e0;
}

/*# sourceMappingURL=style.css.map */
.dropdown-menu {
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.dropdown-menu .widget_polylang li a {
    color: #333;
    padding: 8px 16px;
}
.dropdown-menu .widget_polylang li a:hover {
    background-color: #f8f9fa;
}
.leaflet-marker-icon.active-marker {
  filter: drop-shadow(0 10px 20px rgba(63,163,77,0.6));
  transition: transform 0.3s ease;
}

.leaflet-marker-icon.active-marker:hover {
  transform: scale(1.1);
}

/* Hide the "تبرع الآن" item from the main navigation menu on desktop */
.top-menu .menu-item.donate-now-item {
    display: none !important;
}

/* Style for the "تبرع الآن" button in the header buttons section */
.buttons .donate-now-btn {
    background-color: #28a745;  /* سبز ملایم */
    color: #ffffff;             /* متن سفید */
    padding: 8px 20px;          /* Slightly increased padding for balance */
    border-radius: 25px;
    font-weight: 700;           /* Consistent bold font */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-inline-start: 12px;  /* Increased spacing for RTL alignment */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Added transform for hover */
}

/* Hover state for the button */
.buttons .donate-now-btn:hover {
    background-color: #218838;  /* سبز تیره‌تر */
    color: #ffffff;
    transform: scale(1.05);     /* Subtle scale effect on hover */
}

/* Ensure the accordion arrow styles remain for mobile menus */
.slide-menu .collapse-accordion::after {
    content: "▼";               /* Arrow for accordion */
    font-size: 14px;
    color: #444;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Rotate arrow when accordion is expanded */
.slide-menu .collapse-accordion[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Remove any default content before accordion */
.slide-menu .collapse-accordion::before {
    content: none !important;
}

/* Desktop-specific adjustments for buttons section */
@media (min-width: 992px) {
    .buttons .donate-now-btn {
        margin-inline-start: 12px; /* Consistent spacing in RTL */
        font-size: 16px;          /* Slightly larger font for desktop */
        padding: 10px 22px;       /* Adjusted padding for better appearance */
        position: relative;       /* Enable positioning */
        left: 8px;               /* Move the button 20px to the right */
    }
}