* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  /* untuk buat smooth scroll */
  scroll-behavior: smooth;
}

body {
  background: #f8f9fa;
}

/* Hero Container */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("../img/menara.JPG") no-repeat center center/cover;
  display: flex;
  align-items: center;
  padding-left: 60px;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* overlay dari gelap ke terang */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.1),
    transparent
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* biar di atas overlay */
  max-width: 600px;
}

.hero-logo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #fff;
}

.tagline {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
  animation: fadeInLeft 1s ease;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  animation: fadeInLeft 1s ease;
}

.btn-hero {
  display: inline-block;
  background: #0a8754;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-hero:hover {
  background: #066c41;
}

/* ispm */
.ispm {
  padding: 3rem 1rem;
  background: #f9f9f9;
}

.ispm-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.ispm-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: scale(0.95);
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
}

.ispm-content {
  flex: 1;
  animation: fadeIn 1.2s ease forwards;
}

.ispm-content h2 {
  font-size: 1.8rem;
  color: #0a8754;
  margin-bottom: 1rem;
}

.divider {
  border: none;
  border-top: 2px solid #0a8754;
  width: 500px; /* panjang garis */
  margin: 0.5rem 0 1.5rem 0; /* jarak atas & bawah */
}

.ispm-content p {
  margin-bottom: 1rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: #0a8754;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover {
  background: #57cc99;
  transform: translateY(-2px);
}

/* perbedaan kayu */
.perbedaan {
  background: #f9fdfb;
  position: relative;
  padding: 60px 0;
  /* supaya tidak ada scrollbar horizontal di Edge */
  overflow-x: hidden;
}

.perbedaan-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  gap: 40px;
}

.perbedaan-text {
  flex: 1;
}

.perbedaan-text h2 {
  font-size: 2rem;
  color: #0a8754;
  margin-bottom: 20px;
  position: relative;
}

.perbedaan-text h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #0a8754;
  margin-top: 8px;
}

.perbedaan-text ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.perbedaan-text li {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  transition: transform 0.3s ease, color 0.3s ease;
}

.perbedaan-text li:hover {
  transform: translateX(8px);
  color: #0a8754;
}

.highlight {
  background: #e6f7f1;
  border-left: 4px solid #0a8754;
  padding: 12px;
  border-radius: 6px;
}

.perbedaan-image {
  flex: 1;
  position: relative;
  text-align: center;
}

.perbedaan-image img {
  max-width: 100%;
  height: auto;
  z-index: 2;
  position: relative;
}

/* Background melengkung di belakang gambar */
.perbedaan-image::before {
  content: "";
  position: absolute;
  top: 0;
  right: -17%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a8754, #22b17f);
  border-top-left-radius: 50% 100%;
  border-bottom-left-radius: 50% 100%;
  z-index: 1;
}

/* Sertifikasi Section */
.sertifikasi {
  background: linear-gradient(135deg, #0077b6, #0096c7);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.sertifikasi .container {
  max-width: 1100px;
  margin: 0 auto;
}

.sertifikasi h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sertifikasi p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Cards Grid */
.sertifikasi-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.sertifikasi-cards .card {
  background: #fff;
  color: #023e8a;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sertifikasi-cards .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.sertifikasi-cards .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.sertifikasi-cards h3 {
  margin: 0.5rem 0;
  font-size: 1.3rem;
  color: #0077b6;
}

.sertifikasi-cards p {
  font-size: 0.95rem;
  color: #333;
}

/* Swiper Styles */
.swiper-container {
  margin-top: 2rem;
}

.swiper {
  width: 100%;
  padding-bottom: 2rem;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: 0.3s;
}

.swiper-slide img:hover {
  filter: grayscale(0);
  transform: scale(1.05);
}

.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.slide-content p {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff; /* sesuaikan kalau background biru */
}

/* CTA Section */
.cta {
  background: #023e8a;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cta a {
  display: inline-block;
  background: #00b4d8;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.cta a:hover {
  background: #90e0ef;
  color: #023e8a;
}

/* FAQ Section */
.faq {
  padding: 3rem 1rem;
  background: #f8f9fa;
}

.faq .container {
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #0077b6;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  font-size: 1.2rem;
  color: #023e8a;
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* sharing button bar */
.share-bar {
  margin: 2rem 0;
  padding: 1.2rem;
  background: #f8fafc;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.share-bar h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #333;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.whatsapp {
  background: #25d366;
}

.facebook {
  background: #1877f2;
}

.twitter {
  background: #1da1f2;
}

.linkedin {
  background: #0077b5;
}

.email {
  background: #6c757d;
}

/* Footer */
.footer {
  background: #03045e;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
}

.footer nav a {
  color: #90e0ef;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer nav a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  /* hero section */
  .hero {
    justify-content: center;
    text-align: center;
    padding: 0 20px;
  }

  .hero-content {
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-logo img {
    width: 90px;
    height: 90px;
  }

  /* ispm section */
  .ispm-container {
    flex-direction: column;
    text-align: center;
  }

  .ispm-content h2 {
    font-size: 1.3rem;
  }

  .divider {
    width: 60%; /* garis ikut lebih kecil di mobile */
    margin: 0.5rem auto 1.2rem auto;
  }

  .ispm-content p {
    font-size: 0.95rem; /* lebih kecil dari desktop */
    line-height: 1.5; /* agak lega */
  }

  /* sertifikasi */
  .sertifikasi h2 {
    font-size: 1.5rem;
  }

  .sertifikasi p {
    font-size: 1rem;
  }

  .sertifikasi-cards h3 {
    font-size: 1.1rem;
  }

  /* cta */
  .cta p {
    font-size: 1rem;
  }

  /* faq */
  .faq h2 {
    font-size: 1.5rem;
  }

  .faq-item h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .perbedaan-container {
    flex-direction: column;
    text-align: center;
  }

  .perbedaan-image::before {
    width: 100%;
    right: 0;
    border-radius: 50% 50% 0 0;
  }
}
