/* hero-style.css */
.abwab-hero-section {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  padding: 80px 0 100px;
  /* Background grid pattern is controlled dynamically via Elementor */
}

.abwab-hero-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.abwab-hero-inner.flex-row-reverse {
  flex-direction: row-reverse;
}

.abwab-hero-content {
  flex: 1;
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.abwab-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 25px;
}

.abwab-hero-content h1 {
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 900;
}

.abwab-hero-content h1 span {
  position: relative;
  display: inline-block;
}

.abwab-hero-content p {
  margin-bottom: 35px;
  opacity: 0.9;
}

.abwab-hero-actions {
  display: flex;
  gap: 15px;
}

.abwab-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.abwab-hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

.abwab-hero-stat-item {
  display: flex;
  flex-direction: column;
  padding: 15px 25px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.abwab-hero-stat-item:hover {
  transform: translateY(-5px);
}

.abwab-hero-stat-number {
  font-weight: 900;
  font-size: 28px;
}

.abwab-hero-stat-text {
  font-size: 14px;
}

.abwab-hero-image-wrapper {
  flex: 1;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

.abwab-hero-loaded .abwab-hero-content,
.abwab-hero-loaded .abwab-hero-image-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.abwab-hero-image {
  width: 100%;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

/* Floating Elements */
.abwab-floating-card {
  position: absolute;
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
}

.card-top-right {
  top: -20px;
  right: -20px;
  animation: float 5s ease-in-out infinite 1s;
}

.card-bottom-left {
  bottom: 30px;
  left: -30px;
  animation: float 7s ease-in-out infinite 2s;
}

.abwab-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.abwab-card-text h4 {
  font-size: 14px;
  margin: 0;
}

.abwab-card-text p {
  font-size: 12px;
  margin: 0;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
  .abwab-hero-inner {
    flex-direction: column !important; /* Force column on mobile */
    text-align: center;
  }
  .abwab-hero-actions,
  .abwab-hero-stats {
    justify-content: center;
  }
  .card-top-right {
    top: -10px;
    right: 10px;
  }
  .card-bottom-left {
    bottom: 10px;
    left: 10px;
  }
}
@media (max-width: 768px) {
  .abwab-hero-actions {
    flex-direction: column;
  }
  .abwab-hero-actions .btn {
    width: 100%;
  }
  .abwab-hero-stats {
    flex-wrap: wrap;
    gap: 15px;
  }
}
