/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Apply Poppins font globally */
* {
    font-family: 'Poppins', sans-serif;
    
}



body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}



/* Slider */ 

/* Hero Section */
.hero {
    background-image: url('../img/pic/home.png'); /* Sesuaikan dengan path gambar Anda */
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay */
}

.hero-content {
    position: relative;
    text-align: left;
    z-index: 1;
    max-width: 70%;
    margin-left: 16%; /* Jarak dari kiri */
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 600;
    line-height: 78px;
    margin-top: 0px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-button {
    padding: 10px 20px;
    background-color: #03274A;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid white;
}

.hero-button:hover {
    background-color: #003366;
}
/* Slider End */

/* About Us */
.about-us {
    display: flex;
    align-items: center;
   
    padding: 25px;
}

.about-us-image {
    flex: 1;
}

.about-us-image img {
    width: 550px;
    height: auto;
    padding-bottom: 60px;
    margin-top: -35px;
}

.about-us-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 3%;
    padding-top: 10px;
}

.about-heading {
    font-size: 40px;
    color: #11467A; /* Customize this color to match your theme */
    position: relative;
    margin: 0;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5); /* Bayangan hitam */
    
}

.about-heading::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 2px;
    background-color: #003366;
    bottom: -5px; /* Adjusts the space between text and underline */
    left: 0;
}


.about-us-content p {
    color: #03274A;
font-size: 20px;
font-weight: 500;
line-height: 35px;
margin: 0px;

}

.read-more, .learn-more {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.read-more:hover, .learn-more:hover {
    text-decoration: underline;
}

.quote-container {
    
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 5px 0px 20px 3px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-left: 5%;
  }
  
  .quote-content {
    display: flex;
    align-items: flex-start; /* Menyelaraskan bagian atas gambar dan teks */
    padding-left: 35px;
    padding-top: 20px;
    padding-bottom: 15px;
  }
  
  .quote-mark {
    width: 40px; /* Ukuran gambar */
    height: auto;
    margin-right: 15px; /* Jarak antara gambar dan teks */
  }
  
  .quote-text-container {
    flex: 1; /* Agar teks memenuhi sisa ruang */
  }
  
  p.quote-text {
    font-size: 25px;
    font-weight: 600;
    color: black;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Bayangan hitam */
  }
  
  p.quote-author {
    font-size: 16px;
    color: #003366;
    text-align: left;
    font-style: italic;
  }


/* About Us End */

/* Service */
/* Main Services Section */

.service {
    padding: 2% 2%;
    background-color: #f0f4f8;
    text-align: left;
}

.service h2 {
    font-size: 40px;
    color: #11467A; /* Customize this color to match your theme */
    position: relative;
    margin-left: 160px;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5); /* Bayangan hitam */
    margin-bottom: 10px;
}

.service h2::after {
    content: "";
    position: absolute;
    width: 65px;
    height: 2px;
    background-color: #003366;
    bottom: -5px; /* Adjusts the space between text and underline */
    left: 0;
}


.service p {
    color: #03274A;
    font-size: 22px;
    margin-bottom: 30px;
    margin-left: 160px;
   
    margin-top: 0px;
    padding-right: 120px;
}



/* Container for Service Items */
.service-container {
  display: flex;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 100%;
  padding: 20px;
  justify-content: center;
}

.box {
  background-image: url('img/service/consulting.jpg');
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: white;
  max-width: 340px;
  width: 100%;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3); /* ubah 0.4 jadi 0.6 untuk lebih gelap */
  z-index: 1;
}

.box-content {
  display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0px;

      height: 100%;
      padding: 35px 25px 30px 30px;
      z-index: 1;
}

.box-content h3 {
  font-size: clamp(0.6rem, 1.2vw, 20px);
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: 10px;

  word-break: break-word;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;

  display: block;
  max-width: 100%;
  min-height: 2.8em;
}

