@media (max-width: 992px) {
  /* Hero */
  .hero-text h1 {
    font-size: 32px;
  }

  /* Tentang Kami */
  .tentang-container {
    flex-direction: column;
    text-align: justify;
  }

  .tentang-text {
    flex: 1 1 100%;
    margin-bottom: 30px;
  }

  .tentang-images {
    flex: 1 1 100%;
    justify-content: center;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Produk Kami */
  .produk-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .produk-slider {
    flex: 0 0 100%;
    width: 100%;
  }

  .produk-detail {
    flex: 0 0 100%;
    margin-top: 20px;
    text-align: left;
  }

  .btn-whatsapp {
    justify-content: center;
  }

  .produk-thumbs {
    justify-content: center;
  }

  /* Testimoni */
    .section-header {
    font-size: 24px;
  }

  .testimoni-card {
    padding: 18px;
  }

  .testimoni-card h3 {
    font-size: 16px;
  }

  .testimoni-text {
    font-size: 13px;
  }

  .swiper-button-prev { left: -20px; }
  .swiper-button-next { right: -20px; }

  /* Contact */
  .contact-content { 
    flex-direction: column; 
  }

  .map-card { 
    height: 250px; 
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    margin-right: 10px;
  }

  nav.active {
    max-height: 400px;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid #eee;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    color: #333 !important;
  }


  /* Hero */
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    flex: 1 1 100%;
  }

  .hero-image {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 20px;
  }

  .hero-image img {
    max-width: 60%;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* Tentang Kami */ 
  .section-title {
    font-size: 24px;
  }

  .sub-title {
    font-size: 20px;
  }

  .tentang-text {
    font-size: 15px;
  }

  .visi, .misi {
    flex-direction: row;   /* tetap kiri */
    text-align: left;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Produk Kami */
  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  .produk-swiper {
    aspect-ratio: 1 / 1;   /* biar gambar jadi kotak */
  }

  .produk-thumbs .swiper-slide {
    width: 80px;
    height: 100px;
  }

  .produk-detail h3 {
    font-size: 22px;
  }

  .produk-detail h4 {
    font-size: 16px;
  }

  /* Testimoni */
   .section-header {
    font-size: 22px;
  }

  .testimoni-swiper {
    padding: 10px 30px;
  }

  .testimoni-card {
    padding: 16px;
  }

  .avatar {
    width: 45px;
    height: 45px;
  }

  .testimoni-card h3 {
    font-size: 15px;
  }

  .testimoni-text {
    font-size: 13px;
    padding: 10px;
  }

  .swiper-button-prev { left: -15px; }
  .swiper-button-next { right: -15px; }

  /* Contact */
  .contact-title { 
    font-size: 26px;
   }

  .contact-subtitle { 
    font-size: 14px; 
  }
}

@media (max-width: 480px) {
  /* Hero */
  .hero-text h1 {
    font-size: 24px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .hero-image img {
    max-width: 80%;
  }

  /* Tentang Kami */
  .section-title {
    font-size: 22px;
  }

  .section-title::after {
    margin-top: 30px;
  }

  .sub-title {
    font-size: 18px;
  }

  .tentang-text {
    font-size: 14px;
    text-align: justify;
  }

  .visi, .misi {
    font-size: 14px;
    flex-direction: row;
    text-align: left; /* biar tetap rata kiri */
  }

  .service-item p {
    font-size: 13px;
    max-width: 100%;
  }

  /* Produk Kami */
  .produk-kami {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 20px;
  }

  .produk-swiper {
    aspect-ratio: 1 / 1;   /* tetap kotak di HP */
    border-radius: 10px;
  }

  .produk-thumbs {
    gap: 8px;
  }

  .produk-thumbs .swiper-slide {
    width: 65px;
    height: 85px;
  }

  .produk-detail h3 {
    font-size: 20px;
  }

  .produk-detail h4 {
    font-size: 15px;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 10px;
  }

  .wa-icon {
    width: 18px;
    margin-right: 8px;
  }

  /* Testimoni */
    .section-header {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .testimoni-swiper {
    padding: 0 20px;
  }

  .testimoni-card {
    padding: 14px;
  }

  .avatar {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }

  .testimoni-card h3 {
    font-size: 14px;
  }

  .rating {
    font-size: 12px;
  }

  .testimoni-text {
    font-size: 12px;
    line-height: 1.3;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none; /* panah disembunyikan di mobile */
  }

  /* Contact */
  .contact-section {
    padding: 30px 10px;
  }

  .contact-card {
    padding: 5px;
    max-width: 90%;   /* biar lebih kecil */
    margin: 0 auto;   /* center */
  }

  .contact-info img {
    width: 18px;
    margin-right: 10px;
  }

  .map-card {
    max-width: 95%;   /* biar lebih ramping */
    margin: 0 auto;
    margin-bottom: 50px;
  }

  .map-card iframe {
    min-height: 200px;
  }
}