button{
  cursor: pointer;
}

.cta-wrapper {
  display: flex;              
  flex-direction: row;        
  align-items: center;      
  justify-content: center;  
  gap: 12px;                 
  flex-wrap: wrap;          
}
.cta-btn {
  height: 45px;
  padding: 10px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;                   
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.4s ease, color 0.4s ease;
  margin: 0;               
}
.cta-btn .label {
  display: inline-flex;
  gap: 6px;
  overflow: hidden;
}
.cta-btn .word {
  display: inline-block;
  opacity: 1;
  transform: translateX(0);
}

.cta-btn:hover .word {
  animation: wordSlideIn 0.45s ease forwards;
}

.cta-btn:hover .word:nth-child(1) { animation-delay: 0s; }
.cta-btn:hover .word:nth-child(2) { animation-delay: 0.15s; }
.cta-btn:hover .word:nth-child(3) { animation-delay: 0.30s; }

@keyframes wordSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-12px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ================= primary ================= */
.cta-btn.primary {
  background: #232d63;
  color: #fff;
  border: 1px solid #232d63;
}

/* ================= OUTLINE ================= */
.cta-btn.outline {
  background: #fff;
  color: #000;
  border: 1px solid #232d63;
}

.cta-btn.outline:hover {
  background: #232d63;
  color: #fff;
}

/* ================= ICON BOX ================= */
.cta-btn .icon-box {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 6px;
 border-radius: 0;     /* remove rounded box */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-btn.outline .icon-box.dark {
  background: #fff;
}

.cta-btn.outline:hover .icon-box.dark {
  background: #232d63;
  
}

/* ================= ARROWS ================= */
.cta-btn .arrow {
  position: absolute;
  font-size: 16px;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Arrow colors */
.cta-btn.primary .arrow { color: #fff; }
.cta-btn.outline .arrow { color: #000; }
.cta-btn.outline:hover .arrow { color: #fff; }

.arrow-1 {
  opacity: 1;
  transform: translateX(0);
}
.arrow-2 {
  opacity: 0;
  transform: translateX(-8px);
}

.cta-btn:hover .arrow-1 {
  opacity: 0;
  transform: translateX(8px);
}
.cta-btn:hover .arrow-2 {
  opacity: 1;
  transform: translateX(0);
}
