/* #region Initialization */
:root {
    --bg-color: #f1f1f1;
    --red-1: #af0f0f;
    --red-2: #cb0f0f;
    --red-dark: #870D0D;
    --red-bright: #FF6660;
    --white-1: #fff;
    --white-2: #efefef;
    --green-1: #3A6E09;
    --green-2: #72D714;
    --green-3: #59A710;
    --green-dark: #274b05;
    --green-leaf: #519e08;
    --yellow-1: #FCD710;
    --yellow-2: #F7E812;
  }

@font-face {
    font-family: 'SpaceGrotesk';
    src: url('../fonts/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SpaceGrotesk';
    src: url('../fonts/SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
  font-family: 'SpaceGrotesk';
  src: url('../fonts/SpaceGrotesk-Medium.ttf') format('truetype');
  font-weight: medium;
  font-style: italic;
}

@font-face {
    font-family: 'TiltWarp';
    src: url('../fonts/TiltWarp.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: var(--bg-color);
    /* background-color: #f1f1f1; */
    font-family: 'SpaceGrotesk', sans-serif;
}

.text-bold {
  font-weight: bold;
}

.text-medium {
  font-weight: medium;
}

/* #endregion End Initialization ======== */

/* #region Navbar */
.navbar-custom {
  background-color: var(--bg-color);
  box-shadow: none;
}

.fade-in-element {
  opacity: 0;
  transform: translateY(30px); /* agak turun sedikit di awal */
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 992px) {
  .navbar-custom {
    box-shadow: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
  }

  .navbar-custom.scrolled {
    background-color: var(--bg-color);
    opacity: 95%;
  }
}
  
  .navbar-custom .navbar-brand,
  .navbar-custom .nav-link {
    color: var(--red-1);
  }
  
  .navbar-custom .nav-link:hover {
    color: var(--red-bright);
  }
  
  .navbar-custom .navbar-toggler {
    border-color: rgb(175, 15, 15); /* garis tepi tombol */
  }

  /* ubah warna icon hamburger */
  .navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(175 15 15)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  .navbar-custom .navbar-toggler:focus,
  .navbar-custom .navbar-toggler:active,
  .navbar-custom .navbar-toggler.collapsed:focus,
  .navbar-custom .navbar-toggler.collapsed:active {
    box-shadow: none !important;
    outline: none !important;
  }

.logo-style {
    width: auto;
    height: 35px;
}

.logo-tulisan-style {
    width: auto;
    height: 19.5px;
}
  
.nav-link {
    font-family: 'SpaceGrotesk', sans-serif;
    font-weight: bold;
}

/* #endregion Navbar */

/* #region Hero */
h1 {
  font-family: 'TiltWarp', sans-serif;
}

.hero-container {
  height: 170vw;
}

.hero-container::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 10%; /* atur tinggi area gradasi */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--bg-color) 100%);
  z-index: 1; /* di atas gambar, tapi di bawah teks */
}

.hero-green {
  position: relative;
  font-weight: 900;
  font-size: 230%;
  background-image: linear-gradient(to right, var(--green-3));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  filter: drop-shadow(2px 2px 5px rgba(0,0,0,25%));
  text-align: center;
}

.hero-red {
  position: relative;
  font-weight: 2000;
  font-size: 230%;
  line-height: 1;
  background-image: linear-gradient(
    to right,
    var(--red-2) 0%,
    var(--red-2) 43%,
    var(--red-bright) 50%,
    var(--red-2) 63%,
    var(--red-2) 100%
  );
  background-size: 200%;
  background-position: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* border putih */
  -webkit-text-stroke: 0.5px white;

  /* efek bayangan supaya "angkat" */
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.25));
  animation: shine 3s linear infinite;
  text-align: center;
}

.hero-text {
  margin-top: 23vw;
}

.hero-description {
  overflow: visible;
  height: 80px;
}

.hero-description p {
  font-weight: bold;
  font-size: 3vw;
  filter: drop-shadow(3px 4px 10px rgba(0, 0, 0, 1));
  padding: 0 3vw;
}

.btn-hero, .btn-hero:active, .btn-hero:focus, .btn-hero:focus:active {
  z-index: 100;
  background-color: var(--yellow-1);
  color: var(--green-1);
  border-radius: 5px;
  font-size: 2vw;
  border: 0;
  filter: drop-shadow(3px 2px 4px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
}

.btn-hero:hover {
  background-color: var(--yellow-1);
  color: var(--green-1);
  border-radius: 5px;
  border: 0;
  filter: drop-shadow(3px 2px 4px rgba(0, 0, 0, 0.6));
  transform: scale(1.08);
}

.hero-product {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s ease;
  max-width: 46vw; height: auto; margin: 0 2vw 0 0;
}

.hero-product:hover {
  transform: scale(1.08);
}

@media (min-width: 992px) { 
  .hero-container {
    height: 110vh;
  }

  .hero-container::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 12%; /* atur tinggi area gradasi */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--bg-color) 100%);
    z-index: 1; /* di atas gambar, tapi di bawah teks */
  }

  .hero-green {
    position: relative;
    font-weight: 900;
    font-size: 4.5vw;
    background-image: linear-gradient(to right, var(--green-3), var(--green-2), var(--green-3));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    filter: drop-shadow(3px 4px 2.5px rgba(0,0,0,25%));
    text-align: left;
  }

  .hero-red {
    position: relative;
    font-weight: 2000;
    font-size: 4.5vw;
    line-height: 1;
    background-image: linear-gradient(
      to right,
      var(--red-2) 0%,
      var(--red-2) 43%,
      var(--red-bright) 50%,
      var(--red-2) 63%,
      var(--red-2) 100%
    );
    background-size: 200%;
    background-position: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* border putih */
    -webkit-text-stroke: 0.9px white;

    /* efek bayangan supaya "angkat" */
    filter: drop-shadow(3px 4px 2.5px rgba(0, 0, 0, 0.25));
    animation: shine 4.5s linear infinite;
    text-align: left;
    paint-order: stroke fill;
  }

  .hero-text {
    margin-top: 7.5%;
  }

  .hero-description {
    margin-top: 1%;
    overflow: visible;
    height: 80px;
  }

  .hero-description p {
    padding: 0;
    width: 52%;
    font-weight: bold;
    font-size: 1.9vw;
    filter: drop-shadow(3px 4px 4px rgba(0, 0, 0, 1));
  }
  .btn-hero, .btn-hero:active, .btn-hero:focus, .btn-hero:focus:active {
    background-color: var(--yellow-1);
    color: var(--green-1);
    border-radius: 10px;
    font-size: 1.2vw;
    border: 0;
    filter: drop-shadow(3px 2px 4px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s ease;
  }

  .btn-hero:hover {
    background-color: var(--yellow-1);
    color: var(--green-1);
    border-radius: 10px;
    border: 0;
    filter: drop-shadow(3px 2px 4px rgba(0, 0, 0, 0.6));
    transform: scale(1.08);
  }

  .hero-product {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
    max-width: 30vw; height: auto; margin: 0 2vw 6vw 0;
  }

  .hero-product:hover {
    transform: scale(1.08);
  }
}

