/* start hero section style */

.hero-section {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
}

#hero-particles {
  position: absolute;
  top: 40px;
  bottom: 40px;
  right: 50%;
  left: 0; /* یعنی فقط نصف سمت چپ */
  border-radius: 24px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}


.hero-content {
  text-align: right;
}

.text-end-rtl {
  text-align: right;
}

.hero-main-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #001f52;
  letter-spacing: -1px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-accent {
  color: #ff5e13;
}

.hero-highlight {
  color: #001f52;
  background: linear-gradient(90deg, #ffdb9d 50%, transparent 100%);
  padding: 0 0.3em;
  border-radius: 0.6em;
  display: inline-block;
}

.hero-lead {
  font-size: 1.16rem;
  color: #213150;
  line-height: 2.1rem;
  font-weight: 400;
}

.brand-orange {
  color: #ff5e13;
  font-weight: bold;
}

.brand-blue {
  color: #001f52;
  font-weight: bold;
}

.hero-cta {
  background: linear-gradient(90deg, #ffdb9d 85%, #ffbe59 100%);
  color: #001f52;
  border-radius: 32px;
  border: none;
  font-size: 1.13rem;
  box-shadow: 0 6px 20px #ffbe5918;
  transition: background 0.23s, color 0.19s, transform 0.18s;
}

.hero-cta:hover {
  background: #fff;
  color: #ff5e13;
  transform: translateY(-2px) scale(1.045);
}
.hero-secondary-cta {
  background: transparent;
  border: 2px solid #ffbe59;
  font-size: 1.05rem;
  padding: 0.6rem 1.8rem;
  color: #001f52;
  border-radius: 32px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px #ffbe5910;
  display: inline-flex;
}

.hero-secondary-cta:hover {
  background: #fffbe6;
  transform: translateY(-2px);
  color: #ff5e13;
}

.hero-illustration-container {
  max-width: 320px;
  width: 100%;
  animation: floatHero 4s ease-in-out infinite alternate;
}

.hero-illustration {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floatHero {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-14px);
  }
}

/* Responsive */

@media (max-width: 991px) {
  .hero-main-title {
    font-size: 2rem;
  }

  .hero-big-icon {
    width: 90px;
    height: 90px;
    font-size: 3.3rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 2.5rem 0;
  }

  #hero-particles {
    inset: 16px 8px;
    border-radius: 12px;
  }

.hero-section .row {
    flex-direction: column-reverse;
  }

  .hero-illustration-container {
    max-width: 290px;
    margin-bottom: 1.5rem;
  }

  .hero-content {
    text-align: center;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 1.3rem;
    line-height: 1.6;
    white-space: nowrap;
  }

  .hero-lead {
    font-size: 0.97rem;
    line-height: 1.8rem;
  }

  .hero-cta {
    font-size: 0.95rem;
    padding: 0.5rem 1.6rem;
  }

  .hero-big-icon {
    display: none;
  }
}

/* end hero section style */
