:root {
    --primary-color: #0066FF;
    --secondary-color: #e9ecef;
    --text-color: #1B1B1B;
    --text-light: #6c757d;
    --border-color: #E5E7EB;
    --white: #fff;
    --light-blue-bg: #f0f6ff; /* Background for feature boxes */
    --checkmark-color: #0d6efd;
    --border-radius: 12px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --subtitle-color: #666666;
    --background-color: #F9FAFB;
    --feature-box-bg: #F8FAFF;
    --feature-checkmark-bg: rgba(0, 102, 255, 0.1);
    --font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

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;
}

header {
    padding: 2rem 1.5rem;
    width: 100vw;
    z-index: 20;
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
}

.logo {
    height: 32px;
    width: auto;
}

.container {
    height: calc(100vh - 64px); /* Center below header (desktop) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.assessment-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Steps Visibility */
.step {
    display: none;
    padding: 0 1rem;
    box-sizing: border-box;
    max-width: 100%;
}

.step.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 auto;
    min-height: 0;
    height: 100%;
    width: 100vw;
    max-width: 100vw;
    padding: 0 0.5rem;
    padding-top: 60px; /* Add space for fixed progress indicator */
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    top: 72px; /* Position right below header */
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: transparent; /* Make background transparent instead of white */
    padding: 15px 5%; /* Add horizontal padding to match content */
    margin: 0;
    box-shadow: none; /* Remove shadow for no elevation appearance */
    display: flex;
    align-items: center;
    justify-content: center;
}

.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;
}

.step-node.active {
    background: var(--primary-color);
    color: white;
}

.step-node.completed {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: transparent; /* Hide the number */
    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);
}

/* Headings and Subtitles */
h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-family: var(--font-family);
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-word;
    word-break: break-word;
    hyphens: auto;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-color);
    font-family: var(--font-family);
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--subtitle-color);
    margin-bottom: 3rem;
    line-height: 1.4;
    font-family: var(--font-family);
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Feature Box (Intro & Thanks) */
.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;
}

/* Remove the old image styles */
.features-box li img {
    display: none;
}

/* Next Steps Box (Thanks) */
.next-steps {
    text-align: left;
    margin-top: 2rem;
    padding-left: 20px; /* Indent slightly */
}

.next-steps h3 {
    margin-bottom: 1rem;
}

/* Basic Button Styles */
.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: background-color 0.2s;
    font-family: var(--font-family);
}

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

.btn-primary::after {
    content: none;
}

.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);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
}

.btn-text img {
    margin-left: 5px;
    width: 12px;
    height: 12px;
}

.navigation-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Selection Grid (Cloud Providers) */
.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: 1px 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);
}

/* Special styles for cloud providers grid */
.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: 1px solid var(--border-color);
    padding: 1.2rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.cloud-providers .selection-item.active {
    background-color: #EBF3FF;
    border-color: var(--primary-color);
}

/* Cloud provider active checkmark */
.cloud-providers .selection-item.active .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 {
    content: '';
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-1px, -2px) rotate(45deg);
}

/* Mobile layout adjustments for cloud providers */
@media only screen and (max-width: 768px) {
    .cloud-providers .selection-grid {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .cloud-providers .selection-item {
        min-height: 80px;
        border-radius: 12px;
        
        background-color: white;
     
    }
    
    .cloud-providers .selection-item.active {
        background-color: #EBF3FF;
        border-color: var(--primary-color);
    }
    
    .cloud-providers .selection-item img {
        max-height: 35px;
        max-width: 75%;
    }
    
    .cloud-providers .selection-item.active .checkmark {
        display: flex !important;
        top: 10px;
        right: 10px;
        width: 22px;
        height: 22px;
    }
}

/* Desktop layout for cloud providers */
@media only screen and (min-width: 769px) {
    .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;
        border-radius: 12px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .cloud-providers .selection-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    
    .cloud-providers .selection-item img {
        max-height: 45px;
        max-width: 85%;
    }
}

/* Selection List (Radio Buttons) */
.selection-list {
    display: flex;
    flex-direction: column; /* Stack radios vertically by default */
    gap: 15px;
    align-items: center; /* Center align items */
    max-width: 400px;
    margin: 0 auto;
}

/* Specific style for the has_tool question (Yes/No) on step 2 */
#step-2 .selection-list[data-question="has_tool"] {
    margin: 2rem auto 2rem auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    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: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-family);
}

.radio-item:hover {
    border-color: var(--primary-color);
}

/* Hide default radio button */
.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; /* Prevent shrinking */
}