/* animasi shimmer halus */
@keyframes shine {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

/* #endregion Hero */

/* #region About Part Of */

h2 {
  font-family: 'TiltWarp', sans-serif;
  font-size: 6vw;
}

.about-line {
  width: 60%;
}

.about-container {
  margin-top: 15%;
  color: var(--green-3);
}

.text-about-part-of {
  text-align: center;
  margin: 7vw 0 0 0;
  width: 80vw;
}
.logo-part-of {
  margin: 3.5vw 0 0 0;
  width: 75vw;
  overflow: hidden;
  position: relative;
}

/* tetap pakai kelas yang sama */
.logo-row-part-of {
  display: flex;
  width: max-content;
  /* biar licin */
  will-change: transform;
  /* boleh atur spasi antar logo (opsional) */
  gap: 32px;

  /* animasi pakai variabel (durasi dihitung via JS) */
  animation-name: scroll-logos-px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--scroll-duration, 10s);
}

.logo-row-part-of img {
  height: 42px;
  flex: 0 0 auto; /* hindari shrink aneh di iOS */
}

@keyframes scroll-logos-px {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--scroll-distance, 1000px))); }
}

h3 {
  font-family: 'TiltWarp', sans-serif;
  font-size: 4.8vw;
  color: var(--yellow-2);
  -webkit-text-stroke-width: 0.8vw;
  -webkit-text-stroke-color: var(--green-1);
  paint-order: stroke fill;
}

.text-about {
  font-size: 4vw;
  color: var(--green-1);
}

@media(min-width: 992px) {
  h2 {
    font-family: 'TiltWarp', sans-serif;
    font-size: 3vw;
    
  }
  .about-container {
    margin-top: 5%;
    color: var(--green-3);
  }
  .about-line {
    width: 32vw;
  }
  h3 {
    font-family: 'TiltWarp', sans-serif;
    font-size: 2vw;
    color: var(--yellow-2);
    -webkit-text-stroke-width: 0.3vw;
    -webkit-text-stroke-color: var(--green-1);
    paint-order: stroke fill;
  }
  .text-about {
    font-size: 1.15vw;
    color: var(--green-1);
  }
  .text-about-part-of {
    text-align: start;
    margin: 0;
    width: 45%;
  }
  .about-part-of {
    margin: 5vw 9vw 0 9vw;
  }
  .logo-about-part-of {
    height: 20vh;
    overflow: hidden;
  }
  .logo-row-about-part-of img {
    max-height: 8vh;
    width: auto;
  }
}

/* #endregion About Part Of */

