body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('../assets/bg.png') no-repeat center center fixed;
    background-size: cover;
}

/* HEADER IMAGE */
.header {
    width: 100%;
    overflow: hidden;
}

.header .header-desktop {
    display: block;
    width: 100%;
    height: auto;
}

.header .header-mobile {
    display: none;
}

/* HERO TEXT */
.hero {
    text-align: center;
    padding-top: 0px;
}

.hero h1 {
    color: white;
    font-size: 42px;
    font-weight: bold;
}

/* CARD CONTAINER */
.card-container {
    min-height: 50vh;            
    display: flex;
    justify-content: center;       
    align-items: flex-start;      
    gap: 30px;
    flex-wrap: wrap;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* CARD BASE DESIGN */
.card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* CARD 1: LARGE (HORIZONTAL LAYOUT) */
.card-large {
    flex: 1 1 750px;
    max-width: 850px; 
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 100px 40px;
    margin: 0px;
}
.card-large .card-image-box {
    flex: 1.5; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px; 
}

.card-large .card-image-box img {
    width: 100%;
    max-width: 380px; 
    height: auto;
    margin: 0;
}

.card-large .card-content {
    flex: 1;
    text-align: left;
}

.card-large h2 {
    color: #122851;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

/* CARD 2: SMALL (VERTICAL LAYOUT) - Ukuran sekarang fleksibel dan dapat diubah */
.card-small {
    flex: 0 1 380px;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 25px 20px;
    height: auto;

    background-color: #F0FDFF;
    border-radius: 12px;
}

.card-small .card-image-box {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-shrink: 1;
    min-width: 0;
}

.card-small .card-image-box img {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
    margin: 0 0 4px;
}

.card-small h2 {
    color: #122851;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 4px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.card-small p {
    color: #667085;
    font-size: 14px;
    line-height: 1.3;
    margin: 0 0 12px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* BUTTON STYLES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 24px;

    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;
    text-align: center;
    box-sizing: border-box;

    transition: all 0.3s ease;
    cursor: pointer;

    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Tombol Utama */
.btn-primary {
    background: #004fb6;
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: #003a8c;
}

/* Tombol Outline */
.btn-outline {
    background: #ffffff;
    color: #122851;
    border: 1.5px solid #d0e1f9;
}

.btn-outline:hover {
    background: #e6f0fa;
}

/* Icon di dalam tombol */
.btn i {
    font-size: 16px;
    flex-shrink: 0;
}

.card-small .btn {
    width: 100%;
    max-width: 220px;
    margin-top: auto;
    flex-shrink: 0;
}

/* RESPONSIVE / MOBILE */
@media (max-width: 900px) {
    .card-large {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .card-large .card-content {
        text-align: center;
    }

    .card-large h2 {
        font-size: 26px;
    }

    .card-small {
        max-width: 100%;
        width: 100%;
    }
}

.chat-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1b2340;
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
}

.chat-wa img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.warna7 {
    color: #ffd700;
    font-weight: bold;
}

.hero h2 {
    color: #faf9f7;
    font-weight: normal;
    font-size: 18px;
    margin-bottom: 5px;
} 

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .header {
        height: auto;
    }

    .header .header-desktop {
        display: none !important;
    }

    .header .header-mobile {
        display: block !important;
        width: 100%;
        height: auto;
    }

    .card-container {
        padding: 20px 15px;
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    /* Hero Section */
    .hero {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero h2 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    /* Card Large (Menyesuaikan fleksibilitas ke 350px di mobile) */
    .card-large {
        flex: 1 1 350px; /* <--- Diubah/Ditambahkan di sini */
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        max-width: 100%;
        width: 100%;
    }

    .card-large .card-image-box {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .card-large .card-image-box img {
        max-width: 250px;
    }

    .card-large .card-content {
        text-align: center;
        width: 100%;
    }

    .card-large h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    /* Card Small */
    .card-small {
        max-width: 100%;
        width: 100%;
        height: auto;
        padding: 20px 15px;
    }

    .card-small .card-image-box img {
        max-width: 180px;
    }

    .card-small h2 {
        font-size: 18px;
    }

    .card-small p {
        font-size: 13px;
    }

    .chat-wa {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .chat-wa img {
        width: 32px;
        height: 32px;
    }
}



/* Tombol Pengaduan Tambahan - 2 Grid */
.pengaduan-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
    width: 100%;
    justify-items: center;
}

.pengaduan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 290px;
    height: 48px;
    overflow: hidden;
    border-radius: 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pengaduan-btn img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pengaduan-btn:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

@media (max-width: 480px) {
    /* Memastikan header-mobile muncul dengan menghilangkan batasan tinggi tetap */
    .header {
        height: auto;
    }

    .hero h1 {
        font-size: 24px;
    }

    .btn {
        width: 100%;
        padding: 10px 16px;
    }
}