/* Original Container and Basic Styles */
.container {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.step {
    display: none;
    margin-bottom: 30px;
}

.step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn {
    background: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #0056b3;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.question {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.slider-container {
    margin: 20px 0;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.loading-subtitle {
    font-size: 14px;
    color: #999;
}

.results {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.swot-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin: 20px 0 !important;
}

@media (max-width: 768px) {
    .swot-grid {
        grid-template-columns: 1fr !important;
    }
}

.swot-item {
    background: white;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #007bff;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.progress-bar {
    background: #e9ecef;
    border-radius: 4px;
    height: 8px;
    margin: 20px 0;
}

.progress-fill {
    background: #007bff;
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* SCAN Roadmap Styles */
.scan-roadmap {
    display: block;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-sizing: border-box;
}

.scan-roadmap .steps-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    width: 100%;
    flex-direction: column;
    max-width: 100%;
    scroll-behavior: smooth;
    justify-content:space-between;
    box-sizing: border-box;
}

.scan-roadmap .active-step-indicator {
    display: none;
    text-align: center;
    font-weight: bold;
    color: #007bff;
    margin-top: 6px;
    font-size: 1rem;
}

.scan-roadmap .scan-step {
    min-height: auto;
    flex-direction: column;
    text-align: center;
    align-items: center;
    flex-shrink: 0;
}

.scan-roadmap .scan-step-icon {
    margin-bottom: 4px;
    margin-right: 0;
    width: min(12vw, 64px);
    height: min(12vw, 64px);
}

.scan-roadmap .scan-step-title {
    margin-bottom: 2px;
    font-size: 10px;
    line-height: 1.1;
}


/* Hide mobile-specific elements on desktop */
@media (max-width: 768px) {
    .scan-roadmap {
        display: block;
        gap: 8px;
        padding: 10px;
        margin: 5px;
    }

    .scan-roadmap .steps-row {
        display: flex;
        flex-direction: row;
        gap: 3vw;
        padding: 5vw;
        margin: 5px;
    }

    .scan-roadmap .scan-step-description {
        display: none;
    }
}

@media (max-width: 512px) {
    .scan-roadmap .active-step-indicator {
        display: block;
    }

    .scan-roadmap .scan-step-title {
        display: none;
    }
}

@media (max-width: 360px) {

    .scan-roadmap .steps-row {
        gap: 0;
        padding: 0;
        margin: 0;
    }

}

.scan-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-height: 120px;
}

.scan-step.active {
    color: #007bff;
    font-weight: bold;
}

.scan-step.completed {
    color: #28a745;
}

.scan-step.pending {
    color: #6c757d;
}

.scan-step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.scan-step-icon .step-icon-img {
    width: 50%;
    height: 50%;
    filter: brightness(0) saturate(100%);
}

.scan-step-icon i {
    font-size: 20px;
}

.scan-step.active .scan-step-icon {
    background: #007bff;
    color: white;
}

.scan-step.active .scan-step-icon .step-icon-img {
    filter: brightness(0) saturate(100%) invert(1);
}

.scan-step.completed .scan-step-icon {
    background: #28a745;
    color: white;
}

.scan-step.completed .scan-step-icon .step-icon-img {
    filter: brightness(0) saturate(100%) invert(1);
}

.scan-step.pending .scan-step-icon {
    background: #e9ecef;
    color: #6c757d;
}

.scan-step.pending .scan-step-icon .step-icon-img {
    filter: brightness(0) saturate(100%) invert(0.4);
}

.scan-step-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.2;
}

