* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

p {
  text-align: center;
  margin-bottom: 20px;
}

/* === Utility Classes === */
.section-padding {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.bg-light {
  background-color: #fcfcfc;
}

/* === Header & Navbar === */
header {
  color: #fff;
  position: relative;
  padding-bottom: 20px;
  text-align: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 20px 5%;
  background-color: #ffffff;
  /* putih */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  /* bayangan halus */
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 1.8em;
  font-weight: 700;
  color: #1d41c4;
  /* hijau branding */
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #1d41c4;
  /* disamakan dengan logo */
  cursor: pointer;
}

/* Navbar Responsive - Fixed Transition Smooth */
.menu {
  display: flex;
  gap: 30px;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #333;
  /* warna teks gelap */
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #1d41c4;
  /* hover warna hijau */
}

.hero {
  width: 100%;
  height: 100vh;
  /* Full height of viewport */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

.hero-overlay {
  padding: 30px;
  border-radius: 10px;
  /* color: #28a745; */
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #1d41c4;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #0c0c0d;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.cta-button {
  background-color: #1d41c4;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #dfece2;
  color: #1d41c4;
}

/* === Services & Features Grid === */
.service-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item,
.feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-item:hover,
.feature-item:hover {
  transform: translateY(-5px);
}

.service-item h3,
.feature-item h3 {
  color: #1d41c4;
  margin-top: 0;
  font-size: 1.4em;
}

/* === Price Table === */
.price-table {
  overflow-x: auto;
  margin-top: 40px;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.price-table th {
  background-color: #1d41c4;
  color: #fff;
  font-weight: 600;
}

.price-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* === Testimonial Section === */
.testimoni-section {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.testimoni-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.testimoni-section .subjudul {
  color: #777;
  font-size: 16px;
  margin-bottom: 40px;
}

.testimoni-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.testimonial-item {
  display: none;
  transition: opacity 0.5s ease;
}

.testimonial-item.active {
  display: block;
}

.testimoni-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px 2%;
  max-width: 300px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profil {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.profil img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.profil h4 {
  margin: 0;
  font-size: 16px;
}

.bintang {
  color: #f4c150;
  font-size: 14px;
}

.pesan {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

/* === Slider Navigation === */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(34, 90, 211, 0.8);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.2em;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: #1d41c4;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

/* === Kontak Section === */
.contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-info a {
  color: #1d41c4;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #1d41c4;
}

iframe {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* === Footer === */
footer {
  background-color: #fff;
  color: #0d0808;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}
.footer {
  /* color: #ccc; */
  font-family: sans-serif;
  padding: 40px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

.column {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 200px;
  padding: 0.5rem;
}

.column h3 {
  color: #0d0808;
  margin-bottom: 10px;
}

.column ul {
  list-style: none;
  padding: 0;
}

.column ul li {
  margin-bottom: 8px;
}

.footer a {
  color: #0d0808;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1d2742;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

/* Responsif Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 1rem;
  }
  .column {
    flex: 1 1 100%;
    padding: 0 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  .menu.active {
    max-height: 500px;
    /* pastikan cukup untuk seluruh menu */
    opacity: 1;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
    gap: 10px;
  }

  nav ul li {
    width: 100%;
    padding-left: 20px;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8em;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .service-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .testimoni-card,
  .profil {
    grid-template-columns: 1fr;
  }

  .price-table th,
  .price-table td {
    padding: 10px;
    font-size: 0.9em;
  }
}
