.custom-split-btn {
  position: relative;
  background: #ffffff 0% 0% no-repeat padding-box;
  border: 1px solid #1f2a44;
  border-radius: 2px;
  color: #1a2b49;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
  width: 250px;
  padding: 4px;
}

.custom-split-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #1a2b49;
  /* Fill color */
  transform: translateY(-110%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.custom-split-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #1a2b49;
  /* Fill color */
  transform: translateY(110%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.custom-split-btn:hover::before,
.custom-split-btn:hover::after {
  transform: translateY(0);
}

.custom-split-btn:hover .btn_text {
  color: #ffffff;
}

.custom-split-btn .btn_text {
  font-size: 18px;
  font-weight: 600;
  color: #1f2a44;
  position: relative;
  z-index: 2;
}

/* ================= Media Queries ================== */

@media (min-width: 768px) and (max-width: 991px) {
  .custom-split-btn .btn_text {
    font-size: 16px;
  }
}
@media (min-width: 0px) and (max-width: 575.98px) {
  .custom-split-btn {
    width: 150px;
  }
  .custom-split-btn .btn_text {
    font-size: 14px;
  }
}
