
/* Default size for desktop */
.nav-link, .btn {
  font-size: 15px;
}

/* Size for mobile screens */
@media (max-width: 768px) {
  .nav-link, .btn {
    font-size: 12px;
  }
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 20px;
    position: relative;
    transition: transform 0.5s ease;
}

.slider-btn {
    background-color: white;
    /* border: 2px solid #db3434; */
    color: #3498db;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: #3498db;
    color: white;

}

.slider-content {
    display: flex;
    overflow: hidden;
    margin: 0 15px;
}

.info-box {
    background-color: white;
    border-radius: 15px;
    width: 15rem;
    height: 150px;
    margin:  10px;
  

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
    transition: transform 0.5s ease;
}

.info-box-number {
    color: #3498db;
    font-size: 51px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif; /* Mengatur font menjadi Poppins */
}

.info-box-text {
    color: #3498db;
    font-size: 15px;
    font-family: 'Poppins', sans-serif; /* Mengatur font menjadi Poppins */
}

@media (max-width: 768px) {
    .slider-container {
        flex-direction: column;
    }

    .slider-btn {
        margin: 10px 0;
    }

    .slider-content {
        width: 100%;
        justify-content: center;
    }

    .info-box {
        width: 80%;
    }
}


/* Produk */
/* Produk */
#produk {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

#produk .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 80%;
}


#produk .header {
    text-align: center;
    background-color:  rgba(62,133,214,1) ;
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
}

#produk .header h1 {
    margin: 0;
    font-size: 51px;
    font-weight:bold;
}

#produk .header p {
    margin: 5px 0 0;
    font-size: 15px;
}

#produk .main-box {
    background: linear-gradient(0deg, rgba(255,255,255,1) 67%, rgba(62,133,214,1) 67%);
    padding: 20px;
    border-radius: 0 0 10px 10px;
}

#produk .card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#produk .card {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    margin: 5px;                 /* Jarak antar card */
    flex: 0 1 23%;                /* Lebar card 23% dari lebar kontainer */
    padding: 1px;
    box-sizing: border-box;
    position: relative;
    max-width: 300px;      
    padding-bottom: 5%; /* Ensure enough space for the button */      /* Membatasi lebar maksimum card */
}

#produk .inner-card {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
}

#produk .card h2 {
    background: linear-gradient(284deg, rgba(62,133,214,1) 12%, rgba(180,45,45,1) 88%);
    color: white;
    padding: 10px;
    border-radius: 40px;
    text-align: center;
    margin: 5px 10px 5px 10px;
    font-size:  15px;
}

#produk .inner-card p {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
}

#produk .card .button {
    display: block;
    width: 100px;
    margin: auto;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    
    padding: 10px;
    background-color:red ;
    color: white;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
}

/* Responsif */
@media (max-width: 1024px) {
    /* Pada layar tablet atau lebar lebih kecil, gunakan 2 card per baris */
    #produk .card {
        flex: 0 1 48%;      /* Dua card per baris */
    }
}

@media (max-width: 768px) {
    /* Pada layar lebih kecil (misalnya mobile) gunakan 1 card per baris */
    #produk .card {
        flex: 0 1 98%;      /* Satu card per baris */
    }
    #produk .header h1 {
        font-size: 28px;
    }
    #produk .header p {
        font-size: 14px;
    }
}


/* contact */
/* Semua elemen di dalam #contact */
#contact {
    font-family: 'Poppins', sans-serif;
}

/* Gaya untuk container dalam #contact */
#contact .container {
    max-width: 800px;
    padding: 20px;
}

/* Top-section hanya dalam #contact */
#contact .top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left-content hanya dalam #contact */
#contact .left-content {
    max-width: 50%;
}

/* Title hanya dalam #contact */
#contact .title {
    font-size: 2.5em;
    color: #1a73e8;
    margin: 0;
}

/* Subtitle hanya dalam #contact */
#contact .subtitle {
    font-size: 1em;
    color: #333333;
    margin: 10px 0 20px 0;
}

/* Chat-button hanya dalam #contact */
#contact .chat-button {
    display: inline-block;
    background-color: #25d366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* Right-content hanya dalam #contact */
#contact .right-content {
    max-width: 50%;
}

/* Gambar di dalam right-content hanya dalam #contact */
#contact .right-content img {
    max-width: 100%;
    height: auto;
}

/* Bottom-section hanya dalam #contact */
#contact .bottom-section {
    text-align: left;
    margin-top: 20px;
}

/* Warning hanya dalam #contact */
#contact .warning {
    font-size: 0.9em;
    color: #ff0000;
    margin: 20px 0 0 0;
}

