/* contact.css */

.inquiry_form_sec {
    padding: 160px 0;
    min-height: 80vh;
}

.inquiry_wrapper {
    width: 100%;
}

.form_step {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: none;
}

.form_step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step_q {
    font-size: var(--ft32);
    letter-spacing: -0.1px;
    font-weight: var(--semi-bold);
    color: var(--white);
    margin-bottom: 24px;
    word-break: keep-all;
    display: block; /* Restore block flow so children flow inline natively */
}

.step_q span {
    color: var(--primary);
}

.step_q small {
    display: block;
    width: 100%; /* forces subtitle to drop down */
    font-size: var(--ft14);
    color: var(--gray-400);
    font-weight: normal;
    margin-left: 0;
    margin-top: 4px;
}

.step_options {
    display: grid;
    gap: 16px;
}

.step_options.grid_2 {
    grid-template-columns: repeat(2, 1fr);
}

.step_options.grid_3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Radio Square Styles */
.btn_radio {
    display: block;
    position: relative;
    cursor: pointer;
}

.btn_radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.btn_radio .r_box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: var(--white);
    font-size: var(--ft18);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn_radio input:checked~.r_box {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(235, 73, 11, 0.3);
}

/* Checkbox Styles */
.btn_checkbox {
    display: block;
    position: relative;
    cursor: pointer;
    margin-bottom: 8px;
}

.btn_checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.btn_checkbox .c_box {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--gray-300);
    font-size: var(--ft16);
    transition: all 0.3s ease;
}

.btn_checkbox .c_icon {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btn_checkbox .c_icon i {
    opacity: 0;
    font-size: 14px;
    color: var(--white);
    transition: all 0.3s ease;
}

.btn_checkbox:hover .c_box {
    color: var(--white);
}

.btn_checkbox input:checked~.c_box .c_icon {
    background: var(--primary);
    border-color: var(--primary);
}

.btn_checkbox input:checked~.c_box .c_icon i {
    opacity: 1;
}

.btn_checkbox input:checked~.c_box {
    color: var(--white);
    font-weight: 500;
}

/* Step 1 Checkbox (Rectangular pill-shaped checkbox) */
.btn_checkbox_box {
    display: block;
    position: relative;
    cursor: pointer;
}

.btn_checkbox_box input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.btn_checkbox_box .c_box_rect {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: var(--white);
    font-size: var(--ft18);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn_checkbox_box input:checked ~ .c_box_rect {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(235, 73, 11, 0.3);
}

/* Step 2 Checkbox (Circular icon list checkbox) */
.btn_checkbox_circle {
    display: block;
    position: relative;
    cursor: pointer;
    margin-bottom: 8px;
}

.btn_checkbox_circle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.btn_checkbox_circle .c_box_circ {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--gray-300);
    font-size: var(--ft16);
    transition: all 0.3s ease;
    word-break: keep-all;
    line-height: 1.4;
}

.btn_checkbox_circle .c_icon {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px; /* Reverted to square checkbox convention */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btn_checkbox_circle .c_icon i {
    opacity: 0;
    font-size: 14px;
    color: var(--white);
    transition: all 0.3s ease;
}

.btn_checkbox_circle:hover .c_box_circ {
    color: var(--white);
}

.btn_checkbox_circle input:checked ~ .c_box_circ .c_icon {
    background: var(--primary);
    border-color: var(--primary);
}

.btn_checkbox_circle input:checked ~ .c_box_circ .c_icon i {
    opacity: 1;
}

.btn_checkbox_circle input:checked ~ .c_box_circ {
    color: var(--white);
    font-weight: 500;
}

/* Input Fields */
.form_input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 0;
    color: var(--white);
    font-size: var(--ft18);
    transition: all 0.3s ease;
    outline: none;
}

.form_input:focus {
    border-bottom-color: var(--primary);
}

.form_input::placeholder {
    color: var(--gray-500);
    font-weight: 300;
}

.form_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.submit_wrap {
    margin-top: 80px;
    text-align: center;
}

.submit_btn {
    padding: 18px 48px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 600;
    font-size: var(--ft18);
    transition: all 0.3s ease;
}

.submit_btn:hover {
    background-color: var(--white);
    color: var(--black);
}

.submit_btn:hover .btn_link i {
    color: var(--white);
}

.privacy_text {
    margin-top: 24px;
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.6;
}

.privacy_text a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
}

/* Responsive */
@media all and (max-width: 768px) {
    .inquiry_form_sec {
        padding: 80px 0;
        min-height: auto;
    }

    .form_step {
        margin-bottom: 40px;
    }

    .step_q {
        font-size: 22px !important;
        margin-bottom: 16px;
    }

    .form_row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step_options.grid_2,
    .step_options.grid_3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Step 1 Pill-Checkboxes Mobile */
    .btn_checkbox_box .c_box_rect {
        padding: 14px 10px;
        font-size: 14px;
        border-radius: 50px;
        word-break: keep-all;
        line-height: 1.3;
        height: 100%; /* forces all boxes in row to equal height if one wraps */
    }

    /* Step 2 Circular-Checkboxes Mobile */
    .btn_checkbox_circle .c_box_circ {
        font-size: 15px;
        gap: 10px;
    }

    .btn_checkbox_circle .c_icon {
        width: 20px;
        height: 20px;
    }

    .btn_checkbox_circle .c_icon i {
        font-size: 11px;
    }

    .form_row {
        gap: 15px;
    }

    .submit_wrap {
        margin-top: 50px;
    }

    .submit_btn {
        padding: 16px 32px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }

    .privacy_text {
        font-size: 13px;
        word-break: keep-all;
    }
}