body {
    font-family: 'Figtree', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.logo-container {
    width: 130px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #874b05;
}

.logo {
    width: 90%;
    height: 90%;
    object-fit: contain;
    /* animation: spin 8s linear infinite; */
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.service-title {
    color: #874b05;
    font-weight: 700;
    font-size: 1.5rem;
}

.question-card {
    width: 600px;
    max-width: 800px;
    transition: transform 0.3s ease;
}

.question-card:hover {
    transform: translateY(-3px);
}

.card-header {
    position: relative;
    padding: 0.5rem;
    background-color: transparent;
    border-bottom: none;
}

.card-icon-link {
    position: absolute;
    top: 0.5rem;
    font-size: 1.5rem;
    color: #058776;
    transition: color 0.3s ease;
}

.card-icon-link:hover {
    color: #046b5e;
}

.card-icon-link i {
    color: #046b5e;
}

.card-back-link {
    left: 0.5rem;
}

.card-home-link {
    right: 0.5rem;
}

.card-title {
    color: #874b05;
    font-weight: 700;
    font-size: 1.25rem;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-radio {
    position: relative;
    padding-left: 1.5rem;
    /* display: none; */
    cursor: pointer;
}

.answer-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.answer-label {
    display: block;
    padding: 0.75rem 0.5rem;
    background-color: #f8f9fa;
    border: 2px solid #874b05;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.answer-radio:checked + .answer-label {
    background-color: #058776;
    border-color: #058776;
    color: #fff;
    transform: scale(0.95);
}

.answer-label::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #874b05;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
}

.answer-radio:checked + .answer-label::before {
    border-color: #058776;
    background-color: #058776;
}

.answer-radio:checked + .answer-label::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffe600;
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

.feedback-container .feedback-message {
    border-radius: 8px;
    font-size: 0.9rem;
    padding: 0.75rem;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
}

.feedback-container .text-danger {
    color: #dc3545;
}

.feedback-container .text-primary {
    color: #0d6efd;
}

.button-container {
    max-width: 600px;
    gap: 0.5rem;
}

.custom-btn {
    background-color: #058776;
    border-color: #058776;
    color: #fff;
    font-weight: 500;
    padding: 0.7rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: #046b5e;
    border-color: #046b5e;
}

.custom-btn i {
    color: #ffe600;
}

.custom-btn:disabled {
    background-color: #999;
    border-color: #999;
    cursor: not-allowed;
}

.btn-secondary.custom-btn {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary.custom-btn:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.btn-success.custom-btn {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success.custom-btn:hover {
    background-color: #218838;
    border-color: #218838;
}

.btn-danger.custom-btn {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger.custom-btn:hover {
    background-color: #c82333;
    border-color: #c82333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo-container {
        width: 100px;
        height: 100px;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .question-card {
        max-width: 100%;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .answer-label {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
    }

    .custom-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .logo-container {
        width: 80px;
        height: 80px;
    }

    .service-title {
        font-size: 1rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .answer-label {
        font-size: 0.9rem;
    }

    .button-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .custom-btn {
        width: 100%;
    }
}