@media(max-width: 992px){
  /* #region About Rotten */
  .about-rotten {
    padding: 0;
    width: 75vw;
    margin: 5vh 0vw 0 0vw;
  }
  
  .text-rotten {
    margin-top: 1.5vh;
  }
  
  .text-rotten-icon {
    width: 7vw;
    height: auto;
  }
  
  .image-rotten {
    position: relative;
    width: 75vw;
    height: 20vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    margin-top: 1.7vh;
  }
  
  .rotten-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  
  .rotten-container img {
    width: 75vw;
    height: 20vh;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
  }
  
  .scroll-btn {
    font-size: 3vw;
    position: absolute;
    top: 16vh;
    right: 1.5vw;
    background-color: var(--yellow-1);
    color: var(--green-1);
    border: none;
    padding: 1vw 1vh;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: 0.2s;
  }
  
  .scroll-btn:hover {
    background-color: var(--green-1);
    color: var(--yellow-2);
  }
  /* #endregion About Rotten */

  /* #region About Intro */
  .about-intro {
    width: 80vw;
    margin: 4.8vw 0vw 0 0vw;
    text-align: center;
  }
  
  .text-intro {
    width: 80vw;
  }

  .intro-video {
    width: 78vw !important;
    border-radius: 1vw;
    overflow: hidden;
  }
  /* #endregion About Intro */

  /* Mask daun di bagian atas */
  .shape-mask {
    position: absolute;
    top: 16vh;
    width: 100%;
    height: 55vh; /* tinggi daun tetap */
    background-color: var(--green-leaf);
    -webkit-mask-image: url("../assets/leaves_mask-min.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% auto; /* hanya melebar horizontal */
    -webkit-mask-position: top center;
    mask-image: url("../assets/leaves_mask-min.png");
    mask-repeat: no-repeat;
    mask-size: 100% auto;
    mask-position: top center;
    z-index: -3;
  }   

  .shape-mask-2{
    position: absolute;
    top: 16vh;
    width: 100%;
    height: 55vh; /* tinggi daun tetap */
    background-color: var(--green-leaf);
    -webkit-mask-image: url("../assets/leaves_mask-min.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% auto; /* hanya melebar horizontal */
    -webkit-mask-position: top center;
    mask-image: url("../assets/leaves_mask-min.png");
    mask-repeat: no-repeat;
    mask-size: 100% auto;
    mask-position: top center;
    z-index: -2;
    transform: scaleX(-1);
  }   
  
  /* Warna hijau yang melanjutkan area di bawah daun */
  .shape-fill {
    position: absolute;
    top: 42vh; /* mulai setelah daun */
    width: 100%;
    height: 85%; /* sisa layar */
    background-color: var(--green-leaf);
    z-index: -2;
  }
  
  /* Konten di atas keduanya */
  .advantage-content {
    position: relative;
    z-index: 0; /* di atas shape-mask dan shape-fill */
    color: var(--bg-color); /* atau warna kontras */
    padding-top: 51vh; /* atur posisi vertikal teks */
    margin: 0 9vw 0 9vw;
  }
  
  .advantage-line {
    width: 80vw;
  }

  .content-advantage-tiles {
    position: relative;
    margin-top: 1.2vh;
    width: 75vw;
  }

  .content-advantage-tiles::before {
    content: "";
    position: absolute;
    top: -1.8vh;
    left: 0.5vw;
    right: 0.8vw;
    bottom: -2vh; 
    background-color: var(--green-1);
    opacity: 0.7;
    border-radius: 20px;
    z-index: -1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  } 
 
  
  /* Kotak individual */
  .content-advantage-box {
    width: 65vw;
    min-height: 15vh;
    background-color: var(--bg-color);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0 8vw;
    text-align: center;
    overflow: visible;
  }
  
  /* Icon di atas teks */
  .content-advantage-icon {
    object-fit: contain;
    color: var(--green-1);
    font-size: 10vw;
  }
  
  /* Teks di bawah icon */
  .content-advantage-text {
    font-size: 3.2vw;
    font-weight: 600;
    color: var(--green-1);
    margin: 0;
  }

  
  .testimoni-content {
    margin: 10vh 19vw 0 19vw;
    color: var(--bg-color);
  }

  .testimoni-line {
    width: 100%;
  }

  .testimoni-card {
    border-radius: 15px;
    padding: 3rem 1rem;
    overflow: hidden;
    height: 25vh;
    width: auto;
    transition: opacity 0.6s ease;
  }

  .testimoni-card.active {
    opacity: 1;
  }
  
  .testimoni-card.fading-out {
    opacity: 0;
    pointer-events: none;
  }
  
  .testimoni-img-wrapper img {
    position: absolute;
    height: auto;
    width: 85vw;
    object-fit: cover;
    object-position: center;
  }

  .testimoni-img-wrapper .img1 {
    left: -22vw;
    top: -2vh;
  }

  .testimoni-img-wrapper .img2 {
    width: 110vw;
    left: -29vw;
    top: -8vh;
  }

  .testimoni-img-wrapper .img3 {
    width: 110vw;
    left: -29vw;
    top: -10.5vh;
  }
  
  /* gradient hanya ke gambar */
  .testimoni-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(58, 110, 9, 0) 30%,
      rgba(58, 110, 9, 0.9) 65%,
      rgba(58, 110, 9, 1) 100%
    );
    pointer-events: none;
  }

  .testimoni-text {
    position: absolute;
    top: 14vh;
    width: 86%;
    height: 6vh;
    overflow: visible;
  }

  .testimoni-text .review {
    font-size: 2vw;
    text-align: start;
    font-style: normal;
  }

  .testimoni-text .identity {
    font-family: TiltWarp;
    font-size: 1.8vw;
    text-align: end;
    margin-top: -2.5vh;
  }

  .identity span {
    color: var(--yellow-1);
    font-size: 1.8vw;
  }

  .testimoni-text .good {
    margin-top: -3.5vh;
    color: var(--yellow-1);
    font-size: 2vw;
  }

  .testimoni-text .bad {
    margin-top: -3.5vh;
    color: lightgray;
    font-size: 2vw;
  }

  .navigation-review {
    /* border: 1px solid black; */
    z-index: 10;
    position: absolute;
    top: 52%;
    left: -12.5vw;
    width: 87vw;
  }

  .navigation-review .left, .navigation-review .right{
    border: 0;
    background-color: rgba(0, 0, 0, 0);
    color: var(--bg-color);
    font-size: 10vw;
  }

  @keyframes nudgeLeft {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(-3vw);
    }
  }
  
  /* Animasi mencuat ke kanan */
  @keyframes nudgeRight {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(3vw);
    }
  }
  
  /* Terapkan animasi berulang */
  .navigation-review .left {
    animation: nudgeLeft 3s ease-in-out infinite;
  }
  
  .navigation-review .right {
    animation: nudgeRight 3s ease-in-out infinite;
  }

  .product-content {
    margin: 8vh 9vw 0 9vw;
    color: var(--bg-color);
  }

  .product-line {
    width: 50vw;
  }

  .product-content {
    position: relative;
    overflow: visible;
  }
  
  .product-bg {
    position: relative;
    background-color: var(--green-1);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 3vh 2.5vw 5vh 2.5vw;
    height: max-content;
    width: auto;
    overflow: hidden;
  }

  .container-product {
    position: relative;
    background-color: var(--green-dark);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-height: 38vh;
    width: 70vw;
    cursor: pointer;
  }

  .box-product,
  .real-product {
    position: absolute;
    transform-origin: center;
  }

  /* posisi awal */
  .box-product {
    top: 16%;
    left: 11%;
    width: 42vw;
    filter: drop-shadow(-15px 20px 20px rgba(0, 0, 0, 0.5));
    animation: boxFloat 5s linear infinite;
  }

  .real-product {
    top: 32%;
    left: 56%;
    width: 23vw;
    transform: scaleX(-1);
    filter: drop-shadow(-15px 15px 20px rgba(0, 0, 0, 0.5));
    animation: realFloat 5s linear infinite;
  }

  /* animasi bergerak terus */
  @keyframes boxFloat {
    0% {
      transform: rotate(0deg) scale(1);
      top: 16%;
      left: 11%;
    }
    40% {
      transform: rotate(-3deg) scale(1.05);
      top: 15%;
      left: 12%;
    }
    60% {
      transform: rotate(-3deg) scale(1.05);
      top: 15%;
      left: 12%;
    }
    100% {
      transform: rotate(0deg) scale(1);
      top: 16%;
      left: 11%;
    }
  }

  @keyframes realFloat {
    0% {
      transform: scaleX(-1) rotate(0deg) scale(1);
      top: 32%;
      left: 56%;
    }
    40% {
      transform: scaleX(-1) rotate(-3.2deg) scale(1.1);
      top: 30%;
      left: 57%;
    }
    60% {
      transform: scaleX(-1) rotate(-3.2deg) scale(1.1);
      top: 30%;
      left: 57%;
    }
    100% {
      transform: scaleX(-1) rotate(0deg) scale(1);
      top: 32%;
      left: 56%;
    }
  }


  .text-container-product {
    position: absolute;
    color: var(--bg-color);
    font-weight: bold;
    top: 26.5vh;
    left: 8%;
    font-size: 3.3vw;
  }

  .text-sedang {
    position: absolute;
    color: var(--bg-color);
    font-weight: bold;
    top: 30vh;
    left: 8%;
    font-size: 3.3vw;
  }

  .text-line {
    position: absolute;
    top: 30vh;
    left: 50.5%;
    height: 5vh;
  }

  .text-besar {
    position: absolute;
    color: var(--bg-color);
    font-weight: bold;
    top: 30vh;
    left: 55%;
    font-size: 3.3vw;
  }

  .container-product-desc {
    margin-top: 2.5vh;
    margin-left: 5vw;
    margin-right: 5vw;
  }

  .isi-paket  {
    font-size: 3.3vw;
    font-weight: bold;
    color: var(--bg-color);
  }

  .icon-paket {
    font-size: 2.3vh;
    margin-top: -0.3vh;
  }

  .isi-paket span {
    font-family: 'TiltWarp';
    color: var(--yellow-1);
  }

  .compare-paket {
    position: relative;
    width: 100%;
    height: 50%;
  }

  .text-compare-sedang {
    object-fit: cover; height: 4.5vh; color: var(--bg-color); font-size: 3.3vw; 
  }

  .mango-mask {
    margin-top: 4.8%;
    width: 5.5vw;
    height: 2.5vh;
    background-color: var(--bg-color);
    -webkit-mask: url('../assets/product/mango-icon.png') no-repeat center / contain;
    mask: url('../assets/product/mango-icon.png') no-repeat center / contain;
  }

  .grape-mask {
    margin-top: 4.8%;
    width: 5.5vw;
    height: 2.5vh;
    background-color: var(--bg-color);
    -webkit-mask: url('../assets/product/grape-icon.png') no-repeat center / contain;
    mask: url('../assets/product/grape-icon.png') no-repeat center / contain;
  }

  .list-sedang {
    color: var(--bg-color); font-size: 3.3vw;
    font-weight: normal;
    margin-top: 30%;
    margin-left: -1.4vw;
  }

  .list-besar {
    color: var(--bg-color); font-size: 3.3vw;
    font-weight: normal;
    margin-top: 25%;
    margin-left: -1.4vw;
  }

  .compare-line {
    position: absolute;
    top: 1%;
    left: 50.5%;
    height: 32vh;
  }

  .text-harga {
    object-fit: cover; height: 4.5vh; color: var(--bg-color); font-size: 3.3vw; margin-top: -1vh;
  }

  .text-harga i {
    font-size: 2.3vh;
    margin-top: 0.6vh;
  }

  .text-harga span {
    font-family: 'TiltWarp';
    color: var(--yellow-1);
  }

  .tombol-shopee {
    margin-top: 2vh;
    z-index: 3;
    width: 100%;
  }

  .logo-shopee {
    width: 3vw;
    height: auto;
    margin-right: 0vw;
  }

  .btn-outline-primary {
    font-size: 2vw;
    border-color: var(--bg-color);
    color: var(--bg-color);
    border-width: 0.22vw;
    font-weight: bold;
    transition: all 0.6s ease;
    transform-origin: center;
  }
  .btn-outline-primary:hover {
    transform: scale(1.07);
    background-color: transparent;
    border-color: var(--bg-color);
    color: var(--bg-color);
    border-width: 0.22vw;
    font-weight: bold;
  }

