/* =========================
   Variabel Global
========================= */
:root {
    --bg-color: #89fdcd;
    --primary-color: #00985B;
    --secondary-color: #C0CA33;
    --text-dark: #333;
    --white: #fff;
    --border-radius: 8px;
}

/* =========================
   Global Style
========================= */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
}

h2 {
    font-size: 48px;
    font-weight: 500;
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
}

/* =========================
   Navbar
========================= */
.navbar {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background-color: #0000001c;
}

.navbar-brand {
    font-weight: 700;
    font-size: 20px;
}

.nav-link {
    color: var(--white);
    font-size: 16px;
}

.nav-link.active {
    font-weight: 700;
}

/* =========================
   Buttons
========================= */
.button-primary,
.button-secondary,
.button-CTA {
    font-size: 16px;
    font-weight: 700;
    border: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.button-primary {
    width: 133px;
    height: 40px;
    background-color: transparent;
    color: var(--white);
    font-weight: 500;
}

.button-secondary {
    width: 133px;
    height: 40px;
    background-color: var(--white);
    border-radius: 10px;
    color: var(--primary-color);
}

.button-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.button-CTA {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 177px;
    height: 59px;
    gap: 10px;
    background-color: var(--white);
    border-radius: 15px;
    padding: 10px;
    color: var(--primary-color);
}

.button-CTA:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* =========================
   Hero Section
========================= */
#hero {
    background: linear-gradient(160deg, var(--primary-color), #000);
    min-height: 100vh;
    padding-top: 90px;
}

.hero-tagline h1 {
    font-size: clamp(2rem, 5vw, 50px);
    font-weight: 700;
    color: var(--white);
    line-height: 72px;
    margin-bottom: 20px;
}

.hero-tagline p {
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
    line-height: 30px;
    margin: 20px 0 60px;
    width: 85%;
}

/* =========================
   Hero Section Responsive Update
========================= */
@media (max-width: 992px) {
  #hero {
    padding-top: 60px;
    min-height: auto;
  }

  .hero-tagline {
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-tagline h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero-tagline p {
    width: 100%;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .button-CTA {
    margin: 0 auto 30px auto;
    width: 170px;
    height: 50px;
    font-size: 0.95rem;
  }

  .carousel {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  #hero .row {
    display: flex;
    flex-direction: column;
  }

  .hero-tagline {
    order: 1;
  }

  #hero .col-md-6:last-child {
    order: 2;
  }

  .carousel {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 25px;
}

  .carousel-inner img {
    border-radius: 15px;
  }

  .hero-tagline h1 {
    font-size: 1.8rem;
  }

  .hero-tagline p {
    font-size: 1rem;
  }

  .button-CTA {
    width: 160px;
    height: 48px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #hero {
    padding-top: 40px;
  }

  .hero-tagline h1 {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .hero-tagline p {
    font-size: 0.9rem;
  }

  .carousel {
    width: 95%;
    margin-top: 20px;
  }

  .button-CTA {
    width: 150px;
    height: 45px;
  }
}


/* =========================
   Kenapa Section
========================= */
.kenapa {
    background: url('../assets/img/carousel/IMG_20250919_082126_HDR.jpg') center/cover no-repeat;
    min-height: 100vh;
    padding: 80px 0;
}

.feature-box {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    background: var(--white);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-desc {
    color: #666;
    line-height: 1.7;
}

/* =========================
   Testimonial
========================= */
/* .title2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-style: italic;
    color: black;
    text-align: center;
    margin: 2rem 0 3rem;
}

.testimonial-section {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .desktop-view { display: block; }

    .cards-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3px;
        position: relative;
        height: 300px;
        margin: 0 auto 50px;
        max-width: 800px;
    }

    .testimonial-card {
        width: 280px;
        height: 250px;
        margin: -50px;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        background: url(/assets/img/paper.png) center/cover no-repeat;
        transition: all 0.3s ease;
    }

    .testimonial-card:nth-child(1) { transform: rotate(180deg); z-index: 3; }
    .testimonial-card:nth-child(1):hover { transform: scale(1.05) rotate(-14.38deg); z-index: 10; }

    .testimonial-card:nth-child(2) { transform: rotate(6.09deg); z-index: 2; }
    .testimonial-card:nth-child(2):hover { transform: scale(1.05) rotate(6.09deg); z-index: 10; }

    .testimonial-card:nth-child(3) { transform: rotate(-11.81deg); z-index: 3; }
    .testimonial-card:nth-child(3):hover { transform: scale(1.05) rotate(-11.81deg); z-index: 10; }

    .testimonial-card:nth-child(4) { transform: rotate(4.83deg); z-index: 2; }
    .testimonial-card:nth-child(4):hover { transform: scale(1.05) rotate(4.83deg); z-index: 10; }

    .card-text {
        font-size: 1rem;
        margin-bottom: 1rem;
        flex-grow: 1;
        display: flex;
        align-items: center;
    }

    .card-author {
        font-size: 0.9rem;
        font-style: italic;
        color: #6c757d;
        align-self: flex-end;
    }
} */

/* =========================
   Berlangganan
========================= */
.newsletter {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter h4 {
    margin-bottom: 25px;
    font-size: 48px;
    font-weight: 500;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    display: flex;
    width: 800px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-btn {
    padding: 12px 15px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
  }

  .newsletter-input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    font-size: 0.95rem;
  }

  .newsletter-btn {
    border-radius: var(--border-radius);
    width: 100%;
    font-size: 0.95rem;
  }

  .newsletter h4 {
    font-size: 32px;
  }

  .newsletter p {
    font-size: 0.95rem;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .newsletter {
    padding: 40px 0;
  }

  .newsletter h4 {
    font-size: 26px;
  }
}


/* ============================
   Footer Custom Colors
============================ */

.footer {
  color: #e0e0e0;
}

.footer h5 {
  color: #fffcfc;
}

.footer a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffeb3b;
}

.footer p {
  color: #bdbdbd;
}

.footer .bi {
  color: #e0e0e0;
  transition: color 0.3s ease;
}

.footer .bi:hover {
  color: #ffeb3b;
}

/* ===== Product Card ===== */
.product-card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}
.product-card img {
  height: 200px;
  object-fit: cover;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.product-card .price {
  font-size: 1rem;
}

/* ===== Blog Card ===== */
.blog-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card img {
  height: 200px;
  object-fit: cover;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.blog-card .card-footer {
  border-top: 1px solid #eaeaea;
}
