.hero {
    min-height: calc(100dvh - var(--header-height) - var(--nav-b-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 2rem;
    overflow: hidden;
}

/* ===== Container A ===== */

.hero-inner {
    width: 100%;
    max-width: var(--container-A);
    margin: 0 auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

/* Paragraf */
.hero-text p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    max-width: 500px;
}

/* Heading */
.hero-heading h2 {
    font-size: clamp(3rem, 5vw, 4.3rem);
    line-height: 1.1;
    font-weight: 700;
}

.accent {
    color: var(--color-accent);
}


/* ===== Full Width Marquee ===== */

.hero-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 4rem;
}

.hero-marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.hero-marquee img {
    height: 350px;
    width: auto;
    object-fit: contain;
}

/* Animation */
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ===== Responsive ===== */

@media (max-width: 768px) {

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    /* Heading di atas saat stack */
    .hero-heading {
        order: -1;
    }

    .hero-text p {
        max-width: 100%;
    }
    .hero-marquee {

    margin-top: 2rem;
}
    .hero-marquee-track {
   
    gap: 1.5rem;}

    .hero-marquee img {
        height: 200px;
    }
}

/* ======================
   BRAND VALUE SECTION
====================== */

.brand-value {
    padding: 6rem 0;
}

/* Reuse hero-inner grid */
.brand-value .hero-inner {
    align-items: center;
}

/* Text */
.brand-value-text h2 {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.brand-value-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}

/* CTA link */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-accent);
    position: relative;
    font-size: 1.05rem;
}

.cta-link .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Arrow grows forward on hover */
.cta-link:hover .arrow {
    transform: translateX(10px);
    text-decoration: none;
}

/* Image */
.brand-value-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin-left: auto;
}

.bv-slider-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}

.bv-slider-track {
    position: relative;
    max-width: 520px;
    margin-left: auto;
}

.bv-slider-track img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.bv-slider-track img.active {
    opacity: 1;
    position: relative;
}


/* Indicators */
.bv-indicators {
    margin-top: 15px;
    text-align: center;
}

.bv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    margin-left: 6px;
    cursor: pointer;
}

.bv-dot.active {
    background: #111;
}


/* ======================
   Responsive
====================== */

@media (max-width: 768px) {

    .brand-value .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Image goes below */
    .brand-value-image {
        order: 2;
    }

    .brand-value-text {
        order: 1;
    }

    .brand-value-image img {
        margin-left: 0;
    }
}


/* ======================
   HOME SERVICES
====================== */

.home-services {
    padding: 3rem 0;
    text-align: center;
    background: var(--color-light-grey);
}

/* Header */
.services-header {
    grid-column: 1 / -1;
   margin-bottom: 1.5rem;
}
.services-cta .cta-link{display: inline-block;            /* supaya bisa diberi padding & border */
    color: var(--color-light);

    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--color-dark);
        margin-bottom: 1.5rem;


}
.services-label {
    display: inline-block;            /* supaya bisa diberi padding & border */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;

    color: var(--color-muted);
    border: 1px solid var(--color-muted);

    padding: 0.4rem 1rem;
    border-radius: 999px;             /* bentuk rounded / pill */

    margin-bottom: 1.5rem;
}


.services-header h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1.1;
}

/* Grid */
.services-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Card */


.service-card img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 0;
    display: block;
     border-radius: 16px 16px 0 0; /* atas kiri, atas kanan, bawah kanan, bawah kiri */
}

/* Content column */
.service-content {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
    background: #FFFFFF;
    padding: 2rem;
     border-radius: 0 0 16px 16px; /* atas kiri, atas kanan, bawah kanan, bawah kiri */
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--color-muted);
}

/* CTA */
.services-cta {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}


/* ======================
   TESTIMONIALS
====================== */

.testimonial {
  padding: 40px 20px;
  max-width: 1400px;
  margin: auto;
}

/* Layout desktop */
.testimonial-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Navigation arrows */
.nav {
  background: #111;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Wrapper anti bocor */
.slider-wrapper {
  width: 100%;
  overflow: hidden;
}

/* Track */
.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

/* Slide */
.slide {
  flex: 0 0 100%;
  padding: 10px;
}

/* Konten slide */
.slide-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Image */
.slide-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.slide-image {
  max-width: 450px;
}


/* Text */

.slide-text {
  max-width: 600px;
}

.slide-text blockquote {
  font-size: 2rem;
    margin: 0 0 10px;
    font-style: italic;

}

.slide-text p {
  margin: 0 0 20px;
  color: #555;
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.profile img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-info strong {
  display: block;
}

.profile-info span {
  font-size: 0.85rem;
  color: #777;
}


/* Indicators */
.indicators {
  margin-top: 25px;
  text-align: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  margin: 0 5px;
  cursor: pointer;
  transition: 0.2s;
}

.dot:hover {
  background: #666;
}

.dot.active {
  background: #111;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .testimonial-container {
    flex-direction: column;
  }

  .slide-content {
    flex-direction: column;
    text-align: center;
  }

  .slide-image {
    order: 2;
  }

  .slide-text {
    order: 1;
  }

  .nav {
    position: static;
  }
  
  .profile {
    justify-content: center;
    text-align: left; /* agar nama & title tetap rapi */
  }
}


/* DESKTOP only */
@media (min-width: 769px) {
    
  .slide-content {
    justify-content: center;
    padding: 0 20px;
  }
  
  .slide-text {
    max-width: 600px;
  }

  .slide-image,
  .slide-text {
    flex: 1;
  }

  .slide-text {
    max-width: none;
    padding-left: 20px;
  }
}



/* FINAL CTA */
/* ======================
   FINAL CTA – HOME
====================== */

.final-cta-home {
    padding: 6rem 0;
    background: var(--color-light);
    
}

.final-cta-home .hero-inner {
    border-radius: 16px;
    background: var(--color-accent);
    max-width: 1200px;
    margin: auto;
    padding: 30px;
}

/* Left text */
.final-cta-text h2 {
    font-size: clamp(2.3rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 2rem;
    max-width: 520px;
    color: var(--color-light);
}

/* Right image */
.final-cta-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    margin-left: auto;
}

.final-cta-home .cta-link{display: inline-block;            /* supaya bisa diberi padding & border */
    color: var(--color-light);

    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--color-dark);
        margin-bottom: 1.5rem;


}

/* Responsive */
@media (max-width: 768px) {
    .final-cta-home .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        border-radius: 0;
    }

    .final-cta-image img {
        display: none;
    }
}

/* ======================
   FAQ SECTION
====================== */

.faq-home {
    padding: 6rem 0;
    background: var(--color-light);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Item */
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 0;
}

/* Question */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

/* Icon */
.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    margin-top: 1rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Active state */
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* + jadi X */
}