.news-content{
  position: relative;
  width: 75vw;
  height: 90vh;      
  margin: 8vh auto;
  overflow: visible;
  color: var(--bg-color);
}

.news-line {
  width: 64vw;
}

.news-button{
  position: absolute;
  top: 29vh;
  left: -3vw;
  width: 80.8vw;
  z-index: 20;
}
.news-button .news-left,.news-button .news-right{
  border: 0;
  background-color: transparent;
  color: var(--bg-color);
  font-size: 10vw;
  opacity: 1;
  cursor: pointer;
}
@keyframes nudgeLeft {0%,100%{transform:translateX(0)} 50%{transform:translateX(-1.5vw)}}
@keyframes nudgeRight{0%,100%{transform:translateX(0)} 50%{transform:translateX( 1.5vw)}}
.news-button .news-left{animation:nudgeLeft 5s ease-in-out infinite}
.news-button .news-right{animation:nudgeRight 5s ease-in-out infinite}

.news-carousel-wrapper{
  display:flex; align-items:center; justify-content:center;
  width:62vw;
  height: 47vh;
  position:relative;
  overflow:hidden;       
  isolation:isolate;      
  padding-bottom:48px;      
}

#grabAndPullCarousel .news-carousel{
  width:100%;
  height:43vh;
  display:flex !important; flex-wrap:nowrap; align-items:stretch;
  will-change:transform; touch-action:pan-y;
  overflow:visible; position:relative; z-index:1;
}

