/* --- CUSTOM CURSOR --- */
html {
  scroll-behavior: smooth;
}
body {
  background: radial-gradient(ellipse at top left, #202137 60%, #181927 100%);
  color: #f7f7fa;
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}
a,
button,
.custom-cursor {
  cursor: none !important;
}
.custom-cursor {
  pointer-events: none;
  width: 28px;
  height: 28px;
  background: rgba(46, 180, 255, 0.18);
  backdrop-filter: blur(5px);
  border: 2px solid #4f92ff;
  border-radius: 50%;
  position: fixed;
  z-index: 1999;
  transform: translate(-50%, -50%);
  transition:
    width 0.12s,
    height 0.12s,
    background 0.21s;
  mix-blend-mode: lighten;
}
.custom-cursor.active {
  width: 45px;
  height: 45px;
  background: rgba(46, 180, 255, 0.42);
  border: 2.5px solid #37c7e8;
}

/* --- NAVBAR --- */
.navbar {
  background: transparent !important;
  backdrop-filter: blur(0px);
  transition:
    background 0.25s,
    backdrop-filter 0.25s;
}
.navbar.sticky-navbar {
  background: rgba(18, 19, 34, 0.88) !important;
  backdrop-filter: blur(12px);
}
.navbar .nav-link {
  color: #eaf4fa !important;
  margin: 0 0.45rem;
  font-weight: 500;
}
.navbar-brand span {
  font-weight: 700;
  letter-spacing: 0.4px;
}
/* HERO */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      140deg,
      rgba(44, 69, 158, 0.217) 60%,
      rgba(30, 34, 78, 0.268) 100%
    ),
    url("https://images.unsplash.com/photo-1492724441997-5dc865305da7") center/cover no-repeat fixed;
  /* fallback background */
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(24, 30, 74, 0.332) 35%,
    rgba(34, 33, 73, 0.56) 90%
  );
  z-index: 2;
}
.hero-content {
  z-index: 3;
  position: relative;
  text-align: left;
  max-width: 650px;
}
.hero-headline {
  font-size: 2.3rem;
  font-weight: 700;
  background: linear-gradient(90deg, #25e5e0, #5f9afd 50%, #70a6ff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subheadline {
  color: #d9e7fd;
  font-size: 1.3rem;
  margin-top: 1.2rem;
  margin-bottom: 2.1rem;
  font-weight: 400;
}
.hero-cta {
  padding: 0.8rem 2.1rem;
  font-size: 1.16rem;
  font-weight: 600;
  border-radius: 999px;
  background: linear-gradient(95deg, #1ccdff 45%, #257ff7 100%);
  color: #fff;
  border: none;
  transition:
    transform 0.18s,
    box-shadow 0.19s;
  box-shadow: 0 7px 18px -7px #2b6dbe99;
}
.hero-cta:hover {
  transform: scale(1.045);
  box-shadow: 0 14px 38px -13px #0af3f533;
}

/* --- LAYANAN --- */
.service-card {
  border-radius: 18px;
  background: linear-gradient(130deg, #23234a 83%, #25296b 100%);
  box-shadow: 0 2px 22px -12px #007cff44;
  transition:
    box-shadow 0.28s,
    transform 0.22s;
  color: #fff;
  border: none;
  min-height: 240px;
  cursor: pointer;
  transform: translateY(0);
}
.service-card:hover,
.service-card:focus {
  box-shadow:
    0 4px 44px -6px #08e4ff18,
    0 1.5px 10px #2055ff0f;
  background: linear-gradient(100deg, #23234a 68%, #2651d3 100%);
  transform: translateY(-4px) scale(1.025);
}
.service-card .bi {
  font-size: 2.9rem;
  color: #25e5e0;
  margin-bottom: 1.1rem;
}
.service-title {
  font-size: 1.11rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* PORTFOLIO */
.portfolio-img {
  border-radius: 17px;
  width: 100%;
  height: 450px;
  object-fit: cover;
  box-shadow: 0 1.5px 18px -7px #0065ff33;
  transition:
    transform 0.22s,
    box-shadow 0.24s;
}
.portfolio-item {
  overflow: hidden;
  border-radius: 17px;
  margin-bottom: 1.17rem;
}
.portfolio-item:hover .portfolio-img {
  transform: scale(1.065);
  box-shadow: 0 9.5px 38px -5px #2bdffc33;
}

/* KENAPA KAMI */
.keunggulan-box {
  border-radius: 15px;
  padding: 1.4rem 1rem 1.2rem 1rem;
  background: linear-gradient(130deg, #23234a 80%, #227fc833 100%);
  color: #bdefff;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 1px 12px -3px #1950fd17;
}
.keunggulan-box .bi {
  font-size: 2rem;
  margin-right: 1.1rem;
  color: #25e5e0;
}
.keunggulan-title {
  font-weight: 600;
  color: #4cecff;
  letter-spacing: 0.03em;
}

/* TESTIMONI */
.testimonial-slider {
  max-width: 750px;
  margin: 0 auto;
  background: linear-gradient(110deg, #23234a 70%, #206b88 100%);
  box-shadow: 0 1.5px 22px -7px #007cff11;
  border-radius: 21px;
  padding: 1.7rem 1.1rem 1.4rem 1.1rem;
  overflow: hidden;
  position: relative;
}
.testimonial-content {
  min-height: 110px;
  padding-top: 5px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 16px;
}
.testimonial-author img {
  border-radius: 50%;
  width: 52px;
  height: 52px;
  object-fit: cover;
  margin-right: 1.1rem;
  border: 2px solid #21fceb44;
}
.testimonial-name {
  font-weight: 600;
  font-size: 1.08rem;
}
.testimonial-role {
  font-size: 0.89rem;
  color: #a6f4fd;
}

.testimonial-slider .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #26d3e355;
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 2;
}
.testimonial-slider .arrow:hover {
  background: #1cd5eeaa;
}
.testimonial-slider .prev-arrow {
  left: 10px;
}
.testimonial-slider .next-arrow {
  right: 10px;
}

/* PARALLAX CTA */
.cta-parallax {
  background:
    linear-gradient(120deg, #2659efc9 60%, #24c9f766 100%),
    url("cta-bg.webp") center/cover fixed;
  padding: 4.5rem 0;
  position: relative;
  margin-top: 2.7rem;
  border-radius: 21px;
  overflow: hidden;
}
.cta-parallax h2 {
  font-size: 2.1rem;
  color: #fff;
  font-weight: 700;
}
.cta-parallax .cta-btn {
  background: linear-gradient(95deg, #11efdd 55%, #397cfb 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.19rem;
  padding: 1.13rem 2.7rem;
  border-radius: 999px;
  margin-top: 2.1rem;
  box-shadow: 0 10px 32px -12px #21d8a488;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.cta-parallax .cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 39px -14px #00e7e555;
}

/* KONTAK FORM */
.kontak-form {
  background: linear-gradient(110deg, #23234a 70%, #1656d777 100%);
  border-radius: 16px;
  padding: 2rem 1.4rem 1.4rem 1.4rem;
  max-width: 520px;
  margin: 0 auto;
}
.form-label {
  color: #8ef9fd;
}
.form-control,
.form-control:focus {
  color: #fff;
  background: #21223e;
  border: 1.5px solid #2ce1ef77;
  border-radius: 7.5px;
  padding: 0.7rem 1rem;
  font-size: 1.04rem;
  box-shadow: none;
}
.btn-kontak {
  background: linear-gradient(95deg, #1ccdff 45%, #257ff7 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 2rem;
  transition: transform 0.18s;
  margin-top: 0.7rem;
}
.btn-kontak:hover {
  transform: scale(1.04);
}
/* Kontak Validation */
.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #e55b8a;
}

/* FOOTER */
footer {
  background: rgba(22, 25, 40, 0.89);
  padding: 1.9rem 0 0.4rem 0;
  color: #85e6fc;
  font-size: 1.04rem;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 7px;
}
.footer-social a {
  color: #1de6ed;
  background: #1b273c;
  border-radius: 50%;
  padding: 7px;
  display: inline-block;
  font-size: 1.41rem;
  transition:
    background 0.15s,
    color 0.16s;
}
.footer-social a:hover {
  color: #fff;
  background: #19e4de;
}

/* --- WhatsApp Sticky --- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 27px;
  z-index: 1990;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 61px;
  height: 61px;
  box-shadow: 0 6px 22px -7px #15ae9e77;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.19rem;
  transition:
    background 0.18s,
    transform 0.17s;
  border: 3px solid #144e22dd;
}
.wa-float:hover {
  background: #1ece62;
  transform: scale(1.08);
}

/* --- Adaptive & Mobile --- */
@media (max-width: 991px) {
  .hero-section {
    min-height: 82vw;
  }
  .hero-headline {
    font-size: 1.6rem;
  }
  .portfolio-img {
    height: 300px;
  }
}
@media (max-width: 767px) {
  .hero-section {
    min-height: 76vw;
  }
  .cta-parallax {
    padding: 2.3rem 0;
  }
  .cta-parallax h2 {
    font-size: 1.38rem;
  }
  .hero-headline {
    font-size: 1.22rem;
  }
  .footer-social {
    justify-content: center;
  }
}
