/* =========================================================
   05. Hiring Models / Engagement Models
   ========================================================= */

.hi-primary-btn,
.hi-secondary-btn {
  gap: 11px;
  min-height: 54px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
}
.hi-primary-btn {
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  box-shadow: 0 15px 30px rgba(255, 98, 0, 0.26);
}
.hi-primary-btn:hover {
  color: #ffffff;
}
.hi-secondary-btn {
  border: 2px solid #0439b8;
  color: #0439b8;
}
.hi-secondary-btn:hover {
  color: #0439b8;
}
.hi-hire-drupal-section {
  padding: 90px 0 72px;
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 102, 255, 0.1),
      transparent 28%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(0, 132, 255, 0.14),
      transparent 28%
    ),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  color: #061a45;
}
.hi-hire-drupal-section::before {
  content: "";
  position: absolute;
  left: -230px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 118, 255, 0.11), transparent 58%);
  pointer-events: none;
}
.hi-hire-drupal-section::after {
  content: "";
  position: absolute;
  right: 38px;
  top: 18px;
  width: 190px;
  height: 140px;
  background-image: radial-gradient(
    rgba(0, 91, 232, 0.18) 2px,
    transparent 2px
  );
  background-size: 16px 16px;
  opacity: 0.75;
  pointer-events: none;
}
.hi-hire-left {
  z-index: 2;
}
.hi-hire-title {
  max-width: 620px;
  color: #061a45;
  font-size: clamp(42px, 4.7vw, 44px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.055em;
}
.hi-hire-line {
  width: 66px;
  height: 4px;
  margin: 28px 0 26px;
  border-radius: 999px;
  background: #075be8;
}
.hi-hire-desc {
  max-width: 590px;
  margin: 0 0 28px;
  color: #34415d;
  font-size: 18px;
  line-height: 1.75;
}
.hi-skill-title {
  color: #061a45;
  font-size: 20px;
  font-weight: 950;
}
.hi-skills-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  max-width: 590px;
}
.hi-skill-pill {
  gap: 14px;
  min-height: 44px;
  border: 1px solid rgba(7, 29, 77, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(7, 29, 77, 0.045);
  color: #061a45;
  font-size: 16px;
}
.hi-skill-pill i {
  min-width: 24px;
  color: #075be8;
  font-size: 22px;
}
.hi-skill-pill .fa-php,
.hi-skill-pill .fa-github {
  color: #061a45;
}
.hi-hire-buttons {
  gap: 18px;
  margin-top: 28px;
}
.hi-hire-primary,
.hi-hire-secondary {
  gap: 12px;
  min-height: 58px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 900;
}
.hi-hire-primary {
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  box-shadow: 0 18px 34px rgba(255, 98, 0, 0.25);
}
.hi-hire-primary:hover {
  color: #ffffff;
}
.hi-hire-secondary {
  border: 2px solid #075be8;
  color: #075be8;
}
.hi-hire-secondary:hover {
  color: #075be8;
}
.hi-hire-plan {
  min-height: 710px;
  padding: 42px 28px 30px;
  border: 1px solid rgba(7, 29, 77, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 70px rgba(7, 29, 77, 0.08);
  backdrop-filter: blur(14px);
}
.hi-hire-plan.popular {
  border-color: #ff6200;
  box-shadow:
    0 28px 75px rgba(7, 29, 77, 0.1),
    0 0 0 1px rgba(255, 98, 0, 0.1);
}
.hi-hire-plan h3 {
  color: #061a45;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.035em;
}
.hi-hire-plan p {
  margin: 0 0 30px;
  color: #061a45;
  font-size: 16px;
  line-height: 1.75;
}
.hi-hire-plan ul {
  margin: 0 0 30px;
  list-style: none;
}
.hi-hire-plan li {
  gap: 12px;
  color: #061a45;
  font-size: 16px;
  line-height: 1.45;
}
.hi-hire-plan li i {
  margin-top: 3px;
  color: #075be8;
  font-size: 17px;
}
.hi-hire-plan.popular li i {
  color: #ff6200;
}
.hi-hire-plan:nth-child(3) li i {
  color: #14995c;
}
.hi-plan-btn {
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 9px;
  font-size: 16;
  font-weight: 900;
}
.hi-trial-cta {
  z-index: 2;
  grid-template-columns: 190px 1fr auto;
  gap: 32px;
  margin-top: 34px;
  padding: 34px 46px;
  border-radius: 14px;
  background:
    radial-gradient(circle at left, rgba(0, 132, 255, 0.3), transparent 30%),
    linear-gradient(135deg, #061f5c 0%, #06143b 100%);
  box-shadow: 0 30px 70px rgba(7, 29, 77, 0.24);
}
.hi-trial-cta::after {
  content: "";
  position: absolute;
  right: 40px;
  bottom: 24px;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.16) 2px,
    transparent 2px
  );
  background-size: 12px 12px;
  pointer-events: none;
}
.hi-trial-visual {
  width: 160px;
  height: 96px;
}
.hi-trial-content h3 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.035em;
}
.hi-trial-content p {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.55;
}
.hi-trial-button {
  gap: 14px;
  min-height: 64px;
  padding: 0 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  font-size: 18px;
  box-shadow: 0 18px 38px rgba(255, 98, 0, 0.3);
}
.hi-trial-button:hover {
  color: #ffffff;
}

