.header-ocs {
    background-color: #10314B;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 130px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    position: relative;
    z-index: 10;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.carousel{
    background-color: #10314B;
}
.header-ocs img {
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: max-height 0.3s ease;
}

.header-ocs .header-text {
        color: #ffff;
        font-size: 12px;
        text-align: center;
}
.carousel-item {
    height: 200px; /* Atur tinggi tetap */
    background-color: #10314B;
}
.carousel-item img,
.carousel-item video {
    width: 100%;
    height: 100%; /* Pastikan mengisi seluruh container */
    object-fit: cover; /* Potong gambar agar proporsional */
}

.hero-section {
    background-color: #10314B; /* Warna background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    /* min-height: 120px; 
    padding: 5px 0; */
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 10px; /* Jarak antara avatar dan teks */
    width: 90%;
    max-width: 800px; /* Biar nggak terlalu lebar di desktop */
}

.hero-avatar {
    flex: 1; /* Biar ukurannya fleksibel */
    max-width: 150px; /* Ukuran maksimum avatar */
    height: auto;
}

/* Kotak teks */
.hero-text {
    flex: 2; /* Teks lebih lebar dari avatar */
    padding: 10px 15px;
    background-color: #ffff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 14px;
}
.hero-text p {
    margin-bottom: 2px !important; /* Kurangi jarak antar paragraf */
    line-height: 1.3; /* Buat teks lebih rapat */
}
/* Background luar */
.services-section {
    background-color: #10314B; /* Warna background luar */
    /* padding: 20px; */
    display: flex;
    justify-content: center;
}

/* Container utama */
.services-wrapper {
    background-color: white;
    /* border-radius: 15px; */
    padding: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}
.services-wrapper p {
    text-align: center; /* Tengahin teks */
    font-weight: bold; /* Biar bold */
    font-size: 18px; /* Ukuran lebih besar */
    margin-bottom: 15px; /* Kasih jarak ke bawah */
    color: #10314B; /* Warna biar serasi */
}

.services-wrapper h1 {
    text-align: center; /* Tengahin teks */
    font-weight: bold; /* Biar bold */
    font-size: 24px; /* Ukuran lebih besar */
    margin-bottom: 15px; /* Kasih jarak ke bawah */
    color: #4CAF50; /* Warna biar serasi */
}

/* Perbaiki grid agar lebih rapi */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); /* Responsive 3 kolom */
    gap: 10px;
    justify-items: center;
    align-items: center;
    width: 100%;
    padding: 10px;
}

/* Kotak layanan */
.service-box {
    background-color: #10314B;
    color: white;
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

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

.service-box i {
    color: #ffff; /* Warna latar belakang */
    font-size:xx-large;
}
.service-box span {
    display: block; /* Biar teks muncul di bawah */
    margin-top: 5px; /* Jarak antara ikon dan teks */
    color: white; /* Warna teks */
}

/* Tabel dalam services */
.services-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

/* Styling header tabel */
.services-table thead {
    background-color: #10314B;
    color: white;
    font-weight: bold;
}

/* Styling untuk semua sel (th & td) */
.services-table th, .services-table td {
    padding: 10px;
    text-align: left; 
    border: 1px solid #ddd;
}

/* Warna zebra pada baris */
.services-table tbody tr:nth-child(even) {
    background-color: #f8f8f8;
}

/* Hover effect */
.services-table tbody tr:hover {
    background-color: #e0e0e0;
}

.services-table td.text-right {
    text-align: right; /* Rata kanan untuk kolom biaya */
}

.table-footer {
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #666;
}

.rekening-section {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    width: 100%;
    background-color: #666; /* Warna background luar */
    color: white; /* Warna teks */
    padding: 10px;
    justify-content: center;
}

.footer-ocs {
    background-color: #10314B; /* Warna latar belakang */
    color: white; /* Warna teks */
    text-align: center; /* Posisikan teks di tengah */
    padding: 15px 10px; /* Ruang dalam */
}
.footer-ocs p {
    margin: 2px 0; /* Atur margin atas-bawah supaya lebih rapat */
    font-size: 12px; /* Sesuaikan ukuran font kalau perlu */
    line-height: 1.2; /* Biar lebih padat */
}

.info-box {
    width: fit-content;
    padding: 15px 20px;
    margin: 10px auto;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.info-row {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.label {
    min-width: 120px; /* Supaya label sejajar */
    font-weight: bold;
    color: #4CAF50;
}

.value {
    flex: 1;
    color: #333;
    font-size: 18px;
}

/* Centering the button */
.btn-center {
        display: flex;
        justify-content: center;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-size: 20px;
    font-weight: bold;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RESPONSIVE: Ukuran disesuaikan di Mobile */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: row !important; /* Paksa tetap horizontal */
        align-items: center;
        justify-content: center;
        text-align: left; /* Biar teks tetap rapi */
    }
    .hero-avatar {
        max-width: 80px; /* Kecilkan avatar */
    }
    .hero-text {
        font-size: 7px; /* Sesuaikan ukuran teks */
        padding: 5px 8px;        
    }
    .services-table {
        font-size: 12px;
    }

    .services-table th, .services-table td {
        padding: 8px;
    }
    .services-wrapper h1 {
        font-size: 18px; 
    }
    .services-wrapper p {
        font-size: 12px; 
    }
    
}

/* Responsive: Ukuran lebih kecil tetap 3 kolom */
@media (max-width: 480px) {
    .service-box {
        padding: 5px; /* Kurangi padding biar nggak terlalu besar */
        font-size: 12px; /* Perkecil font di mobile */
    }
}
@media (min-width: 768px) {
    .header-ocs {
          height: 220px;
        }
    
    .header-ocs img {
          max-height: 100px;
        }
    
    .header-ocs .header-text {
          font-size: 24px;
        }
    .carousel-item  {
        height: 450px;
    }
    .carousel-item img,
    .carousel-item video {
    width: 100%;
    height: 100%; /* Pastikan mengisi seluruh container */
    object-fit: contain; /* Potong gambar agar proporsional */
    }
}
    
