body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
    margin: 0;
    height: 100vh;
}

.wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    height: 100%;
}

.mobileVersion{
    display: none !important;
}

.form-card {
    border-radius: 16px;
    /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); */
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Spectral', serif;
}

h4 {
    font-weight: 700;
    color: #2e2e2e;
    margin-bottom: 25px;
}

.option-btn {
    border: 2px solid #4CAF50;
    border-radius: 40px;
    padding: 12px;
    cursor: pointer;
    background-color: white;
    color: #4CAF50;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
    font-size: 14px;
}

.option-btn:hover {
    background-color: #4CAF50;
    color: white;
    transform: translateY(-1px);
}

.option-btn.selected {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    background-color: white;
    padding: 12px 8px;
    position: sticky;
    left: 0px;
    bottom: 0px;
}

.btn-custom {
    border-radius: 40px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.btn-next {
    background-color: #4CAF50;
    color: white;
    border: none;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3);
}

.btn-next:hover {
    background-color: #43a047;
    transform: translateY(-1px);
}

.btn-prev {
    background-color: #e9ecef;
    color: #333;
    border: none;
}

.btn-prev:hover {
    background-color: #dee2e6;
}

select.form-select {
    border-radius: 1000px;
    height: 46px;
    border: 1px solid #ccc;
    font-size: 14px;
}

input.form-control {
    font-size: 14px;
    border-radius: 1000px;
}

input.form-control:focus,
select.form-select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.15rem rgba(76, 175, 80, 0.25);
}

input.form-control.error {
    border-color: #dc3545;
}

input.form-control.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.multiselect-option:hover {
    background-color: #f8f9fa;
}

.custom-multiselect .multiselect-display.active {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 0.15rem rgba(76, 175, 80, 0.25);
}

.error-message.show {
    display: block;
}

/* ? Animation Styles */
.form-section {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    padding: 20px;
    /* background: #fff; */
}

.form-section.active {
    opacity: 1;
    transform: translateX(-50%);
    pointer-events: all;
    z-index: 2;
}

.form-section.slide-out-left {
    transform: translateX(-150%);
    opacity: 0;
}

.form-section.slide-out-right {
    transform: translateX(50%);
    opacity: 0;
}


.banner-img {
    object-fit: contain;
    margin-bottom: 16px;
}

#sustainabilityOptions
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    overflow: visible;
}

#screen1 {
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

#screen1 .w-100 {
    max-width: 100%;
}

#screen2, #screen2-2, #screen3 {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    padding: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
}

#screen2-3, #screen3-2, #screen3-4, #screen3-6{
    max-width: 600px;
    width: 100%;
    padding: 40px 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

#screen3-3, #screen3-5{
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
}

/* Screen 2 Specific Styles */
.screen2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.btn-go-back {
    background: transparent;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    padding: 8px 0;
}

.btn-go-back svg {
    flex-shrink: 0;
}

.btn-go-back:hover {
    color: #333;
}

