/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

/* Reset for semantic elements */
main, header, footer, section, article, aside, nav {
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0073E5;
    --secondary-color: #e0e2ec;
    --text-color: #101921;
    --text-light: #4d5875;
    --border-color: #e8e9f1;
    --white: #ffffff;
    --light-blue-bg: #f0f6ff;
    --checkmark-color: #0073e5;
    --border-radius: 12px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --subtitle-color: #666666;
    --background-color: #f9f9fc;
    --feature-box-bg: #f3f4f9;
    --feature-checkmark-bg: rgba(0, 102, 255, 0.1);
    --font-family: 'Mulish', sans-serif;
    --focus-color: #0073E5;
    --focus-outline: 2px solid var(--focus-color);
    --focus-offset: 2px;
}

/* Fieldset styles - remove default borders for accessibility fieldsets */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

fieldset legend {
    padding: 0;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Accessibility - Visually Hidden */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    background-color: white;
    color: var(--text-color);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* Focus Management */
*:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

/* Improved focus for buttons */
button:focus,
.btn:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
    box-shadow: 0 0 0 3px rgba(0, 115, 229, 0.2);
}

/* Text Overflow Handling */
h1, h2, h3, .subtitle, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

h1, h2, h3 {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    white-space: normal;
}

.assessment-card * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Header */
header {
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 100%;
    z-index: 20;
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    box-sizing: border-box;
}

.logo {
    height: 32px;
    width: auto;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    flex: 1;
    box-sizing: border-box;
    overflow-x: hidden;
    min-height: 0;
}

/* Assessment Card */
.assessment-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow: visible;
}

/* Steps */
.step {
    display: none;
    padding: 0 1rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.step.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
    padding-top: 60px;
}

/* MERGED INLINE STYLES - Contact Information Form Styles */

/* Progress Steps Bar */
.progress-indicator {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: transparent;
    padding: 15px 1rem;
    margin: 0;
    box-shadow: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    max-width: 400px;
}

.step-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.step-node.active {
    background: var(--primary-color);
    color: white;
}

.step-node.completed {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: transparent;
    position: relative;
}

.step-node.completed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #E5E7EB;
    margin: 0 0.5rem;
}

.step-line.active {
    background: var(--primary-color);
}

/* Typography - Merged and Enhanced */
h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-family: var(--font-family);
    width: 100%;
}

h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-family: var(--font-family);
    width: 100%;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-color);
    font-family: var(--font-family);
}

.subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--subtitle-color);
    margin-bottom: 3rem;
    line-height: 1.4;
    font-family: var(--font-family);
}

/* Form Layout - Merged */
#step-4 {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-family);
}

#step-4 h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

#step-4 .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

/* Form navigation container - Merged */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    width: 100%;
}

/* Feature Boxes */
.features-box {
    background: var(--feature-box-bg);
    border-radius: 16px;
    padding: 2rem;
    margin: 0 auto 3rem;
    width: 100%;
    max-width: 85%;
}

.features-box ul {
    list-style: none;
    padding: 0;
}

.features-box li {
    position: relative;
    padding-left: 30px;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-color);
    text-align: left;
    font-family: var(--font-family);
}

.features-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--feature-checkmark-bg);
}

.features-box li::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translate(1px, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
}

.features-box li img {
    display: none;
}

/* Next Steps */
.next-steps {
    text-align: left;
    margin-top: 2rem;
	margin-left: auto;
	margin-right: auto;
}

.next-steps h3 {
    margin-bottom: 1rem;
}

.next-steps p {
    padding-bottom: 1rem;
}

.next-steps p:last-child {
    padding-bottom: 0;
}

.next-steps ul {
    padding-left: 40px;
}

/* Buttons - Enhanced for Accessibility */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    width: auto;
    min-width: 200px;
    transition: all 0.2s ease;
    font-family: var(--font-family);
    text-decoration: none;
    position: relative;
}

.btn:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
    box-shadow: 0 0 0 3px rgba(0, 115, 229, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid;
    }
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 229, 0.3);
}

.btn-primary svg {
    margin-left: 10px;
    width: 20px;
    height: 20px;
}

.btn-secondary {
    background: white;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Intro Step */
#step-intro {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#step-intro h1 {
    margin-top: 2rem;
}

#step-intro .btn-primary {
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    width: auto;
    min-width: 240px;
}

