:root {
    --primary-color: #FFCCE1;
    --secondary-color: #F2F9FF;
    --accent-color: #FFF5D7;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-color: #000;
}

body {
    color: var(--text-color);
}

/* Assessment Card Styling */
.assessment-card {
    background: #fff;
    border-radius: 20px;
/*     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 400px;
    margin: 20px auto; */
    text-align: left;
    transition: transform 0.3s ease;
}

.assessment-card:hover {
    transform: translateY(-5px);
}

.assessment-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
}

.assessment-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #000;
}

.assessment-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.assessment-btn {
    background: #800000;
    /* Dark red from the image */
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: opacity 0.3s;
}

.assessment-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* Multi-step Form Styling (Glassmorphism) */
.assessment-form-container {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    padding: 50px 20px;
    border-radius: 30px;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.assessment-form-inner {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 25px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.assessment-form-inner h2,
.assessment-form-inner h3,
.assessment-form-inner label {
    color: #000 !important;
    text-shadow: none;
}

.assessment-form-inner input[type="text"],
.assessment-form-inner input[type="email"],
.assessment-form-inner input[type="tel"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: #fff;
    color: #000;
}

.assessment-form-inner input::placeholder {
    color: #666;
}

.option-item {
    background: #F2F9FF;
    border: 1px solid var(--glass-border);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    color: #000;
}

.option-item:hover {
    background: #FFF5D7;
}

.option-item.selected {
    background: #FFCCE1;
    color: #000;
    font-weight: bold;
}

.step-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.next-btn,
.submit-btn {
    background: #FFCCE1;
    color: #000;
    border: 1px solid #000;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}

.prev-btn {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
}

#result-container {
    text-align: left;
    color: #000;
}

.assessment-result-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.result-global-header {
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-style: italic;
    text-align: center;
}

.result-main-heading {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #800000;
}

.result-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    display: block;
}

.result-group {
    margin-bottom: 20px;
}

.result-group-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
    display: block;
}

.result-group-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.result-custom-html {
    color: #000;
}

/* Modal Styling */
.assessment-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.assessment-modal-content {
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        scale: 0.9;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: var(--accent-color);
}