.calculator-container {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    height: 315px; /* Match YouTube video height */
    display: flex;
    flex-direction: column;
}

.calculator-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    height: 315px; /* Match YouTube video height */
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.option-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.option-group h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: -0.375rem;
}

.radio-option {
    flex: 1;
    min-width: 150px;
    position: relative;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.radio-option:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.radio-option.selected {
    background: rgba(43, 185, 101, 0.1);
    border-color: #2BB965;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-option label {
    flex: 1;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    margin: 0;
    padding-left: 1.5rem;
    position: relative;
}

.radio-option label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.radio-option.selected label:before {
    border-color: #2BB965;
}

.radio-option.selected label:after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2BB965;
}

.calculate-btn {
    background: var(--primary-color, #2BB965);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1.5rem 0;
    width: 100%;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculate-btn:hover {
    background: var(--primary-color-dark, #229251);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.calculator-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2BB965 0%, #1A8B4B 100%);
    border-radius: 8px;
    text-align: center;
    display: none;
}

.calculator-result.show {
    display: block;
}

.result-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

.result-text {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.lead-capture-form {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.lead-text {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group input,
.form-group select {
    padding: 0.5rem;
    font-size: 0.85rem;
}

.get-details-btn {
    background: #fff;
    color: var(--primary-color, #2BB965);
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.get-details-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.privacy-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1rem;
}

.success-message {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.success-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Calculate Button Wrapper */
.calculate-button-wrapper {
    margin: 2rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    .calculator-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .radio-option {
        padding: 0.6rem;
    }
}

/* Progress Bar */
.progress-bar {
    margin-bottom: 0.5rem;
}

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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-color, #2BB965);
    color: white;
}

.step.completed .step-number {
    background: var(--primary-color, #2BB965);
    color: white;
}

.step-label {
    font-size: 0.7rem;
    color: #666;
    text-align: center;
}

.progress-line {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--primary-color, #2BB965);
    transition: width 0.3s ease;
}

/* Step Content */
.step-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.step-page {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
    height: 100%;
}

.step-page.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.step-page h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 1rem 0;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #E2E8F0;
}

.prev-btn,
.next-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prev-btn {
    background: white;
    border: 1px solid #E2E8F0;
    color: #4A5568;
}

.next-btn {
    background: #2BB965;
    border: none;
    color: white;
}

.prev-btn:hover {
    background: #F7FAFC;
    border-color: #CBD5E0;
}

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

/* Contact Form (Lead Form) - Now Always Vertical Stack */
.contact-form {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: stretch; /* Make items take full width */
    gap: 1rem; /* Space between stacked items */
    margin: 1.5rem 0; 
}

.contact-form .form-group {
    /* flex properties (grow, shrink, basis) removed as they are for horizontal distribution */
    /* min-width removed */
    margin-bottom: 0; /* Gap on parent handles spacing, or add margin if specific needed */
}

.contact-form input {
    width: 100%;
    padding: 0.75rem; 
    border: 1px solid #CBD5E0; 
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    height: 40px; 
}

.contact-form input:focus {
    border-color: #2BB965;
    outline: none;
    box-shadow: 0 0 0 2px rgba(43, 185, 101, 0.2);
}

.get-estimate-btn {
    padding: 0 1.5rem; 
    background: #2BB965;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 40px; 
    margin-top: 0; /* Adjust if more space is needed above it */
    white-space: nowrap;
    width: 100%; /* Ensure button takes full width */
    /* flex-shrink: 0; removed */
}

.get-estimate-btn:hover {
    background: #229251;
    transform: translateY(-1px);
}

/* Media query for contact form can be simplified or removed if stacking is now default */
@media (max-width: 768px) { 
    /* .contact-form flex-direction: column and align-items: stretch is now default */
    /* .contact-form .form-group flex-basis: auto and min-width: 0 is now default behavior */
    
    /* .get-estimate-btn width: 100% is now default */
    /* Any other mobile-specific adjustments for the form can remain if needed */
    .contact-form {
        gap: 0.75rem; /* Slightly reduced gap on mobile if desired */
    }
}

/* Estimate Result */
.result-page {
    text-align: center;
    padding: 2rem 0;
}

.estimate-result h3 {
    font-size: 1.5rem;
    color: #2D3748;
    margin-bottom: 1.5rem;
}

.result-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2BB965;
    margin-bottom: 1rem;
}

.result-description {
    color: #4A5568;
    margin-bottom: 2rem;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.restart-btn,
.contact-sales-btn {
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.restart-btn {
    background: white;
    border: 1px solid #E2E8F0;
    color: #4A5568;
}

.contact-sales-btn {
    background: #2BB965;
    border: none;
    color: white;
}

.restart-btn:hover,
.contact-sales-btn:hover {
    transform: translateY(-1px);
}

.restart-btn:hover {
    background: #F7FAFC;
    border-color: #CBD5E0;
}

.contact-sales-btn:hover {
    background: #229251;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.slide-in {
    animation: slideInRight 0.3s ease forwards;
}

.slide-out {
    animation: slideOutLeft 0.3s ease forwards;
}

/* Video Container */
.video-section {
    background: linear-gradient(135deg, rgba(43, 185, 101, 0.1) 0%, rgba(43, 185, 101, 0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-container {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.header-content {
    flex: 1;
    max-width: 600px;
}

.calculator-header h3 {
    font-size: 2.5rem;
    color: #2D3748;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    line-height: 1.2;
}

.calculator-subtitle {
    color: #4A5568;
    font-size: 1.125rem;
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

/* Progress Ring */
.progress-ring-container {
    margin-left: 2rem;
}

.progress-ring {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.progress-step {
    font-size: 1rem;
    font-weight: 500;
    color: #2BB965;
}

/* Calculator Form */
.calculator-form {
    display: flex;
    flex-direction: column;
}

.step-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}
button.next-btn {
    margin: 0px;
}
.step-page {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    /* left: 0;
    top: 0; */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.step-page.active {
    opacity: 1;
    visibility: visible;
}

.step-page h4 {
    font-size: 1.75rem;
    color: #2D3748;
    margin: 0 0 2rem 0;
    font-weight: 500;
}

/* Radio Groups */
.radio-group {
    display: flex;
    gap: 1rem;
    margin: 0;
}

.radio-option {
    flex: 1;
    position: relative;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: #2BB965;
    transform: translateY(-1px);
}

.radio-option.selected {
    border-color: #2BB965;
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(43, 185, 101, 0.1);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
}

.radio-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #2D3748;
    margin: 0;
    padding-left: 2rem;
    position: relative;
    font-weight: 400;
}

.radio-option label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E0;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: white;
}

.radio-option:hover label:before {
    border-color: #2BB965;
}

.radio-option.selected label:before {
    border-color: #2BB965;
}

.radio-option.selected label:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2BB965;
}

/* Next Button */
.next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: #2D3748;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 2rem;
}

.next-btn:hover {
    border-color: #2BB965;
    color: #2BB965;
    transform: translateY(-1px);
}

@media (max-width: 1200px) {
    .cta-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-section {
        min-height: 400px;
    }
    
    .video-container {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .video-container {
        min-height: 250px;
    }
}

.cta-cards {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 2rem;
    margin-top: 2rem;
    min-height: 500px;
}

.calculator-section,
.video-section {
    background: linear-gradient(135deg, rgba(43, 185, 101, 0.1) 0%, rgba(43, 185, 101, 0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-section {
    min-height: 500px;
}

.video-section h3 {
    font-size: 1.5rem;
    color: #2D3748;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

/* Specifically for the lead form navigation */
.lead-form-navigation {
    justify-content: flex-start; /* Align Previous button to the left */
    margin-top: 1.5rem; /* Add some space above the previous button */
}

/* Calculator Section General Styling */
.calculator-section {
    background: #ffffff; /* White background for the card */
    border-radius: 16px; /* More pronounced rounded corners */
    padding: 2rem; /* Consistent internal padding */
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    /* min-height will be handled by cta-cards or direct parent */
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem; /* Increased bottom margin */
}

.calculator-header h3 {
    font-size: 2rem; /* Adjusted for prominence */
    color: #2D3748;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.2;
}

.calculator-subtitle {
    color: #4A5568;
    font-size: 1rem; /* Adjusted */
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

.progress-ring-container {
    margin-left: 1rem;
}

.progress-ring {
    position: relative;
    width: 48px; /* Adjusted size */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    border: 1px solid #E2E8F0; /* Subtle border for the ring */
}

.progress-step {
    font-size: 0.875rem; /* Adjusted size */
    font-weight: 500;
    color: #2BB965;
}

/* Step Content & Pages */
.step-content {
    flex: 1;
    position: relative;
    overflow: hidden; /* For animations if any */
}

.step-page {
    /* opacity/visibility for transitions are handled by JS if needed */
    /* Default state before JS active class */
}

.step-page.active {
    display: block; /* Or flex if needed, JS handles this */
}

.step-page h4 {
    font-size: 1.5rem; /* Prominent question title */
    color: #2D3748;
    margin: 0 0 1.5rem 0; /* Spacing below title */
    font-weight: 500;
}

/* Radio Group and Options - Updated Design */
.radio-group {
    display: flex;
    flex-direction: column; /* Stack options vertically first */
    gap: 0.75rem; /* Space between radio options */
    margin: 0 0 1.5rem 0; /* Space below radio group */
}

@media (min-width: 768px) { /* Horizontal layout on larger screens */
    .radio-group {
        flex-direction: row;
        gap: 1rem;
    }
}

.radio-option {
    flex: 1; /* Distribute space evenly when horizontal */
    position: relative;
    background: white;
    border: 1px solid #E2E8F0; /* Light grey border */
    border-radius: 12px; /* Rounded corners */
    padding: 1rem; /* Internal padding */
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.radio-option:hover {
    border-color: #CBD5E0; /* Slightly darker border on hover */
}

.radio-option.selected {
    border-color: #2BB965; /* Green border when selected */
    background-color: #F0FFF4; /* Very light green background */
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem; /* Adjusted label size */
    color: #2D3748;
    margin: 0;
    padding-left: 28px; /* Space for custom radio button */
    position: relative;
    font-weight: 400;
    width: 100%; /* Ensure label takes full width for click */
}

.radio-option label:before { /* Custom radio - outer circle */
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid #CBD5E0; /* Grey border for unselected radio */
    border-radius: 50%;
    transition: all 0.2s ease;
    background: white;
}

.radio-option:hover label:before {
    border-color: #A0AEC0;
}

.radio-option.selected label:before {
    border-color: #2BB965; /* Green border for selected radio */
}

.radio-option.selected label:after { /* Custom radio - inner dot */
    content: '';
    position: absolute;
    left: 7px; /* Position inside the outer circle */
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2BB965; /* Green dot */
}

/* Step Navigation - Updated Design */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem; /* Space above navigation */
    padding-top: 1.5rem; /* Space below the separator line */
    border-top: 1px solid #E2E8F0; /* Separator line */
}

.prev-btn,
.next-btn {
    padding: 0.625rem 1.25rem; /* 10px 20px */
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    border: 1px solid #CBD5E0; /* Default light grey border for both */
    color: #2D3748; /* Dark text */
}

.prev-btn:hover,
.next-btn:hover {
    border-color: #A0AEC0;
    background-color: #F7FAFC; /* Slight hover background */
}

.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #F7FAFC;
    border-color: #E2E8F0;
}

/* Specifically for the lead form navigation */
.lead-form-navigation {
    justify-content: flex-start; /* Align Previous button to the left */
    margin-top: 1.5rem; 
}

/* Estimate Result Page */
.result-page {
    text-align: center;
    padding: 2rem 0;
}

.estimate-result h3 {
    font-size: 1.5rem;
    color: #2D3748;
    margin-bottom: 1.5rem;
}

.result-amount {
    font-size: 2.5rem; /* Adjusted size */
    font-weight: 700;
    color: #2BB965;
    margin-bottom: 1rem;
}

.result-description {
    color: #4A5568;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.restart-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    border: 1px solid #CBD5E0;
    color: #2D3748;
}

.restart-btn:hover {
    border-color: #A0AEC0;
    background-color: #F7FAFC;
    transform: translateY(-1px);
}

/* Animations (slide-in/out if used by JS) */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}

.slide-in { animation: slideInRight 0.3s ease forwards; }
.slide-out { animation: slideOutLeft 0.3s ease forwards; }

/* Responsive adjustments for CTA cards and video section */
.cta-cards {
    display: grid;
    grid-template-columns: 6fr 4fr; /* Maintain ratio */
    gap: 2rem;
    margin-top: 2rem;
    /* min-height: 500px; Ensure sufficient height for content */
}

.video-section {
    background: linear-gradient(135deg, rgba(43, 185, 101, 0.1) 0%, rgba(43, 185, 101, 0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%; /* Fill height of grid cell */
    /* min-height: 500px; removed to allow natural height from grid */
}

.video-section h3 {
    font-size: 1.5rem;
    color: #2D3748;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.video-container {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 250px; /* Base min-height for video, adjust as needed */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1200px) {
    .cta-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .video-section {
        /* min-height: 400px; Let it adapt or set a smaller fixed height */
    }
}

@media (max-width: 768px) {
    .calculator-header {
        flex-direction: column;
        align-items: stretch;
    }
    .calculator-header h3 {
        font-size: 1.75rem;
    }
    .calculator-subtitle {
        font-size: 0.9rem;
    }
    .progress-ring-container {
        margin-left: 0;
        margin-top: 1rem;
        align-self: flex-start; /* Align progress ring to left on mobile */
    }
    .step-page h4 {
        font-size: 1.25rem;
    }
    .video-container {
        min-height: 200px; /* Smaller video on mobile */
    }
    .calculator-section {
        padding: 1rem;
    }
    .header-content {
        display: block !important;
    }
    .calculator-form {
        flex: auto !important;
    }
    .calculator-form {
        height: auto !important;
    }
    .step-content {
        padding: 0px !important;
    }
}   