/* =====================================================
   HERO SECTION
===================================================== */
[dir="rtl"] .text-end {
  text-align: right !important;
}

[dir="rtl"] .ms-2 {
  margin-right: 0.5rem !important;
  margin-left: 0 !important;
}
.hero-section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: radial-gradient(ellipse at 50% 103%, #fcfcfc 70%, #0d5028 137%);
  overflow: hidden;
  position: relative;
}

/* حداقل ارتفاع منطقی */
.min-vh-75 {
  min-height: 75vh;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */

.hero-section h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.25;
  letter-spacing: -1px;
}

.hero-section .lead {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
}

/* =====================================================
   BADGE
===================================================== */

.badge {
  background: rgba(26, 77, 46, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
}

/* =====================================================
   CTA BUTTON
===================================================== */

.btn-cta {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius-btn);
  transition: var(--transition);
  border: none;
}

.btn-cta:hover {
  background-color: var(--dark-grey);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   INDUSTRIAL CUBE
===================================================== */

.abstract-industrial-cube {
  position: relative;
  width: clamp(180px, 25vw, 300px);
  height: clamp(180px, 25vw, 300px);
  margin: 0 auto;
  background: var(--industrial-gradient);
  border-radius: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 30px 60px rgba(26, 77, 46, 0.2);
  animation: float 4s ease-in-out infinite;
}

.icon-floating {
  animation: rotate-icon 10s linear infinite;
}

.abstract-industrial-cube i {
  font-size: clamp(3rem, 6vw, 8rem);
}

/* =====================================================
   ANIMATION
===================================================== */

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-18px) rotate(-5deg);
  }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {
  .hero-section {
    text-align: center;
  }

  .hero-content {
    margin-bottom: 50px;
  }

  .d-flex.gap-3 {
    justify-content: center !important;
    flex-wrap: wrap;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 575.98px) {
  .hero-section {
    padding: 40px 0;
  }

  .hero-section .lead {
    margin-bottom: 30px;
  }

  .d-flex.gap-3 a {
    width: 100%;
  }

  .border-top .col-4 {
    text-align: center;
  }

  .border-top h3 {
    font-size: 1.1rem;
  }

  .border-top small {
    font-size: 0.75rem;
  }
}
