/* ================= NAVBAR ================= */

/* 🔥 NAVBAR DEFAULT (PUTIH BG → TEXT HITAM) */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 999;

  padding: 0.8rem 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

  transition: all 0.3s ease;
}

/* 🔥 SAAT SCROLL */
.navbar.scrolled {
  background: #ffffff;
}

/* TEXT */
.nav-item {
  font-size: 16px;
}

.nav-link {
  position: relative;
  display: inline-block;

  padding: 5px 0;
  font-weight: 500;
  letter-spacing: 0.5px;

  color: #111 !important;
  transition: 0.3s;
}

/* HOVER */
.nav-link:hover {
  color: #facc15 !important;
}

/* GARIS BAWAH */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;

  width: 0;
  height: 2px;

  background-color: #facc15;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ACTIVE */
.nav-link.active {
  color: #facc15 !important;
}

.nav-link.active::after {
  width: 100%;
}

/* TOGGLER */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* MOBILE NAVBAR */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 1rem 0;
    text-align: center;
    align-items: center;
  }

  .nav-item {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* ================= SLIDER ================= */

.slider {
  position: relative;
  overflow: hidden;

  width: 100%;
  height: calc(100svh - 70px);
  margin-top: 70px;
}

/* SLIDE BACKGROUND */
.slider figure {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  max-width: 100%;

  background-size: cover;
  background-position: center;

  opacity: 0;
  animation: fade 20s infinite;
}

/* GAMBAR */
.slider figure:nth-child(1) {
  background-image: url(img/Slider/sl1.png);
  animation-delay: 0s;
}

.slider figure:nth-child(2) {
  background-image: url(img/Slider/sl3.png);
  animation-delay: -4s;
}

.slider figure:nth-child(3) {
  background-image: url(img/Slider/sl2.png);
  animation-delay: -8s;
}

.slider figure:nth-child(4) {
  background-image: url(img/Slider/sl4.png);
  animation-delay: -12s;
}

.slider figure:nth-child(5) {
  background-image: url(img/Slider/sl5.png);
  animation-delay: -16s;
}

/* ANIMASI */
@keyframes fade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}

.slider::before {
  display: none;
}

/* MOBILE SLIDER */
@media (max-width: 768px) {
  .slider {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .slider figure {
    background-size: cover;
    background-position: center;
  }

  .slider figure:nth-child(1),
  .slider figure:nth-child(2),
  .slider figure:nth-child(3),
  .slider figure:nth-child(4),
  .slider figure:nth-child(5) {
    background-position: center top;
  }
}

/* ================= ABOUT ================= */

.about-section {
  background: #f8f9fa;
}

/* GAMBAR */
.about-section img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

/* CARD */
.about-card {
  position: absolute;
  bottom: 20px;
  right: 20px;

  width: 260px;
  background: #0b2545;

  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ICON */
.about-card i {
  color: #facc15;
}

/* VARIASI STYLE (DITAHANKAN SESUAI KODE ASLI) */
.about-card {
  background: #0d2b4d;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-card i {
  color: #ffc107;
}

/* MOBILE ABOUT */
@media (max-width: 768px) {
  .about-card {
    position: absolute;
    right: 10px;
    bottom: 10px;

    width: 50%;
    max-width: 120px;

    padding: 4px;
    height: auto;
    overflow: hidden;
  }

  .about-card h6 {
    font-size: 7px;
    margin-bottom: 4px;
    line-height: 1;
  }

  .about-card ul {
    font-size: 7px;
    line-height: 1;
    padding-left: 0;
  }

  .about-card li {
    display: flex;
    align-items: flex-start;
    gap: 1px;
    margin-bottom: 2px;
  }

  .about-card i {
    font-size: 7px;
    flex-shrink: 0;
  }

  .about-card li span {
    display: block;
    word-break: break-word;
  }
}

/* ================= SERVICES ================= */

.section-title {
  font-weight: 700;
}

.card-service {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ICON BOX */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  margin-bottom: 15px;

  border-radius: 50%;
  font-size: 24px;
}

/* WARNA ICON */
.icon-yellow { background: #fff3cd; color: #ffc107; }
.icon-green  { background: #d1e7dd; color: #198754; }
.icon-blue   { background: #cfe2ff; color: #0d6efd; }
.icon-purple { background: #e2d9f3; color: #6f42c1; }

.card-img-top {
  height: 160px;
  object-fit: cover;
}

/* ================= PROJECT ================= */

.project-card {
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-item {
  transition: all 0.3s ease;
}

/* MOBILE PROJECT */
@media (max-width: 576px) {
  .project-card img {
    height: 140px;
  }
}

/* ================= TESTIMONIAL ================= */

.testimonial-section {
  background: #f9fafb;
}

.testimonial-card {
  position: relative;
  overflow: hidden;

  background: #ffffff;
  border-radius: 20px;

  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* FOTO */
.testi-img {
  width: 90px;
  height: 90px;

  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #22c55e;
}

/* RATING */
.rating {
  color: #facc15;
  font-size: 16px;
}

/* GARIS */
.line {
  width: 40px;
  height: 3px;
  margin: auto;

  background: #22c55e;
  border-radius: 10px;
}

/* QUOTE */
.quote-icon {
  position: absolute;
  top: 20px;
  right: 25px;

  font-size: 60px;
  font-weight: bold;
  color: rgba(34, 197, 94, 0.1);
}

/* ================= KONTAK ================= */

/* GLOBAL */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

html,
body {
  overflow-x: hidden;
}

/* SECTION */
.contact-section {
  background: #f8f9fa;
}

/* ICON */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 45px;
  height: 45px;

  background: #eef2ff;
  border-radius: 50%;
  color: #0b2545;
}

/* ITEM */
.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

/* MAP */
.map-container iframe {
  border-radius: 15px;
}

/* WA CARD */
.wa-card {
  background: white;
  padding: 25px;

  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

  transition: 0.3s;
}

.wa-card:hover {
  transform: translateY(-8px);
}

/* BUTTON */
.btn-outline-wa {
  padding: 8px 18px;

  border: 2px solid #25d366;
  border-radius: 30px;

  color: #25d366;
  text-decoration: none;

  transition: 0.3s;
}

.btn-outline-wa:hover {
  background: #25d366;
  color: white;
}