html,
body {
  font-size: 13px;
  color: var(--text-color);
  background-color: var(--bg-primary);
  font-family: "Poppins", sans-serif;
}

.page-wrapper {
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  position: relative;
  scroll-behavior: smooth;
}

.page-wrapper .navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 80px;
  background-color: #ffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-wrapper .navbar-left img {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.navbar-wrapper .navbar-center .navbar-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.navbar-wrapper .navbar-center .navbar-menu li a {
  text-decoration: none;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-wrapper .navbar-center .navbar-menu li a:hover {
  color: var(--accent);
}

.navbar-wrapper .navbar-center .navbar-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.navbar-wrapper .navbar-center .navbar-menu li a:hover::after {
  width: 100%;
}

.navbar-wrapper .navbar-right a {
  background-color: var(--primary);
  color: #ffffff;
  text-decoration: none;
  padding: 8px 35px;
  border-radius: 320px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.navbar-wrapper .navbar-right a:hover {
  background-color: transparent;
  color: var(--primary);
  border: 3px solid var(--primary);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-inner .carousel-item {
  height: 100vh;
  position: relative;
}

.carousel-inner .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(37, 54, 134, 0.8), rgba(37, 54, 134, 0.3));
  z-index: 1;
}

.carousel-inner .carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 0;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.carousel-caption h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
}

.carousel-caption p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 25px;
  opacity: 0.9;
}

.btn-hero {
  display: inline-block;
  background-color: #fff;
  color: #253686;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-shadow: none;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: #fff;
  transform: scale(1.3);
  border-radius: 50%;
}

.carousel-control-prev,
.carousel-control-next {
  display: none !important;
}

/* Tentang */
.tentang {
  padding: 80px 80px;
}

.tentang .section-title {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}

.tentang p {
  color: var(--text-color);
  line-height: 1.7;
}

.tentang-info {
  margin-top: 40px;
}

.tentang-info h3 {
  font-weight: 700;
  color: var(--accent);
  text-align: center !important;
}

.tentang-info p {
  color: var(--text-color);
  line-height: 1.7;
  text-align: center !important;
}

.tentang .img-container {
  position: relative;
  display: inline-block;
  flex: 1;
}

.tentang .img-container img {
  border-radius: 15px;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  object-fit: cover;
}

.tentang .img-container::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  border-radius: 15px;
  z-index: 1;
}

.tentang p {
  text-align: justify;
}

.tentang .button-tentang {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.tentang .button-tentang h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--primary);
}

.tentang .button-tentang a {
  background-color: var(--primary);
  color: #ffffff;
  text-decoration: none;
  padding: 8px 50px;
  border-radius: 320px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.tentang .button-tentang a:hover {
  background-color: transparent;
  color: var(--primary);
  border: 3px solid var(--primary);
  transform: translateY(-2px);
}

/* Layanan */
.layanan {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 80px;
  background: linear-gradient(to bottom, var(--bg-content), #f9fbff);
}

.layanan-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.layanan-desc {
  width: 70%;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #6c757d;
  margin-bottom: 60px;
}

.card-layanan {
  background-color: var(--primary);
  padding: 30px 20px;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-layanan i {
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 15px;
}

.card-layanan h4 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.card-layanan p {
  color: #ffffff;
  font-size: 0.95rem;
}

.card-layanan:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Keunggulan */
.keunggulan {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 80px;
  background-color: var(--bg-primary);
}

.keunggulan-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.keunggulan-desc {
  width: 70%;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #6c757d;
  margin-bottom: 60px;
}

.list-keunggulan-desc {
  width: 100%;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #6c757d;
  text-align: justify;
}

.list-keunggulan {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.list-keunggulan li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  color: #444;
}

.list-keunggulan li:hover {
  background: #f5f8ff;
  transform: translateX(5px);
}

.list-keunggulan li i {
  font-size: 1.3rem;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
}

.keunggulan .img-container {
  position: relative;
  display: inline-block;
  flex: 1;
}

.keunggulan .img-container img {
  border-radius: 15px;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  object-fit: cover;
}

.keunggulan .img-container::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  border-radius: 15px;
  z-index: 1;
}

/* Tertimoni */
.testimoni {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 80px;
  background: linear-gradient(to bottom, var(--bg-content), #f9fbff);
}

.testimoni-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 40px;
}

.testimoni-desc {
  width: 70%;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #6c757d;
  margin-bottom: 60px;
}

.card-testi {
  position: relative;
  background: var(--bg-card);
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card-testi::before {
  content: "❝";
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 60px;
  color: var(--accent);
  opacity: 0.15;
  font-family: serif;
}

.card-testi p {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.card-testi h5 {
  margin-top: 10px;
  font-weight: 600;
  color: #1a305b;
  position: relative;
  z-index: 2;
}

.card-testi:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-testi::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: 0.3s;
}

.card-testi:hover::after {
  transform: scaleX(1);
}

/* CTA */
.cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 80px;
  background: linear-gradient(135deg, #1a305b, #2d4d8f);
  color: #fff;
}

.cta h2 {
  font-weight: 700;
}

.cta p {
  margin: 5px 0 25px;
  opacity: 0.9;
}

.lokasi {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 80px;
  background: linear-gradient(to bottom, var(--bg-content), #f9fbff);
}

.lokasi-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.map-container {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 80px;
  background-color: #1a305b;
  color: #fff;
}

.footer p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.navbar-toggle {
  display: none;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--primary);
}

.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 40px;
  background: var(--primary);
  color: #fff;
  padding: 12px 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: 0.3s;
}

.floating-btn i {
  font-size: 20px;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.floating-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: var(--primary);
  opacity: 0.4;
  z-index: -1;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar-wrapper {
    flex-wrap: wrap;
    padding: 10px 30px !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-center {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
  }

  .navbar-center.active {
    max-height: 300px;
    margin-top: 10px;
  }

  .navbar-menu {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }

  .navbar-right {
    width: 100%;
    margin-top: 10px;
    display: none;
  }

  .navbar-right.active {
    display: block;
  }

  .navbar-right a {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 10px;
  }

  /* HERO */
  .hero,
  .carousel-inner .carousel-item {
    height: auto;
    min-height: 400px;
  }

  .carousel-caption {
    width: 80%;
  }

  .carousel-caption h1 {
    font-size: 1.8rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .btn-hero {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  /* TENTANG */
  .tentang {
    padding: 60px 20px;
    text-align: center;
  }

  .tentang img {
    margin-bottom: 20px;
  }

  /* LAYANAN */
  .layanan {
    padding: 60px 20px;
  }

  .layanan-title {
    margin-bottom: 40px;
  }

  .layanan-desc {
    display: none;
  }

  /* KEUNGGULAN */
  .keunggulan {
    padding: 60px 20px;
    text-align: center;
  }

  .keunggulan-title {
    margin-bottom: 20px;
  }

  .keunggulan-desc {
    display: none;
  }

  .list-keunggulan li {
    font-size: 1rem;
  }

  /* TESTIMONI */
  .testimoni {
    padding: 60px 20px;
  }

  /* CTA */
  .cta {
    padding: 60px 20px;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  /* FOOTER */
  .footer {
    padding: 20px;
    font-size: 0.8rem;
  }

  .floating-btn span {
    display: none;
  }

  .floating-btn {
    padding: 20px;
    border-radius: 50%;
    font-size: 1.5rem !important;
  }
  .floating-btn i {
    font-size: 25px;
  }
}