/* Account-info hanya dalam #contact */
#contact .account-info {
    font-size: 0.9em;
    color: #333333;
}

/* Media query untuk elemen-elemen dalam #contact */
@media (max-width: 768px) {
    #contact .top-section {
        flex-direction: column;
        text-align: center;
    }
    #contact .left-content,
    #contact .right-content {
        max-width: 100%;
    }
    #contact .bottom-section {
        text-align: center;
    }
}


/* Bagian testi */
/* Semua elemen di dalam #testi */
/* Testimoni Section */
#testi {
    position: relative;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px 0;
}

#testi .testimonial-slider {
    width: 60%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

#testi .testimonial-content {
    display: flex;
    overflow: hidden;
    width: 100%;
}

#testi .testimonial-box {
    min-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;

    box-sizing: border-box;
    border-radius: 10px;
    
    transition: transform 0.5s ease;
    
}

#testi .name, 
#testi .achievement, 
#testi .story {
    color: white; /* Teks berwarna biru */
}

#testi .nav-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 2em;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100; /* Pastikan tombol berada di atas konten */
}

#testi .prev {
    left: -50px;  /* Posisi tombol kiri, disesuaikan agar tombol tidak tertutup */
}

#testi .next {
    right: -50px;  /* Posisi tombol kanan, disesuaikan agar tombol tidak tertutup */
}

/* Responsif styling */
@media (max-width: 768px) {
    #testi .testimonial-slider {
        width: 80%;
        flex-direction: column;
    }

    #testi .testimonial-box {
        width: 90%;
        margin: 10px auto;
    }

    #testi .name, 
    #testi .achievement, 
    #testi .story {
        font-size: 15px;
    }

    #testi .nav-button {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    #testi .testimonial-slider {
        width: 100%;
    }

    #testi .testimonial-box {
        width: 100%;
        margin: 10px 0;
    }

    #testi .nav-button {
        font-size: 1em;
    }
}

.testimonial-box {
    min-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;
    box-sizing: border-box;
    border: 2px solid red; /* Outline merah */
    transition: transform 0.5s ease;
}

.testimonial-box .header {
    background-color: red; /* Warna latar belakang merah untuk header */
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px 5px 0 0; /* Membuat sudut kiri dan kanan atas melengkung */
    
}

.testimonial-box .name {
    color: white; /* Teks nama berwarna putih */
    padding: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    text-align: center ;
}

.testimonial-box .achievement {
    font-size: 15px;
    padding: 10px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.testimonial-box .story {
    font-size: 15px;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
}

/* 
//footer */

/* Menggunakan class yang lebih spesifik untuk footer */
/* Menggunakan class yang lebih spesifik untuk footer */
.footer {
    background-color: #3498db; /* Latar belakang biru */
    padding: 4rem 2rem; /* Tinggi footer yang lebih tinggi */
    text-align: center;
    color: #fff; /* Warna teks putih agar kontras dengan biru */
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer .left-section, .footer .right-section {
    flex: 1;
    padding: 1rem;
    min-width: 280px; /* Memastikan setiap section tidak terlalu mengecil */
  }
  
  .footer .left-section .logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .footer .left-section .logo img {
    margin-right: 10px;
  }
  
  .footer .left-section h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-top: 1rem;
  }
  
  .footer .left-section p {
    font-size: 1rem;
    margin-top: 1rem;
    color: #fff; /* Teks putih untuk keterbacaan */
  }
  
  .footer .right-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .footer .contact-info a {
    text-decoration: none;
    font-size: 1rem;
    color: #fff; /* Teks putih */
    display: block;
    margin: 10px 0;
    transition: color 0.3s ease;
  }
  
  .footer .contact-info a:hover {
    color: #ffcc00; /* Hover efek teks */
  }
  
  .footer .social-icons {
    margin-top: 1rem;
  }
  
  .footer .social-icons a {
    font-size: 2rem; /* Ukuran ikon lebih besar */
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .footer .social-icons a:hover {
    color: #ffcc00; /* Mengubah warna ikon saat hover */
    transform: scale(1.1); /* Membuat ikon sedikit lebih besar saat hover */
  }
  
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer .left-section, .footer .right-section {
      flex: none;
      width: 100%;
      padding: 1rem 0;
    }
  
    .footer .social-icons a {
      font-size: 1.5rem; /* Ukuran ikon lebih kecil di mobile */
      margin: 0 10px;
    }
  }
  
  /* Footer dengan latar belakang gelap */
  .footer {
    background-color: #3498db; /* Warna biru tetap */
    color: #fff; /* Teks putih */
  }
  
  .footer a {
    color: #fff;
  }
  
  .footer a:hover {
    color: #ffcc00; /* Hover efek pada teks */
  }
  