.btn-primary span {
    display: inline-flex;
    align-items: center;
}

/* Selection Grids - Enhanced for Accessibility */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.selection-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    min-height: 80px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-family);
    transition: all 0.2s ease;
}

.selection-item:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
    box-shadow: 0 0 0 3px rgba(0, 115, 229, 0.2);
}

.selection-item:hover {
    border-color: var(--primary-color);
    background-color: var(--light-blue-bg);
}

/* ARIA states for custom checkboxes */
.selection-item[aria-checked="true"] {
    background-color: var(--light-blue-bg);
    border-color: var(--primary-color);
}

/* Cloud Providers Specific */
.cloud-providers .selection-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-bottom: 1.5rem;
}

.cloud-providers .selection-item {
    border-radius: 12px;
    background-color: #fff;
    border: 2px solid var(--border-color);
    padding: 1.2rem 0.5rem;
}

.cloud-providers .selection-item.active,
.cloud-providers .selection-item[aria-checked="true"] {
    background-color: #EBF3FF;
    border-color: var(--primary-color);
}

.cloud-providers .selection-item.active .checkmark,
.cloud-providers .selection-item[aria-checked="true"] .checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
}

.cloud-providers .selection-item.active .checkmark::after,
.cloud-providers .selection-item[aria-checked="true"] .checkmark::after {
    content: '';
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-1px, -2px) rotate(45deg);
}

/* Radio Buttons - Enhanced for Accessibility */
.selection-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

#step-2 .selection-list[data-question="has_tool"] {
    margin: 2rem auto;
    max-width: 300px;
}

#step-2 .selection-list[data-question="has_tool"] .radio-item {
    text-align: center;
    justify-content: center;
    font-size: 16px;
    padding: 1rem 1.5rem;
    width: 100%;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-family);
    transition: all 0.2s ease;
    width: 100%;
}

.radio-item:hover {
    border-color: var(--primary-color);
    background-color: var(--light-blue-bg);
}

.radio-item:focus-within {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
    box-shadow: 0 0 0 3px rgba(0, 115, 229, 0.2);
}

.radio-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    margin-right: 15px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.radio-item input[type="radio"]:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

.radio-item input[type="radio"]:checked {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-item input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

.radio-item input[type="radio"]:checked + span,
.radio-item:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: var(--light-blue-bg);
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* Contact Form Step */
#contact-form {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding-right: 0;
    box-sizing: border-box;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 0;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    font-family: var(--font-family);
    text-align: left;
    padding-left: 0.3rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    padding: 1.1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-family);
    background-color: #f9fafb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 229, 0.1);
}

/* Error states for form validation */
.form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc2626;
}

.form-group input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #16a34a;
}

/* See More Button - Enhanced for Accessibility */
.see-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    height: 48px;
    width: auto;
    min-width: 180px;
}

.see-more-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--light-blue-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
}

.see-more-btn:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
    box-shadow: 0 0 0 3px rgba(0, 115, 229, 0.2);
}

.see-more-btn svg {
    margin-left: 6px;
    width: 16px;
    height: 16px;
}

.see-more-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.see-more-btn .dropdown-arrow {
    transition: transform 0.2s ease;
}

.see-more-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

/* Additional Providers */
.additional-providers-wrapper {
    position: relative;
    margin: 1.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.additional-providers-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 250px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 100;
    padding: 12px;
    margin-bottom: 8px;
    display: none;
    border: 2px solid var(--border-color);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.additional-providers-dropdown.show,
.additional-providers-dropdown[aria-hidden="false"] {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.additional-provider-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    margin-bottom: 4px;
}

.additional-provider-option:hover {
    background-color: var(--light-blue-bg);
}

.additional-provider-option.selected {
    background-color: var(--light-blue-bg);
}

.additional-provider-option input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.additional-provider-option input[type="checkbox"]:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

.additional-provider-option label {
    cursor: pointer;
    font-size: 14px;
    flex-grow: 1;
    color: var(--text-color);
}

/* Thank You Page */
#qualified-content,
#non-qualified-content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.redirect-notice {
    font-style: italic;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    margin-top: auto;
    width: 100%;
    position: relative;
    flex-shrink: 0;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-links a:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
    background-color: var(--light-blue-bg);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn,
    .selection-item,
    .radio-item,
    .form-group input {
        border-width: 3px;
    }
    
    .step-node {
        border: 2px solid;
    }
}