.carousel-inner {
  width: 100%;
}

#grabAndPullCarousel .carousel-item,
#grabAndPullCarousel .carousel-item.active,
#grabAndPullCarousel .carousel-item-next,
#grabAndPullCarousel .carousel-item-prev{
  display:block !important;
  float:none !important;
  transform:none !important;
  transition:none !important;
  position:relative;
}

#grabAndPullCarousel .news-card{
  flex:0 0 58vw !important;  
  width: 58vw !important;
  height:43vh;
  display:flex; flex-direction:column;
  overflow:hidden;
  border-radius:6px;
  background-color:var(--bg-color);
  flex-shrink:0;
}

.news-image{
  object-fit:cover; object-position:center;
  width:100%; height:55%;
  pointer-events:none; user-select:none;
}
.news-text{ text-align:center; padding:1.5vh 4vw; }
.news-text h4{
  font-family:'TiltWarp',sans-serif; color:darkslategray; opacity:.7;
  font-size:2vw; letter-spacing:0.3vw;
}
.news-text p{ font-size:2vw; color:darkslategrey; padding-top:1vh; }
.news-text a{
  text-decoration:none;
}
.news-text span{
  display: inline-block;
  font-weight:bold; font-family:'TiltWarp',sans-serif;
  text-decoration:none; color:var(--green-leaf);
  font-size:2.2vw; line-height: 1.2vh;
}

/* INDIKATOR: selalu terlihat, tidak negatif (biar tak ke-clip) */
#grabAndPullCarousel .carousel-indicators{
  position:absolute; left:50%; bottom:4px; transform:translateX(-50%);
  z-index:6; margin:0; display:flex; align-items:center;
}
#grabAndPullCarousel .carousel-indicators [data-bs-target],
#grabAndPullCarousel .carousel-indicators [data-slide-to]{
  width:8px; height:8px; border-radius:50%;
  background-color:rgba(255,255,255,.5);
  border:none; margin:0 6px;
}
#grabAndPullCarousel .carousel-indicators .active{
  background-color:#fff; opacity:1;
}

/* FEEDBACK saat drag */
#grabAndPullCarousel.is-grabbing,
#grabAndPullCarousel.is-grabbing *{ cursor:grabbing !important; }

}

