* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1f435d 0%, #2a5470 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #3F3F3F;
}

.quiz-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.quiz-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f38352 0%, #1f435d 100%);
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    color: #1f435d;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

h2 {
    color: #1f435d;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

h3 {
    color: #f38352;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.welcome-screen, .result-screen {
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.welcome-screen p {
    font-size: 18px;
    color: #3F3F3F;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-primary, .btn-secondary {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #f38352;
    color: #ffffff;
}

.btn-primary:hover {
    background: #e06940;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(243, 131, 82, 0.3);
}

.btn-secondary {
    background: #1f435d;
    color: #ffffff;
    margin-top: 20px;
}

.btn-secondary:hover {
    background: #153247;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(31, 67, 93, 0.3);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #f38352 0%, #e06940 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

.question-container {
    margin-bottom: 30px;
}

#questionText {
    color: #1f435d;
    margin-bottom: 30px;
    line-height: 1.4;
}

.options-container {
    display: grid;
    gap: 15px;
}

.option {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #3F3F3F;
}

.option:hover {
    background: #f0f0f0;
    border-color: #f38352;
    transform: translateX(5px);
}

.option.selected {
    background: #f38352;
    color: #ffffff;
    border-color: #f38352;
}

.option.correct {
    background: #4caf50;
    color: #ffffff;
    border-color: #4caf50;
}

.option.incorrect {
    background: #f44336;
    color: #ffffff;
    border-color: #f44336;
}

.btn-next {
    background: #1f435d;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    float: right;
    transition: all 0.3s ease;
}

.btn-next:hover {
    background: #153247;
    transform: translateY(-2px);
}

.score-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.score {
    font-size: 36px;
    color: #f38352;
    font-weight: 700;
    margin-bottom: 10px;
}

.result-message {
    font-size: 18px;
    color: #3F3F3F;
    line-height: 1.6;
}

.company-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.company-info ul {
    list-style: none;
}

.company-info li {
    padding: 10px 0;
    font-size: 16px;
    color: #3F3F3F;
}

.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.contact-form form {
    display: grid;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form input {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus {
    outline: none;
    border-color: #f38352;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 30px;
        font-size: 16px;
    }

    .option {
        padding: 15px;
        font-size: 14px;
    }

    .score {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .quiz-container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    .welcome-screen p {
        font-size: 16px;
    }

    .company-info li {
        font-size: 14px;
    }
}