/*hero section home page*/
.ultra-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgb(90 112 162 / 63%), rgb(86 100 131 / 31%)), url("../images/web-02.jpg") center / cover no-repeat;
  color: white;
}

/* soft light effect */
.ultra-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 70%);
  z-index: 1;
}

/* particles */
#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* content */
.ultra-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

/* title */
.ultra-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.6);
  animation: fadeUp 1s ease forwards;

  @media (max-width: 768px) {
    font-size: 40px;
  }
}

.ultra-title span {
  color: #fff;
  display: inline-block;
  margin-top: 6px;
  font-size: 40px;

  @media (max-width: 768px) {
    font-size: 32px;
  }

  @media (max-width: 580px) {
    font-size: 24px;
  }
}

/* subtitle */
.ultra-sub {
  margin: 20px 0 30px;
  font-size: 20px;
  color: #eaf1ff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

/* buttons */
.ultra-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.ultra-btn {
  padding: 7px 14px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
}

.ultra-btn.primary {
  background: #136ad5;
  color: #edeff1;
  box-shadow: 0 6px 18px rgba(255, 209, 102, 0.35);
}

.ultra-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 209, 102, 0.45);
}

.ultra-btn.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.ultra-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}