.btn-close-screen {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.btn-close-screen:hover {
    color: #333;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #83B785;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.screen2-title {
    font-family: 'Spectral', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.screen2-subtitle {
    font-size: 16px;
    color: #6b6b6b;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.sustainability-heading {
    font-family: 'Spectral', serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 16px 0 10px 0;
}

.sustainability-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.sustainability-card {
    flex: 1;
    min-width: 100px;
    padding: 12px 10px;
    border: 1px solid #002B2F29;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    max-width: 140px;
}

.sustainability-card:hover {
    border: none;
    background: #83B785;
    position: relative;
}

.sustainability-card:hover::after {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #83B785;
    border: 2px solid #f3f8f3;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.sustainability-card:hover svg path {
    fill: #002B2F;
}

.sustainability-card:hover svg path[fill="white"] {
    fill: white;
}

.sustainability-card:hover span {
    color: #002B2F;
}

.sustainability-card.selected {
    border-color: #83B785;
    background: #83B785;
    position: relative;
}

.sustainability-card.selected::after {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #83B785;
    border: 2px solid #f3f8f3;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.sustainability-card.selected svg path {
    fill: #002B2F;
}

.sustainability-card.selected svg path[fill="white"] {
    fill: white;
}

.sustainability-card.selected span {
    color: #002B2F;
}

.sustainability-card svg {
    width: 32px;
    height: 36px;
    object-fit: contain;
}

.sustainability-card svg path {
    transition: fill 0.3s ease;
}

.sustainability-card span {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    color: #466D50;
    transition: color 0.3s ease;
}

.btn-continue {
    width: 100%;
    background: #002B2F;
    color: white;
    border: none;
    border-radius: 1000px;
    padding: 10px 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 43, 47, 0.25);
    max-width: 360px;
    margin: 10px auto;
    display: block;
}

.btn-continue:hover:not(:disabled) {
    background: #003a40;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 43, 47, 0.35);
}

.btn-continue:disabled {
    background: #92a6a5;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
}
#getFreeSamplesBtn, #submitShippingBtn, #submitNoSampleBtn, #submitSkipBtn{
    max-width: 360px;
    margin: auto;
    display: block;
    margin-bottom: 16px;
}
.screen2-skip {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.screen2-skip a {
    text-decoration: none;
    color: #002B2F;
    font-weight: 600;
    font-size: 14px;
}

.screen2-skip a:hover {
    text-decoration: underline;
}

.screen2-skip svg {
    width: 40px;
    height: 40px;
}

#screen4, #screen5, #screen5-alt, #screen5-skip, #screen6, #screen7 {
    max-width: 1000px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #F3F8F3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    max-height: calc(95vh - 40px);
    scroll-behavior: smooth;
}

#screen4::-webkit-scrollbar, #screen5::-webkit-scrollbar {
    width: 8px;
}

#screen4::-webkit-scrollbar-track, #screen5::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}

#screen4::-webkit-scrollbar-thumb, #screen5::-webkit-scrollbar-thumb {
    background: #83B785;
    border-radius: 4px;
}

#screen4::-webkit-scrollbar-thumb:hover, #screen5::-webkit-scrollbar-thumb:hover {
    background: #6a9c6c;
}

#screen4 .w-100, #screen5 .w-100 {
    flex-shrink: 0;
}