/* =========================================================
   Hire Drupal Developers Extra Styles
   ========================================================= */
.hi-hiring-options {
  z-index: 2;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.hi-popular-badge {
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  min-width: 150px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
}
.hi-plan-icon {
  place-items: center;
  width: 104px;
  height: 104px;
  font-size: 45px;
}
.hi-plan-icon.blue {
  background: #eaf3ff;
  color: #075be8;
}
.hi-plan-icon.orange {
  background: #fff1e8;
  color: #ff6200;
}
.hi-plan-icon.green {
  background: #eaf8ef;
  color: #14995c;
}
.hi-plan-icon span {
  right: 18px;
  bottom: 22px;
}
.hi-plan-line {
  width: 42px;
  height: 2px;
  margin: 20px auto 26px;
  border-radius: 999px;
}
.hi-plan-line.blue {
  background: #075be8;
}
.hi-plan-line.orange {
  background: #ff6200;
}
.hi-plan-line.green {
  background: #14995c;
}
.solid-orange {
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  box-shadow: 0 18px 34px rgba(255, 98, 0, 0.25);
}
.solid-orange:hover {
  color: #ffffff;
}
.outline-green {
  border: 2px solid #14995c;
  color: #14995c;
}
.outline-green:hover {
  color: #14995c;
}
.hi-monitor {
  left: 8px;
  top: 8px;
  width: 118px;
  height: 82px;
  border-radius: 7px;
  background: linear-gradient(180deg, #0c7dff, #0645d9);
  padding: 11px;
}
.hi-monitor-top {
  gap: 5px;
  margin-bottom: 9px;
}
.hi-monitor-top span {
  width: 5px;
  height: 5px;
  opacity: 0.75;
}
.hi-monitor-lines {
  gap: 7px;
}
.hi-monitor-lines i {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}
.hi-monitor-lines i:nth-child(2) {
  width: 92px;
}
.hi-monitor-lines i:nth-child(3) {
  width: 60px;
}
.hi-code-badge {
  right: 5px;
  bottom: 3px;
  place-items: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  font-size: 23px;
  box-shadow: 0 16px 32px rgba(255, 98, 0, 0.32);
}
.hi-card-divider {
  height: 1px;
  margin: 26px 0 20px;
  background: #d3deec;
}
.blue-btn {
  background: linear-gradient(135deg, #086fff, #0645d9);
  box-shadow: 0 15px 32px rgba(7, 91, 232, 0.24);
}
.orange-btn {
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  box-shadow: 0 15px 32px rgba(255, 98, 0, 0.25);
}
.hi-select-group::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  color: #5e6b86;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  transform: translateY(-50%);
  pointer-events: none;
}

/* =========================================================
   Hire Drupal Developers Responsive
   ========================================================= */
@media (max-width: 1399px) {
  .hi-hire-plan p,
  .hi-hire-plan li,
  .outline-blue,
  .hi-plan-btn,
  .hi-hire-primary,
  .hi-hire-secondary,
  .hi-skill-pill,
  .hi-trial-button {
    font-size: 14px;
  }

  .hi-hire-plan h3,
  .hi-skill-title,
  .hi-trial-content p {
    font-size: 16px !important;
  }

  .hi-hire-title {
    font-size: 32px;
  }

  .hi-hire-desc {
    font-size: 15px;
  }

  .hi-hiring-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1199px) {
  .hi-hiring-options {
    grid-template-columns: 1fr;
  }

  .hi-hire-plan {
    min-height: auto;
  }

  .hi-trial-cta {
    grid-template-columns: 150px 1fr;
  }

  .hi-trial-button {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 991px) {
  .hi-hire-left {
    margin-bottom: 34px;
  }
}

@media (max-width: 767px) {
  .hi-hire-drupal-section {
    padding: 70px 0;
  }

  .hi-hire-title {
    font-size: 32px;
  }

  .hi-hire-desc {
    font-size: 16px;
  }

  .hi-skills-grid {
    grid-template-columns: 1fr;
  }

  .hi-hire-buttons {
    flex-direction: column;
  }

  .hi-hire-primary,
  .hi-hire-secondary {
    width: 100%;
  }

  .hi-hire-plan {
    padding: 36px 24px 26px;
  }

  .hi-trial-cta {
    grid-template-columns: 1fr;
    padding: 30px;
    text-align: center;
  }

  .hi-trial-visual {
    margin: 0 auto;
  }

  .hi-trial-button {
    grid-column: auto;
    width: 100%;
  }

  .hi-trial-content h3 {
    font-size: 26px;
  }

  .hi-trial-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hi-hiring-options {
    grid-template-columns: 1fr !important;
  }
}

.service-engagement-models .hi-hiring-options {
  z-index: 2;
  grid-template-columns: repeat(4, 1fr);
}

.service-engagement-models .drupal-cta-box {
  border: 2px dashed #0439b8;
  background: transparent !important;
}

.service-engagement-models .drupal-cta-box h3 {
  color: #071b4d !important;
}

.hi-hire-plan:has(.hi-plan-icon.green) ul li i {
  color: #14995c;
}

.hi-hire-plan:has(.hi-plan-icon.blue) ul li i {
  color: #0056d6;
}

.hi-hire-plan:has(.hi-plan-icon.orange) ul li i {
  color: #ff5a00;
}

.hi-hire-plan:has(.hi-plan-icon.purple) ul li i {
  color: #6f2dbd;
}

.hi-hire-plan:has(.hi-plan-icon.green) li i,
.hi-hire-plan:has(.hi-plan-icon.green) .best-for {
  color: #14995c;
}

.hi-hire-plan:has(.hi-plan-icon.blue) li i,
.hi-hire-plan:has(.hi-plan-icon.blue) .best-for {
  color: #0056d6;
}

.hi-hire-plan:has(.hi-plan-icon.orange) li i,
.hi-hire-plan:has(.hi-plan-icon.orange) .best-for {
  color: #ff5a00;
}

.hi-hire-plan:has(.hi-plan-icon.purple) li i,
.hi-hire-plan:has(.hi-plan-icon.purple) .best-for {
  color: #6f2dbd;
}

.hi-plan-icon.purple {
  background: rgba(111, 45, 189, 0.12);
  color: #6f2dbd;
}

.hi-hire-plan:has(.hi-plan-icon.purple) .hi-plan-btn {
  border: 1px solid #6f2dbd;
  color: #6f2dbd;
}

/* Card badges */
.hi-card-badge {
  top: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  right: 15px;
}

.hi-card-badge.green {
  background: #dff5ec;
  color: #007a4d;
}

.hi-card-badge.blue {
  background: #eaf2ff;
  color: #0056d6;
}

.hi-card-badge.purple {
  background: #f1e7ff;
  color: #6f2dbd;
}

.hi-card-badge i {
  font-size: 14px;
}

.hi-popular-badge {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: #ff5a00;
  color: #ffffff;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0;
  white-space: nowrap;
}

/* =========================================================
   Engagement Models Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .service-engagement-models .hi-hiring-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .service-engagement-models .hi-hiring-options {
    grid-template-columns: 1fr !important;
  }
}

.drupal-cta-box {
  background: linear-gradient(135deg, #061942 0%, #08265c 100%);
  border-radius: 10px;
  padding: 28px 42px;
  box-shadow: 0 12px 28px rgba(0, 22, 65, 0.18);
}

.cta-icon {
  width: 88px;
  height: 88px;
  min-width: 88px;
  color: #ff6a00;
  font-size: 34px;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.cta-content h3 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
}

.cta-content p {
  font-size: 18px;
  line-height: 1.4;
  opacity: 0.92;
}

.cta-btn {
  background: #ff6a00;
  padding: 17px 34px;
  min-width: 300px;
  border-radius: 7px;
  font-size: 16px;
  z-index: 1;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.25);
}

/* =========================================================
   Hiring Models Overrides
   ========================================================= */

.service-engagement-models .hi-hiring-options {
  z-index: 2;
  grid-template-columns: repeat(4, 1fr);
}

.service-engagement-models .drupal-cta-box {
  border: 2px dashed #0439b8;
  background: transparent !important;
}

.service-engagement-models .drupal-cta-box h3 {
  color: #071b4d !important;
}

.hi-hire-plan:has(.hi-plan-icon.green) ul li i {
  color: #14995c;
}

.hi-hire-plan:has(.hi-plan-icon.blue) ul li i {
  color: #0056d6;
}

.hi-hire-plan:has(.hi-plan-icon.orange) ul li i {
  color: #ff5a00;
}

.hi-hire-plan:has(.hi-plan-icon.purple) ul li i {
  color: #6f2dbd;
}

.hi-hire-plan:has(.hi-plan-icon.green) li i,
.hi-hire-plan:has(.hi-plan-icon.green) .best-for {
  color: #14995c;
}

.hi-hire-plan:has(.hi-plan-icon.blue) li i,
.hi-hire-plan:has(.hi-plan-icon.blue) .best-for {
  color: #0056d6;
}

.hi-hire-plan:has(.hi-plan-icon.orange) li i,
.hi-hire-plan:has(.hi-plan-icon.orange) .best-for {
  color: #ff5a00;
}

.hi-hire-plan:has(.hi-plan-icon.purple) li i,
.hi-hire-plan:has(.hi-plan-icon.purple) .best-for {
  color: #6f2dbd;
}

.hi-plan-icon.purple {
  background: rgba(111, 45, 189, 0.12);
  color: #6f2dbd;
}

.hi-hire-plan:has(.hi-plan-icon.purple) .hi-plan-btn {
  border: 1px solid #6f2dbd;
  color: #6f2dbd;
}

/* Card badges */
.hi-card-badge {
  top: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  right: 15px;
}

.hi-card-badge.green {
  background: #dff5ec;
  color: #007a4d;
}

.hi-card-badge.blue {
  background: #eaf2ff;
  color: #0056d6;
}

.hi-card-badge.purple {
  background: #f1e7ff;
  color: #6f2dbd;
}

.hi-card-badge i {
  font-size: 14px;
}

.hi-popular-badge {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: #ff5a00;
  color: #ffffff;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0;
  white-space: nowrap;
}

/* =========================================================
   Engagement Models Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .service-engagement-models .hi-hiring-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .service-engagement-models .hi-hiring-options {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 1399px) {
  .cta-content h3 {
    font-size: 22px;
  }
  .cta-content p {
    font-size: 16px;
  }
  .cta-btn {
    font-size: 14px;
    min-width: auto;
  }
}
/* Hiring model badge position like screenshot */
.service-engagement-models .hi-card-badge {
  left: 20px;
  right: auto;
}

/* Popular card orange border like screenshot */
.service-engagement-models .hi-hire-plan.popular {
  border-color: #ff5a00;
}

/* Screenshot popular badge style */
.service-engagement-models .hi-popular-badge {
  top: 18px;
  left: 32px;
  transform: none;
  border-radius: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
}

/* Give icon more top space when badge exists */
.service-engagement-models .hi-hire-plan {
  padding-top: 58px;
}
