body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

.btn-wa-nav {
  background-color: #25D366;
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.9rem;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.btn-wa-nav:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.btn-wa-nav i {
  font-size: 1rem;
}


/* HERO SECTION */
    .hero-carousel .carousel-item {
      position: relative;
      height: 80vh;
      min-height: 500px;
      margin-bottom:50px;
      padding: 0 5%; /* ⬅️ kasih jarak kiri-kanan */
      box-sizing: border-box; /* biar padding gak nambah lebar */
    }

    .hero-carousel .carousel-item img {
      object-fit: cover;
      border-radius: 20px; /* Optional: biar lebih soft */
      width: 100%;
      height: 100%;
    }

    .hero-overlay-box {
      position: absolute;
      top: 70%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0, 0, 0, 0.5);
      padding: 40px;
      text-align: center;
      color: white;
      border-radius: 15px;
      max-width: 100%;
    }

    .hero-overlay-box h2 {
      font-size: 1.5rem;
      margin-bottom: 15px;
    }

    .hero-overlay-box p {
      font-size: 0.9rem;
      margin-bottom: 20px;
    }

    .btn-hero {
      background-color: #0056b3;;
      border: none;
      padding: 10px 20px;
      font-weight: bold;
      color: white;
      border-radius: 10px;
      transition: 0.3s;
    }

    .btn-hero:hover {
      background-color: #e0a800;
      color: #fff;
    }

    /* CLIENT CAROUSEL */
    .client-section {
      padding: 60px 0;
      background-color: #f8f9fa;
    }

    .client-section h2 {
      text-align: center;
      margin-bottom: 40px;
    }

    .client-carousel .carousel-item {
      padding: 20px 0;
    }

    .client-carousel img {
      max-height: 100px;
      object-fit: contain;
    }


/*PIE*/

/* Responsive Grid */
.categories {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
padding: 20px;
}

.category-card {
background: #f4f6f8;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s;
}

.category-card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.category-header {
background-color: #3231f8;
color: white;
padding: 10px;
text-align: center;
}

.vendor-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
gap: 15px;
padding: 20px;
}

.vendor {
text-align: justify;
}

.vendor img {
width: 100%;
max-width: 100px;
height: auto;
border-radius: 5px;
transition: transform 0.3s;
}

.vendor img:hover {
transform: scale(1.1);
}

.vendor a {
text-decoration: none;
color: #1a237e;
font-size: 0.9rem;
display: block;
margin-top: 5px;
}

.pie-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 30px;
    margin-bottom: 5%;
}

.pie-chart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 300px;
    flex-shrink: 0; /* prevent menyusut kalau sebelahnya lebar */
}

.pie-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0056b3;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pie-segment:hover {
    transform: scale(1.1);
    background-color: #00408a;
}

.details-box {
    background-color: #f4f6f8;
    margin-left: 5%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 50px;
    width: 80%;
}

.layanan {
    font-size: 0.9rem;
}

.categories.layanan {
    max-width: 800px; /* batasi lebar maksimum */
    width: 100%;
    flex-grow: 1;
    height: 250px;
}

/* Services */

.service-hero {
    position: relative;
    height: 65vh;
    min-height: 400px;
    background: url('../img/service-banner.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.service-hero-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.service-hero-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.service-hero-text p {
    font-size: 1rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
}

.detail-box {
    margin-top: 20px;
    margin-right: 2%;
    margin-left: 2%;
    margin-bottom: 5%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.detail-box h4 {
    color: #3231f8;
    text-align: center;
}

.detail-box p {
    text-align: justify;
    line-height: 1.6rem;
}


/*ABOUT*/
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    filter: brightness(70%);
    transition: all 0.5s ease-in-out;
}

.about-hero:hover .about-hero-image {
    filter: brightness(80%);
    transform: scale(1.02);
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
}

.about-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
}

.about-hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    margin: 0;
}

/*FOOTER*/

footer {
    color: white;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    text-align: justify;
}

.footer-info{
    flex: 1 1 30%;
    margin-bottom: 20px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.whatsapp-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .whatsapp-bubble a {
    display: block;
    width: 60px;
    height: 60px;
  }

  .client {
    color: black;
  }
  
  .whatsapp-bubble img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .whatsapp-bubble img:hover {
    transform: scale(1.1);
  }

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        padding: 0 20px; /* kasih gap kiri-kanan */
        height: 70vh;     /* lebih pendek sedikit */
        margin-bottom: 80px;
      }
    
      .hero-overlay-box {
        padding: 5px;
        max-width: 90%;
        border-radius: 12px;
      }
    
      .hero-overlay-box h2 {
        font-size: 1.2rem;
      }
    
      .hero-overlay-box p {
        font-size: 0.85rem;
      }
    
      .btn-hero {
        font-size: 0.85rem;
        padding: 8px 16px;
      }

    .navbar-brand{
        margin-right: 0;
    }

    .navbar-brand img{
        max-width: 90%;
        max-height: 20px;
    }

    .nav-items a{
        font-size: 0.9rem;
    }

    .btn-custom {
        font-size: 0.9rem;
        padding: 3px 10px;
        margin: 5px;
    }

    .tagline {
        font-size: 1rem;
    }

    .client {
        margin-top: 0;
    }

    .detail-box {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 0.9rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info, .footer-links {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
    
    .location {
        margin-bottom: 5%;
    }

    .container-mobile{
        margin-top: -10%;
    }
    
    .pie-container {
        flex-direction: column; /* Ubah arah layout menjadi vertikal */
    }

    .details-box {
        margin-left: 0; /* Hilangkan margin kiri */
        width: 100%; /* Buat detail box memenuhi lebar container */
        margin-top: 20px; /* Tambahkan jarak ke atas */
    }

    .details-box h3 {
        font-size: 1.2rem;
    }

    .details-box p{
        text-align: justify;
    }
    
    .categories.layanan {
        height: 200px;
    }
    
    .about-hero {
        height: 50vh;
        padding: 0 3%;
    }

    .about-hero-image {
        border-radius: 15px;
    }

    .about-hero-overlay {
        left: 3%;
        right: 3%;
        border-radius: 15px;
    }
    
    .about-hero-text h1 {
        font-size: 2rem;
    }
    
    .service-hero {
        height: 50vh;
        border-radius: 15px;
    }

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

    .service-hero-text p {
        font-size: 0.9rem;
    }
    
    .categories.layanan {
        max-width: 800px; /* batasi lebar maksimum */
        width: 100%;
        flex-grow: 1;
        height: 380px;
    }
}