:root {
    --primary-bg-color: #ffffff;  /* White background */
    --primary-text-color: #1e1e1e;  /* Dark text */
}

/* Universal background color */
body, 
div, 
section, 
.modal-content {
    background-color: var(--primary-bg-color);
}

/* Universal text color */
body,
h1, h2, h3, h4, h5, h6,
p, span, label, li,
.info-bullets li,
.privacy-content p,
.slider-group label,
.process-step span {
    color: var(--primary-text-color);
}

/* Base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.survey-selection {
    max-width: 600px;
    margin: 100px auto;
    text-align: center;
}

.survey-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.survey-button {
    padding: 20px;
    background: #2a2b30;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s;
}

.survey-button:hover {
    transform: translateY(-2px);
    background: #3a3b40;
}

/* Define the fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    background-color: #ffffff;
    color: #1e1f23;
}

/* Banner styles */
.banner-container {
    width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: left;
    border-radius: 0;
    background: #1e1f23;
    padding: 0;
    overflow: hidden;
    height: 240px;  /* Reduced from 300px by 20% */
}

.banner-image {
    animation: fadeIn 1.5s ease-in;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    margin: 0;
}

/* Main content container */
.main-content {
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    padding: 85px 15px 20px 15px;  /* Increased top padding to account for progress bar */
}

/* Mobile friendly changes start */
.main-content {
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 15px 20px 15px;
}

/* Make form elements more touch-friendly */
input[type="radio"],
input[type="checkbox"] {
    min-width: 24px;
    min-height: 24px;
    margin: 8px;
}

/* Make buttons more touch-friendly */
button {
    min-height: 44px;
    padding: 10px 20px;
    margin: 10px 0;
}

/* Responsive text sizes */
@media screen and (max-width: 768px) {
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    p, label, input, select, textarea { font-size: 16px; }
    
    /* Adjust slider groups */
    .slider-group {
        margin: 20px 0;
    }
    
    /* Stack radio/checkbox options vertically */
    .process-option,
    .contact-method-options label {
        display: block;
        margin: 10px 0;
    }
    
    /* Make text areas taller on mobile */
    textarea {
        min-height: 100px;
    }
    
    /* Adjust button container */
    .button-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    /* Make back button full width on mobile */
    .back-button,
    .continue-button {
        width: 100%;
    }
}

/* Handle very small screens */
@media screen and (max-width: 480px) {
    .main-content {
        padding: 85px 10px 20px 10px;
    }
    
    /* Adjust slider labels */
    .slider-with-labels {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .slider-with-labels span {
        margin: 5px 0;
    }
}

/* Ensure form elements don't overflow */
input, select, textarea {
    max-width: 100%;
    box-sizing: border-box;
}

/* Make radio and checkbox containers more touch-friendly */
.process-options,
.checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Improve touch targets for links and interactive elements */
a, button, .checkbox-item, .radio-label {
    padding: 8px;
    touch-action: manipulation;
}

/* Prevent zoom on form fields in iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) { 
    select,
    textarea,
    input {
        font-size: 16px;
    }
}

/* Mobile friendly changes :end */

/* Info and Privacy Box styles */
.info-box, .privacy-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;  /* Add space above the privacy box */
}

.info-box {
    border-left: 4px solid #4CAF50;
}

.privacy-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
}

/* Process Options Styles */
.process-option {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
    margin-bottom: 10px;
}

.process-option:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(5px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Process container */
.process-container {
    height: auto;
    max-height: 70vh;
    overflow-y: auto;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-slider-container {
    position: relative;
    flex: 1;
    overflow-y: auto;
    padding: 5px;
    width: 100%;
    max-width: 400px;  /* Control the width of the road */
    margin: 0 auto;
}

/* Container for all steps */
.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;  /* Reduce space between steps by half */
    padding: 5px;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
                url('../images/WindingRoad.jpg') !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 100%;
    margin: 0 auto;
    max-height: calc(100vh - 180px);  /* Ensure it fits on screen */
}

/* Individual step container */
.process-step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 3px;
    padding: 0;
    margin: -4px 0;  /* Double the negative margin to bring steps even closer */
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    background: transparent !important;
}

/* First column (empty space) */
.process-step > :first-child {
    background: transparent !important;  /* Completely transparent */
}

/* Middle column (icon) */
.process-step-icon {
    grid-column: 2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 1) !important;
    padding: 6px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

/* Right column (text) */
.process-step span {
    grid-column: 3;
    text-align: left;
    font-size: 11px;
    line-height: 1.2;
    padding: 2px 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5) !important;  /* Semi-transparent for text */
}

