
@media (max-width: 900px) {

  /* NAVBAR */
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .site-header .wrap,
  .site-header .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .header-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .logo { margin-left: 8px !important; }
  .hamburger { margin-right: 8px !important; }

  /* HERO */
  .hero-slider { height: 520px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 15px; }
  .hero-content { left: 4%; max-width: 90%; }

  /* CARDS */
  .cards-grid,
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix Footer spacing in mobile */
@media (max-width: 768px) {
  .site-footer .container,
  .site-footer .wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

.site-footer {
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (max-width: 768px) {

  /* Fix tombol bertumpuk pada section intro */
  .intro .btn-primary,
  .intro .btn-ghost {
    width: 100%;        /* tombol memenuhi lebar */
    display: block;
    margin: 6px 0;      /* beri jarak vertikal */
    text-align: center; /* rata tengah */
  }

  /* Pastikan flex tidak memaksa tombol sejajar */
  .intro .hero-cta,
  .intro .cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* VIDEO SECTION TITLE */
.video-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #0f172a;
}

/* GRID 3 VIDEO */
.video-section {
  margin-top: 35px;
  margin-bottom: 40px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* VIDEO WRAPPER */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-title {
    font-size: 20px;
  }
}