/* Update the base slider style to use a custom property for the fill */
.slider {
    /* ... existing styles ... */
    background: #e0e0e0;
    /* Add a custom property to store the fill percentage */
    --range-fill-percent: 50%;
    /* Default value, will be updated by JS */
    /* This creates a gradient effect that fills the track up to the thumb */
    background: linear-gradient(to right, #466C50 0%, #466C50 var(--range-fill-percent), #e0e0e0 var(--range-fill-percent), #e0e0e0 100%);
}

/* Hide the default track for browsers that allow custom thumb styling */
.slider::-webkit-slider-runnable-track {
    background: transparent;
    /* Or remove this for simplicity if using the linear-gradient hack above */
}

.slider::-moz-range-track {
    background: transparent;
    /* Or remove this for simplicity if using the linear-gradient hack above */
}

/* Ensure the thumb is on top and styled nicely */
.slider::-webkit-slider-thumb {
    /* ... existing styles ... */
    z-index: 2;
    /* Ensure the thumb is visually on top of the gradient */
}

/* For Firefox, the default track shows up; we need a special trick */
.slider::-moz-range-progress {
    background-color: #4CAF50;
    height: 8px;
    /* Match the slider height */
    border-radius: 6px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 23px;
    height: 23px;
    margin-top: -9px;
    cursor: pointer;
    background-image: url('https://cdn11.bigcommerce.com/s-gg9ywsg1bi/images/stencil/original/image-manager/frame-13567.png');
    background-size: 23px 23px;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    box-shadow: none;
    z-index: 2;
}

.slider::-moz-range-thumb {
    width: 23px;
    height: 23px;
    cursor: pointer;
    background-image: url('https://cdn11.bigcommerce.com/s-gg9ywsg1bi/images/stencil/original/image-manager/frame-13567.png');
    background-size: 23px 23px;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    box-shadow: none;
}

.modal-header {
    background-color: #4CAF50 !important;
}

.form-range {
    height: 0.3rem !important;
}

/* Circular checkbox styling */
.recommendation-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: none;
    margin: 5px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.recommendation-checkbox:hover,
.recommendation-card:hover .recommendation-checkbox {
    border-color: #002B2F;
    background: #002B2F;
}

.recommendation-checkbox:hover::after,
.recommendation-card:hover .recommendation-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 11px;
    background-image: url('data:image/svg+xml;utf8,<svg width="15" height="11" viewBox="0 0 15 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 6.22173L4.34708 9.58209C4.49943 9.73504 4.74786 9.7324 4.89692 9.57624L13.0833 1" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.recommendation-checkbox:checked {
    background: #002B2F;
    border-color: #002B2F;
}

.recommendation-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 11px;
    background-image: url('data:image/svg+xml;utf8,<svg width="15" height="11" viewBox="0 0 15 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 6.22173L4.34708 9.58209C4.49943 9.73504 4.74786 9.7324 4.89692 9.57624L13.0833 1" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Checkbox wrapper and tooltip */
.checkbox-wrapper {
    position: relative;
    display: inline-block;
}

.checkbox-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #002B2F;
    color: #F3F8F3;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

.checkbox-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #002B2F;
}

.checkbox-wrapper:hover .checkbox-tooltip,
.recommendation-checkbox:hover + .checkbox-tooltip,
.recommendation-card:hover .checkbox-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Adjust tooltip position for rightmost cards to prevent overflow */
.recommendation-card:nth-child(3n) .checkbox-tooltip {
    left: auto;
    right: 0;
    transform: none;
}

.recommendation-card:nth-child(3n) .checkbox-tooltip::after {
    left: auto;
    right: 12px;
    transform: none;
}

/* Recommendation card hover effect */
.recommendation-card:hover {
    border: 2px solid #83B785 !important;
}

/* Style the ribbon */
.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -8px;
    right: -10px;
}

.ribbon__content {
    left: -25px;
    top: 30px;
    font-weight: 700;
    transform: rotate(45deg);
    position: absolute;
    display: block;
    width: 225px;
    padding: 10px 0;
    background-color: #4CAF50;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
    border: 2px dotted gold;
    outline: 5px solid #4CAF50;
}

/* Pseudo-elements for ribbon corners */
.ribbon::before,
.ribbon::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-style: solid;
    border-width: 5px;
}

.ribbon::before {
    top: 0;
    left: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-color: #f19066;
}

.ribbon::after {
    bottom: 0;
    right: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-color: #f19066;
}

/* Add to your <style> */
.card:hover {
    border: 2px solid black;
    cursor: pointer;
    transition: ease-in 0.3s;
}

.card.selected {
    border: 2px solid black !important;
    transition: ease-in 0.3s;
}

.selectable-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

.selectable-card.selected {
    border: 3px solid black !important;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}


/* Image Card Styles for Screen 1 */
.packaging-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 28px;
}

.packaging-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    background: #f9f9f9;
    height: 200px;
}

.packaging-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 5px solid #83B785;
}

.packaging-card.selected {
    border: 5px solid #83B785;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.packaging-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.packaging-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.packaging-card .card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    text-align: left;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.3;
    z-index: 2;
    background: transparent;
}

.packaging-card .best-seller-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(30, 45, 35, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.packaging-card .best-seller-badge::before {
    content: url("https://cdn11.bigcommerce.com/s-rd0ndag3a6/images/stencil/original/image-manager/medal-star.png");
    width: 16px;
    height: 16px;
    display: inline-block;
}

.packaging-card .card-description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
    pointer-events: none;
}