/* Remove any background from the grid itself */
.process-step::before {
    content: none;  /* Remove any generated content */
}

/* Make image fill the circular container */
.process-step img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;
}

.process-step.active .process-step-icon {
    border: 4px solid #4CAF50 !important;  /* Even thicker border */
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.4),  /* Stronger inner glow */
                0 0 20px rgba(76, 175, 80, 0.6),    /* Middle glow */
                0 4px 25px rgba(76, 175, 80, 0.8) !important;  /* Stronger outer shadow */
    transform: scale(1.1);  /* More noticeable scale effect */
    transition: all 0.2s ease;
}

.process-step.selected .process-step-icon {
    border: 4px solid #4CAF50 !important;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3),
                0 0 15px rgba(76, 175, 80, 0.5) !important;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.process-step.selected span {
    font-weight: bold;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

/* Process container button styles */
.process-container .button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    padding: 10px;
    max-width: 400px;
    width: 100%;
}

.process-container .button-container button {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 16px;
    flex: 1;
    max-width: 180px;
}

/* Override mobile styles for process container */
@media (max-width: 768px) {
    .process-container .button-container {
        flex-direction: row;  /* Keep buttons side by side even on mobile */
        max-width: 350px;    /* Slightly smaller on mobile */
    }

    .process-container .button-container button {
        width: auto;         /* Let flex handle the width */
        min-width: 100px;    /* Slightly smaller on mobile */
    }
}

/* Slider Container Styles */
.slider-container {
    height: calc(100vh - 85px);
    overflow-y: auto;
    padding: 10px;
    gap: 10px;
}
.slider-group {
    margin-bottom: 3px;
    padding: 3px;
}

.slider-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 0.85em;
    line-height: 1.2;
}

/* Slider With Labels Layout */
.slider-with-labels {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1px;
    padding: 1px 0;
}

.slider-with-labels span {
    font-size: 0.8em;
    color: #666;
    min-width: 70px;
}

/* Slider Value Display */
.slider-value {
    text-align: center;
    font-weight: 500;
    color: #4CAF50;
    font-size: 0.85em;
    min-width: 20px;
}

/* Slider and Bubble Styles */
.slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    /* height: 8px; */
    height: 30px; /* Bigger touch target for mobile*/
    margin: 20px 0; /* Bigger touch target for mobile*/
    background: #1e1f23;
    border-radius: 4px;
    outline: none;
    position: relative;
}

.slider-bubble {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #4CAF50;
    color: white;
    padding: 4px;
    border-radius: 50%;
    top: -35px;
    transform: translateX(-50%);
    text-align: center;
    line-height: 22px;
    font-size: 0.85em;
}

.slider-bubble::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #4CAF50;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Slider thumb styling */
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Button Container and Button Styles */
/* Button Container Styles */
.button-container {
    margin-top: auto;
    padding: 10px;
}

.download-button {
    display: block;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.download-button:hover {
    background-color: #45a049;
}

/* Question Styles */
.question {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

/* Follow-up Questions */
.follow-up-question {
    background: #ffffff;
    height: calc(100vh - 85px);  /* Account for progress bar and minimal padding */
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.follow-up-question h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.follow-up-question textarea {
    width: 100%;
    min-height: 80px; /* Shorter textarea */
    padding: 10px;
    margin-bottom: 15px;
    background: #1e1f23;
    border: 1px solid #3a3b40;
    border-radius: 8px;
    color: #ffffff;
    resize: vertical;
}

/* Stay Connected Section */
.stay-connected {
    height: calc(100vh - 85px);  /* Account for progress bar and minimal padding */
    overflow-y: auto;
    padding: 10px;
}

.preferences-container {
    margin: 20px 0;
}

.preferences-container label {
    display: block;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Contact Form */
.contact-form-container {
    height: calc(100vh - 85px);  /* Account for progress bar and minimal padding */
    overflow-y: auto;
    padding: 10px;
}

.contact-method {
    margin-bottom: 20px;
}

.contact-method label {
    margin-right: 20px;
    color: #ffffff;
}

#contact-fields input,
#contact-fields select,
#contact-fields textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: #1e1f23;
    border: 1px solid #3a3b40;
    border-radius: 8px;
    color: #ffffff;
}

/* Success Message */
.final-success {
    text-align: center;
    background: #ffffff;  /* Changed from #2a2b30 */
    padding: 30px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);  /* Lighter shadow */
}

.final-success h2 {
    color: #4CAF50;
    margin-bottom: 15px;
}

.final-success p {
    color: #333;  /* Dark text for better readability */
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        padding: 12px;
    }

    .button-container {
        flex-direction: column;
    }

    .back-button,
    .continue-button {
        width: 100%;
    }

    .slider-with-labels {
        flex-wrap: wrap;
    }

    .slider-with-labels span {
        min-width: 60px;
        font-size: 0.75em;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .slider-group {
        padding: 3px;
    }

    .slider-with-labels {
        gap: 4px;
    }
}

.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 130px);
    z-index: 1000;
    background: #222;  /* Dark background */
    padding: 4px 15px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);  /* Stronger shadow for dark background */
    border-radius: 8px;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 24px;
    border-radius: 10px;
    overflow: hidden;
    background: #333;  /* Slightly lighter than container for depth */
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: white;  /* This covers up the gradient as it progresses */
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
    z-index: 2;
}