/* Optional: Tambahan media query jika ingin ukuran font lebih presisi saat layar sangat kecil */
@media (max-width: 600px) {
  .box-content h3 {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .box-content h3 {
    font-size: 0.75rem;
  }
}




.box-content p {
  font-size: 12px;
  color: #F2F2F5;
  margin: 0;
  line-height: 1.2;
  font-weight: 100;
  flex-grow: 1; /* Pushes <p> to the vertical center */
  padding: 0px;
  padding-top: 50px;
           
            
}

.box-title {
  font-size: clamp(1rem, 1.5vw, 1.5em); /* Ukuran fleksibel tapi terbatas */
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.2;
  min-height: 3.6em; /* kira-kira tinggi untuk 2 baris */
  max-width: 100%;
  
}


.box-description {
  font-size: 0.9em;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.learn-more {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 0px;
  display: inline-block;
  align-self: flex-start; /* Posisikan di bawah dan rata kiri */
  transition: background 0.3s ease;
  margin-top: auto;
}

.learn-more:hover {
    color: #ffffffc0;
    text-decoration: underline;
    font-weight: bold;
    display: inline-block;
  
}
/* Service End */

/* Product */
.product {
    text-align: left;
    padding: 2% 2%;
    background-color: #fff;
  }
  
  .product h2 {
    font-size: 40px;
    color: #11467A; /* Customize this color to match your theme */
    position: relative;
    margin-left: 120px;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5); /* Bayangan hitam */
    margin-bottom: 10px;
  }

  .product h2::after {
    content: "";
    position: absolute;
    width: 65px;
    height: 2px;
    background-color: #003366;
    bottom: -5px; /* Adjusts the space between text and underline */
    left: 0;
}
  
  .product p {
    color: #03274A;
    font-size: 20px;
    font-weight: 500;
    line-height: 35px;
    margin: 0px;
    padding-left: 120px;
    padding-right: 120px;
    padding-bottom: 10px;
    padding-bottom: 50px;
  }
  
  .product-cards .card {
    display: block; /* Agar elemen <a> mencakup seluruh kartu */
    text-decoration: none; /* Hilangkan garis bawah pada link */
    color: inherit; /* Warna teks tetap mengikuti tema */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  .product-cards.horizontal {
    display: flex;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    align-items: center;
  }
  
  .card {
    flex-shrink: 0;
    width: 150px;
    padding: 10px;
    background-color: #0772DA3D;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .card img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    margin-top: 10px;
  }
  


  p.product-card{
    font-size: 14px;
    font-weight: bold;
    color: black;
    padding: 0px;
    margin: 0px;
    line-height: 20px;
  }
  
  /* Hover Effect */
  .card:hover {
    background-color: #03274A; /* Warna biru saat hover */
    color: #fff; /* Teks menjadi putih */
    transform: translateY(-5px); /* Sedikit naik ke atas */
    
  }
  
  .card:hover p {
    color: #fff; /* Pastikan teks deskripsi berubah warna */
  }
  
  

/* Product End */



@media (max-width: 768px) {
  body {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

  .hero {
      height: 60vh;
      text-align: center;
  }

  .hero-content {
      margin-left: auto;
      margin-right: auto;
      max-width: 90%;
      text-align: center;
  }

  .hero-content h1 {
      font-size: 32px;
      line-height: 1.4;
  }

  .hero-content p {
      font-size: 1rem;
  }

  .about-us {
      flex-direction: column;
      padding: 15px;
  }

  .about-us-image img {
      width: 100%;
      margin-bottom: 20px;
  }

  .about-us-content {
      padding: 0;
  }

  .service {
    padding: 15px;
  }
  .service h2 {
    padding: 0px;
    margin: 0px;
  }
  .service p {
    padding: 0px;
    margin: 0px;
  }
  .service-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
  }

  .box {
      max-width: 100%;
      height: auto;
  }

  .product{
    padding: 15px;
  }
  .product h2 {
    padding: 0px;
    margin: 0px;
  }
  .product p {
    padding: 0px;
    margin: 0px;
  }

  .product-cards.horizontal {
      flex-direction: column;
      gap: 10px;
  }

  .card {
      width: 150px;
      padding: 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
      font-size: 24px;
  }

  .service-container {
      grid-template-columns: 1fr;
  }

  .card img {
      width: 60px;
      height: 60px;
  }

  .product p {
      font-size: 16px;
  }
}


