/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #f4f4f4;
    border-bottom: 5px solid #ddd;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
    width: 250px; /* Atur lebar sesuai kebutuhan */
    height: auto; /* Menjaga aspek rasio gambar */
}
  
  .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
  }
  
  .nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .nav a:hover {
    color: #f5f5f5;
  }
  
  /* Hero section */
  .hero {
    background: url('./img/gudang1.jpg') no-repeat center center/cover;
    color: #fff;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .learn-more {
    display: inline-block;
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #ffffff;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1); /* sedikit transparan */
    backdrop-filter: blur(8px); /* efek blur */
    -webkit-backdrop-filter: blur(8px); /* untuk Safari */
    transition: background-color 0.3s ease, color 0.3s ease, backdrop-filter 0.3s ease;
  }
  
  .learn-more:hover {
    background: rgba(255, 255, 255, 0.3); /* saat hover lebih terang */
    color: #ffffff;
    backdrop-filter: blur(12px); /* blur lebih kuat saat hover */
    -webkit-backdrop-filter: blur(12px);
  }
  /* Services Section */
.services {
    padding: 40px 20px;
    background-color: #fff;
  }
  
  .services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .services-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
  }
  
  .services-header .learn-more {
    color: #d50000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .services-header .learn-more:hover {
    color: #ff4d4d;
  }
  
  .services-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .service-card {
    background-color: #d50000;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: flex-end;
  }
  
  .service-card .card-content {
    position: relative;
    z-index: 2;
  }
  
  .service-card .card-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
    margin: 0 0 10px;
  }
  
  .service-card p {
    font-size: 0.9rem;
    margin: 0;
  }
  
  .service-card .know-more {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s ease;
  }
  
  .service-card .know-more:hover {
    color: #ffcccc;
  }
  
  /* Card Background Image Effect */
  .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
  }
  
  .service-card:nth-child(1)::before {
    background-image: url('service1.jpg');
  }
  
  .service-card:nth-child(2)::before {
    background-image: url('service2.jpg');
  }
  
  .service-card:nth-child(3)::before {
    background-image: url('service3.jpg');
  }
  
  .service-card:nth-child(4)::before {
    background-image: url('');
  }
  /* Report Section */
.report-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
  }
  
  .report-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .report-image {
    flex: 1;
    background-image: url('');
    background-size: cover;
    background-position: center;
  }
  
  .report-content {
    flex: 1;
    background-color: #d50000;
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .report-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .report-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .report-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .report-links li {
    margin-bottom: 10px;
  }
  
  .report-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .report-links a:hover {
    color: #ffcccc;
  }
  
  @media (max-width: 768px) {
    .report-container {
      flex-direction: column;
    }
  
    .report-image {
      height: 200px;
    }
  }
  .services-cards {
    display: flex; /* Mengatur semua elemen menjadi satu baris */
    flex-wrap: wrap; /* Membungkus ke baris berikutnya jika terlalu panjang */
    gap: 20px; /* Memberikan jarak antar kolom */
    justify-content: center; /* Menyelaraskan semua elemen di tengah */
    padding: 20px;
  }
  
  .service-card {
    background-color: #cfc9c9; /* Warna latar abu-abu muda */
    border-radius: 10px; /* Membuat sudut melengkung */
    padding: 20px; /* Memberikan jarak dalam elemen */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Bayangan lembut */
    flex: 1 1 calc(25% - 20px); /* Responsif: lebar kartu 25% */
    max-width: 300px; /* Lebar maksimal setiap kartu */
    text-align: center; /* Teks berada di tengah */
    transition: transform 0.3s, box-shadow 0.3s; /* Animasi saat hover */
  }
  
  .service-card:hover {
    transform: scale(1.05); /* Sedikit memperbesar kartu saat hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Bayangan lebih besar saat hover */
  }
  
  .card-content {
    color: #ffffff; /* Warna teks */
  }
  
  .card-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #ff6b00; /* Warna oranye untuk nomor */
    margin-bottom: 10px;
  }
  
  h3 {
    font-size: 20px;
    color: #ffffff; /* Warna teks utama */
    margin: 10px 0;
  }
  
  p {
    font-size: 16px;
    color: #d7d2d2; /* Warna abu-abu untuk deskripsi */
    margin-bottom: 20px;
  }
  
  .know-more {
    text-decoration: none; /* Menghapus garis bawah link */
    color: #ff6b00; /* Warna oranye untuk link */
    font-weight: bold;
  }
  
  .know-more:hover {
    text-decoration: underline; /* Menambahkan garis bawah saat hover */
  }
  .service-card:nth-child(1) {
    background: url('./img/poto4.jpg') no-repeat center center/cover; /* Warna merah muda untuk kartu pertama */
  }
  
  .service-card:nth-child(2) {
    background: url('./img/poto1.jpg') no-repeat center center/cover; /* Warna biru muda untuk kartu kedua */
  }
  
  .service-card:nth-child(3) {
    background: url('./img/poto3.jpg') no-repeat center center/cover; /* Warna hijau muda untuk kartu ketiga */
  }
  
  .service-card:nth-child(4) {
    background: url('./img/poto1.jpg') no-repeat center center/cover; /* Warna kuning muda untuk kartu keempat */
  }
  .social-icons a {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .social-icons a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .social-icons a:hover {
    transform: scale(1.2);
  }
  .footer p {
    margin: auto;
    font-size: 14px;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .logo img {
        width: 150px;
        margin-bottom: 10px;
    }

    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav a {
        font-size: 14px;
    }

    .footer {
        padding: 15px;
        text-align: center;
    }

    .footer p {
        font-size: 12px;
    }
}
