/* Section Tentang Kami */
#about {
    padding: 40px 20px;
    background-color: #f9f9f9; /* Warna latar belakang */
    text-align: center;
}

#about h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#about h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #25D366; /* Warna hijau */
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Kontainer Card */
.about-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Jarak antar card */
}

/* Desain Card */
.about-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    text-align: left;
    transition: transform 0.3s ease-in-out; /* Animasi saat hover */
}

.about-card:hover {
    transform: scale(1.02); /* Sedikit membesar saat hover */
}

/* Gambar di Card */
.about-img {
    width: 40%;
    height: 100%; /* Pastikan gambar menyesuaikan tinggi */
    object-fit: cover; /* Mengatur gambar agar tidak melar */
    flex-shrink: 0; /* Cegah gambar mengecil jika ruang sempit */
}

/* Text di Card */
.about-text {
    padding: 20px;
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    color: #444;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Ajakan di Text */
.call-to-action {
    font-size: 18px;
    font-weight: bold;
    color: #ff5722;
    margin-top: 15px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

/* Animasi untuk Ajakan */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Reverse Layout untuk Card Gambar Kanan */
.about-card.reverse {
    flex-direction: row-reverse;
}

/* Responsif */
@media (max-width: 992px) {
    .about-card {
        flex-direction: column; /* Kolom di layar sedang */
        text-align: center; /* Tengah di layar kecil */
    }

    .about-img {
        width: 100%; /* Gambar memenuhi lebar */
        height: auto; /* Sesuaikan tinggi otomatis */
    }

    .about-text {
        padding: 15px; /* Kurangi padding di layar kecil */
    }
}

@media (max-width: 768px) {
    .about-text h3 {
        font-size: 20px; /* Ukuran judul lebih kecil */
    }

    .about-text p {
        font-size: 14px; /* Ukuran teks deskripsi lebih kecil */
    }

    .call-to-action {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .about-card {
        flex-direction: column; /* Selalu kolom di layar sangat kecil */
    }

    .about-img {
        width: 100%;
        height: 200px; /* Tetapkan tinggi tetap */
    }

    .about-text {
        padding: 10px; /* Padding lebih kecil */
    }

    .call-to-action {
        font-size: 14px;
    }
}
