/* Gaya Umum */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #005f73;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.main-header {
    background: #002233;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.company-name {
    margin: 0;
    font-size: 2.5rem;
}

.tagline {
    margin: 0;
    font-size: 1.2rem;
}

/* Section */
.section-about, .section-services, .section-team {
    padding: 60px 0;
}

/* Bagian "Tentang Kami" */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    width: 40%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-text {
    width: 60%;
}

/* Bagian "Layanan Kami" */
.service-cards {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Agar responsif */
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    flex: 1; /* Agar kartu menyesuaikan lebar */
    min-width: 250px; /* Lebar minimum kartu */
}

.card-image {
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Bagian "Tim Kami" */
.team-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    width: 200px;
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #005f73;
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background: #002233;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-image, .about-text {
        width: 100%;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}

#popupOverlay {
    display: none;
    position: fixed; /* Tetap di posisi yang sama saat scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Latar belakang gelap transparan */
    z-index: 1000; /* Pastikan popup berada di atas elemen lain */
}

/* Kotak popup */
#popupBox {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Pusatkan kotak popup */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Tombol tutup */
#tutupPopup {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}
