body, html {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
    }

header {
    background-image: url('img/6.jpg'); /* Ganti dengan gambar kamu */
    background-size: cover;
    background-position: center;
    height: 500px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 70px;
    position: relative;
}

header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* overlay biar teks tetap terbaca */
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-content h1 {
    font-size: 40px;
    margin: 0;
}

.header-content h2 {
    font-size: 50px;
    margin: 0;
    font-weight: bold;
}

.header-content p {
    max-width: 500px;
    margin-top: 10px;
    text-align: justify;
}

.stats-section {
      background-color: #0f1e33; /* warna biru gelap */
      color: white;
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 50px 0;
      flex-wrap: wrap;
      text-align: center;
    }
    .stat-box {
      flex: 1 1 200px;
      margin: 20px;
    }
    .stat-box i {
      font-size: 40px;
      margin-bottom: 10px;
      display: block;
    }
    .stat-number {
      font-size: 32px;
      font-weight: bold;
    }
    .stat-label {
      font-size: 16px;
      opacity: 0.8;
    }

.company-section {
      width: 100%;
      background-color: aliceblue;
      padding: 50px 10% 50px 20%;
      
    }

    .company-section h2 {
      text-align: center;
      margin-bottom: 20px;
      font-size: 1.8rem;
    }

    .company-content {
      display: flex;
      width: 100%;
      justify-content: center;
      align-items: flex-start;
      gap: 50px;
      flex-wrap: wrap; /* agar responsif di layar kecil */
    }

    .company-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      font-size: 300px;
      color: #0f1e33; /* ukuran tetap 300px */
      min-height: 300px;
    }

    .company-agen {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .company-item {
      background: linear-gradient(135deg, #3da9fc, #90e0ef);
      padding: 15px;
      border-radius: 10px;
      font-size: 1.1rem;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .company-item img{
      height: 150px;
      width: 150px;
    }

    .company-cabang{
      display: flex;
      justify-content: center;
      
    }
    .cabang-item{
      background: rgba(255, 255, 255, 0.8);
      margin: 5px;
      padding: 5px;
      border-radius: 5px;
      text-align: center;
      
    }


    @media (max-width: 768px) {
    header {
        height: auto;
        padding: 40px 20px;
        text-align: center;
        align-items: center; /* teks ke tengah */
    }

    .header-content h1 {
        font-size: 28px;
    }

    .header-content h2 {
        font-size: 32px;
    }

    .header-content p {
        max-width: 90%;
        text-align: center;
        font-size: 14px;
    }

    .company-section {
    padding: 30px 5%;
  }

  .company-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .company-icon {
    font-size: 150px; /* kecilkan ikon di mobile */
    min-height: auto;
  }

  .company-agen {
    width: 100%;
    align-items: center; /* ratakan ke tengah */
  }

  .company-item {
    width: 100%;
    max-width: 400px;
    text-align: center;
    font-size: 1rem;
  }

  .company-item img {
    height: 100px;
    width: 100px;
  }
}