@media(min-width: 992px) {
  .about-rotten {
    margin: 4.5vw 9vw 0 9vw;  
    width: auto;
    height: auto;
  }

  .image-rotten {
    position: relative;
    width: 45vw;
    height: 45vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #fff;
  }
  
  .rotten-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  
  .rotten-container img {
    width: 42.5vw;
    height: 45vh;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
  }
  
  .scroll-btn {
    position: absolute;
    top: 36vh;
    right: 1.5vw;
    background-color: var(--yellow-1);
    color: var(--green-1);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: 0.2s;
  }
  
  .scroll-btn:hover {
    background-color: var(--green-1);
    color: var(--yellow-2);
  }

  .text-rotten-item {
    margin: 0 0vw 1.2vw 0vw;
  }

  .text-rotten-icon {
    object-fit: contain;
    height: 3vw;
  }

  .text-rotten-container h3 {
    margin-bottom: 2vw;
  }

  .about-intro {
    width: calc(100% - 10vw);
    margin: 5.5vw 5vw 0 5vw;
    text-align: center;
  }
  
  .text-intro {
    width: 60%;
  }

  .intro-video {
    border-radius: 1vw;
    overflow: hidden;
  }

  .advantage-container {
    position: relative;
    width: 100%;
    height: 525vh;
    overflow: hidden;
    z-index: 0;
  }
  
  /* Mask daun di bagian atas */
  .shape-mask {
    position: absolute;
    top: 0;
    width: 100%;
    height: 55vh; /* tinggi daun tetap */
    background-color: var(--green-leaf);
    -webkit-mask-image: url("../assets/leaves_mask-min.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% auto; /* hanya melebar horizontal */
    -webkit-mask-position: top center;
    mask-image: url("../assets/leaves_mask-min.png");
    mask-repeat: no-repeat;
    mask-size: 101% auto;
    mask-position: top center;
    z-index: -3;
  }   

  .shape-mask-2{
    position: absolute;
    top: 0;
    width: 100%;
    height: 55vh; /* tinggi daun tetap */
    background-color: var(--green-leaf);
    -webkit-mask-image: url("../assets/leaves_mask-min.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% auto; /* hanya melebar horizontal */
    -webkit-mask-position: top center;
    mask-image: url("../assets/leaves_mask-min.png");
    mask-repeat: no-repeat;
    mask-size: 101% auto;
    mask-position: top center;
    z-index: -2;
    transform: scaleX(-1);
  }   
  
  /* Warna hijau yang melanjutkan area di bawah daun */
  .shape-fill {
    position: absolute;
    top: 117vh; /* mulai setelah daun */
    width: 100%;
    height: 410vh; /* sisa layar */
    background-color: var(--green-leaf);
    z-index: -2;
  }
  
  /* Konten di atas keduanya */
  .advantage-content {
    position: relative;
    z-index: 0; /* di atas shape-mask dan shape-fill */
    color: var(--bg-color); /* atau warna kontras */
    padding-top: 145vh; /* atur posisi vertikal teks */
    margin: 0 9vw 0 9vw;
  }
  
  .advantage-line {
    width: 38vw;
  }

  .content-advantage-tiles {
    position: relative;
    margin-top: 1.2vh;
    margin-left: 1vw;
    width: 43vw;
  }

  .content-advantage-tiles::before {
    content: "";
    position: absolute;
    top: -2vh;
    left: -1.3vw;
    right: -38vw;
    bottom: -2vh; /* biar pseudo nambah ruang di bawah */
    background-color: var(--green-1); /* warna hijau lebih gelap */
    opacity: 0.7;
    border-radius: 20px;
    z-index: -1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }

  .content-advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem; /* jarak antar kotak */
    width: 100vw;
    max-width: 1000px; /* batas lebar */
    padding: 0rem;
    
  }
  
  /* Kotak individual */
  .content-advantage-box {
    background-color: var(--bg-color);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 3rem 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: visible;
  }
  
  /* Efek hover */
  .content-advantage-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  }
  
  /* Icon di atas teks */
  .content-advantage-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
    color: var(--green-1);
    font-size: 3.5vw;
  }
  
  /* Teks di bawah icon */
  .content-advantage-text {
    font-size: 1.25vw;
    font-weight: 600;
    color: var(--green-1);
    margin: 0;
  }

  .image-advantage {
    width: 30vw;
    height: 100vh;
    margin-top: -9vw;
    align-items: end;
  }

  .image-advantage img {
    height: 94vh;
    margin-left: -1vw;
    filter: drop-shadow(2px 6px 5px rgba(0, 0, 0, 0.3));
  }  

  .testimoni-content {
    margin: 10vh 9vw 0 9vw;
    color: var(--bg-color);
  }

  .testimoni-line {
    width: 34vw;
  }

  .testimoni-card {
    background-color: var(--bg-color);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 3rem 1rem;
    overflow: hidden;
    height: 48vh;
    width: auto;
    transition: opacity 0.6s ease;
  }

  .testimoni-card.active {
    opacity: 1;
  }
  
  .testimoni-card.fading-out {
    opacity: 0;
    pointer-events: none;
  }

  .testimoni-card img {
    position: absolute;
    inset: 0;
    left: -1vw;
    height: 48vh;
    object-fit: cover;
    object-position: center;
  }

  .testimoni-text {
    position: relative;
    width: 100vw;
    padding: 0vw 5vw 5vw 35vw;
  }

  .testimoni-text .review {
    font-size: 1.3vw;
    text-align: start;
    font-style: normal;
  }

  .testimoni-text .identity {
    font-family: TiltWarp;
    font-size: 1.3vw;
    text-align: left;
    line-height: 1.15;
    position: absolute;
    bottom: 1vh;
    width: 40vw;
  }

  .identity span {
    color: var(--red-1);
    font-size: 1vw;
  }

  .testimoni-text .good {
    margin-top: -1vw;
    color: var(--yellow-1);
    font-size: 1.9vw;
  }

  .testimoni-text .bad {
    margin-top: -1vw;
    color: lightgray;
    font-size: 1.9vw;
  }

  .navigation-review .left, .navigation-review .right{
    border: 0;
    font-size: 3vw;
  }

  .navigation-review .left:hover, .navigation-review .right:hover {
    color: var(--green-2);
  }

  .product-content {
    margin: 15vh 9vw 0 9vw;
    color: var(--bg-color);
  }

  .product-line {
    width: 20vw;
  }

  .product-content {
    position: relative;
    overflow: visible;
  }
  
  .product-bg {
    position: relative;
    background-color: var(--green-1);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* margin: 0vh 9vw 0 9vw; */
    padding: 3vh 2.5vw 3vh 2.5vw;
    overflow: hidden;
    height: 72vh;
    width: auto;
  }

  .container-product {
    position: relative;
    background-color: var(--green-dark);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    height: 65vh;
    width: 30vw;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .container-product:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }
  
  .box-product,
  .real-product {
    position: absolute;
    transition: all 0.6s ease;
    transform-origin: center;
  }
  
  .box-product {
    top: 16%;
    left: 13%;
    width: 18vw;
    filter: drop-shadow(-15px 20px 20px rgba(0, 0, 0, 0.5));
  }
  
  .real-product {
    top: 28%;
    left: 58%;
    width: 9vw;
    transform: scaleX(-1);
    filter: drop-shadow(-15px 15px 20px rgba(0, 0, 0, 0.5));
  }
  
  /* === efek hover === */
  .container-product:hover .box-product {
    transform: rotate(-2deg) scale(1.05);
    left: 12%;
    top: 15%;
  }
  
  .container-product:hover .real-product {
    transform: scaleX(-1) rotate(-2.8deg) scale(1.1);
    left: 60%;
    top: 26%;
  }

  .text-container-product {
    position: absolute;
    color: var(--bg-color);
    font-weight: bold;
    top: 69%;
    left: 8%;
    font-size: 1.2vw;
  }

  .text-sedang {
    position: absolute;
    color: var(--bg-color);
    font-weight: bold;
    top: 79%;
    left: 8%;
    font-size: 1.2vw;
  }

  .text-line {
    position: absolute;
    top: 79%;
    left: 47.5%;
    height: 8vh;
  }

  .text-besar {
    position: absolute;
    color: var(--bg-color);
    font-weight: bold;
    top: 79%;
    left: 55%;
    font-size: 1.2vw;
  }

  .container-product-desc {
    margin-top: -1.2vh;
  }

  .isi-paket  {
    font-size: 1.7vw;
    font-weight: bold;
    color: var(--bg-color);
  }

  .isi-paket span {
    font-family: 'TiltWarp';
    color: var(--yellow-1);
  }

  .icon-paket {
    font-size: 2.3vw; margin-top: -0.7vh;
  }

  .compare-paket {
    position: relative;
    width: 100%;
    height: 50%;
  }

  .text-compare-sedang {
    object-fit: cover; height: 4.5vh; color: var(--bg-color); font-size: 1.7vw; 
  }

  .mango-mask {
    margin-top: 4.8%;
    width: 3vw;
    height: 5.5vh;
    background-color: var(--bg-color);
    -webkit-mask: url('../assets/product/mango-icon.png') no-repeat center / contain;
    mask: url('../assets/product/mango-icon.png') no-repeat center / contain;
    filter: drop-shadow(0 0 1px var(--bg-color)) drop-shadow(0 0 1px var(--bg-color));
  }

  .grape-mask {
    margin-top: 4.8%;
    width: 3vw;
    height: 5.5vh;
    background-color: var(--bg-color);
    -webkit-mask: url('../assets/product/grape-icon.png') no-repeat center / contain;
    mask: url('../assets/product/grape-icon.png') no-repeat center / contain;
  }

  .list-sedang {
    color: var(--bg-color); font-size: 1.2vw;
    font-weight: normal;
    margin-top: 7vh;
  }

  .list-besar {
    color: var(--bg-color); font-size: 1.2vw;
    font-weight: normal;
    margin-top: 7vh;
  }

  .compare-line {
    position: absolute;
    top: 1%;
    left: 53%;
    height: 50vh;
  }

  .bi-tags {
    font-size: 2.3vw;
  }

  .text-harga {
    object-fit: cover; height: 4.5vh; color: var(--bg-color); font-size: 1.7vw; margin-top: -1vh;
  }

  .text-harga span {
    font-family: 'TiltWarp';
    color: var(--yellow-1);
  }

  .tombol-shopee {
    margin-top: 10vh;
    z-index: 3;
    width: 100%;
  }

  .logo-shopee {
    width: 1.5vw;
    height: auto;
    margin-right: 1vw;
  }

  .btn-outline-primary {
    font-size: 1.2vw;
    border-color: var(--bg-color);
    color: var(--bg-color);
    border-width: 0.22vw;
    font-weight: bold;
    transition: all 0.6s ease;
    transform-origin: center;
  }
  .btn-outline-primary:hover {
    transform: scale(1.07);
    background-color: transparent;
    border-color: var(--bg-color);
    color: var(--bg-color);
    border-width: 0.22vw;
    font-weight: bold;
  }

