/* =========================================================
   04. What We Migrate
   ========================================================= */

.what-we-migrate-section {
  background:
    radial-gradient(
      circle at top right,
      rgba(13, 110, 253, 0.05),
      transparent 25%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

/* Section heading */

.what-we-migrate-head {
  max-width: 1180px;
}

.what-we-migrate-kicker {
  color: #0755bb;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.what-we-migrate-line {
  width: 65px;
  height: 2px;
  flex-shrink: 0;
  background: #0755bb;
}

.what-we-migrate-head h2 {
  color: #071333;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.what-we-migrate-head-description {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.what-we-migrate-head-description,
.what-we-migrate-head-description p {
  color: #34405c;
  font-size: 18px;
  line-height: 1.5;
}

.what-we-migrate-head-description p:last-child {
  margin-bottom: 0;
}

/* Migration cards */

.what-we-migrate-card {
  min-height: 235px;
  padding: 28px 28px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d6e3f5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 40, 80, 0.055);
}

.what-we-migrate-number {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #1768d6, #0348a7);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 7px 16px rgba(7, 85, 187, 0.18);
}

.what-we-migrate-card > .d-flex {
  min-width: 0;
  padding-left: 8px;
}

.what-we-migrate-icon {
  position: relative;
  width: 112px;
  min-width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #286ccc;
  background: radial-gradient(circle at 35% 30%, #f8fbff, #e8f0fc 75%);
  font-size: 58px;
}

.what-we-migrate-icon > i {
  line-height: 1;
}

.what-we-migrate-icon-badge {
  position: absolute;
  right: 13px;
  bottom: 16px;
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #eef4fd;
  border-radius: 50%;
  color: #286ccc;
  background: #eef4fd;
  font-size: 23px;
}

.what-we-migrate-icon-badge i {
  line-height: 1;
}

.what-we-migrate-content {
  min-width: 0;
  padding-top: 7px;
}

.what-we-migrate-content h3 {
  min-height: 53px;
  color: #071333;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: break-word;
}

.what-we-migrate-card-description,
.what-we-migrate-card-description p {
  color: #26345d;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.what-we-migrate-card-description p:last-child {
  margin-bottom: 0;
}

/* Card tag alignment */

.what-we-migrate-tags {
  width: 100%;
  margin-top: auto !important;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
  gap: 13px;
}

.what-we-migrate-tags span {
  min-width: 0;
  min-height: 36px;
  padding: 7px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #abc9f2;
  border-radius: 7px;
  color: #0752b5;
  background: #f9fbff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.what-we-migrate-tags > i {
  width: 4px;
  min-width: 4px;
  color: #79869d;
  font-size: 4px;
  line-height: 1;
  flex-shrink: 0;
}

/* =========================================================
   Migration Review CTA
   ========================================================= */

.migration-review-cta {
  padding: 18px 35px;
  border: 1px solid #102d5a;
  border-radius: 12px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(23, 117, 255, 0.18),
      transparent 28%
    ),
    linear-gradient(135deg, #021533 0%, #062851 50%, #021735 100%);
  box-shadow: 0 16px 36px rgba(4, 23, 56, 0.16);
}

/* Layered shield visual */

.migration-review-visual {
  position: relative;
  width: 190px;
  height: 145px;
}

.migration-review-shield {
  position: absolute;
  top: 0;
  left: 8px;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.migration-review-shield-outer,
.migration-review-shield-inner {
  position: absolute;
  display: block;
  line-height: 1;
}

.migration-review-shield-outer {
  z-index: 1;
  color: #8ebaff;
  font-size: 138px;
  filter: drop-shadow(0 8px 11px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 5px rgba(80, 145, 255, 0.3));
}

.migration-review-shield-inner {
  z-index: 2;
  color: #1261ce;
  font-size: 120px;
  filter: drop-shadow(0 4px 7px rgba(0, 34, 92, 0.35))
    drop-shadow(0 0 7px rgba(41, 118, 239, 0.28));
}

.migration-review-drupal {
  position: relative;
  z-index: 3;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 46px;
  line-height: 1;
  transform: translateY(6px);
}

.migration-review-drupal i {
  display: block;
  line-height: 1;
}

.migration-review-check {
  position: absolute;
  right: 7px;
  bottom: 2px;
  z-index: 5;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: #299343;
  font-size: 28px;
  line-height: 1;
  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.28),
    0 0 0 2px rgba(41, 147, 67, 0.2);
}

.migration-review-check i {
  display: block;
  line-height: 1;
}

/* CTA content */

.migration-review-content {
  min-width: 0;
  padding-left: 35px;
  border-left: 1px solid rgba(151, 179, 222, 0.48);
}

.migration-review-content h3 {
  color: #ffffff;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.migration-review-description,
.migration-review-description p {
  max-width: 760px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.migration-review-description p:last-child {
  margin-bottom: 0;
}

.migration-review-btn {
  min-width: 340px;
  min-height: 88px;
  padding: 18px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  border-radius: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7500, #ed4a00);
  box-shadow: 0 12px 28px rgba(255, 90, 0, 0.26);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.migration-review-btn i {
  flex-shrink: 0;
  font-size: 28px;
}

.migration-review-btn .fa-arrow-right {
  font-size: 25px;
}

.migration-review-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 90, 0, 0.32);
}

/* =========================================================
   Migration Decisions
   ========================================================= */

.migration-decisions {
  overflow: hidden;
  border: 1px solid #c6dbf7;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 10px 28px rgba(17, 40, 80, 0.045);
}

.migration-decision {
  min-height: 145px;
  padding: 20px 35px;
  border-right: 1px solid #cbd9ed;
}

.migration-decisions .col-xl-3:last-child .migration-decision {
  border-right: 0;
}

.migration-decision-icon {
  position: relative;
  width: 94px;
  min-width: 94px;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 50%;
  font-size: 48px;
}

.migration-decision-icon span {
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #eaf5ec;
  border-radius: 50%;
  font-size: 19px;
}

.migration-decision-arrow {
  position: absolute;
  top: 24px;
  right: 19px;
  font-size: 31px;
}

.migration-decision-content {
  min-width: 0;
}

.migration-decision-content h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.migration-decision-description,
.migration-decision-description p {
  color: #26345d;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.migration-decision-description p:last-child {
  margin-bottom: 0;
}

/* Keep */

.migration-decision-keep .migration-decision-icon {
  color: #207b34;
  border-color: #cfe5d2;
  background: #eef8ef;
}

.migration-decision-keep .migration-decision-icon span {
  color: #238740;
  background: #ffffff;
}

.migration-decision-keep h3 {
  color: #207b34;
}

/* Improve */

.migration-decision-improve .migration-decision-icon {
  color: #1c63c4;
  border-color: #d2e1f7;
  background: #eef4fc;
}

.migration-decision-improve h3 {
  color: #1452aa;
}

/* Replace */

.migration-decision-replace .migration-decision-icon {
  color: #ef5e00;
  border-color: #f4d7bc;
  background: #fff2e7;
}

.migration-decision-replace h3 {
  color: #ef5e00;
}

/* Remove */

.migration-decision-remove .migration-decision-icon {
  color: #d52222;
  border-color: #f2cece;
  background: #fff0f0;
}

.migration-decision-remove h3 {
  color: #d52222;
}

/* =========================================================
   What We Migrate Responsive
   ========================================================= */

@media (max-width: 1399px) {
  .what-we-migrate-kicker {
    font-size: 14px;
  }

  .what-we-migrate-head h2 {
    font-size: 32px;
  }

  .what-we-migrate-head-description,
  .what-we-migrate-head-description p {
    font-size: 15px;
  }

  .what-we-migrate-card {
    min-height: 220px;
    padding: 24px 20px 20px;
  }

  .what-we-migrate-icon {
    width: 92px;
    min-width: 92px;
    height: 92px;
    font-size: 47px;
  }

  .what-we-migrate-content h3 {
    min-height: 42px;
    font-size: 17px;
  }

  .what-we-migrate-card-description,
  .what-we-migrate-card-description p {
    font-size: 14px;
  }

  .what-we-migrate-tags {
    padding-top: 18px;
    gap: 8px;
  }

  .what-we-migrate-tags span {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .migration-review-content h3 {
    font-size: 22px;
  }

  .migration-review-description,
  .migration-review-description p {
    font-size: 15px;
  }

  .migration-review-btn {
    min-width: 285px;
    font-size: 14px;
  }

  .migration-decision {
    padding-right: 20px;
    padding-left: 20px;
  }

  .migration-decision-content h3 {
    font-size: 17px;
  }

  .migration-decision-description,
  .migration-decision-description p {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .what-we-migrate-tags {
    flex-wrap: wrap !important;
    justify-content: flex-start;
  }

  .migration-review-cta {
    text-align: center;
  }

  .migration-review-content {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }

  .migration-review-btn {
    min-width: 0;
  }

  .migration-decision {
    border-right: 1px solid #cbd9ed;
    border-bottom: 1px solid #cbd9ed;
  }

  .migration-decisions .col-sm-6:nth-child(2n) .migration-decision {
    border-right: 0;
  }

  .migration-decisions .col-sm-6:nth-last-child(-n + 2) .migration-decision {
    border-bottom: 0;
  }
}

@media (max-width: 991px) {
  .what-we-migrate-card > .d-flex {
    gap: 18px !important;
  }

  .migration-review-visual {
    transform: scale(0.9);
  }

  .migration-review-btn {
    min-height: 64px;
  }
}

@media (max-width: 767px) {
  .what-we-migrate-kicker {
    gap: 10px !important;
    font-size: 13px;
  }

  .what-we-migrate-line {
    width: 34px;
  }

  .what-we-migrate-head h2 {
    font-size: 22px;
  }

  .what-we-migrate-head-description,
  .what-we-migrate-head-description p {
    font-size: 15px;
  }

  .what-we-migrate-card {
    min-height: 0;
    padding: 23px 18px 20px;
  }

  .what-we-migrate-number {
    top: 14px;
    left: 14px;
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .what-we-migrate-card > .d-flex {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 13px !important;
    padding-left: 0;
  }

  .what-we-migrate-icon {
    width: 78px;
    min-width: 78px;
    height: 78px;
    font-size: 39px;
  }

  .what-we-migrate-icon-badge {
    right: 7px;
    bottom: 9px;
    width: 31px;
    height: 31px;
    font-size: 18px;
  }

  .what-we-migrate-content {
    padding-top: 0;
  }

  .what-we-migrate-content h3 {
    min-height: 0;
    font-size: 16px;
  }

  .what-we-migrate-card-description,
  .what-we-migrate-card-description p {
    font-size: 13px;
  }

  .what-we-migrate-tags {
    margin-top: 18px !important;
    padding-top: 0;
    flex-wrap: wrap !important;
    gap: 8px;
  }

  .what-we-migrate-tags span {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .migration-review-cta {
    padding: 20px 16px;
  }

  .migration-review-visual {
    margin-top: -8px;
    margin-bottom: -8px;
    transform: scale(0.8);
  }

  .migration-review-content h3 {
    font-size: 18px;
  }

  .migration-review-description,
  .migration-review-description p {
    font-size: 14px;
  }

  .migration-review-btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 13px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .migration-review-btn i,
  .migration-review-btn .fa-arrow-right {
    font-size: 21px;
  }

  .migration-decision {
    min-height: 130px;
    padding: 18px;
  }

  .migration-decision-icon {
    width: 76px;
    min-width: 76px;
    height: 76px;
    font-size: 38px;
  }

  .migration-decision-content h3 {
    font-size: 16px;
  }

  .migration-decision-description,
  .migration-decision-description p {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .what-we-migrate-kicker .what-we-migrate-line:last-child {
    display: none;
  }

  .what-we-migrate-tags > i {
    display: none;
  }

  .migration-review-visual {
    transform: scale(0.72);
  }

  .migration-decisions .col-sm-6 {
    width: 100%;
  }

  .migration-decision {
    border-right: 0 !important;
    border-bottom: 1px solid #cbd9ed !important;
  }

  .migration-decisions .col-sm-6:last-child .migration-decision {
    border-bottom: 0 !important;
  }
}

@media (min-width: 1400px) {
  .what-we-migrate-head,
  .migration-process-head {
    padding-inline: 10%;
  }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}
