/* =========================================================
   Project CTA
   ========================================================= */

.hi-project-cta-section,
.hi-project-cta-section * {
  box-sizing: border-box;
}

.hi-project-cta-section {
  padding: 70px 0;
  overflow: hidden;
  background: #f7fbff;
}

.hi-project-cta-box {
  position: relative;
  width: 100%;
  min-height: 760px;
  padding: 56px 56px 235px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 12% 48%,
      rgba(0, 120, 255, 0.24),
      transparent 26%
    ),
    radial-gradient(
      circle at 88% 42%,
      rgba(0, 100, 255, 0.2),
      transparent 28%
    ),
    linear-gradient(135deg, #061f55 0%, #05163c 48%, #03102d 100%);
  box-shadow: 0 34px 90px rgba(7, 29, 77, 0.28);
}

.hi-project-cta-box::before {
  content: "";
  position: absolute;
  top: 180px;
  left: 38px;
  width: 310px;
  height: 260px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.08) 2px,
    transparent 2px
  );
  background-size: 12px 12px;
  opacity: 0.75;
  pointer-events: none;
}

.hi-project-cta-box::after {
  content: "";
  position: absolute;
  top: 38px;
  right: 44px;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 2px,
    transparent 2px
  );
  background-size: 16px 16px;
  opacity: 0.7;
  pointer-events: none;
}

/* =========================================================
   Main Content
   ========================================================= */

.hi-project-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 960px;
  min-width: 0;
  margin: 0 auto;
}

.hi-project-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
  color: #ff6a00;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hi-project-kicker span {
  position: relative;
  flex: 0 0 auto;
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6a00);
}

.hi-project-kicker span:first-child::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6a00;
  transform: translateY(-50%);
}

.hi-project-kicker span:last-child {
  background: linear-gradient(90deg, #ff6a00, transparent);
}

.hi-project-kicker span:last-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6a00;
  transform: translateY(-50%);
}

.hi-project-content h2 {
  margin: 0;
  font-size: clamp(32px, 5.5vw, 44px);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.05em;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.hi-project-content h2 span {
  color: #ff6a00;
}

.hi-project-title-line {
  width: 110px;
  height: 5px;
  margin: 28px auto 26px;
  border-radius: 999px;
  background: #ff6a00;
}

.hi-project-content p {
  width: 100%;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.45;
}

/* =========================================================
   Actions
   ========================================================= */

.hi-project-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  width: 100%;
  min-width: 0;
  margin-top: 38px;
}

.hi-project-primary-btn,
.hi-project-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  min-height: 72px;
  padding: 0 42px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.hi-project-primary-btn {
  border: 2px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, #ff8a00, #ff4d00);
  box-shadow: 0 22px 44px rgba(255, 98, 0, 0.26);
}

.hi-project-outline-btn {
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.03);
}

.hi-project-primary-btn:hover,
.hi-project-outline-btn:hover {
  color: #ffffff;
}

.hi-project-primary-btn i,
.hi-project-outline-btn i {
  flex: 0 0 auto;
  font-size: 34px;
}

.hi-project-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.35;
  text-align: center;
}

.hi-project-note i {
  flex: 0 0 auto;
  color: #0877ff;
  font-size: 34px;
}

/* =========================================================
   Drupal Graphic
   ========================================================= */

.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;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 140, 255, 0.45),
    transparent 68%
  );
  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;
  border-radius: 48% 52% 54% 46% / 58% 58% 42% 42%;
  background: radial-gradient(
    circle at top,
    #18a7ff 0%,
    #086fff 45%,
    #00319a 100%
  );
  font-size: 135px;
  box-shadow:
    0 30px 70px rgba(0, 117, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.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;
  border-radius: 50%;
  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;
  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;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 145, 255, 0.24) 1.6px,
    transparent 2px
  );
  background-size: 11px 11px;
  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;
  border-radius: 50%;
  background: #ff6a00;
  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: absolute;
  right: 54px;
  bottom: 52px;
  left: 54px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hi-project-feature {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-width: 0;
  min-height: 118px;
  padding: 0 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hi-project-feature:last-child {
  border-right: 0;
}

.hi-project-feature-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(75, 150, 255, 0.15);
  font-size: 48px;
}

.hi-project-feature h3 {
  margin: 0 0 7px;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hi-project-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.35;
}

/* =========================================================
   Responsive: Large Laptop
   ========================================================= */

