/* ===== TECH AI BG ===== */
.tech_ai-bg {
  background: url("../img/tech/tech_bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 32px;
  position: relative;
  z-index: 1;
  overflow: hidden;

  --x: 50%;
  --y: 50%;
}

.tech_ai-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: radial-gradient(
    180px circle at var(--x) var(--y),
    rgba(21, 112, 239, 0.35),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.tech_ai-bg:hover::before {
  opacity: 1;
}

.tech_ai-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: #00000080;
  z-index: 0;
}

.tech_ai-bg > * {
  position: relative;
  z-index: 2;
}

/* ===== CONTENT ===== */
.tech_ai-global {
  padding: 80px 52px 80px 72px;
  display: flex;
  gap: 64px;
  flex-direction: column;
}

.tech_ai-header {
  align-items: end;
  justify-content: space-between;
}

.tech_ai-header > .base-title {
  width: 50%;
}

.tech_ai-box {
  margin: 0;
  border: none;
}

.tech_ai-text {
  text-align: left;
  color: #fff;
}

.tech-btn i {
  transform: rotate(90deg);
}

/* ===== IMAGE ===== */
.tech_ai-img img {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.tech_ai-content {
  position: relative;
  width: 100%;
  height: 100%;
}
.tech_ai-img {
  position: relative;
}
.ripple {
  top: 19%;
  left: 39%;
  position: absolute;
  width: 24%;
  aspect-ratio: 1 / 1;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 1;
  animation: ripple 0.9s infinite ease-out;
}
.delay-1 {
  animation-delay: 0s;
}

.delay-2 {
  animation-delay: 0.2s;
}
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 991px) and (min-width: 769px) {
  .tech_ai-header > .base-title {
    width: 100%;
    align-items: center;
  }

  .tech_ai-text {
    text-align: center;
  }

  .tech-btn {
    width: fit-content;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .tech_ai-global {
    padding: 32px 20px;
    gap: 24px;
  }

  .tech_ai-header {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .tech_ai-text {
    text-align: center;
  }

  .tech_ai-header > .base-title {
    width: 100%;
  }

  .tech-btn {
    width: fit-content;
    margin: 0 auto;
  }
}
