html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #333;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 50px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    flex-wrap: wrap; /* untuk mendukung wrap */
}

.left-nav {
    display: flex;
    align-items: center;
    font-family: Poppins;
    color: #0056b3;
    font-size: 12px;
    gap: 10px;
}

.left-nav h1 {
    font-size: 18px;
    margin: 0;
}

.hamburger {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0056b3;
    display: none; /* default hidden */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.right-nav {
    display: flex;
    gap: 10px;
}

nav a {
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 30px;
    padding: 8px 15px;
}

nav a:hover {
    background-color: #007BFF;
    color: white;
}

.language-selector {
    display: flex;
    background-color: #f0f0f0;
    border-radius: 50px;
    padding: 5px 10px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.language-option {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 30px;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-option:hover {
    background-color: #007BFF;
    color: white;
}

.flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Responsive - tampilkan hamburger dan ubah menu jadi collapsible */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
    }

    .nav-wrapper.show {
        max-height: 500px; /* cukup tinggi untuk muat seluruh menu */
    }

    .right-nav {
        flex-direction: column;
        width: 100%;
    }

    nav a {
        width: 100%;
        padding: 10px;
    }

    .language-selector {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }
}


.hero {
    text-align: center;
    padding: 80px 20px;
    background-image: url('../img/slideshow/slide1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    transition: background-image 1s linear;
    min-height: 250px;
    max-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .isi{
    background-color: white;
    width: 700px;
    padding: 20px;
    border-radius: 25px;
    border: 2px solid #333;
}

.hero h1 {
    font-size: 40px;
    color: #222;
    margin: 2px 0px;
}
.hero p {
    font-size: 18px;
    margin: 20px 0;
    color: #222;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;

}
.btn:hover{
    background-color: #f0f0f0;
    color: black;
}
.section {
    padding: 60px 50px;
}
.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #222;
}

#services {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  #services h2 {
    font-size: 32px;
    margin-bottom: 50px;
  }
  
  .layanan-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .layanan-item img {
    max-width: 400px;
    width: 100%;
   
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .layanan-text {
    max-width: 500px;
    text-align: left;
  }

  
  .layanan-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .layanan-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
  }
  
  .layanan-item.left {
    flex-direction: row;
  }
  
  .layanan-item.right {
    flex-direction: row-reverse;
  }
  
  @media (max-width: 768px) {
    .layanan-item {
      flex-direction: column !important;
      text-align: center;
    }
  
    .layanan-text {
      text-align: center;
    }
  }
  
.insights {
    display:flex;
    padding: 15px 15px;
    flex-direction: column;
    align-items: center;
}
.card-article {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 1000px;
    margin: 10px auto;
    color: black;
}

.card-article h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: black;
}

.content {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    flex-wrap: wrap; /* supaya responsive di HP */
    justify-content: space-between;
    gap: 20px auto;
}

.article-image {
    width: 300px;
    max-width: 100%;
    border-radius: 10px;
}

.article-text {
    flex: 1;
    font-size: 16px;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* penting supaya space antara paragraf dan link terasa */
}

.article-text p {
    margin-bottom: 10px; /* kasih jarak bawah */
}

.read-more {
    color: white;
    background-color: #004d00;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    width: fit-content;
    transition: background-color 0.3s, color 0.3s;
    margin-top:50px;
}

.read-more:hover {
    background-color: #00cc66;
    color: black;
}

.card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.button{
    display: flex;
    justify-content: center;
}
.more-article{
    display: inline-block;
    padding: 12px 30px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
.more-article:hover{
    color: black;
    background-color: #f0f0f0;
}
.contact-container {
    text-align: center;
    padding: 60px 20px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid;
}

.contact-button img.contact-icon {
    width: 24px;
    height: 24px;
}

/* WhatsApp Button */
.contact-button.whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.contact-button.whatsapp:hover {
    background-color: #25D366;
    color: white;
}

/* Email Button */
.contact-button.email {
    color: #007BFF;
    border-color: #007BFF;
}

.contact-button.email:hover {
    background-color: #007BFF;
    color: white;
}


footer {
    text-align: center;
    padding: 20px;
    background-color: darkslategrey;
    font-size: 14px;
    color: white;
}

#about {
    padding: 60px 20px;
    background-color: #fff;
  }
  
  #about .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  #about h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  #about p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
  }
  
  /* Card Style untuk Visi & Misi */
  .card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
  }
  
  .card {
    background-color: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    flex: 1 1 300px;
    max-width: 500px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-10px);
  }
  
  .card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
  