/* =========================================================
   Project CTA Section
   ========================================================= */

.hi-project-cta-section {
  padding: 60px 0;
  background: #f4f8ff;
}

/* =========================================================
   Main CTA Box
   ========================================================= */

.hi-project-cta-box {
  padding: 72px 70px 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 20%, rgba(0, 91, 255, 0.34), transparent 25%),
    radial-gradient(circle at 8% 10%, rgba(0, 91, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #031537 0%, #061d49 52%, #020b25 100%);
  box-shadow: 0 20px 45px rgba(3, 21, 55, 0.35);
}

/* Decorative dots */
.hi-project-cta-box::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 28px;
  width: 130px;
  height: 130px;
  opacity: 0.28;
  background-image: radial-gradient(#0b63e8 2px, transparent 2px);
  background-size: 28px 28px;
}

/* Decorative rings */
.hi-project-cta-box::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -125px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 90, 0, 0.8);
  border-radius: 50%;
  opacity: 0.7;
  box-shadow:
    -22px -22px 0 -21px rgba(0, 86, 214, 0.8),
    -44px -44px 0 -43px rgba(0, 86, 214, 0.6),
    -66px -66px 0 -65px rgba(0, 86, 214, 0.45);
}

/* =========================================================
   Main Content
   ========================================================= */

.hi-project-content {
  position: relative;
  z-index: 4;
  max-width: 1120px;
}

.hi-project-kicker {
  margin-bottom: 22px;
  color: #ff5a00;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hi-project-kicker span {
  position: relative;
  display: block;
  width: 70px;
  height: 2px;
}