.news-content{
  position: relative;
  width: 75vw;
  height: 90vh;      
  margin: 13vh auto;
  overflow: visible;
  color: var(--bg-color);
}

.news-line {
  width: 35vw;
}

.news-button{
  position: absolute;
  top: 45vh;
  left: -3vw;
  width: 80.8vw;
  z-index: 20;
}
.news-button .news-left,.news-button .news-right{
  border: 0;
  background-color: transparent;
  color: var(--bg-color);
  font-size: 10vw;
  opacity: 1;
  cursor: pointer;
}
@keyframes nudgeLeft {0%,100%{transform:translateX(0)} 50%{transform:translateX(-1.5vw)}}
@keyframes nudgeRight{0%,100%{transform:translateX(0)} 50%{transform:translateX( 1.5vw)}}
.news-button .news-left{animation:nudgeLeft 5s ease-in-out infinite}
.news-button .news-right{animation:nudgeRight 5s ease-in-out infinite}

.news-carousel-wrapper{
  display:flex; align-items:center; justify-content:center;
  width:62vw;
  height: 68vh;
  position:relative;
  overflow:hidden;       
  isolation:isolate;      
  padding-bottom:48px;      
}

#grabAndPullCarousel .news-carousel{
  width:100%;
  height:60vh;
  display:flex !important; flex-wrap:nowrap; align-items:stretch;
  will-change:transform; touch-action:pan-y;
  overflow:visible; position:relative; z-index:1;
}

.carousel-inner {
  width: 100%;
}

#grabAndPullCarousel .carousel-item,
#grabAndPullCarousel .carousel-item.active,
#grabAndPullCarousel .carousel-item-next,
#grabAndPullCarousel .carousel-item-prev{
  display:block !important;
  float:none !important;
  transform:none !important;
  transition:none !important;
  position:relative;
}

#grabAndPullCarousel .news-card{
  flex:0 0 58vw !important;  
  width: 58vw !important;
  height:60vh;
  display:flex; flex-direction:column;
  overflow:hidden;
  border-radius:6px;
  background-color:var(--bg-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  flex-shrink:0;
}

.news-image{
  object-fit:cover; object-position:center;
  width:100%; height:55%;
  pointer-events:none; user-select:none;
}
.news-text{ text-align:center; padding:3vh 4vw; }
.news-text h4{
  font-family:'TiltWarp',sans-serif; color:darkslategray; opacity:.7;
  font-size:.9vw; letter-spacing:.15vw; margin-bottom:1vh;
}
.news-text p{ font-size:.9vw; color:darkslategrey; padding-top:1vh; }
.news-text a{
  text-decoration:none;
}
.news-text span,.news-text span:focus,.news-text span:active,.news-text span:visited{
  font-weight:bold; font-family:'TiltWarp',sans-serif;
  text-decoration:none; color:var(--green-leaf);
  font-size:1.5vw; line-height:.7vh;
}
.news-text span:hover{ color:var(--green-1); cursor:pointer; }

/* INDIKATOR: selalu terlihat, tidak negatif (biar tak ke-clip) */
#grabAndPullCarousel .carousel-indicators{
  position:absolute; left:50%; bottom:10px; transform:translateX(-50%);
  z-index:6; margin:0; display:flex; align-items:center;
}
#grabAndPullCarousel .carousel-indicators [data-bs-target],
#grabAndPullCarousel .carousel-indicators [data-slide-to]{
  width:10px; height:10px; border-radius:50%;
  background-color:rgba(255,255,255,.5);
  border:none; margin:0 6px;
}
#grabAndPullCarousel .carousel-indicators .active{
  background-color:#fff; opacity:1;
}

/* FEEDBACK saat drag */
#grabAndPullCarousel.is-grabbing,
#grabAndPullCarousel.is-grabbing *{ cursor:grabbing !important; }

}

