/* ═══════════════════════════════════════
   Slogan Animation — Learn To Control
   ═══════════════════════════════════════ */

   .rs-slogan {
    position: relative;
    text-align: center;
    direction: rtl;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ── خط ۱: Learn To Control ── */
.rs-slogan-en {
    font-family: 'Estedad', 'Inter', sans-serif;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #fff;
    direction: ltr;
    unicode-bidi: embed;
    opacity: 0;
    animation: slogan-en-sequence 4.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.rs-slogan-en .cap {
    font-weight: 900;
    color: #3ddab5;
    display: inline-block;
    animation: cap-glow 4.5s ease-in-out forwards;
}

/* ── خط ۲: Authorized Distributor ── */
.rs-slogan-en-sub {
    font-family: 'Estedad', 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1.1vw, 0.95rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
    direction: ltr;
    unicode-bidi: embed;
    opacity: 0;
    margin-top: 4px;
    animation: slogan-en-sub-appear 4.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.rs-slogan-en-sub .brand {
    font-weight: 700;
    color: #3ddab5;
    letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════
   کی‌فریم‌ها
   ═══════════════════════════════════════ */

@keyframes slogan-en-sequence {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(6px);
    }
    8% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    10% {
        opacity: 0.4;
        text-shadow: 0 0 25px rgba(61, 218, 181, 0.9);
    }
    12% {
        opacity: 1;
        text-shadow: 0 0 40px rgba(61, 218, 181, 1);
    }
    14% {
        opacity: 0.6;
        text-shadow: 0 0 15px rgba(61, 218, 181, 0.5);
    }
    16% {
        opacity: 1;
        text-shadow: 0 0 35px rgba(61, 218, 181, 1);
    }
    20%, 80% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
        text-shadow: 0 0 20px rgba(61, 218, 181, 0.6);
    }
    100% {
        opacity: 1;                       /* ✅ می‌ماند */
        transform: translateY(0);
        filter: blur(0);
        text-shadow: 0 0 20px rgba(61, 218, 181, 0.6);
    }
}

@keyframes cap-glow {
    0%, 8% {
        text-shadow: none;
        color: #3ddab5;
    }
    10% {
        text-shadow: 0 0 30px #fff, 0 0 60px #3ddab5, 0 0 90px #3ddab5;
        color: #fff;
    }
    11% {
        text-shadow: none;
        color: #3ddab5;
    }
    13% {
        text-shadow: 0 0 40px #fff, 0 0 80px #3ddab5, 0 0 120px #3ddab5;
        color: #fff;
    }
    15% {
        text-shadow: 0 0 20px #3ddab5;
        color: #3ddab5;
    }
    20%, 100% {
        text-shadow: 0 0 15px rgba(61, 218, 181, 0.8);
        color: #3ddab5;
    }
}

@keyframes slogan-en-sub-appear {
    0%, 40% {
        opacity: 0;
        transform: translateY(8px);
        filter: blur(4px);
    }
    50%, 100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
.rs-slogan-fa {
  font-family: 'Estedad', 'Vazirmatn', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  opacity: 0;
  animation: slogan-fa-show-hide 5s cubic-bezier(0.4, 0, 0.2, 1) 4.5s forwards;
}

@keyframes slogan-fa-show-hide {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  15% {
      opacity: 1;
      transform: translateY(0);
  }
  70% {
      opacity: 1;
      transform: translateY(0);
  }
  100% {
      opacity: 0;
      transform: translateY(-15px);
  }
}

/* =====================================
   green-home.css — استایل‌های اختصاصی «فقط صفحهٔ اول»
   ===================================== */
/* Banner Award Section - Fixed at Bottom */

/* Fix overflow in feature icons (اسکوپ‌شده به feature-five) */
.rs-feature-five .rs-feature-icon {
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Light backgrounds for feature and category items */
.rs-feature-five .rs-feature-bg-thumb,
.rs-categories-one .rs-category-bg-thumb {
  background-color: #f2f9ff !important;
  opacity: 1;
}

.rs-feature-five .rs-feature-item:hover .rs-feature-bg-thumb,
.rs-categories-one .rs-category-item:hover .rs-category-bg-thumb {
  background-color: #e8f4fd !important;
}

/* Consistent section spacing — ⚠️ این بخش بود که روی صفحات دیگر
   هم اثر می‌گذاشت؛ حالا فقط همین‌جا (صفحهٔ اول) لود می‌شود */
.rs-feature-area.section-space {
  padding-top: 80px;
  padding-bottom: 60px;
}

.rs-categories-area.section-space,
.rs-portfolio-area.section-space,
.rs-blog-area.section-space,
.rs-about-area.section-space-bottom,
.rs-testimonial-area.section-space-bottom {
  padding-top: 0;
  padding-bottom: 80px;
}

@media only screen and (max-width: 991px) {
  .rs-feature-area.section-space {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .rs-categories-area.section-space,
  .rs-portfolio-area.section-space,
  .rs-blog-area.section-space,
  .rs-about-area.section-space-bottom,
  .rs-testimonial-area.section-space-bottom {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
/* =========================
   BLOG SECTION FIX
   ========================= */

.rs-blog-area{
    paddi*g-top:0 !important;
}

.rs*training-card{
    position:relati*e !important;
    top:auto !import*nt;
}

.rs-articles-list{
    widt*:100%;
}

.rs-article-list-link{
 *  display:flex;
    align-items:fl*x-start;
}

.rs-article-list-thumb*
    flex-shrink:0;
}
/* =========================
   ABOUT SECTION FIX
   ========================= */

.rs-about-fourteen .rs-about-wrapper{
    display:flex !important;
    align-items:center;
    gap:50px;
}

.rs-about-fourteen .rs-about-thumb{

    flex:0 0 50%;
}

.rs-about-fourteen .rs-about-content-wrapper{

    flex:0 0 50%;
}

.rs-about-fourteen .rs-about-thumb video,
.rs-about-fourteen .rs-about-thumb img{
    width:100%;
    display:block;
    border-radius:12px;
}

/* Tablet */
@media (max-width:991px){

    .rs-about-fourteen .rs-about-wrapper{
        flex-direction:column;
    }

    .rs-about-fourteen .rs-about-thumb,
    .rs-about-fourteen .rs-about-content-wrapper{
        width:100%;
        flex:0 0 100%;
    }
}
@media only screen and (max-width: 767px) {
  .rs-feature-area.section-space {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .rs-categories-area.section-space,
  .rs-portfolio-area.section-space,
  .rs-blog-area.section-space,
  .rs-about-area.section-space-bottom,
  .rs-testimonial-area.section-space-bottom {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* Mobile Banner Fixes */
  .rs-banner-thirteen .rs-banner-item {
    min-height: 500px !important;
  }

  .rs-banner-thirteen .rs-banner-bg-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .rs-banner-thirteen .rs-banner-item-wrapper {
    position: relative;
    min-height: 500px;
  }

  .rs-banner-thirteen .rs-banner-item-wrapper .container-fluid {
    position: relative;
    z-index: 2;
  }

  .rs-banner-thirteen .rs-banner-item {
    position: relative;
    z-index: 2;
  }

  /* Mobile Feature Cards - Smaller Size */
  .rs-feature-five .rs-feature-item {
    height: unset;
    max-height: unset;
    min-height: unset !important;
    padding: 20px !important;
    padding-top: 50px !important;
  }

  .rs-feature-five .rs-feature-bg-thumb {
    height: 100%;
  }

  .rs-feature-five .rs-feature-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 15px !important;
  }

  .rs-feature-five .rs-feature-icon svg {
    width: 40px !important;
    height: 40px !important;
  }

  .rs-feature-five .rs-feature-title {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .rs-feature-five .rs-feature-descrip p {
    font-size: 14px !important;
  }

  /* Mobile Categories - 2 columns */
  .rs-categories-one .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .rs-categories-one .rs-category-item {
    height: 180px !important;
  }

  .rs-categories-one .rs-category-content {
    padding: 15px !important;
  }

  .rs-categories-one .rs-category-title a {
    font-size: 14px !important;
  }

  /* Mobile Portfolio Layout */
  .rs-portfolio-area .rs-section-title {
    display: none !important;
  }

  .rs-portfolio-area .section-title-space {
    margin-bottom: 20px !important;
  }

  .rs-portfolio-area .rs-services-btn {
    order: 3;
    margin-top: 20px;
    text-align: center;
  }

  .rs-portfolio-area .rs-section-subtitle-wrapper {
    margin-bottom: 20px;
  }

  /* Mobile Arrow Buttons - Smaller  ⚠️ چک شود که این اسلایدر محصولات فقط در صفحهٔ اول است */
  .rs-products-slider-wrapper .swiper-button-prev,
  .rs-products-slider-wrapper .swiper-button-next {
    width: 36px !important;
    height: 36px !important;
  }

  .rs-products-slider-wrapper .swiper-button-prev svg,
  .rs-products-slider-wrapper .swiper-button-next svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Mobile Testimonial Slider - Add Indicators  ⚠️ چک شود در صفحات دیگر تکرار نشده */
  .rs-testimonial-slider-wrapper .swiper {
    padding-bottom: 40px !important;
  }

  .rs-testimonial-slider-wrapper .swiper-pagination {
    position: absolute;
    bottom: 0 !important;
    display: flex !important;
    justify-content: center;
    gap: 8px;
  }

  .rs-testimonial-slider-wrapper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
  }

  .rs-testimonial-slider-wrapper .swiper-pagination-bullet-active {
    background: var(--rs-theme-mind-green, #059862);
    width: 24px;
    border-radius: 4px;
  }

  /* Mobile About Section */
  .rs-about-fourteen .rs-section-title {
    font-size: 24px !important;
  }

  /* Mobile Blog Section */
  .rs-blog-one .rs-section-title {
    font-size: 24px !important;
  }

  /* Mobile CTA Section */
  .rs-cta-three .rs-section-title {
    font-size: 20px !important;
  }

  .rs-cta-three .rs-cta-input input {
    font-size: 14px;
    padding: 12px 15px;
  }

  /* Mobile Testimonial Title  ⚠️ کلاس rs-testimonial-area خام است، چک شود */
  .rs-testimonial-area .rs-section-title {
    font-size: 24px !important;
  }

  .rs-testimonial-area .rs-testimonial-btn {
    margin-top: 20px;
  }
}
/* =====================================
   Custom Page Styles
   ===================================== */

/* Preloader Transition */
#pre-load {
  transition: opacity 0.3s ease;
}

/* In dark mode, keep icons white */
[data-theme="dark"] .rs-feature-icon svg path,
.theme-dark .rs-feature-icon svg path {
  fill: white !important;
}

/* Banner Award Section - Fixed at Bottom */
.rs-banner-thirteen .rs-banner-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rs-banner-thirteen .rs-banner-award-wrapper {
  margin-top: auto;
}

/* Fix overflow in feature icons */
.rs-feature-five .rs-feature-icon {
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Light backgrounds for feature and category items */
.rs-feature-five .rs-feature-bg-thumb,
.rs-categories-one .rs-category-bg-thumb {
  background-color: #f2f9ff !important;
  opacity: 1;
}

.rs-feature-five .rs-feature-item:hover .rs-feature-bg-thumb,
.rs-categories-one .rs-category-item:hover .rs-category-bg-thumb {
  background-color: #e8f4fd !important;
}

/* Consistent section spacing */
.rs-feature-area.section-space {
  padding-top: 80px;
  padding-bottom: 60px;
}

.rs-categories-area.section-space,
.rs-portfolio-area.section-space,
.rs-blog-area.section-space,
.rs-about-area.section-space-bottom,
.rs-testimonial-area.section-space-bottom {
  padding-top: 0;
  padding-bottom: 80px;
}

@media only screen and (max-width: 991px) {
  .rs-feature-area.section-space {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .rs-categories-area.section-space,
  .rs-portfolio-area.section-space,
  .rs-blog-area.section-space,
  .rs-about-area.section-space-bottom,
  .rs-testimonial-area.section-space-bottom {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media only screen and (max-width: 767px) {
  .rs-feature-area.section-space {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .rs-categories-area.section-space,
  .rs-portfolio-area.section-space,
  .rs-blog-area.section-space,
  .rs-about-area.section-space-bottom,
  .rs-testimonial-area.section-space-bottom {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* Mobile Banner Fixes */
  .rs-banner-thirteen .rs-banner-item {
    min-height: 500px !important;
  }

  .rs-banner-thirteen .rs-banner-bg-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .rs-banner-thirteen .rs-banner-item-wrapper {
    position: relative;
    min-height: 500px;
  }

  .rs-banner-thirteen .rs-banner-item-wrapper .container-fluid {
    position: relative;
    z-index: 2;
  }

  .rs-banner-thirteen .rs-banner-item {
    position: relative;
    z-index: 2;
  }

  /* Mobile Feature Cards - Smaller Size */
  .rs-feature-five .rs-feature-item {
    /* min-height: 200px !important; */
    height: unset;
    max-height: unset;
    min-height: unset !important;
    padding: 20px !important;
    padding-top: 50px !important;
  }

  .rs-feature-five .rs-feature-bg-thumb {
    /* height: 200px !important; */
    height: 100%;
  }

  .rs-feature-five .rs-feature-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 15px !important;
  }

  .rs-feature-five .rs-feature-icon svg {
    width: 40px !important;
    height: 40px !important;
  }

  .rs-feature-five .rs-feature-title {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .rs-feature-five .rs-feature-descrip p {
    font-size: 14px !important;
  }

  /* Mobile Categories - 2 columns */
  .rs-categories-one .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .rs-categories-one .rs-category-item {
    height: 180px !important;
  }

  .rs-categories-one .rs-category-content {
    padding: 15px !important;
  }

  .rs-categories-one .rs-category-title a {
    font-size: 14px !important;
  }

  /* Mobile Portfolio Layout */
  .rs-portfolio-area .rs-section-title {
    display: none !important;
  }

  .rs-portfolio-area .section-title-space {
    margin-bottom: 20px !important;
  }

  .rs-portfolio-area .rs-services-btn {
    order: 3;
    margin-top: 20px;
    text-align: center;
  }

  .rs-portfolio-area .rs-section-subtitle-wrapper {
    margin-bottom: 20px;
  }
/* ===================================================================
   اضافه‌شونده به home.css - مخصوص بخش «دوره‌های پیشنهادی» صفحه اول
   (Section: rs-portfolio-five.has-theme-mind-green که شامل کارت‌های دوره است)
=================================================================== */

/* rs-training-card اصلش برای کنار لیست مقاله طراحی شده بود (position: sticky)
   که داخل اسلایدر معنی نداره و باعث جابه‌جایی عجیب موقع اسکرول می‌شه */
.rs-portfolio-five .rs-training-card {
    position: static;
    height: auto;
    max-width: 560px;
    margin: 0 auto;
}

@media only screen and (max-width: 991px) {
    .rs-portfolio-five .rs-training-card {
        margin-top: 0;
    }
}

/* چون الان یک کارت در هر اسلاید نشون داده می‌شه، swiper-slide رو هم وسط‌چین می‌کنیم */
.rs-portfolio-five .swiper-slide {
    display: flex;
    justify-content: center;
}
  /* Mobile Arrow Buttons - Smaller */
  .rs-products-slider-wrapper .swiper-button-prev,
  .rs-products-slider-wrapper .swiper-button-next {
    width: 36px !important;
    height: 36px !important;
  }

  .rs-products-slider-wrapper .swiper-button-prev svg,
  .rs-products-slider-wrapper .swiper-button-next svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Mobile Testimonial Slider - Add Indicators */
  .rs-testimonial-slider-wrapper .swiper {
    padding-bottom: 40px !important;
  }

  .rs-testimonial-slider-wrapper .swiper-pagination {
    position: absolute;
    bottom: 0 !important;
    display: flex !important;
    justify-content: center;
    gap: 8px;
  }

  .rs-testimonial-slider-wrapper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
  }

  .rs-testimonial-slider-wrapper .swiper-pagination-bullet-active {
    background: var(--rs-theme-mind-green, #059862);
    width: 24px;
    border-radius: 4px;
  }

  /* Mobile About Section */
  .rs-about-fourteen .rs-section-title {
    font-size: 24px !important;
  }

  /* Mobile Blog Section */
  .rs-blog-one .rs-section-title {
    font-size: 24px !important;
  }

  /* Mobile CTA Section */
  .rs-cta-three .rs-section-title {
    font-size: 20px !important;
  }

  .rs-cta-three .rs-cta-input input {
    font-size: 14px;
    padding: 12px 15px;
  }

  /* Mobile Testimonial Title */
  .rs-testimonial-area .rs-section-title {
    font-size: 24px !important;
  }

  .rs-testimonial-area .rs-testimonial-btn {
    margin-top: 20px;
  }
}

/* Product Card Hover Effects */
.product-card {text-align:center;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.product-card .product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-card .product-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;  left: 0;  right: 0;  bottom: 0;
  background: rgba(16, 185, 129, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.product-card:hover .product-image-wrapper::before {
  opacity: 1;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-card h5 a:hover {
  color: #10b981 !important;
}
.product-brand {
	font-size: .85rem;
	color: var(--teal);
	font-weight: 600;
}
.product-short {
	font-size: .85rem;
	color: var(--text-m);
	margin-bottom: .6rem;
}
<!-- products area end -->

    <!-- Features Responsive Styles -->

      @media (max-width: 1199px) {
        .row.g-5.justify-content-center .col-xl[style*="max-width: 20%"] {
          max-width: 33.333% !important;
        }
      }

      @media (max-width: 991px) {
        .row.g-5.justify-content-center .col-xl[style*="max-width: 20%"] {
          max-width: 50% !important;
        }
      }

      @media (max-width: 575px) {
        .row.g-5.justify-content-center .col-xl[style*="max-width: 20%"] {
          max-width: 100% !important;
        }
      }

      /* Swiper Navigation Buttons Styles */
      .rs-products-slider-wrapper {
        position: relative;
      }

      .rs-products-slider-wrapper .swiper {
        position: relative;
      }

      .rs-products-slider-wrapper .swiper-button-prev,
      .rs-products-slider-wrapper .swiper-button-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: var(--rs-theme-mind-green, #059862);
        width: 50px;
        height: 50px;
        background: white;
        border: 2px solid var(--rs-theme-mind-green, #059862);
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
      }

      .rs-products-slider-wrapper .swiper-button-prev {
        right: 10px;
        left: auto;
      }

      .rs-products-slider-wrapper .swiper-button-next {
        left: 10px;
        right: auto;
      }

      .rs-products-slider-wrapper .swiper-button-prev:hover,
      .rs-products-slider-wrapper .swiper-button-next:hover {
        background: var(--rs-theme-mind-green, #059862) !important;
        color: white !important;
        transform: translateY(-50%) scale(1.1);
        border-color: var(--rs-theme-mind-green, #059862) !important;
      }

      .rs-products-slider-wrapper .swiper-button-prev::after,
      .rs-products-slider-wrapper .swiper-button-next::after {
        display: none;
      }

      .rs-products-slider-wrapper .swiper-button-prev svg,
      .rs-products-slider-wrapper .swiper-button-next svg {
        width: 24px;
        height: 24px;
      }

      /* Mobile Portfolio Button Font Weight Fix */
      @media only screen and (max-width: 767px) {
        .rs-portfolio-area .rs-section-subtitle-wrapper {
          font-weight: 400;
        }

        .rs-portfolio-area .rs-section-subtitle {
          font-weight: 500;
        }
      }

      /* Banner Award Section - Fixed at Bottom */
      .rs-banner-thirteen .rs-banner-item {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }

      .rs-banner-thirteen .rs-banner-award-wrapper {
        margin-top: auto;
      }

      /* Features Styles - matching elements-features.html structure */
      .rs-feature-five .rs-feature-item {
        position: relative;
        padding: 40px 30px;
        /* min-height: 250px; */
        height: 100%;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        /* margin-top: 40px; */
        /* overflow: hidden; */

      }

      /* @media only screen and (max-width: 1700px) {
        .rs-feature-five .rs-feature-item {
          margin-top: 55px;
        }
      }

      @media only screen and (max-width: 991px) {
        .rs-feature-five .rs-feature-item {
          margin-top: 50px;
        }
      } */

      .rs-feature-five .rs-feature-bg-thumb {
        border-radius: 8px;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        z-index: 0;
        background-color: #f2f9ff;
        opacity: 0.7;
        transition: opacity 0.5s ease;
      }

      .rs-feature-five .rs-feature-item:hover .rs-feature-bg-thumb {
        opacity: 0.4;
        background-color: #e8f4fd;
      }

      .rs-feature-five .rs-feature-item::before {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        border-radius: 8px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
      }

      .rs-feature-five .rs-feature-icon {
        position: relative;
        z-index: 2;
        margin-bottom: 20px;
        overflow: hidden;
      }

      .rs-feature-five .rs-feature-icon svg path {
        color: var(--rs-white);
        transition: color 0.3s ease;
      }

      .rs-feature-five .rs-feature-item:hover .rs-feature-icon svg path {
        color: var(--rs-theme-mind-green, #059862);
      }

      .rs-feature-five .rs-feature-title {
        position: relative;
        z-index: 2;
        margin-bottom: 15px;
        color: var(--text-heading, #1a1a1a);
        transition: color 0.3s ease;
      }

      .rs-feature-five .rs-feature-item:hover .rs-feature-title {
        color: var(--rs-white);
      }

      .rs-feature-five .rs-feature-descrip {
        position: relative;
        z-index: 2;
      }

      .rs-feature-five .rs-feature-descrip p {
        line-height: 1.6;
        color: var(--text-primary, #666666);
        transition: color 0.3s ease;
      }

      .rs-feature-five .rs-feature-item:hover .rs-feature-descrip p {
        color: rgba(255, 255, 255, 0.9);
      }

      /* Dark Mode Styles for Feature Items */
      .theme-dark .rs-feature-five .rs-feature-title {
        color: var(--text-heading, #ffffff);
      }

      .theme-dark .rs-feature-five .rs-feature-descrip p {
        color: var(--text-primary, #cccccc);
      }

      .theme-dark .rs-feature-five .rs-feature-icon svg path {
        fill: var(--rs-theme-mind-green, #059862);
      }

      .theme-dark .rs-feature-five .rs-feature-item:hover .rs-feature-title {
        color: var(--rs-white);
      }

      .theme-dark .rs-feature-five .rs-feature-item:hover .rs-feature-descrip p {
        color: rgba(255, 255, 255, 0.9);
      }

      .theme-dark .rs-feature-five .rs-feature-item:hover .rs-feature-icon svg path {
        fill: var(--rs-white);
      }

      /* Banner Slogan Styles */
      .rs-banner-slogan {
        font-size: 120px;
        font-weight: 700;
        display: block;
        margin-bottom: 30px;
        line-height: 1.1;
        letter-spacing: -2px;
      }

      /* Categories Styles */
      .rs-categories-one .rs-category-item {
        position: relative;
        overflow: hidden;
        height: 300px;
        border-radius: 8px;
      }

      .rs-categories-one .rs-category-bg-thumb {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        z-index: 1;
        background-color: #f2f9ff;
        transition: transform 0.5s ease;
      }

      .rs-categories-one .rs-category-item:hover .rs-category-bg-thumb {
        background-color: #e8f4fd;
      }

      .rs-categories-one .rs-category-item:hover .rs-category-bg-thumb {
        transform: scale(1.1);
      }

      .rs-categories-one .rs-category-bg-thumb::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.38) 100%);
        z-index: 1;
      }

      .rs-categories-one .rs-category-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 30px;
        z-index: 2;
      }

      .rs-categories-one .rs-category-title {
        margin-bottom: 15px;
      }

      .rs-categories-one .rs-category-title a {
        color: var(--rs-white);
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.3s ease;
      }

      .rs-categories-one .rs-category-title a:hover {
        color: var(--rs-theme-mind-green, #059862);
      }

      .rs-categories-one .rs-category-btn .rs-btn {
        padding: 10px 20px;
        height: auto;
        font-size: 14px;
      }

      @media only screen and (max-width: 991px) {
        .rs-categories-one .rs-category-item {
          height: 250px;
        }

        .rs-categories-one .rs-category-content {
          padding: 20px;
        }

        .rs-categories-one .rs-category-title a {
          font-size: 18px;
        }
      }

      /* CTA Input Styles */
      .rs-cta-input {
        display: flex;
        flex-wrap: wrap;
        overflow: visible;
      }

      .rs-cta-input input {
        text-align: right;
        font-weight: 500;
      }

      .rs-cta-input input::placeholder {
        font-family: "IRANSans", "Vazir", sans-serif;
        text-align: right;
      }

      @media only screen and (max-width: 575px) {
        .rs-categories-one .rs-category-item {
          height: 200px;
        }

        .rs-categories-one .rs-category-content {
          padding: 15px;
        }

        .rs-categories-one .rs-category-title a {
          font-size: 16px;
        }
      }

      /* Blog Section - Prevent going under sticky header */
      .rs-blog-area {
        padding-top: 120px;
        scroll-margin-top: 120px;
      }

      @media only screen and (max-width: 1366px) {
        .rs-blog-area {
          padding-top: 110px;
          scroll-margin-top: 110px;
        }
      }

      @media only screen and (max-width: 1199px) {
        .rs-blog-area {
          padding-top: 100px;
          scroll-margin-top: 100px;
        }
      }

      @media only screen and (max-width: 991px) {
        .rs-blog-area {
          padding-top: 90px;
          scroll-margin-top: 90px;
        }
      }

      @media only screen and (max-width: 767px) {
        .rs-blog-area {
          padding-top: 80px;
          scroll-margin-top: 80px;
        }
      }

      /* Articles List Styles */
      .rs-articles-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
      }

      .rs-article-list-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 2rem;
        transition: all 0.3s ease;
      }

      .rs-article-list-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }

      .rs-article-list-link {
        display: flex;
        gap: 1.5rem;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
      }

      .rs-article-list-link:hover {
        color: var(--rs-theme-mind-green, #059862);
      }

      .rs-article-list-thumb {
        flex-shrink: 0;
        width: 200px;
        height: 150px;
        border-radius: 8px;
        overflow: hidden;
        background: #f5f5f5;
      }

      .rs-article-list-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }

      .rs-article-list-link:hover .rs-article-list-thumb img {
        transform: scale(1.05);
      }

      .rs-article-list-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }

      .rs-article-list-content .rs-blog-meta {
        margin-bottom: 0.5rem;
      }

      .rs-article-list-content .rs-blog-meta-item {
        font-size: 0.875rem;
        color: var(--text-primary, #666666);
      }

      .rs-article-list-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0;
        color: var(--text-heading, #1a1a1a);
        transition: color 0.3s ease;
        line-height: 1.4;
      }

      .rs-article-list-link:hover .rs-article-list-title {
        color: var(--rs-theme-mind-green, #059862);
      }

      .rs-article-list-description {
        font-size: 0.9375rem;
        line-height: 1.6;
        color: var(--text-primary, #666666);
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      /* Training Card Styles */
      .rs-training-card {
        background: var(--bg-secondary, #ffffff);
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        height: fit-content;
        position: sticky;
        top: 2rem;
      }

      .rs-training-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
      }

      .rs-training-card-header {
        margin-bottom: 1.5rem;
      }

      .rs-training-card-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        color: var(--text-heading, #1a1a1a);
      }

      .rs-training-card-thumb {
        width: 100%;
        height: 200px;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 1.5rem;
        background: #f5f5f5;
      }

      .rs-training-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }

      .rs-training-card:hover .rs-training-card-thumb img {
        transform: scale(1.05);
      }

      .rs-training-card-name {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0 0 1rem 0;
        line-height: 1.4;
      }

      .rs-training-card-name a {
        color: var(--text-heading, #1a1a1a);
        text-decoration: none;
        transition: color 0.3s ease;
      }

      .rs-training-card-name a:hover {
        color: var(--rs-theme-mind-green, #059862);
      }

      .rs-training-card-meta {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1rem;
      }

      .rs-training-card-date,
      .rs-training-card-time {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9375rem;
        color: var(--text-primary, #666666);
      }

      .rs-training-card-date i,
      .rs-training-card-time i {
        color: var(--rs-theme-mind-green, #059862);
        font-size: 1.125rem;
      }

      .rs-training-card-description {
        font-size: 0.9375rem;
        line-height: 1.6;
        color: var(--text-primary, #666666);
        margin: 0 0 1.5rem 0;
      }

      .rs-training-card-btn {
        margin-top: auto;
      }

      /* Dark Mode Styles */
      .theme-dark .rs-article-list-item {
        border-bottom-color: rgba(255, 255, 255, 0.1);
      }

      .theme-dark .rs-article-list-title {
        color: var(--text-heading, #ffffff);
      }

      .theme-dark .rs-article-list-description {
        color: var(--text-primary, #b0b0b0);
      }

      .theme-dark .rs-training-card {
        background: var(--bg-secondary, #1a1a1a);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
      }

      .theme-dark .rs-training-card:hover {
        box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
      }

      .theme-dark .rs-training-card-title {
        color: var(--text-heading, #ffffff);
      }

      .theme-dark .rs-training-card-name a {
        color: var(--text-heading, #ffffff);
      }

      .theme-dark .rs-training-card-description {
        color: var(--text-primary, #b0b0b0);
      }

      /* Responsive Styles */
      @media only screen and (max-width: 991px) {
        .rs-article-list-thumb {
          width: 150px;
          height: 120px;
        }

        .rs-training-card {
          position: static;
          margin-top: 2rem;
        }
      }

      @media only screen and (max-width: 767px) {
        .rs-article-list-link {
          flex-direction: column;
          gap: 1rem;
        }

        .rs-article-list-thumb {
          width: 100%;
          height: 200px;
        }

        .rs-training-card {
          padding: 1.5rem;
        }

        .rs-training-card-thumb {
          height: 180px;
        }
      }
      .rs-banner-award-title {
        font-size: clamp(1.6rem, 3vw, 2.6rem);
        font-weight: 800;
        letter-spacing: -0.5px;
        line-height: 1.4;
        background: linear-gradient(135deg, #ffffff 0%, #a8f0e0 50%, #ffffff 100%);
        background-size: 200% 200%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        animation: rsShine 3s ease-in-out infinite, rsFadeUp 1s ease-out both;
    }
    
    .rs-banner-award-sub {
        font-size: clamp(1rem, 1.4vw, 1.2rem);
        font-weight: 500;
        color: rgba(255, 255, 255, 0.85);
        margin-top: 12px;
        letter-spacing: 0.5px;
        animation: rsSlideIn 1.2s ease-out 0.4s both;
    }
    
    /* انیمیشن درخشش رنگ */
    @keyframes rsShine {
        0%   { background-position: 0% 50%; }
        50%  { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    
    /* انیمیشن بالا آمدن */
    @keyframes rsFadeUp {
        from { opacity: 0; transform: translateY(30px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    
    /* انیمیشن ورود از راست */
    @keyframes rsSlideIn {
        from { opacity: 0; transform: translateX(40px); }
        to   { opacity: 1; transform: translateX(0); }
    }
    
    /* ریسپانسیو */
    @media (max-width: 768px) {
        .rs-banner-award-title { font-size: 1.4rem; }
        .rs-banner-award-sub   { font-size: 0.95rem; }
    }
    /* ═══════════════════════════════════════
   Blog Meta — Date styling
   ═══════════════════════════════════════ */
   .rs-blog-meta-item::before {
    content:none !important;}

.rs-blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;                          /* ✅ به‌جای 20px */
}

.rs-blog-meta .rs-blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  direction: rtl;
  line-height: 1;
  white-space: nowrap;
}


/* متن تاریخ */
.rs-blog-meta .rs-blog-meta-item span {
  font-family: 'Estedad', 'Vazirmatn', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1;
  font-feature-settings: "ss01" 1, "kern" 1;
}