/* ==== Investment Section Styles ==== */
.invest-section {
  background: linear-gradient(135deg, #000000 0%, #121212 100%);
  color: #fff;
  position: relative;
  z-index: 1;
}
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background-color: rgba(188, 251, 108, 0.15);
  border-radius: 12px;
  width: var(--size);
  height: var(--size);
  top: var(--y);
  left: var(--x);
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
}

.glow-badge {
  background: rgba(188, 251, 108, 0.15);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.glow-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(188, 251, 108, 0) 0%,
    rgba(188, 251, 108, 0.1) 50%,
    rgba(188, 251, 108, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

#invest{
  font-size: 19px;
}

[dir="rtl"] #invest {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  text-align: right;
}
[dir="rtl"] #investh{
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: right;
}
[dir="rtl"] #investp{
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: right;
}

[dir="rtl"] #investd{
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: right;
}

[dir="rtl"] #investabout{
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 576px) {
  .invest-section {
    padding: 20px;
    text-align: center; /* تأكد أن النص كله في النص */
  }
  #invest {
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

[dir="rtl"] #invest {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

  #invest,
  #investh,
  #investp,
  #investd,
  #investabout {
    text-align: center !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  [dir="rtl"] #invest,
  [dir="rtl"] #investh,
  [dir="rtl"] #investp,
  [dir="rtl"] #investd,
  [dir="rtl"] #investabout {
    text-align: center !important;
  }
}