@media(min-width:992px){
  .footer-container {
    width: 100%;
    min-height: 42vh;
    overflow: hidden;
    box-shadow: -1px -1px 15px rgba(0,0,0,0.4);
  }

  .footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: var(--green-dark);
    width: 100%;
    height: 42vh;
  }

  .footer-leaf-mask {
    position: absolute;
    top: -5vh;
    right: 3vw;
    width: 60vh;
    height: 60vh;
    background-color: var(--green-1);
    -webkit-mask-image: url("../assets/logo-buah-cr.png");
    mask-image: url("../assets/logo-buah-cr.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: right bottom;
    mask-position: right bottom;
    z-index: 1;
    opacity: 0.9;
  }

  .footer-content {
    top: 6vh;
    left: 6vw;
    bottom: 6vh;
    right: 6vw;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: row;
    z-index: 200;
  }

  .footer-content a {
    text-decoration: none;
  }

  .footer-left {
    display: flex;
    flex-direction: column;
    width: 30vw;
  }

  .footer-left .main-logo {
    width: 10vw;
  }

  .footer-left p {
    font-size: 1vw;
    color: var(--bg-color);
    margin: 2vh 0vw;
  }

  .footer-left span {
    font-size: 0.8vw;
    color: var(--bg-color);
    margin: 2vh 0vw;
  }

  .footer-left i {
    font-size: 0.7vw;
    color: var(--bg-color);
  }

  .footer-first {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-left: 17vw;
    width: 13vw;
    gap: 1.2vh;
  }

  .footer-first h6 {
    font-weight: bold;
    color: var(--bg-color);
  }

  .footer-first i, .footer-first p {
    margin: 0;
    padding: 0;
    font-size: 0.9vw;
    color: var(--bg-color);
  }

  .footer-second {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-left: 4vw;
    width: 13vw;
    gap: 1.2vh;
  }

  .footer-second h6 {
    font-weight: bold;
    color: var(--bg-color);
  }

  .footer-second i, .footer-second p {
    margin: 0;
    padding: 0;
    font-size: 0.9vw;
    color: var(--bg-color);
  }

  .footer-third {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-left: 1.2vw;
    width: 13vw;
    gap: 1.2vh;
  }

  .footer-third h6 {
    font-weight: bold;
    color: var(--bg-color);
  }

  .footer-third i, .footer-third p {
    margin: 0;
    padding: 0;
    font-size: 0.9vw;
    color: var(--bg-color);
  }

  .footer-first, .footer-second, .footer-third {
    margin-top: 3vh;
  }

  .scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--green-1);
    color: var(--green-1);
    background: transparent;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
  }
  
  .scroll-top-btn:hover {
    background: var(--green-1);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  .scroll-top-btn i {
    font-size: 1.4rem;
    line-height: 1;
  }
  #aboutLink, #newsLink {
    scroll-margin-top: 80px; /* sesuaikan tinggi navbar kamu */
  }

  #testimoniLink {
    scroll-margin-top: 150px;
  }

  #produkLink {
    scroll-margin-top: 70px;
  }
}

@media(max-width:992px){

  .footer-container {
    color: var(--bg-color);
    margin-top: -28vh;
    width: 100%;
    background-color: var(--green-dark);
    box-shadow: -1px -1px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    padding: 2vh 6vw;
    /* stacking context so the decorative mask appears behind content */
    position: relative;
  }
  
  .footer-bg {
    display: none;
  }
  
  .footer-leaf-mask {
    position: absolute;
    top: 6vw;
    right: -15vw;
    width: 60vh;
    height: 60vh;
    background-color: var(--green-1);
    -webkit-mask-image: url("../assets/logo-buah-cr.png");
    mask-image: url("../assets/logo-buah-cr.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: right bottom;
    mask-position: right bottom;
    opacity: 0.9;
    z-index: 1;
  }

  .footer-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
    z-index: 2;
  }
  
  .footer-content a {
    text-decoration: none;
    color: inherit;
  }
  
  .footer-left {
    width: 100%;
    padding: 0;
    margin-top: 2.5vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-first {
    padding-left: 5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2vh;
    gap: 0.8vh;
    width: 50%;
  }

  .footer-left-child {
    width: 50%;
  }

  /* Logo container. */
  .footer-left .main-logo {
    width: 35vw;
    height: auto;
  }

  .footer-left .logo {
    margin-top: -1vh;
  }

  .footer-left span {
    margin-top: 7vh;
    font-size: 1.5vw;
  }
  
  .footer-left span i {
    font-size: 1.2vw;
  }

  /* Paragraph and span text for the company description.  Using
     viewport units lets the text scale with screen size. */
  .footer-left p {
    font-size: 2.8vw;
    color: var(--bg-color);
    margin: 2vh 0;
  }
  
  /* Headings in each section. */
  .footer-first h6 {
    font-size: 2.8vw;
    font-weight: bold;
    margin-bottom: 0vh;
    color: var(--bg-color);
  }
  
  /* Icons and text within the links adjust together. */
  .footer-first i,
  .footer-first p {
    padding: 0;
    margin: 0;
    font-size: 2.5vw;
    color: var(--bg-color);
  }
  
  /* Align icons and text nicely in a row with spacing. */
  .footer-first a{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5vw;
  }
  
  /* Scroll margin on anchors to account for potential fixed headers.  On
     mobile the margins are slightly reduced compared to desktop. */
  #aboutLink,
  #newsLink {
    scroll-margin-top: 60px;
  }
  
  #testimoniLink {
    scroll-margin-top: 120px;
  }
  
  #produkLink {
    scroll-margin-top: 60px;
  }
  
  /* Styles for the scroll‑to‑top button, kept here in case it is
     utilised on the page.  Mobile sizes are adjusted to maintain a
     comfortable tap target. */
  .scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--green-1);
    color: var(--green-1);
    background: transparent;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
  }
  
  .scroll-top-btn:hover {
    background: var(--green-1);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .scroll-top-btn i {
    font-size: 1.4rem;
    line-height: 1;
  }
  
}