* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }
}

.quiz-container {
    width: 100%;
    height: 100vh;
    display: flex;
    position: relative;
}

@media (max-width: 768px) {
    .quiz-container {
        height: auto;
        min-height: 100vh;
    }
}

.step {
    width: 100%;
    height: 100vh;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .step {
        position: relative;
        height: auto;
        min-height: 100vh;
    }
}

.left-panel {
    width: 40%;
    background-color: #E0000F;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.right-panel {
    width: 60%;
    background-color: #FFFFFF;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    position: relative;
}

/* Logo Header */
.logo-header {
    background-color: #FFFFFF;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-img {
    height: 22px;
    width: auto;
}

/* Step Indicator */
.step-indicator {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 30px;
}

/* Main Question */
.main-question {
    color: #FFFFFF;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 90%;
}

.subtitle {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    max-width: 90%;
}

/* Instruction Text */
.instruction-text {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-bottom: 20px;
}

.progress-segment {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    flex: 1;
    border-radius: 2px;
}

.progress-segment.active {
    background-color: #FFFFFF;
    height: 6px;
}

/* Options Container */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border: 2px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

.option:hover {
    border-color: #E0000F;
}

.option.selected {
    border-color: #E0000F;
    background-color: #FFF5F5;
}

.option-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-icon svg {
    width: 100%;
    height: 100%;
}

.option-text {
    font-size: 18px;
    font-weight: 400;
    color: #000000;
}

.option.selected .option-text,
.option-text.selected-text {
    font-weight: 700;
    color: #E0000F;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.btn {
    flex: 1;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-back {
    background-color: #FFFFFF;
    color: #E0000F;
    border-color: #E0000F;
}

.btn-back:hover:not(:disabled) {
    background-color: #FFF5F5;
}

.btn-back:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-next,
.btn-submit {
    background-color: #E0000F;
    color: #FFFFFF;
    border-color: #E0000F;
}

.btn-next:hover,
.btn-submit:hover {
    background-color: #C0000D;
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.form-group {
    width: 100%;
}

.phone-group {
    display: flex;
    gap: 10px;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 18px 20px;
    font-size: 18px;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #E0000F;
}

.country-code-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 15px;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    background-color: #FFFFFF;
    min-width: 140px;
}

.flag-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.country-code-selector select {
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    cursor: pointer;
    outline: none;
    font-family: inherit;
}

.phone-group input[type="tel"] {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .left-panel {
        width: 45%;
    }
    
    .right-panel {
        width: 55%;
    }
    
    .main-question {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .quiz-container {
        height: auto;
        min-height: 100vh;
    }
    
    .step {
        flex-direction: column;
        position: relative;
        height: auto;
        min-height: 100vh;
    }
    
    .left-panel {
        width: 100%;
        min-height: 50vh;
        padding: 30px 20px;
    }
    
    .right-panel {
        width: 100%;
        min-height: 50vh;
        padding: 30px 20px;
        padding-top: 40px;
        justify-content: flex-start;
    }
    
    .logo-header {
        margin-bottom: 30px;
        padding: 15px 20px;
    }
    
    .main-question {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .subtitle {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .options-container {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .option {
        padding: 15px 20px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .phone-group {
        flex-direction: column;
    }
    
    .country-code-selector {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-question {
        font-size: 24px;
    }
    
    .option-text {
        font-size: 16px;
    }
    
    .btn {
        font-size: 16px;
        padding: 15px 20px;
    }
}