.scan-step-description {
    font-size: 11px;
    color: #666;
    line-height: 1.3;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.scan-chevron {
    display: none;
}

.scan-chevron.active {
    color: #007bff;
}

/* Additional styles for the new layout */
.card-body {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    margin-bottom: 1rem;
}


.radar-chart-container {
    margin: 30px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.insight-card {
    background:linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.email-gate {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.form-control-lg {
    height: 50px;
    font-size: 16px;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 16px;
}

.text-muted {
    color: #6c757d !important;
}

.text-primary {
    color: #007bff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

/* New styles for improved step 1 and 5 */
.welcome-icon, .success-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.welcome-icon i, .success-icon i {
    animation: fadeInUp 0.6s ease-out;
}

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

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-select-lg {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-select-lg:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-lg {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.btn-lg:hover {
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Step 5 specific styles */
.next-steps-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #007bff;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-info-card h5 {
    color: #ffc107;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.contact-item i {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
    color: #ffc107;
}

.contact-item span {
    color: white;
}

/* Enhanced report styling */
.report-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #007bff;
}

.report-section.success {
    border-left-color: #28a745;
}

.report-section.warning {
    border-left-color: #ffc107;
}

.report-section.info {
    border-left-color: #17a2b8;
}

.report-section h4 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.report-section h4 i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.quick-wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.quick-win-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border-left: 3px solid #28a745;
}

.improvement-plan-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid #007bff;
}

.improvement-plan-item h6 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.improvement-plan-item p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Enhanced alert styles */
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: none;
    border-radius: 12px;
}

.alert-success .alert-heading {
    color: #155724;
    font-weight: 600;
}

/* Form section styling */
.form-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #007bff;
    margin-bottom: 1.5rem;
}

.form-section:last-of-type {
    border-left-color: #ffc107;
}

.section-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* Enhanced form group spacing */
.form-section .form-group {
    margin-bottom: 1rem;
}

.form-section .form-group:last-child {
    margin-bottom: 0;
}

/* ===== MOBILE-FIRST RESPONSIVE FIXES ===== */

/* Prevent unwanted scrolling on mobile */
html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Mobile-first container adjustments */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0;
    }
    
    /* General mobile styles (non-roadmap specific) */
    
    .step-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .contact-info-card {
        margin-top: 1rem;
    }
    
    .next-steps-card {
        padding: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .swot-grid {
        grid-template-columns: 1fr !important;
    }
    
    .form-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1rem;
    }

    .step .card-body {
        margin: 0;
        box-shadow: none;
        border-radius: 0;

    }

    .results {
        padding: 1rem 0;
        margin: 0;
        background: transparent;
    }

    #step1 .form-label {
        display: none;
    }

    #step1 .form-select-lg {
        font-size: 1rem;
    }

}

/* Form validation styles */
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

.was-validated .form-select:valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.was-validated .form-select:invalid ~ .invalid-feedback {
    display: block;
}

/* Remove default red styling from form elements */
.form-select {
    border-color: #e9ecef;
}

.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Only show validation feedback when form is submitted or field is touched */
.form-select.is-invalid {
    border-color: #dc3545;
}

.form-select.is-valid {
    border-color: #28a745;
}

