* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  /* background: linear-gradient(50deg,
	oklch(from oklch(var(--bg)) 70% c h),
	oklch(from oklch(var(--bg)) 90% c h)); */
}

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("/assets/Depresi.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40vh;
  text-align: center;
  color: white;
}

.hero-h1 {
  padding-left: 0;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.hero-h1 h1 {
  /* border: 1px solid red; */
  font-weight: 700;
  font-size: 48px;
  margin-bottom: 8px;
  /* width: 350px; */
  line-height: 1.2;
}

.hero-h1 p {
  font-weight: 500;
  font-size: 18px;
}

.btn-hero {
  display: inline-block;
  margin-top: 20px;
  width: 22%;
  padding: 7px; /* Remove padding from button */
  font-size: 16px;
  font-weight: 500;
  color: white;
  background-color: #0d542b;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.2s, background-color 0.2s;
  border: none;
  cursor: pointer;
}

.btn-hero a {
  text-decoration: none;
  color: white;
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
}
.btn-hero:hover {
  transform: scale(1.05);
  background-color: #0a4222;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* .hero-img {
  padding-right: 80px;
}

.hero img {
  width: 600px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.089);
  border-radius: 10px;
} */

.section-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: flex;
  padding-block: 60px;
  padding-inline: 80px;
  justify-content: space-between;
  align-items: center;
  color: black;
  /* background-color: #0d542b; */
  gap: 80px;
}

.video-container {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.089);
}

.video-container iframe {
  width: 100%;
  height: 100%;
}

/* .section-hero img {
  width: 600px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.089);
} */

.hero-h2 h1 {
  font-weight: 700;
  padding-bottom: 12px;
  font-size: 30px;
  text-align: justify;
}

.btn-about {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #0d542b;
  background-color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.2s;
}

.btn-about:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

:root {
  --bg: 25% 0.0075 70;

  --pink: 77.75% 0.1003 350.51;
  --gold: 84.16% 0.1169 71.19;
  --mint: 84.12% 0.1334 165.28;

  --mobile--w: 360px;
  --mobile--h: 540px;

  --outline-w: 9px;
  --preview-bg: #fff;
}

@media (max-width: 1024px) {
  .hero {
    padding-inline: 40px;
    padding-block: 150px;
    gap: 40px;
  }

  .hero-h1 {
    padding-left: 0;
  }

  .hero-h1 h1 {
    font-size: 36px;
    width: 100%;
  }

  .hero img {
    width: 100%;
    max-width: 500px;
  }

  .section-hero {
    padding-inline: 40px;
    gap: 40px;
  }

  .carousel-container {
    width: 100%;
    max-width: 500px;
  }

  /* .section-hero img {
    width: 100%;
    max-width: 500px;
  } */
}

@media (max-width: 768px) {
  :root {
    --mobile--w: 300px;
    --mobile--h: 450px;
  }

  .hero {
    /* margin-top: 100px; */
    /* flex-direction: column-reverse; */
    margin-right: 0;
    padding-inline: 20px;
    padding-block: 100px;
    gap: 30px;
  }

  .btn-hero {
    padding: auto;
    width: 30%;
    justify-content: center;
    align-items: center;
  }

  .hero-h1 {
    padding-left: 0;
    padding-top: 30px;
    /* border: 1px solid red; */
    text-align: center;
  }

  .hero-h1 h1 {
    font-size: 18px;
    width: 100%;
  }

  .hero-h1 p {
    font-size: 12px;
  }

  .hero-h1 a {
    font-size: 10px;
    font-weight: 500;
  }

  .hero img {
    width: 100%;
    max-width: 400px;
  }

  .hero-h2 {
    justify-content: center;
    align-items: center;
  }

  .section-hero {
    flex-direction: column;
    padding-inline: 20px;
    padding-block: 30px;
    gap: 30px;
  }

  .carousel-container {
    width: 100%;
    max-width: 400px;
  }

  /* .section-hero img {
    width: 100%;
    max-width: 400px;
  } */

  .hero-h2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-h2 h1 {
    font-size: 16px;
    text-align: center;
  }

  .hero-h2 p {
    font-size: 12px;
    text-align: center;
  }

  .hero-h2 a {
    font-size: 12px;
  }

  .card__container {
    padding-bottom: 50px;
  }

  .carousel-container {
    width: 80%;
  }

  .carousel-slide {
    width: 100%;
    max-width: 400px;
  }
}

/* Divisi Kami */
.section-divisions {
  padding-block: 60px;
  padding-inline: 80px;
  text-align: center;
}

.section-divisions h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0d542b;
}

.divisions-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.division-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.division-card:hover {
  transform: translateY(-5px);
}

.division-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.division-card h3 {
  font-size: 20px;
  margin: 15px 20px 5px;
  color: #333;
}

.division-card p {
  margin: 0 20px 20px;
  color: #666;
}

/* Join Us */
.section-join {
  padding-block: 80px;
  padding-inline: 80px;
  background-color: #0d542b;
  color: white;
  text-align: center;
  /* margin-bottom: 40px; */
}

.section-join h1 {
  font-size: 28px;
  margin-bottom: 15px;
}

.section-join p {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-inline: auto;
}

.btn-join {
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 600;
  color: #0d542b;
  background-color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-join:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Merchandise */
.section-products {
  padding-block: 60px;
  padding-inline: 80px;
  text-align: center;
  background-color: #f9f9f9; 
}

.section-products h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0d542b;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 22px;
  margin: 15px 20px 5px;
  color: #333;
}

.product-card p {
  margin: 0 20px 10px;
  color: #666;
  font-size: 14px;
}

/* WA Button */
.wa-btn {
  display: inline-block;
  margin-top: 10px;
  background: #25D366;
  color: white;
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.wa-btn:hover {
  background: #1ebe5d;
}

@media (max-width: 768px) {
  .section-divisions,
  .section-join,
  .section-products {
    padding-inline: 20px;
    padding-block: 40px;
  }

  .section-divisions h1,
  .section-join h1,
  .section-products h1 {
    font-size: 24px; /* Reduced from 28px */
    margin-bottom: 20px;
  }

  /* Adjust grid for mobile to allow smaller cards */
  .divisions-container,
  .products-container {
    grid-template-columns: repeat(
      auto-fit,
      minmax(140px, 1fr)
    ); /* Reduced min-width */
    gap: 15px; /* Reduced gap */
  }

  /* Resize Division Cards */
  .division-card img {
    height: 150px; /* Reduced from 300px */
  }

  .division-card h3 {
    font-size: 16px; /* Reduced from 20px */
    margin: 10px 10px 5px;
  }

  .division-card p {
    font-size: 12px; /* Reduced size */
    margin: 0 10px 15px;
  }

  /* Resize Product Cards */
  .product-card img {
    height: 150px; /* Reduced from 250px */
  }

  .product-card h3 {
    font-size: 16px; /* Reduced from 22px */
    margin: 10px 10px 5px;
  }

  .product-card p {
    font-size: 12px; /* Reduced from 14px */
    margin: 0 10px 10px;
  }
}