:root {
    --primary-color: #0a1f44;
    --secondary-color: #f8f9fa;
    --border-color: #e2e8f0;
    --text-color: #2d3748;
}

/* body {
    margin: 0;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8f9fa;
} */



.calculator-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

header {
    margin-bottom: 30px;
}

header h3 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

header h1 {
    font-size: 32px;
    margin: 0 0 10px 0;
}

.subtitle {
    color: var(--primary-color);
    margin: 0 0 15px 0;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
}

.step-indicator {
    margin-bottom: 30px;
}

.step-text {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.step-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
}

.dot.active {
    background: var(--primary-color);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.option-btn {
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    background: var(--secondary-color);
}

.option-btn.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.back-btn {
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.next-btn {
    background: var(--primary-color);
    color: white;
}

.summary-section {
    margin-top: 20px;
    padding: 15px;
    background: var(--secondary-color);
    border-radius: 4px;
}

.summary-text {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.score-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.flag-section img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.score-section {
    margin-top: 20px;
    padding: 20px;
    background: var(--primary-color);
    border-radius: 4px;
    color: white;
}

.score-display {
    font-size: 48px;
    font-weight: bold;
    margin-top: 10px;
}

/* Add these styles to match other pages */
.calculator-container {
    position: relative;
    margin-bottom: 2rem;
}

.calculator-section {
    margin-bottom: 40px;
}

/* Update container styles for calculator page */
.container.calculator-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .container.calculator-container {
        grid-template-columns: 1fr;
    }
    
    .score-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Style updates for better visual hierarchy */
.step-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.option-btn {
    font-size: 1rem;
    font-weight: 500;
}

.option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

/* Question Navigation Styles */
.question-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.question-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-nav-btn:hover {
    background: var(--secondary-color);
}

.question-nav-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.question-nav-btn.completed {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.question-progress {
    text-align: center;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Update existing question styles */
.question {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.question[style*="display: block"] {
    opacity: 1;
    transform: translateX(0);
}

/* Results Container Styles */
.results-container {
    margin-top: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.results-flag {
    width: 60px;
    height: auto;
}

.score-breakdown {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.total-score {
    text-align: center;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #0066cc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 1rem auto;
}

.score-details ul {
    list-style: none;
    padding: 0;
}

.score-details li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
}

.contact-section {
    text-align: center;
    padding: 30px;
    background: var(--secondary-color);
    border-radius: 8px;
    margin-top: 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.call-btn {
    background: #4CAF50;
    color: white;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.enquiry-btn {
    background: var(--primary-color);
    color: white;
}

/* Submit button styles */
.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .score-breakdown {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
    }
}