/* Dark Mode Support
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f8f9fa;
        --text-light: #9ca3af;
        --background-color: #1f2937;
        --white: #374151;
        --border-color: #4b5563;
        --feature-box-bg: #374151;
        --light-blue-bg: #1e3a8a;
    }
    
    body {
        background-color: var(--background-color);
        color: var(--text-color);
    }
    
    header {
        background-color: var(--background-color);
    }
    
    .assessment-card {
        background-color: var(--white);
    }
} */

/* Mobile Styles */
@media (max-width: 768px) {
    html, body {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    body {
        padding-top: 56px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    /* When progress indicator is visible, body needs more top padding */
    body.has-progress {
        padding-top: 120px;
    }
	
    header {
        height: 56px;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    .logo {
        height: 28px;
    }
    
    .container {
        min-height: 0;
        width: 100%;
        max-width: 100%;
        padding: 1rem 0.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        overflow-x: hidden;
        box-sizing: border-box;
        justify-content: flex-start;
        flex: 1;
    }
    
    /* Additional top spacing when progress indicator is visible */
    .container.with-progress {
        padding-top: 2rem;
    }
    
    .assessment-card {
        width: 100%;
        max-width: 100%;
        background: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
    }
    
    .step.active {
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Special handling for intro step which doesn't show progress indicator */
    #step-intro.active {
        padding-top: 1rem;
    }
    
    .progress-indicator {
        background-color: #FFF;
        position: fixed;
        width: 100%;
        max-width: 100vw !important;
        padding: 15px 1rem;
        box-sizing: border-box;
        left: 0;
        right: 0;
    }
    
    #step-4 .progress-indicator {
        position: relative;
        top: 0;
        margin: 0 0 2rem 0;
        padding-top: 0;
    }
    
    #step-4.active {
        padding-top: 0;
    }
    
    h1, h2 {
        font-size: 28px;
        margin-bottom: 0.75rem;
    }
    
    .subtitle {
        font-size: 17px;
        margin-bottom: 1rem;
    }
    
    .features-box {
        max-width: 95%;
        width: 100%;
        border-radius: 18px;
        padding: 1.25rem 1rem;
        margin-bottom: 2rem;
        box-sizing: border-box;
    }
    
    .features-box li {
        font-size: 16px;
        margin-bottom: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 240px;
        height: 56px;
        font-size: 18px;
        margin: 0.75rem auto 0 auto;
    }
    
    .navigation-buttons {
        width: 90%;
        max-width: 400px;
        margin: 1.5rem auto 1rem auto;
        gap: 0;
    }
    
    .see-more-btn {
        width: 100%;
        max-width: 240px;
        height: 56px;
        margin: 0.75rem auto 0 auto;
    }
    
    .selection-grid {
        width: 100%;
        gap: 0.75rem;
    }
    
    .selection-item {
        min-height: 72px;
    }
    
    .cloud-providers .selection-grid {
        width: 90%;
        margin: 0 auto 1.5rem auto;
        gap: 0.8rem;
        box-sizing: border-box;
    }
    
    .cloud-providers .selection-item {
        min-height: 80px;
    }
    
    .cloud-providers .selection-item img {
        max-height: 35px;
        max-width: 75%;
    }
    
    .cloud-providers .selection-item.active .checkmark,
    .cloud-providers .selection-item[aria-checked="true"] .checkmark {
        width: 22px;
        height: 22px;
    }
    
    .radio-item {
        width: 100%;
        max-width: 300px;
        min-height: 56px;
        border-radius: 16px;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .radio-item:last-child {
        margin-bottom: 0;
    }
    
    #step-2 .selection-list[data-question="has_tool"] .radio-item {
        padding: 1.2rem 1rem;
    }
    
    .form-grid {
        gap: 1rem;
    }
    
    .form-group input {
        padding: 1.1rem 1rem;
        font-size: 16px;
    }
    
    #contact-form {
        margin-top: 15px;
    }
    
    #step-4 {
        padding: 0 1.2rem;
    }
    
    #step-4 .navigation-buttons {
        margin-top: 1rem;
    }
    
    /* Override container padding for intro step since no progress indicator */
    #step-intro.active .container {
        padding-top: 1rem;
    }
    
    #step-intro .btn.btn-primary {
        width: 80%;
        max-width: 300px;
    }
    
    .additional-providers-dropdown {
        width: 90%;
        max-width: 300px;
        box-sizing: border-box;
    }
	
	.footer {
        padding: 1rem;
        margin-top: 2rem;
        position: relative;
        flex-shrink: 0;
    }
    
    .footer-links {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .footer-links a {
        font-size: 13px;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    header {
        position: static;
        height: 64px;
        padding: 2rem 1.5rem 0.5rem 1.5rem;
        background: transparent;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .container {
        padding: 1rem;
        justify-content: flex-start;
        padding-top: 2rem;
        padding-bottom: 2rem;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .assessment-card {
        max-width: 550px;
        padding: 32px 20px;
        border-radius: 18px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.10);
        border: 1px solid var(--primary-color);
    }
    
    .step.active {
        padding: 0;
        width: 100%;
    }
    
    .progress-indicator {
        position: static;
        margin: 1.5rem auto;
        max-width: 420px;
        padding: 0 1rem;
    }
    
    h1, h2 {
        font-size: 26px;
        margin-bottom: 1.1rem;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 18px;
        margin-bottom: 1rem;
        padding: 0 10px;
    }
    
    .features-box {
        max-width: 90%;
        padding: 1.5rem 1.2rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }
    
    .features-box li {
        font-size: 16px;
        margin-bottom: 0.8rem;
        padding-left: 36px;
    }
    
    .selection-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .selection-item {
        min-height: 70px;
        border-radius: 12px;
        padding: 0.8rem 0.5rem;
        max-width: 160px;
    }
    
    .selection-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    
    .cloud-providers .selection-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        width: 85%;
        margin: 0 auto 2rem auto;
    }
    
    .cloud-providers .selection-item {
        min-height: 85px;
    }
    
    .cloud-providers .selection-item img {
        max-height: 45px;
        max-width: 85%;
    }
    
    .radio-item {
        min-height: 44px;
        border-radius: 12px;
        padding: 0.7rem 1.2rem;
        justify-content: center;
        max-width: none;
        width: auto;
    }
    
    .form-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group input {
        font-size: 15px;
        padding: 0.7rem;
        border-radius: 10px;
    }
    
    .btn {
        min-width: 180px;
        font-size: 16px;
        padding: 0.9rem 0;
    }
    
    .btn-primary {
        font-size: 1.1rem;
        box-shadow: 0 2px 8px rgba(0,102,255,0.08);
    }
    
    .navigation-buttons {
        flex-direction: row;
        gap: 1.2rem;
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    #step-intro {
        padding: 1.5rem 1.2rem;
    }
    
    #step-intro .btn.btn-primary {
        margin: 1.2rem auto 0 auto;
        min-width: 180px;
    }
    
    #step-4 .subtitle {
        margin-bottom: 1rem;
    }
    
    #step-4 .navigation-buttons {
        margin-top: 1rem;
    }
    
    .see-more-btn {
        min-width: 140px;
        padding: 10px 16px;
    }
    
    .additional-providers-dropdown {
        width: 220px;
    }
    
    .step-node {
        width: 32px;
        height: 32px;
    }
    
    .step-line {
        margin: 0 0.75rem;
        height: 2.5px;
    }
    
    .next-steps {
        margin-top: 1.5rem;
        padding-left: 0;
        max-width: 90%;
        text-align: left;
    }
    
    .next-steps li {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 0.8rem;
        text-align: left;
    }
    
    #contact-form {
        max-height: none;
        overflow: visible;
        margin-top: 15px;
        padding-right: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    #contact-form::-webkit-scrollbar {
        width: 8px;
    }
    
    #contact-form::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    #contact-form::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }
    
    #contact-form::-webkit-scrollbar-thumb:hover {
        background: #aaa;
    }
    
    #step-thanks .features-box {
        margin-bottom: 1rem;
        padding: 1.2rem 1.2rem;
        max-width: 80%;
    }
    
    #step-thanks .btn-primary {
        margin: 1rem auto 0 auto;
        min-width: 180px;
    }
	
	.footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .footer-links {
        gap: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .skip-link,
    .progress-indicator,
    .navigation-buttons,
    .see-more-btn,
    .additional-providers-dropdown {
        display: none !important;
    }
    
    .step {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .assessment-card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .btn {
        border: 1px solid #000;
        background: white !important;
        color: black !important;
    }
}