body {
    background-attachment: fixed;
    background-size: cover;
    color: #333;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.custom-card {
    width: 300px;
    background: linear-gradient(135deg, #007bff, #00c851);
    color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 40px;
    text-align: center;
}

.feedback-container {
    width: 100%;
    max-width: 1000px;
    background: linear-gradient(135deg, rgba(10, 154, 125, 0.6), rgba(45, 100, 200, 0.6), rgba(255, 183, 77, 0.6));
    padding: 40px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feedback-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    width: 100%; 
}

.button-group button {
    width: 80%;
    font-size: 16px;
    padding: 12px;
    text-align: center;
}

.error-message {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: red;
    font-weight: bold;
    white-space: nowrap;
}

.container-fluid p-1 {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.container-fluid p-1 img {
    width: 100%; 
    height: 220px;
    object-fit: cover; 
    object-position: center bottom; 
    display: block; 
    filter: brightness(0.8);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px; 
    font-size: 1.2rem;
}

.form-check-label {
    font-size: 1.2rem;
}

.header-image img {
width: 100%;
height: 500px;
object-fit: cover;
object-position: bottom;
display: block;
filter: brightness(0.8); 
}

/* Untuk tampilan desktop */
@media (min-width: 768px) {
    .button-group {
        flex-direction: row;
    }

    .button-group button {
        width: auto;
        min-width: 120px;
        padding: 8px 16px;
        font-size: 14px;
    }

    .feedback-container {
        width: 90%;
        padding: 20px;
    }

    .d-flex.justify-content-center.gap-3 {
        flex-direction: column;
        gap: 10px;
    }

    .d-flex.justify-content-center.gap-3 button {
        width: 100%;
    }

    .form-check, .form-check-label {
        font-size: 0.9rem;
    }
}

/* Responsif Smartphone */
@media (max-width: 576px) {
    .form-check, .form-check-label {
        font-size: 0.85rem;
    }

    .header-image img {
        height: 200px;
    }
}

/* Responsif Smartphone kecil */
@media (max-width: 400px) {
    .form-check, .form-check-label {
        font-size: 0.65rem;
    }
    
    .header-image img {
        height: 200px;
    }
}
