/* Career Assessment Styles */

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.assessment-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.assessment-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    color: white;
}

.header-content .logo {
    height: 40px;
    margin-bottom: 1rem;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Assessment Container */
.assessment-container {
    flex: 1;
    padding: 3rem 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Progress Section */
.progress-section {
    margin-bottom: 3rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 4px;
    transition: width 0.4s ease;
    width: 8%;
}

/* Question Container */
.question-container {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.question {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.question h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

.question p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Answer Options */
.answer-options {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.answer-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.answer-option:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-2px);
}

.answer-option.selected {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.answer-option h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.answer-option p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Input Fields */
.input-group {
    margin: 1rem 0;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-button.primary {
    background: #667eea;
    color: white;
}

.nav-button.primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.nav-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.nav-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Arrow Icons */
.arrow-left::before {
    content: "←";
}

.arrow-right::after {
    content: "→";
}

/* Results Container */
.results-container {
    background: white;
    border-radius: 16px;
    margin: 2rem auto;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.results-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.results-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.results-content {
    padding: 3rem;
}

.career-result {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.career-result h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.career-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.results-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 0 0 16px 16px;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #667eea;
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 2rem;
}

.modal-body ul {
    margin: 1rem 0;
    padding-left: 1rem;
}

.modal-body li {
    margin: 0.5rem 0;
    color: #333;
}

#assessmentLeadForm {
    margin-top: 2rem;
}

#assessmentLeadForm input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #5a6fd8;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    .question-container {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .question h2 {
        font-size: 1.5rem;
    }
    
    .navigation {
        flex-direction: column;
    }
    
    .nav-button {
        width: 100%;
        justify-content: center;
    }
    
    .results-cta {
        flex-direction: column;
    }
    
    .career-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .assessment-container {
        padding: 1rem 0;
    }
    
    .question-container {
        padding: 1.5rem;
    }
    
    .results-header {
        padding: 2rem;
    }
    
    .results-content {
        padding: 2rem;
    }
}