/* ================= DIRECTIONAL PREMIUM BUTTON ================= */
.btn-directional {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 38px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;

  /* Base gradient */
   background: linear-gradient(
  135deg,
  var(--primary),
  var(--accent),
  var(--accent-2)
);

  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animated gradient layer */
.btn-directional::before {
  content: "";
  position: absolute;
  inset: 0;
background: linear-gradient(
  120deg,
  var(--primary),
  var(--accent),
  var(--accent-2),
  var(--primary)
);

  background-size: 300% 300%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.45s ease;
}

/* Arrow */
.btn-arrow {
  position: relative;
  display: inline-block;
  font-size: 1.2rem;
  transform: translateX(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Text */
.btn-text {
  position: relative;
  z-index: 1;
}

/* ================= HOVER ================= */
.btn-directional:hover {
  transform: scale(1.06);
  box-shadow:
    0 18px 50px rgba(79,70,229,0.45),
    0 0 0 1px rgba(255,255,255,0.12);
}

/* Gradient sweep */
.btn-directional:hover::before {
  opacity: 1;
  animation: gradient-slide 3s ease infinite;
}

/* Arrow moves to RIGHT END */
.btn-directional:hover .btn-arrow {
  transform: translateX(calc(100% + 100px));
}

/* ================= ANIMATION ================= */
@keyframes gradient-slide {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}




.section-heading {
  padding: 90px 0 70px;
  background: inherit;
}

.heading-wrap {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Background ghost text */
.heading-bg {
  position: absolute;
  inset: 0;
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}

/* Main title */
.heading-title {
  position: relative;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  color: #0b1220;
  z-index: 2;
}

.heading-title span {
  color: #e26c0c; /* Accent color */
}

/* Minimal accent line */
.heading-accent {
  display: block;
  width: 46px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(
    90deg,
    #e26c0c,
    #ff974a
  );
  border-radius: 6px;
}