.packaging-card:hover .card-description {
    opacity: 1;
}

.start-quote-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #83B78533;
    border-radius: 1000px;
    font-size: 14px;
    font-weight: 500;
    color: #002B2F;
    margin-bottom: 14px;
}

.start-quote-label svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.screen1-heading {
    font-family: 'Spectral', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-align: left;
}

        .screen1-subtitle {
            font-size: 16px;
            color: #6b6b6b;
            margin-bottom: 0;
            font-weight: 400;
            text-align: left;
        }

        .action-buttons {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 32px;
            width: 100%;
        }

        .btn-help {
            background-color: transparent;
            color: #002B2F;
            border: 1.5px solid #002B2F;
            border-radius: 1000px;
            padding: 12px 24px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            width: 100%;
            max-width: 278px;
        }

        .btn-help:hover {
            color: #333;
            border-color: #83B785;
            background-color: #f5f5f5;
        }

        .btn-start {
            background-color: #002B2F;
            color: white;
            border: none;
            border-radius: 1000px;
            padding: 12px 32px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 6px rgba(0, 43, 47, 0.25);
            width: 100%;
            max-width: 278px;
        }

        .btn-start:hover:not(:disabled) {
            background-color: #003a40;
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(0, 43, 47, 0.35);
        }

        .btn-start:disabled {
            background-color: #92a6a5;
            color: #fff;
            cursor: not-allowed;
            box-shadow: none;
        }
        .screen1Skip{
            text-align: center;
            margin-top: 30px;
        }
        .screen1Skip a{
            text-decoration: none;
            color: #002B2F;
            font-weight: 600;
            font-size: 14px;
        }
        .screen1Skip a:hover{
            text-decoration: underline;
        }

        #confirmationEmail{
            color: #466D50;
        }

        @media (max-width: 768px) {
            .packaging-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 14px;
            }

            .packaging-card {
                height: 240px;
                max-width: 100%;
            }

            .screen1-heading {
                font-size: 22px;
            }

            .start-quote-label {
                font-size: 11px;
            }

            #screen1 {
                padding: 25px;
                max-width: 95%;
            }

            #screen2, #screen3, #screen4, #screen5 {
                max-width: 95%;
            }
        }

        @media (max-width: 600px) {
            .desktopVersion{
display: none !important;
            }
            .mobileVersion{
                display: block !important;
            }
            #screen1 {
                max-height: 95vh;
                display: flex;
                flex-direction: column;
                overflow: hidden;
            }
            #sustainabilityOptions{
                justify-content: center;
            }
            #screen1 .w-100 {
                display: flex;
                flex-direction: column;
                height: 100%;
                overflow: hidden;
            }

            #lookingForOptions {
                overflow-y: auto;
                flex: 1;
                min-height: 0;
                -webkit-overflow-scrolling: touch;
            }

            #lookingForOptions::-webkit-scrollbar {
                width: 6px;
            }

            #lookingForOptions::-webkit-scrollbar-track {
                background: #e0e0e0;
                border-radius: 3px;
            }

            #lookingForOptions::-webkit-scrollbar-thumb {
                background: #83B785;
                border-radius: 3px;
            }

            .start-quote-label,
            .screen1-heading,
            .screen1-subtitle,
            .action-buttons,
            .screen1Skip {
                flex-shrink: 0;
            }
        }

        @media (max-width: 575px) {
            .form-card {
                padding: 20px 15px;
            }

            #screen1 {
                padding: 20px;
                max-width: 100%;
            }

            #screen2, #screen3, #screen4, #screen5, #screen6 {
                max-width: 100%;
                padding: 20px 15px;
            }

            #screen4, #screen5, #screen6 {
                max-height: 95vh;
                padding: 15px;
            }

            /* Screen 6 responsive layout */
            #screen6 h2 {
                font-size: 24px !important;
            }

            #screen6 .w-100 > div[style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
                gap: 24px !important;
            }

            #screen6 div[style*="grid-template-columns: repeat(4"] {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 16px !important;
            }

            #screen6 div[style*="grid-template-columns: repeat(4"] p:first-child {
                font-size: 24px !important;
            }

            .form-section {
                padding: 15px;
            }

            /* All screens scroll naturally, buttons stick at bottom */
            #screen2, #screen2-2, #screen3, #screen3-3, #screen3-5 {
                max-height: 95vh !important;
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch;
            }

            /* Screen4 specific sticky layout */
            #screen4 {
                height: 95vh !important;
                max-height: 95vh !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
                overflow-x: hidden !important;
            }

            #screen4 .w-100 {
                display: flex !important;
                flex-direction: column !important;
                flex: 1 !important;
                min-height: 0 !important;
                overflow: hidden !important;
                overflow-x: hidden !important;
                width: 100% !important;
                max-width: 100% !important;
            }

            #screen4 .screen4-header-section {
                flex-shrink: 0;
                width: 100%;
                max-width: 100%;
                overflow-x: hidden;
            }

            #screen4 #screen4Cards {
                flex: 1 !important;
                min-height: 0 !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                -webkit-overflow-scrolling: touch;
                padding-right: 5px;
                margin-bottom: 15px !important;
                width: 100% !important;
            }

            #screen4 #screen4Cards::-webkit-scrollbar {
                width: 6px;
            }

            #screen4 #screen4Cards::-webkit-scrollbar-track {
                background: #e0e0e0;
                border-radius: 3px;
            }

            #screen4 #screen4Cards::-webkit-scrollbar-thumb {
                background: #83B785;
                border-radius: 3px;
            }

            #screen4 .screen4-sticky-footer {
                flex-shrink: 0;
                padding-top: 0px;
                width: 100%;
                max-width: 100%;
                overflow-x: hidden;
            }

            /* Screen5 specific sticky layout */
            #screen5 {
                height: 95vh !important;
                max-height: 95vh !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
                overflow-x: hidden !important;
            }

            #screen5 .w-100 {
                display: flex !important;
                flex-direction: column !important;
                flex: 1 !important;
                min-height: 0 !important;
                overflow: hidden !important;
                overflow-x: hidden !important;
                width: 100% !important;
                max-width: 100% !important;
            }

            #screen5 .screen5-header-section {
                flex-shrink: 0;
                width: 100%;
                max-width: 100%;
                overflow-x: hidden;
            }

            #screen5 .screen5-fields-container {
                flex: 1 !important;
                min-height: 0 !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                -webkit-overflow-scrolling: touch;
                padding-right: 5px;
                width: 100% !important;
            }

            #screen5 .screen5-fields-container::-webkit-scrollbar {
                width: 6px;
            }

            #screen5 .screen5-fields-container::-webkit-scrollbar-track {
                background: #e0e0e0;
                border-radius: 3px;
            }

            #screen5 .screen5-fields-container::-webkit-scrollbar-thumb {
                background: #83B785;
                border-radius: 3px;
            }

            #screen5 .screen5-sticky-footer {
                flex-shrink: 0;
                padding-top: 15px;
                width: 100%;
                max-width: 100%;
                overflow-x: hidden;
            }


            .banner-img {
                height: 150px;
            }

            .option-btn {
                min-width: 200px;
                font-size: 14px;
                width: 100%;
            }

            #screen4Cards {
                display: flex !important;
                flex-direction: column;
                gap: 10px !important;
            }

            .packaging-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .packaging-card {
                height: 200px;
                max-width: 100%;
            }

            .action-buttons {
                flex-direction: column;
                gap: 10px;
            }

            .btn-help {
                order: 2;
            }

            .btn-start {
                order: 1;
                width: 100%;
            }

            .screen1-heading {
                font-size: 20px;
            }

            .start-quote-label {
                font-size: 10px;
                padding: 4px 8px;
                max-width: 110px;
                text-align: center;
            }
        }