.progress-numbers {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    margin: 2px 0;  /* Reduce margin */
    padding: 0 5px;
    background: linear-gradient(to right,
        #4CAF50 0%,    /* Green */
        #FFA500 50%,   /* Orange */
        #FF4444 100%   /* Red */
    ) !important;
    border-radius: 10px;
    height: 20px;
}

.progress-number {
    font-size: 10px;
    color: white;
    position: relative;
    font-weight: bold;
    z-index: 4;
    line-height: 20px;  /* Center numbers vertically */
}

/* Style for the needle indicator */
.progress-needle {
    position: absolute;
    width: 2px;
    height: 24px;  /* Make needle taller */
    background-color: #333;
    top: -2px;  /* Adjust position to extend above the bar */
    transform-origin: bottom center;
    transition: left 0.3s ease-in-out;
    z-index: 5;
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* Add a small circle at the base of the needle */
.progress-needle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: black;
}

.privacy-details-button {
    background-color: transparent;
    color: #666;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin: 10px 0;
    font-size: 9.8px;  /* Reduced by 30% from 14px */
    text-align: left;
    width: 100%;
    line-height: 1.4;
}

.privacy-details-button:hover {
    color: #333;
    text-decoration: underline;
    text-decoration-color: #4CAF50;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    color: #333; /* Ensure text is visible */
}

.privacy-details {
    margin-top: 20px;
}

.privacy-bullets {
    margin-top: 15px;
}

.privacy-bullets ul {
    margin-top: 10px;
    padding-left: 20px;
}

.privacy-bullets li {
    margin-bottom: 8px;
}

.modal h2 {
    color: #333;
    margin-bottom: 20px;
}

.button-container.centered-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    padding: 10px;
    max-width: 400px;  /* Limit the width of the button container */
    width: 100%;       /* Take full width up to max-width */
}

.button-container.centered-buttons button {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 16px;
    flex: 1;          /* Allow buttons to grow equally */
    max-width: 180px; /* Prevent buttons from getting too wide */
}

/* Override the mobile styles for centered buttons */
@media (max-width: 768px) {
    .button-container.centered-buttons {
        flex-direction: row;  /* Keep buttons side by side */
        max-width: 350px;    /* Slightly smaller on mobile */
    }

    .button-container.centered-buttons button {
        width: auto;         /* Let flex handle the width */
        min-width: 100px;    /* Slightly smaller on mobile */
    }
}

.submit-contact-button {
    /* Match the continue-button style */
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-contact-button:hover {
    background-color: #45a049;
}

/* Make these styles more specific */
#slider-question .button-container.centered-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    padding: 10px;
    max-width: 400px;
    width: 100%;
}

#slider-question .button-container.centered-buttons button {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 16px;
    flex: 1;
    max-width: 180px;
}

/* Add specific styles for followup buttons */
#followup-container .button-container.centered-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    padding: 10px;
    max-width: 400px;
    width: 100%;
}

#followup-container .button-container.centered-buttons button {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 16px;
    flex: 1;
    max-width: 180px;
}

/* Legacy points-display - commented out to avoid conflicts with modern design
.points-display {
    position: fixed;
    top: 0;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 120px;
    margin: 10px 0;  Remove right margin
    transition: all 0.3s ease;
}
*/

/* Legacy individual point elements - commented out to avoid conflicts
.points-total {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
}

.points-max {
    font-size: 14px;
    color: #666;
}
*/

.points-award {
    position: fixed;
    bottom: 80px;
    right: 20px;
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
    animation: floatUp 1s ease-out forwards;
    opacity: 0;
}

@keyframes floatUp {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-40px); opacity: 0; }
}

/* Add a glow effect when points increase */
.points-display.points-added {
    border-color: #45a049;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.achievement-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 31, 35, 0.95);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid gold;
    color: #fff;
    text-align: center;
    animation: achievementPopup 3s ease-in-out forwards;
    z-index: 2000;
}