.hi-project-kicker span:first-child {
  background: linear-gradient(90deg, transparent, #ff5a00);
}

.hi-project-kicker span:last-child {
  background: linear-gradient(90deg, #ff5a00, transparent);
}

.hi-project-kicker span:first-child::after,
.hi-project-kicker span:last-child::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #ff5a00;
  border-radius: 50%;
  transform: translateY(-50%);
}

.hi-project-kicker span:first-child::after {
  right: -3px;
}

.hi-project-kicker span:last-child::before {
  left: -3px;
}

.hi-project-content h2 {
  margin-bottom: 30px !important;
  font-size: 44px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.hi-project-content h2 span {
  color: #ff5a00;
}

.hi-project-title-line {
  width: 45px;
  height: 3px;
  margin: 0 auto 34px;
  background: #ff5a00;
  border-radius: 20px;
}

.hi-project-content .project-cta-description {
  max-width: 960px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
}

/* =========================================================
   CTA Buttons
   ========================================================= */

.hi-project-actions {
  gap: 38px;
  margin-top: 48px;
}

.hi-project-primary-btn,
.hi-project-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 72px;
  padding: 0 42px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
}

.hi-project-primary-btn {
  min-width: 300px;
  color: #ffffff;
  background: linear-gradient(90deg, #ff5a00, #ff7417);
  border: 2px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 14px 30px rgba(255, 90, 0, 0.28);
}

.hi-project-outline-btn {
  min-width: 430px;
  color: #ffffff;
  background: rgba(3, 21, 55, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.hi-project-primary-btn:hover,
.hi-project-primary-btn:focus,
.hi-project-primary-btn:active,
.hi-project-outline-btn:hover,
.hi-project-outline-btn:focus,
.hi-project-outline-btn:active {
  color: #ffffff;
}

.hi-project-primary-btn i,
.hi-project-outline-btn i {
  font-size: 34px;
}

.hi-project-primary-btn .fa-arrow-right,
.hi-project-outline-btn .fa-arrow-right {
  font-size: 32px;
}

/* =========================================================
   CTA Note
   ========================================================= */

.hi-project-note {
  align-items: center;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.35;
}

.hi-project-note i {
  color: #0877ff;
  font-size: 34px;
}

/* =========================================================
   Decorative Background Icons
   ========================================================= */

.hi-project-bg-drupal {
  position: absolute;
  top: 82px;
  right: 70px;
  z-index: 1;
  color: rgba(0, 86, 214, 0.45);
  font-size: 210px;
  pointer-events: none;
}

.hi-project-bg-code {
  position: absolute;
  top: 360px;
  right: 65px;
  z-index: 1;
  color: rgba(0, 86, 214, 0.45);
  font-size: 110px;
  pointer-events: none;
}

/* =========================================================
   Drupal Glow Illustration
   ========================================================= */

.hi-drupal-glow {
  position: absolute;
  top: 300px;
  left: 58px;
  z-index: 2;
  width: 255px;
  height: 300px;
  pointer-events: none;
}

.hi-drupal-glow::before {
  content: "";
  position: absolute;
  bottom: -42px;
  left: -50px;
  width: 320px;
  height: 130px;
  background: radial-gradient(circle, rgba(0, 140, 255, 0.45), transparent 68%);
  border-radius: 50%;
  filter: blur(8px);
}

.hi-drupal-glow::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -70px;
  width: 360px;
  height: 150px;
  border-top: 1px solid rgba(0, 150, 255, 0.4);
  border-bottom: 1px solid rgba(0, 150, 255, 0.12);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.hi-drupal-mark {
  display: grid;
  place-items: center;
  width: 215px;
  height: 250px;
  background: radial-gradient(
    circle at top,
    #18a7ff 0%,
    #086fff 45%,
    #00319a 100%
  );
  border-radius: 48% 52% 54% 46% / 58% 58% 42% 42%;
  box-shadow:
    0 30px 70px rgba(0, 117, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  font-size: 135px;
}

/* =========================================================
   Orbit Decoration
   ========================================================= */

.hi-orbit {
  position: absolute;
  top: 50%;
  right: -18px;
  left: -18px;
  height: 130px;
  border-top: 2px solid rgba(255, 255, 255, 0.64);
  transform: translateY(-50%) rotate(-22deg);
}

.hi-orbit-two {
  border-top-color: rgba(255, 106, 0, 0.74);
  transform: translateY(-50%) rotate(22deg);
}

/* =========================================================
   Global Orb
   ========================================================= */

.hi-global-orb {
  position: absolute;
  top: 260px;
  right: -16px;
  z-index: 2;
  width: 340px;
  height: 340px;
  background:
    radial-gradient(circle at center, rgba(0, 119, 255, 0.42), transparent 60%),
    radial-gradient(circle, rgba(16, 124, 255, 0.18) 1.8px, transparent 2px);
  background-size:
    auto,
    13px 13px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(93, 170, 255, 0.24);
  pointer-events: none;
}

.hi-global-orb::before {
  content: "";
  position: absolute;
  inset: 30px;
  background: radial-gradient(
    circle,
    rgba(0, 145, 255, 0.24) 1.6px,
    transparent 2px
  );
  background-size: 11px 11px;
  border-radius: 50%;
  opacity: 0.8;
}

.hi-global-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(63, 151, 255, 0.35);
  border-radius: 50%;
}

.hi-global-dot {
  position: absolute;
  z-index: 4;
  width: 11px;
  height: 11px;
  background: #ff6a00;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.22);
}

.dot-one {
  top: 118px;
  left: 62px;
}

.dot-two {
  top: 96px;
  right: 72px;
}

.dot-three {
  bottom: 76px;
  left: 82px;
}

.dot-four {
  right: 18px;
  bottom: 122px;
}

/* =========================================================
   Background Code Icons
   ========================================================= */

.hi-bg-code {
  position: absolute;
  z-index: 1;
  color: rgba(0, 112, 255, 0.38);
  font-size: 55px;
  pointer-events: none;
}

.hi-bg-code-left {
  top: 130px;
  left: 45px;
}

.hi-bg-code-right-top {
  top: 175px;
  right: 65px;
}

.hi-bg-code-right-bottom {
  top: 510px;
  right: 45px;
}

/* =========================================================
   Features
   ========================================================= */

.hi-project-features {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 62px;
  padding: 42px 40px;
  border-top: 1px solid rgba(45, 117, 255, 0.28);
}

.hi-project-feature {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 0 30px;
  border-right: 1px solid rgba(45, 117, 255, 0.5);
}

.hi-project-feature:last-child {
  border-right: 0;
}

.hi-project-feature-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: #ffffff;
  background: rgba(0, 86, 214, 0.18);
  border: 2px solid #1e67e8;
  border-radius: 50%;
  font-size: 32px;
}

.hi-project-feature h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.hi-project-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.35;
}

/* =========================================================
   Responsive: 1600px and below
   ========================================================= */

@media (max-width: 1600px) {
  .hi-project-content h2 {
    font-size: 32px;
  }

  .hi-project-content .project-cta-description {
    font-size: 16px;
  }

  .hi-project-primary-btn,
  .hi-project-outline-btn {
    min-width: 300px;
    font-size: 14px;
  }

  .hi-project-feature {
    padding: 0 20px;
  }

  .hi-project-feature h3 {
    font-size: 16px;
  }

  .hi-project-feature p {
    font-size: 14px;
  }
}

/* =========================================================
   Responsive: 1199.98px and below
   ========================================================= */

@media (max-width: 1199.98px) {
  .hi-project-cta-box {
    min-height: auto;
    padding-bottom: 56px;
  }

  .hi-drupal-glow,
  .hi-global-orb,
  .hi-bg-code {
    opacity: 0.22;
  }

  .hi-project-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 44px;
    padding: 34px 0 0;
  }

  .hi-project-feature {
    padding: 24px;
  }

  .hi-project-feature:nth-child(2) {
    border-right: 0;
  }

  .hi-project-feature:nth-child(1),
  .hi-project-feature:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

/* =========================================================
   Responsive: 991.98px and below
   ========================================================= */

@media (max-width: 991.98px) {
  .hi-project-cta-box {
    padding: 45px 24px 0;
  }

  .hi-project-actions {
    flex-direction: column;
    align-items: center;
  }

  .hi-project-primary-btn,
  .hi-project-outline-btn {
    width: 100%;
    min-width: 0;
    max-width: 400px;
  }

  .hi-project-feature {
    padding: 24px;
    border-right: 0;
  }

  .hi-project-bg-drupal,
  .hi-project-bg-code {
    display: none;
  }
}

/* =========================================================
   Mobile only: 767.98px and below
   ========================================================= */

@media (max-width: 767.98px) {
  .hi-project-cta-section {
    padding: 5% 0;
  }

  .hi-project-cta-box {
    padding: 42px 22px 32px;
    border-radius: 20px;
  }

  .hi-project-kicker {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .hi-project-kicker span {
    width: 36px;
  }

  .hi-project-content h2 {
    margin-bottom: 20px !important;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  .hi-project-title-line {
    margin-bottom: 24px;
  }

  .hi-project-content .project-cta-description {
    font-size: 15px;
    line-height: 1.55;
  }

  .hi-project-actions {
    gap: 16px;
    margin-top: 30px;
  }

  .hi-project-primary-btn,
  .hi-project-outline-btn {
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    min-width: 0;
    min-height: 58px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hi-project-primary-btn i,
  .hi-project-outline-btn i {
    font-size: 25px;
  }

  .hi-project-primary-btn .fa-arrow-right,
  .hi-project-outline-btn .fa-arrow-right {
    font-size: 22px;
  }

  .hi-project-note {
    align-items: flex-start;
    margin-top: 24px;
    font-size: 14px;
    text-align: left;
  }

  .hi-project-note i {
    font-size: 26px;
  }

  .hi-drupal-glow,
  .hi-global-orb,
  .hi-bg-code {
    display: none;
  }

  .hi-project-features {
    grid-template-columns: 1fr;
    margin-top: 34px;
    padding: 15px 0 0;
  }

  .hi-project-feature {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hi-project-feature:last-child {
    border-bottom: 0;
  }

  .hi-project-feature-icon {
    width: 58px;
    height: 58px;
    font-size: 28px;
  }

  .hi-project-feature h3 {
    font-size: 14px;
    line-height: 1.35;
  }

  .hi-project-feature p {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* =========================================================
   CTA Decoration Alignment Fix
   Add at the end of the existing CSS
   ========================================================= */

.hi-project-cta-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hi-project-cta-box::before,
.hi-project-cta-box::after {
  pointer-events: none;
}

.hi-project-content,
.hi-project-actions,
.hi-project-note,
.hi-project-features {
  position: relative;
  z-index: 4;
}

/* 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;
  }
}

