/* =========================
   PAGE BACKGROUND
========================= */

body {
    background: linear-gradient(180deg,#f4f7f9 0%,#edf2f6 100%);
    font-family: 'Inter', sans-serif;
}


/* =========================
   MAIN CARD WRAPPER
========================= */

.eneagram-quiz-wrapper {
    max-width: 820px;
    margin: 90px auto;
    padding: 60px 70px;
    background: #ffffff;
    border-radius: 22px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.08),
        0 15px 40px rgba(0,0,0,0.04);

    text-align: center;
    transition: all 0.35s ease;
}

.eneagram-quiz-wrapper:hover {
    transform: translateY(-4px);
    box-shadow:
        0 40px 100px rgba(0,0,0,0.10),
        0 20px 50px rgba(0,0,0,0.05);
}


/* =========================
   SECTION TRANSITION
========================= */

.quiz-section {
    display: none;
    animation: fadeIn 0.45s ease-in-out;
}

.quiz-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================
   HEADINGS
========================= */

.eneagram-quiz-wrapper h2,
.eneagram-quiz-wrapper h3 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #0f2c3f;
    letter-spacing: -0.3px;
}

.eneagram-quiz-wrapper p {
    color: #607381;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================
   START BUTTON
========================= */

.start-quiz-btn {
    margin-top: 30px;
    padding: 15px 38px;
    background: linear-gradient(135deg,#004E64,#007A8E);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 78, 100, .40);
}

.start-quiz-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(0, 78, 100, .55);
}


/* =========================
   QUESTION BLOCK CARD
========================= */

.question-block {
    margin-bottom: 35px;
    text-align: left;
    padding: 26px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.question-block strong {
    font-size: 16px;
    color: #0f2c3f;
    line-height: 1.6;
    display: block;
    margin-bottom: 10px;
}


/* =========================
   SCALE BUTTONS
========================= */

.scale-options {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.scale-options input[type="radio"] {
    display: none;
}

.scale-options label {
    padding: 14px 22px;
    border-radius: 14px;
    background: #f3f6f9;
    border: 1px solid #e4eaef;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #445864;
    transition: all 0.25s ease;
    min-width: 65px;
    text-align: center;
}

/* 🔥 HOVER = DARK PINK */
.scale-options label:hover {
    background: linear-gradient(135deg,#b3125c,#d63384);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(214, 51, 132, .40);
    transform: translateY(-2px);
}

/* ✅ SELECTED = BLUE */
.scale-options label:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg,#004E64,#007A8E);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(0, 78, 100, .45);
}



/* =========================
   NAVIGATION BUTTONS
========================= */

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
}

/* Previous */
.quiz-prev-btn {
    padding: 14px 28px;
    background: #eef3f7;
    color: #3b4b58;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.quiz-prev-btn:hover {
    background: #dde7ee;
}

/* Next */
.quiz-next-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg,#004E64,#007A8E);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 78, 100, .35);
}

.quiz-next-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(0, 78, 100, .55);
}

/* =========================
   LEAD FORM WRAPPER
========================= */

.quiz-lead-form form {
    margin-top: 30px;
}

/* =========================
   FORM GRID (2 COLUMN)
========================= */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* =========================
   LABELS
========================= */

.form-group label {
    font-size: 14px;
    margin-bottom: 8px;
    color: #0f2c3f;
    font-weight: 500;
}

/* =========================
   INPUT STYLE (CLIENT LOOK)
========================= */

.form-group input {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #d7dee4;
    background: #f7f9fb;
    font-size: 14px;
    transition: all 0.25s ease;
}

.form-group input:focus {
    outline: none;
    background: #ffffff;
    border-color: #004E64;
    box-shadow: 0 0 0 4px rgba(0,78,100,0.15);
}


/* =========================
   GDPR ALIGNMENT
========================= */

.gdpr-wrapper {
    grid-column: 1 / -1;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.gdpr-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #556874;
    cursor: pointer;
}

.gdpr-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #004E64;
}


/* =========================
   SUBMIT BUTTON
========================= */

.quiz-lead-form .submit-btn {
    display: inline-block;
    margin-top: 40px;   /* yahan se spacing increase hui */
    padding: 16px 42px;
    background: linear-gradient(135deg,#004E64,#007A8E) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0,78,100,.40) !important;
}

.quiz-lead-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px rgba(0,78,100,.55) !important;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .form-grid {
        grid-template-columns: 1fr;
    }

}