.achievement-title {
    font-size: 24px;
    color: gold;
    margin-bottom: 10px;
}

.achievement-description {
    font-size: 16px;
    margin-bottom: 15px;
}

.achievement-points {
    font-size: 20px;
    color: #4CAF50;
}

@keyframes achievementPopup {
    0% { transform: translate(-50%, 100vh); opacity: 0; }
    20% { transform: translate(-50%, -50%); opacity: 1; }
    80% { transform: translate(-50%, -50%); opacity: 1; }
    100% { transform: translate(-50%, -100vh); opacity: 0; }
}

/* Media query for very small screens */
@media (max-height: 600px) {
    .process-step img {
        width: 30px;
        height: 30px;
    }

    .process-step {
        padding: 5px;
    }

    .button-container button {
        padding: 8px 15px;
    }
}

/* Make steps container transparent */
.process-steps {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
                url('../images/WindingRoad.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 100%;
    width: 100%;
}

/* Semi-transparent backgrounds for steps */
.process-step-icon {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.process-step span {
    background: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 8px;
}

/* Points info popup styles */
.points-info-popup {
    position: fixed;
    bottom: 120px;  /* Moved higher up */
    right: 160px;   /* Moved more to the left */
    background: rgba(255, 255, 255, 0.98);
    padding: 15px;
    border-radius: 12px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    max-width: 250px;
    border: 2px solid #4CAF50;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeInSlideUp 0.5s ease-out forwards;
    cursor: pointer;  /* Show it's clickable */
}

/* Create arrow pointing to points display */
.points-info-popup::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -20px;  /* Position arrow on right side */
    width: 40px;   /* Make arrow longer */
    height: 2px;   /* Arrow stem thickness */
    background: #4CAF50;
    transform: rotate(-45deg);  /* Angle the arrow */
    transform-origin: left bottom;
}

/* Add arrowhead */
.points-info-popup::before {
    content: '';
    position: absolute;
    bottom: -14px;
    right: -25px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #4CAF50;
    transform: rotate(-45deg);
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add a highlight to the prize amount */
.prize-amount {
    color: #4CAF50;
    font-weight: bold;
}

/* Add fade-out animation */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.points-info-popup.hiding {
    animation: fadeOut 0.3s ease-out forwards;
}

/* Survey Header Section - ensure it starts below progress bar */
#survey-header {
    margin-top: 65px;  /* Match height of progress container */
}

/* Common button styles */
.continue-button, .back-button {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;  /* More rounded corners */
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-width: 120px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.continue-button {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.continue-button:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.back-button {
    background: linear-gradient(45deg, #666, #777);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 102, 102, 0.3);
}

.back-button:hover {
    background: linear-gradient(45deg, #777, #666);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 102, 102, 0.4);
}

/* Add ripple effect */
.continue-button::after, .back-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, .5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.continue-button:active::after, .back-button:active::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Follow-up option styles */
.follow-up-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.follow-up-option {
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.follow-up-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.follow-up-option.selected {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.follow-up-option img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.follow-up-option span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Adjust question title spacing */
.process-question h2 {
    margin-bottom: 5px;
    font-size: 18px;
}

/* Who Are You section styles */
.whoareu-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 20px 0;
}

.whoareu-question-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whoareu-question-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.whoareu-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    max-width: 100%;
}

.whoareu-option {
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 25px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 140px;
    max-width: 180px;
    margin: 0 auto;
}

.whoareu-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.whoareu-option.selected {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.whoareu-option img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.whoareu-option span {
    font-size: 14px;
    text-align: center;
}

/* Add media query for mobile screens */
@media (max-width: 768px) {
    .progress-container {
        width: 60%;
        max-width: 600px;
    }

    .follow-up-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;  /* Reduced gap */
    }

    .follow-up-option {
        padding: 8px;  /* Reduced padding */
    }

    .follow-up-option img {
        width: 30px;  /* Smaller images */
        height: 30px;
    }

    .follow-up-option span {
        font-size: 12px;  /* Smaller text */
    }

    /* WhoAreU options mobile responsiveness - override follow-up-option mobile styles */
    .whoareu-options {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    #whoareu-container .follow-up-option {
        padding: 20px 12px !important;
        min-height: 120px;
        max-width: none;
    }

    #whoareu-container .follow-up-option img {
        max-width: 70px !important;
        max-height: 50px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain;
    }
}

.follow-up-comments {
    width: 100%;
    margin-top: 20px;
}

.follow-up-comments textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    font-size: 14px;
}

.follow-up-comments textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}