.form-select.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Lead text styling */
.lead {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Text utilities */
.text-primary {
    color: #007bff !important;
}

.text-success {
    color: #28a745 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* ===== STEP 3 AI PROCESSING OPTIMIZATIONS ===== */

.ai-processing-container {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.processing-header {
    margin-block: 3rem;
}

.ai-brain-icon {
    position: relative;
    display: inline-block;
}

.brain-animation {
    position: relative;
    display: inline-block;
}

.brain-animation i {
    position: relative;
    z-index: 3;
    animation: brainPulse 2s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.5s;
}

.pulse-ring.delay-2 {
    animation-delay: 1s;
}

@keyframes brainPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes pulseRing {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

.loading-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.processing-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.processing-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step-indicator {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step-indicator.active {
    opacity: 1;
}

.step-indicator.completed {
    opacity: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-indicator.active .step-icon {
    border-color: #007bff;
    background: #007bff;
    color: white;
    transform: scale(1.1);
    animation: stepPulse 2s ease-in-out infinite;
}

.step-indicator.completed .step-icon {
    border-color: #28a745;
    background: #28a745;
    color: white;
    transform: scale(1.05);
}

@keyframes stepPulse {
    0%, 100% { 
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
    }
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}

.step-status {
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.processing-messages {
    margin: 2rem 0;
}

.message-container {
    text-align: center;
}

.current-message {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message-queue {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.queued-message {
    font-size: 0.9rem;
    color: #6c757d;
    opacity: 0.7;
}

.estimated-time {
    text-align: center;
}

.time-indicator {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 20px;
    color: #007bff;
    font-weight: 500;
}

/* Results Container Styles */
.results-container {
    animation: fadeInUp 0.6s ease-out;
}

.results-header {
    margin-bottom: 3rem;
}

.success-animation {
    position: relative;
    display: inline-block;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    animation: successPop 0.6s ease-out;
}

.success-circle {
    width: 80px;
    height: 80px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    animation: successPop 0.6s ease-out;
}

.success-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #28a745;
    border-radius: 50%;
    animation: ringExpand 1s ease-out infinite;
}

.ring-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.ring-2 {
    width: 120px;
    height: 120px;
    animation-delay: 0.2s;
}

.ring-3 {
    width: 140px;
    height: 140px;
    animation-delay: 0.4s;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes ringExpand {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    100% {
        width: 160px;
        height: 160px;
        opacity: 0;
    }
}

.chart-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.chart-container {
    text-align: center;
}

.chart-wrapper {
    position: relative;
    height: 400px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 600px;
    max-height: 400px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-text {
    font-size: 0.9rem;
    color: #495057;
}

.insights-preview {
    margin-top: 2rem;
}

.observation-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.insight-card {
    background: white;
    color: #333;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.maturity-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.maturity-circle {
    flex-shrink: 0;
}

.maturity-progress {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1s ease-in-out;
}

.maturity-grade-text {
    font-size: 2.2rem;
    font-weight: 700;
    fill: #3b5bdb;
    dominant-baseline: middle;
    alignment-baseline: middle;
}

.maturity-info {
    flex: 1;
}

.maturity-description {
    margin: 0 0 0.5rem 0;
    font-size: 14px;
    color: #6c757d;
}

.observation-card .maturity-grade-text {
    fill: white;
}

.observation-card .maturity-description {
    color: rgba(255, 255, 255, 0.8);
}

.plan-purpose-text {
    margin: 0.5rem 0 0 0;
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
}

.observation-card .plan-purpose-text {
    color: rgba(255, 255, 255, 0.9);
}

.maturity-circle svg {
    display: block;
    margin: 0 auto;
}

.maturity-circle .maturity-progress {
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-linecap: round;
}

.observation-card:hover,
.insight-card:hover {
    transform: translateY(-2px);
}

.insight-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(0, 123, 255, 0.1);
}

.insight-content h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* ===== STEP 5 FULL REPORT OPTIMIZATIONS ===== */

.success-header {
    margin-bottom: 3rem;
    text-align: center;
    padding: 2rem 0;
}

.success-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-header .lead {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.email-notification {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.notification-card {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.2);
    border: 1px solid #c3e6cb;
    max-width: 600px;
    margin: 0 auto;
}

.notification-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content h5 {
    color: #155724;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.notification-content p {
    color: #155724;
    margin-bottom: 0;
    opacity: 0.8;
}

.report-summary {
    margin-bottom: 3rem;
}

.summary-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.summary-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.summary-card p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.next-steps-section {
    margin-top: 3rem;
}

.next-steps-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.next-steps-card .card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 2rem;
    border: none;
}

.next-steps-card .card-header h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.next-steps-card .card-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.steps-timeline {
    padding: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    align-items: flex-start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(to bottom, #007bff, #e9ecef);
}

.step-item:last-child::before {
    display: none;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    width: 2px;
    height: 2rem;
    background: #e9ecef;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.step-header h6 {
    margin-bottom: 0;
    font-weight: 600;
    color: #495057;
}

.step-badge {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.step-content p {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.step-actions {
    margin-top: 1rem;
}

.step-actions .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.support-section {
    height: 100%;
}

.contact-info-card {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid #495057;
}

.contact-info-card .card-header {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 2rem;
}

.contact-info-card .card-header h5 {
    color: #ffc107;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-card .card-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.contact-info-card .card-body {
    padding: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.method-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc107;
    flex-shrink: 0;
}

.method-content {
    flex: 1;
}

.method-content h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: white;
}

.method-content p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.method-content a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 500;
}

.method-content a:hover {
    text-decoration: underline;
}

.method-content .btn {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid #ffc107;
    color: #ffc107;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.method-content .btn:hover {
    background: #ffc107;
    color: #343a40;
}

.support-hours {
    text-align: center;
    padding: 1rem;
    background: rgba(40, 167, 69, 0.2);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.hours-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #28a745;
    font-weight: 600;
}

.additional-resources {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.additional-resources h6 {
    color: #ffc107;
    margin-bottom: 1rem;
    font-weight: 600;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.resource-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    color: white;
    text-decoration: none;
}

.cta-section {
    margin-top: 3rem;
    text-align: center;
}

.cta-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.cta-card h4 {
    color: #007bff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-card p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Responsive Design for Step 5 */
@media (max-width: 768px) {
    .success-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .ring-1 {
        width: 80px;
        height: 80px;
    }
    
    .ring-2 {
        width: 100px;
        height: 100px;
    }
    
    .ring-3 {
        width: 120px;
        height: 120px;
    }
    
    .notification-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .notification-icon {
        margin-bottom: 1rem;
    }
    
    .summary-card {
        margin-bottom: 1rem;
    }
    
    .step-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-item::before {
        display: none;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .method-content {
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .next-steps-card .card-header,
    .contact-info-card .card-header {
        padding: 1.5rem;
    }
    
    .steps-timeline {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .success-header h2 {
        font-size: 1.5rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .notification-card {
        margin: 0 1rem;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .container {
        -webkit-overflow-scrolling: touch;
    }
    
    .btn {
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
} 

/* ===== STEP 2 ASSESSMENT STYLES ===== */

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

.loading-animation {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.loading-animation h2 {
    color: #495057;
    margin-bottom: 2rem;
    font-weight: 600;
}

#questionIntroText {
    margin-bottom: 2rem;
}

#questionIntroText p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

.loading-content {
    margin-top: 2rem;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
    color: #007bff;
}

.loading-step i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.loading-step span {
    color: #495057;
    font-weight: 500;
}

/* Assessment Form Styles */
.assessment-form-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.assessment-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f8f9fa;
}

.assessment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
}

.assessment-header h2 {
    color: #495057;
    font-weight: 700;
    margin-bottom: 1rem;
}

.assessment-header p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.assessment-intro {
    margin-bottom: 3rem;
}

.intro-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.intro-icon {
    width: 60px;
    height: 60px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.intro-content h3 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.intro-content p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Question Styles */
.questions-container {
    margin-bottom: 2rem;
}

.question {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.question:hover {
    border-color: #007bff;
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1);
}

.question h3 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    &.h3 {display: inline-block;}
    &.question-status {float: right;}
}

.question-status {
    color: #6c757d;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.question-status.completed {
    color: #155724;
}

.question-status.current {
    color: #004085;
}

/* Slider Styles */
.slider-container {
    margin: 2rem 0;
}

.slider {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #e9ecef;
    outline: none;
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Form Actions */
.form-actions {
    margin-top: 3rem;
    text-align: center;
}

.submit-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.submit-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #20c997, #17a2b8);
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn i {
    font-size: 1rem;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.progress-text {
    font-weight: 600;
    color: #495057;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin: 0 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Mobile Responsive for Step 2 */
@media (max-width: 768px) {
    .assessment-form-container, .assessment-form-container {
        padding-block: 1.5rem 0.5rem;
        margin: 0;
        box-shadow: none;
    }

    .loading-animation {
        padding: 1rem;
        margin: 1.5rem 0.5rem;
    }
    
    .assessment-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .assessment-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .assessment-header h2 {
        font-size: 1.5rem;
    }
    
    .assessment-header p {
        font-size: 1rem;
    }
    
    .intro-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .intro-icon {
        margin-bottom: 1rem;
    }
    
    .question {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .question h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
        
    .slider-container {
        margin: 1.5rem 0;
    }
    
    .slider-labels {
        font-size: 0.8rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .loading-steps {
        gap: 1rem;
    }
    
    .loading-step {
        padding: 0.75rem;
    }
    
    .loading-step span {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    
    .assessment-header h2 {
        font-size: 1.3rem;
    }
    
    .question {
        padding: 1rem;
    }
    
    .question h3 {
        font-size: 1rem;
    }
    
    .slider-labels {
        font-size: 0.75rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
} 