.agency-migration-section {
  background: #f8fbff;
  color: #071333;
}

.agency-migration-box {
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 97, 255, 0.12),
      transparent 32%
    ),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: 0 22px 48px rgba(17, 40, 80, 0.08);
}

.agency-migration-box::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 260px;
  background:
    radial-gradient(rgba(13, 110, 253, 0.18) 2px, transparent 2px),
    repeating-radial-gradient(
      circle at right top,
      rgba(13, 110, 253, 0.16) 0 1px,
      transparent 1px 18px
    );
  background-size:
    20px 20px,
    auto;
  opacity: 0.45;
}

.agency-migration-box > * {
  position: relative;
  z-index: 2;
}

.agency-migration-kicker {
  color: #0d6efd;
  font-size: 16px;
  font-weight: 900;
}

.agency-migration-kicker i {
  color: #ff5a00;
}

.agency-migration-kicker::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #0d6efd;
}

.agency-migration-head h2 {
  color: #071333;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.agency-migration-head p {
  max-width: 640px;
  color: #17213b;
  font-size: 18px;
  line-height: 1.55;
}

.agency-migration-head strong {
  color: #0d6efd;
}

.agency-migration-card {
  min-height: 310px;
  border: 1px solid #dbe8fb;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.08);
}

.agency-migration-card.active {
  background: linear-gradient(135deg, #0d6efd, #0046d9);
  border: 3px solid #ff7a00;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(13, 110, 253, 0.28);
}

.agency-step-no {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef5ff;
  color: #0d6efd;
  font-size: 18px;
  font-weight: 900;
}

.agency-migration-card.active .agency-step-no {
  background: linear-gradient(135deg, #ff7a00, #ffb000);
  color: #ffffff;
}

.agency-step-icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef5ff;
  color: #0d6efd;
  font-size: 42px;
}

.agency-migration-card.active .agency-step-icon {
  background: #ffffff;
  color: #0d6efd;
}

.agency-migration-card h3 {
  color: #071333;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.agency-migration-card.active h3,
.agency-migration-card.active p {
  color: #ffffff;
}

.agency-step-line {
  width: 42px;
  height: 3px;
  margin: 16px auto;
  border-radius: 50rem;
  background: #0d6efd;
}

.agency-migration-card.active .agency-step-line {
  background: #ff7a00;
}

.agency-migration-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.agency-migration-flow
  .col-xl-3:not(:last-child)
  .agency-migration-card::after {
  content: "\f061";
  position: absolute;
  right: -38px;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid #0d6efd;
  border-radius: 50%;
  background: #ffffff;
  color: #0d6efd;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 22px;
  transform: translateY(-50%);
  z-index: 4;
}

.agency-migration-points {
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.06);
}

.agency-point {
  min-height: 120px;
  border-right: 1px solid #cfe1fa;
}

.agency-point i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #eef5ff;
  color: #0d6efd;
  font-size: 26px;
}

.agency-point p {
  margin: 0;
  color: #071333;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.agency-migration-cta {
  max-width: 1200px;
  border: 1px solid #cfe1fa;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.7),
    0 16px 34px rgba(17, 40, 80, 0.08);
}

.agency-cta-rocket {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef5ff;
  color: #0d6efd;
  font-size: 42px;
}

.agency-cta-rocket {
  width: 180px;
  max-width: 100%;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agency-cta-rocket img {
  width: 180px;
  height: 120px;
  object-fit: contain;
  display: block;
}

.agency-migration-cta h3 {
  color: #071333;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.agency-cta-divider {
  width: 1px;
  height: 74px;
  margin: 0 auto;
  background: #cfe1fa;
}

.agency-migration-btn {
  min-height: 64px;
  padding: 0 34px;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(255, 90, 0, 0.25);
}

.agency-migration-btn:hover {
  color: #ffffff;
}

/* =========================================================
   Agency Migration Support Responsive
   ========================================================= */

@media (max-width: 1399px) {
  .agency-migration-head h2 {
    font-size: 32px;
  }

  .agency-migration-head p {
    font-size: 15px;
  }

  .agency-migration-kicker {
    font-size: 14px;
  }

  .agency-migration-card {
    min-height: 285px;
  }

  .agency-migration-card h3 {
    font-size: 16px;
  }

  .agency-migration-card p,
  .agency-point p,
  .agency-migration-btn {
    font-size: 14px;
  }

  .agency-step-icon {
    width: 78px;
    height: 78px;
    font-size: 34px;
  }

  .agency-step-no {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .agency-migration-cta h3 {
    font-size: 22px;
  }
}

@media (max-width: 1199px) {
  .agency-migration-flow
    .col-xl-3:not(:last-child)
    .agency-migration-card::after {
    display: none;
  }

  .agency-point {
    border-right: 0;
    border-bottom: 1px solid #cfe1fa;
  }
}
@media (max-width: 992px) {
  .agency-migration-cta  .row div{
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  .agency-migration-head h2 {
    font-size: 32px;
  }

  .agency-migration-head p {
    font-size: 16px;
  }

  .agency-migration-card {
    min-height: auto;
  }

  .agency-migration-cta {
    border-radius: 24px !important;
  }

  .agency-migration-btn {
    width: 100%;
    padding: 0 20px;
  }
}