@media (max-width: 1600px) {
  .hi-project-cta-box {
    padding-right: 42px;
    padding-left: 42px;
  }

  .hi-project-content h2 {
    font-size: 32px;
  }

  .hi-project-content p {
    font-size: 15px;
  }

  .hi-project-kicker {
    font-size: 13px;
  }

  .hi-project-primary-btn,
  .hi-project-outline-btn {
    min-height: 62px;
    padding: 0 30px;
    font-size: 14px;
  }

  .hi-project-primary-btn i,
  .hi-project-outline-btn i {
    font-size: 27px;
  }

  .hi-project-note {
    font-size: 15px;
  }

  .hi-project-feature {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
    padding: 0 18px;
  }

  .hi-project-feature-icon {
    width: 68px;
    height: 68px;
    font-size: 34px;
  }

  .hi-project-feature h3 {
    font-size: 16px;
  }

  .hi-project-feature p {
    font-size: 14px;
  }
}

/* =========================================================
   Responsive: Tablet
   ========================================================= */

@media (max-width: 1199px) {
  .hi-project-cta-box {
    min-height: auto;
    padding-bottom: 46px;
  }

  .hi-project-content {
    max-width: 760px;
  }

  .hi-drupal-glow,
  .hi-global-orb {
    opacity: 0.45;
  }

  .hi-project-features {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 60px;
  }

  .hi-project-feature {
    padding: 24px;
  }

  .hi-project-feature:nth-child(2) {
    border-right: 0;
  }

  .hi-project-feature:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

/* =========================================================
   Responsive: Mobile
   ========================================================= */

@media (max-width: 767px) {
  .hi-project-cta-section {
    padding: 40px 0;
  }
  .hi-project-feature-description{
    font-size: 13px !important;
  }

  .hi-project-cta-section .container,
  .hi-project-cta-section .container-fluid,
  .hi-project-cta-section .container-custom {
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .hi-project-cta-box {
    min-height: auto;
    padding: 34px 20px 28px;
    border-radius: 20px;
  }

  .hi-project-cta-box::before {
    top: 130px;
    left: 10px;
    width: 220px;
    height: 340px;
    opacity: 0.45;
  }

  .hi-project-cta-box::after {
    top: 24px;
    right: 8px;
    width: 80px;
    height: 80px;
  }

  .hi-project-content {
    width: 100%;
    max-width: 100%;
  }

  .hi-project-kicker {
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.15;
  }

  .hi-project-kicker span {
    width: 38px;
  }

  .hi-project-content h2 {
    width: 100%;
    max-width: 100%;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.03em;
    overflow-wrap: break-word;
  }

  .hi-project-title-line {
    width: 80px;
    height: 4px;
    margin: 22px auto 20px;
  }

  .hi-project-content p {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .hi-project-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin-top: 28px;
  }

  .hi-project-primary-btn,
  .hi-project-outline-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .hi-project-primary-btn i,
  .hi-project-outline-btn i {
    font-size: 25px;
  }

  .hi-project-note {
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    padding: 0 4px;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .hi-project-note i {
    margin-top: 1px;
    font-size: 25px;
  }

  .hi-project-features {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 38px;
    padding-top: 12px;
  }

  .hi-project-feature {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hi-project-feature:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hi-project-feature:last-child {
    border-bottom: 0;
  }

  .hi-project-feature-icon {
    width: 54px;
    height: 54px;
    font-size: 26px;
  }

  .hi-project-feature > div:last-child {
    min-width: 0;
  }

  .hi-project-feature h3 {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .hi-project-feature p {
    font-size: 14px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .hi-drupal-glow,
  .hi-global-orb,
  .hi-bg-code {
    display: none;
  }
}

/* =========================================================
   Responsive: Small Mobile
   ========================================================= */

@media (max-width: 374px) {
  .hi-project-cta-section {
    padding: 32px 0;
  }

  .hi-project-cta-section .container,
  .hi-project-cta-section .container-fluid,
  .hi-project-cta-section .container-custom {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hi-project-cta-box {
    padding: 30px 16px 24px;
    border-radius: 16px;
  }

  .hi-project-kicker {
    gap: 7px;
    font-size: 12px;
  }

  .hi-project-kicker span {
    width: 28px;
  }

  .hi-project-content h2 {
    font-size: 20px;
  }

  .hi-project-content p {
    font-size: 14px;
  }

  .hi-project-primary-btn,
  .hi-project-outline-btn {
    min-height: 54px;
    padding: 11px 12px;
    font-size: 13px;
  }

  .hi-project-note {
    font-size: 13px;
  }

  .hi-project-feature {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 11px;
    padding: 17px 0;
  }

  .hi-project-feature-icon {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }

  .hi-project-feature h3 {
    font-size: 15px;
  }

  .hi-project-feature p {
    font-size: 13px;
  }
}

/* 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;
  }
}