/* Checked state */
.radio-item input[type="radio"]:checked {
    border-color: var(--primary-color);
    background: var(--primary-color);
    position: relative;
}

/* Create a simple dot instead of a checkmark for the radio buttons */
.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%;
}

/* Style the parent label when checked */
.radio-item input[type="radio"]:checked + label,
.radio-item:has(input[type="radio"]:checked) { /* More robust selector */
    border-color: var(--primary-color);
    background-color: var(--light-blue-bg);
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* Form Styles (Step 4) */
#contact-form {
    margin-top: 20px;
    width: 100%;
    overflow-y: visible;
    padding-right: 0;
}

.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: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-family);
    background-color: #f9fafb;
}

/* Fix for contact page specifically */
#step-4 h2 {
    font-size: 32px;
    margin-bottom: 1rem;
}

#step-4 .subtitle {
    margin-bottom: 2.5rem;
    color: #666;
    font-size: 18px;
}

#step-4 .navigation-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 3rem;
}

#step-4 .btn-secondary {
    background-color: white;
    border: 1px solid var(--border-color);
}

#step-4 .btn-primary {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    html, body {
        height: 100%;
        min-height: 100vh;
        max-width: 90%;
    }
    body {
        background-color: white;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        height: 100vh;
        padding-top: 56px; /* Add padding to account for fixed header */
    }
    .container {
        height: auto; /* Remove fixed height */
        min-height: calc(100vh - 56px);
        width: 100vw;
        max-width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Start from top, not center */
        align-items: center;
        padding: 0 0.5rem;
        padding-top: 60px; /* Space for progress indicator */
    }
    .assessment-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100vw;
        max-width: 100vw;
        text-align: center;
        background: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        min-height: 0;
    }
    .step.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex: 1 0 auto;
        min-height: 0;
        height: 100%;
        width: 100vw;
        max-width: 100vw;
        padding: 0 0.5rem;
        padding-top: 60px; /* Add space for fixed progress indicator */
    }
    header {
        width: 100vw;
        z-index: 20; /* Higher z-index than progress indicator */
        padding-top: 1rem;
        padding-bottom: 1rem;
        position: fixed; /* Fix the header as well */
        top: 0;
        left: 0;
        background-color: white;
    }

    .logo {
        height: 28px;
    }

    .step {
        display: none;
        width: 100vw;
        max-width: 100vw;
    }

    /* Progress indicator fixed on all screens except contact page */
    .progress-indicator {
        position: fixed;
        top: 72px; /* Position right below header */
        left: 0;
        width: 100%;
        z-index: 10;
        background-color: transparent; 
        padding: 15px 5%; 
        margin: 0;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* On contact page, make progress indicator scroll with content */
    #step-4 .progress-indicator {
        position: relative;
        top: 0;
        margin: 0 0 2rem 0;
        padding-top: 0;
    }
    
    /* Remove extra top padding from contact page since progress indicator is not fixed */
    #step-4.active {
        padding-top: 0;
    }

    h2 {
        font-size: 28px;
        margin-bottom: 0.75rem;
        text-align: center;
        font-weight: 700;
    }

    .subtitle {
        font-size: 17px;
        margin-bottom: 1rem;
        text-align: center;
    }

    .features-box, .next-steps {
        margin: 0 auto 2rem auto;
        max-width: 95vw;
        width: 100%;
        border-radius: 18px;
        padding: 1.25rem 1rem;
        text-align: left;
    }
    .features-box ul, .next-steps ul {
        padding-left: 0;
    }
    .features-box li, .next-steps li {
        font-size: 16px;
        gap: 0.75rem;
        margin-bottom: 1rem;
        align-items: center;
        position: relative;
    }
    .features-box li:last-child, .next-steps li:last-child {
        margin-bottom: 0;
    }
    .features-box li::before, .next-steps li::before {
        width: 22px;
        height: 22px;
    }
    .features-box li::after, .next-steps li::after {
        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;
    }

    .btn, .btn-primary, .btn-secondary {
        display: block;
        margin: 0.75rem auto 0 auto;
        width: 100%;
        max-width: 240px;
        height: 56px;
        font-size: 18px;
        border-radius: 100px;
        padding: 0;
    }
    
    /* Make all form buttons consistent size */
    #step-4 .btn, #step-4 .btn-primary, #step-4 .btn-secondary,
    .btn-text, .see-more-btn {
        width: 100%;
        max-width: 240px;
        height: 56px;
    }
    
    /* Ensure back and continue buttons are same size */
    #step-4 .navigation-buttons .btn {
        width: 100%;
        max-width: 240px;
        height: 56px;
    }
    
    /* Make cloud provider buttons consistent size */
    #step-2 .cloud-providers .selection-grid .selection-item {
        min-height: 72px;
        max-height: 72px;
        width: 100%; 
    }
    
    /* Ensure consistent size for radio items */
    .radio-item {
        width: 100%;
        max-width: 240px;
        min-height: 56px;
        max-height: 56px;
        border-radius: 16px;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Fix intro button */
    #step-intro .btn.btn-primary {
        width: 100%;
        max-width: 240px;
        height: 56px;
    }
    
    /* Ensure see more button matches others */
    .see-more-btn {
        width: 100%;
        max-width: 240px;
        height: 56px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0.75rem auto 0 auto;
    }
    
    .navigation-buttons {
        width: 90%;
        max-width: 400px;
        margin: 2rem auto 0 auto;
        display: flex;
        flex-direction: column;
        gap: 0rem;
    }
    .btn-text {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        margin: 1.5rem 0 0.5rem 0;
    }
    .btn-text img {
        width: 16px;
        height: 16px;
        margin-left: 8px;
    }
    .selection-grid, .selection-list, .form-grid {
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
    }
    .selection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .selection-item {
        min-height: 72px;
        font-size: 16px;
    }
    .radio-item {
        font-size: 16px;
        min-height: 56px;
        border-radius: 16px;
        margin-bottom: 1rem;
    }
    .radio-item:last-child {
        margin-bottom: 0;
    }
    .form-group label {
        font-size: 16px;
        margin-bottom: 0.5rem;
    }
    .form-group input {
        padding: 1.1rem 1rem;
        font-size: 16px;
        border-radius: 12px;
    }
    #contact-form {
        max-height: none;
        overflow-y: visible;
        margin-top: 15px;
        width: 100%;
    }
    #step-intro.active {
        padding: 1rem 0.5rem;
    }
    #step-intro .btn.btn-primary {
        width: 80%;
        max-width: 300px;
    }
    .features-box {
        max-width: 100%;
        padding: 1.5rem;
    }
    #step-2 .selection-list[data-question="has_tool"] .radio-item {
        padding: 1.2rem 1rem;
    }
    .form-grid {
        gap: 1rem;
    }
    .form-group {
        margin-bottom: 0;
    }
    #step-4 .navigation-buttons {
        margin-top: 1rem;
    }
    #contact-form::-webkit-scrollbar {
        width: 5px;
    }
    #contact-form::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 5px;
    }
    
    /* MOBILE ONLY - Cloud providers grid with margins */
    #step-2 .cloud-providers .selection-grid {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Contact form specific overrides */
    #step-4 {
        padding: 0 1.2rem;
    }
    
    #step-4.step.active {
        padding-top: 0;
    }
    
    #step-4 .container {
        padding-top: 0;
    }
}

/* Responsive adjustments will be added later */ 

/* Fix intro styles */
#step-intro {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#step-intro h2 {
    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;
}

/* SVG arrow styling */
.btn-primary svg {
    margin-left: 10px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Ensure button content is centered with arrow */
.btn-primary span {
    display: inline-flex;
    align-items: center;
}

/* See more button */
.see-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: white;
    border: 1px 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 svg {
    margin-left: 6px;
    width: 16px;
    height: 16px;
}

.see-more-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.additional-providers-wrapper {
    position: relative;
    margin: 1.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.additional-providers-dropdown {
    position: absolute;
    bottom: 100%; /* Open upwards */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Start slightly below, animate up */
    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; /* Space from button */
    display: none;
    border: 1px solid var(--border-color);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.additional-providers-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Add rotation to the dropdown arrow */
.see-more-btn .dropdown-arrow {
    transition: transform 0.2s ease;
}

.see-more-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.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 label {
    cursor: pointer;
    font-size: 14px;
    flex-grow: 1;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .additional-providers-dropdown {
        width: 90%;
        max-width: 300px;
    }
    
    .see-more-btn {
        width: 80%;
        max-width: 250px;
    }
} 

.selection-list,
.selection-grid,
.form-grid,
.navigation-buttons {
    margin-top: 0;
    margin-bottom: 0;
}


@media (min-width: 769px) {
  html, body {
    height: 100%;
    min-height: 100vh;
    overflow: auto;
  }
  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: auto;
  }
  header {
    flex-shrink: 0;
    padding: 2rem 1.5rem 0.5rem 1.5rem;
    height: 64px;
    min-height: 64px;
    max-height: 64px;
    display: flex;
    align-items: center;
    background: transparent;
  }
  .container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: calc(100vh - 64px);
    padding: 1rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: visible;
    box-sizing: border-box;
  }
  .assessment-card {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    padding: 32px 20px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    max-height: none;
    overflow: visible;
    border: 1px solid var(--primary-color);
    box-sizing: border-box;
  }
  .step.active {
    padding: 0;
    width: 100%;
  }
  .progress-indicator {
    margin: 1.5rem auto 1.5rem auto;
    max-width: 420px;
    justify-content: center;
    flex-shrink: 0;
    position: static; /* Ensure it's not fixed on desktop */
    padding: 0 1rem;
    background-color: transparent;
  }
  h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1.1rem;
    color: var(--text-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0;
    line-height: 1.2;
  }
  .subtitle {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--subtitle-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }
  .features-box {
    max-width: 90%;
    padding: 1.5rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 18px;
    background: var(--feature-box-bg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }
  .features-box ul {
    padding-left: 0;
  }
  .features-box li {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0.8rem;
    padding-left: 36px;
    text-align: left;
  }
  .selection-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    margin-bottom: 1.2rem;
    justify-items: center;
  }
  .selection-item {
    min-height: 70px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    padding: 0.8rem 0.5rem;
    width: 100%;
    max-width: 160px;
    transition: box-shadow 0.2s;
  }
  .selection-item.active {
    box-shadow: 0 0 0 2px var(--primary-color);
    background: #F8FAFF;
  }
  .selection-list {
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
  }
  .radio-item {
    font-size: 16px;
    font-weight: 500;
    min-height: 44px;
    border-radius: 12px;
    padding: 0.7rem 1.2rem;
    margin-bottom: 0;
    justify-content: center;
  }
  .form-grid {
    flex-direction: row;
    gap: 1.2rem;
  }
  .form-group {
    flex: 1;
  }
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"] {
    font-size: 16px;
    font-weight: 400;
    padding: 0.8rem 0.7rem;
    border-radius: 10px;
  }
  .btn, .btn-primary, .btn-secondary {
    min-width: 180px;
    font-size: 16px;
    font-weight: 600;
    padding: 0.9rem 0;
    border-radius: 100px;
    margin: 0 auto;
    display: block;
  }
  .btn-primary {
    font-size: 1.1rem;
    font-weight: 600;
    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;
    width: 100%;
  }
  .next-steps {
    margin-top: 1.5rem;
    padding-left: 0;
    max-width: 90%;
    text-align: left;
  }
  .next-steps ul {
    padding-left: 0;
  }
  .next-steps li {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0.8rem;
    padding-left: 36px;
    text-align: left;
  }
  #contact-form {
    max-height: none;
    overflow-y: visible;
    margin-top: 15px;
    padding-right: 10px;
  }
  #step-intro {
    padding: 1.5rem 1.2rem;
  }
  #step-intro .btn.btn-primary {
    margin: 1.2rem auto 0 auto;
    min-width: 180px;
  }
  .see-more-btn {
    min-width: 140px;
    font-size: 1rem;
    padding: 10px 16px;
    border-radius: 12px;
  }
  .additional-providers-dropdown {
    width: 220px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .additional-provider-option {
    font-size: 1rem;
    border-radius: 8px;
    padding: 8px 10px;
  }
  .progress-indicator {
    max-width: 420px;
    margin-bottom: 1.5rem;
  }
  .step-node {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .step-line {
    margin: 0 0.75rem;
    height: 2.5px;
  }
  #step-thankyou .features-box {
    margin-bottom: 1rem;
    padding: 1.2rem 1.2rem;
    max-width: 80%;
  }
  #step-thankyou .btn-primary {
    margin: 1rem auto 0 auto;
    min-width: 180px;
  }
  /* Contact form specific styles for desktop */
  #step-4 .subtitle {
    margin-bottom: 1rem;
  }
  
  .form-grid {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-group {
    margin-bottom: 0;
  }
  
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"] {
    font-size: 15px;
    padding: 0.7rem 0.7rem;
    border-radius: 10px;
  }
  
  /* Add some spacing before buttons on the contact page */
  #step-4 .navigation-buttons {
    margin-top: 1rem;
  }
  
  /* Add scrollbar styling for better visibility */
  #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;
  }
} 

/* For all screen sizes */
h2, .subtitle, p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
} 

/* Special handling for longer headings */
h2 {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.assessment-card * {
  max-width: 100%;
  box-sizing: border-box;
} 

/* Additional specific fix for long questions in cards */
.assessment-card h2 {
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  white-space: normal;
} 

/* Special handling for cloud providers on mobile */
@media only screen and (max-width: 768px) {
    .cloud-providers .selection-grid {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
} 