/* General Styles Hex Codes: main blue #3d5a80 // lighter #98c1d9 // very light #e0fbfc // orange #ee6c4d //  dark #293241*/



body {
    font-family: 'Ariel', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
    color: #3d5a80;
}

img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    /* Scales the image to fit within the max-width and max-height */
}

a {

    letter-spacing: .06em;
}

h2 {
    color: #3d5a80;
    font-size: 32px;
    margin-top: 30px;
    text-align: center;
    padding: 20px 0 10px 0;
    font-weight: 550;
    letter-spacing: .06em;
    line-height: 1.6;

}


.note-input {
    width: 100%;
    min-height: 100px;
    max-width: 80%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    /* Subtle border color */
    border-radius: 8px;
    /* Rounded corners */
    background-color: #f9f9f9;
    /* Light gray background */
    font-size: 16px;
    color: #3d5a80;
    /* Darker text color for better readability */
    outline: none;
    resize: vertical;
    /* Allows vertical resizing */
    transition: border-color 0.3s, box-shadow 0.3s;
    /* Smooth transitions */
    margin-top: 20px;
}

.note-input:focus {
    border-color: #293241;
    ;
    /* Blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    /* Soft blue glow */
}

.add-note-btn {
    max-width: 100px;
    margin-top: 40px;
    padding: 8px 12px;
    background-color: transparent;
    /* Transparent background */
    color: #3d5a80;
    /* White text color */
    ;
    /* Blue text color */
    border: .5px solid #3d5a80;
    /* White text color */
    ;
    /* Blue border */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.1s;
    /* Smooth hover effect */
    font-size: 14px;
}

.footer-column p {
    text-align: center;
    font-size: 16px;
    ;

}

.footer-btn {
    max-width: 150px;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: transparent;
    /* Transparent background */
    color: #293241;
    /* White text color */
    ;
    /* Blue text color */
    border: 1px solid #3d5a80;
    ;
    /* Blue border */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.1s;
    /* Smooth hover effect */
    font-size: 14px;
}

.footer-btn:hover {
    background-color: #3d5a80;
    /* White text color */
    ;
    /* Blue background on hover */
    color: #fff;
    /* White text on hover */
}

.footer-btn:active {
    transform: scale(0.98);
    /* Slight shrink on click */
}

.add-note-btn:hover {
    background-color: #3d5a80;
    /* White text color */
    ;
    /* Blue background on hover */
    color: #fff;
    /* White text on hover */
}

.add-note-btn:active {
    transform: scale(0.98);
    /* Slight shrink on click */
}

h1 {
    text-align: center;
    font-weight: 550;
    color: #3d5a80;
    margin-top: 20px;
    font-size: 3rem;
    line-height: 3.5rem;
    letter-spacing: .05em;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(to left, #3d5a80 50%, #98c1d9 85%);
    -webkit-background-clip: text;
    /* Clips background to the text (WebKit) */
    -webkit-text-fill-color: transparent;
    /* Makes the text color transparent */
    background-clip: text;
    /* Clips background to the text (standard) */
    text-fill-color: transparent;
    /* Makes the text color transparent (standard) */
}

p {
    font-size: 14px;
    color: #293241;
    letter-spacing: .4px;
    word-spacing: .02em;
    line-height: 1.5em;
    max-width: 80ch;
    /* Approximately 60 characters per line */

}

proposal-output p {
    padding-top: 40px;
    padding-bottom: 40px;

}

.proposal-output h1 {
    margin-bottom: 35px;
}

.blue-text {
    color: #4194c4;
    /* White text color */
    letter-spacing: .06em;
}

.hero {
    padding-top: 100px;
    max-width: 650;
}



/* Basic styling for the header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px 45px 30px;
    color: #3d5a80;
    /* White text color */
}

/* numbers in display area */

#numbers {
    color: #ee6c4d;
    font-weight: 900;
}

.logo {
    font-size: 1.5rem;
    font-weight: 550;
    letter-spacing: .13em;
    background: linear-gradient(to left, #3d5a80 50%, #98c1d9 80%);
    -webkit-background-clip: text;
    /* Clips background to the text (WebKit) */
    -webkit-text-fill-color: transparent;
    /* Makes the text color transparent */
    background-clip: text;
    /* Clips background to the text (standard) */
    text-fill-color: transparent;
    /* Makes the text color transparent (standard) */
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 550;
    letter-spacing: .13em;
    background: linear-gradient(to left, #3d5a80 50%, #d9dde0 80%);
    -webkit-background-clip: text;
    /* Clips background to the text (WebKit) */
    -webkit-text-fill-color: transparent;
    /* Makes the text color transparent */
    background-clip: text;
    /* Clips background to the text (standard) */
    text-fill-color: transparent;
    /* Makes the text color transparent (standard) */
}

.logo a {
    text-decoration: none;
}


.nav-links {
    display: flex;
    gap: 50px;
    /* Space between links */
    color: #3d5a80;
    /* White text color */
}

.nav-links a {
    text-decoration: none;
    /* Removes underline */
    color: #3d5a80;
    /* White text color */
    font-size: 1rem;
    transition: color 0.3s;
    /* Smooth color change */
    font-weight: 550;
    letter-spacing: .06em;
}

.nav-links a:hover {
    color: #7099d2;
    /* White text color */
}

/* Responsive header for small screens */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        margin-top: 10px;
    }
}

.nav-links ul {
    list-style: none;
    /* Removes bullet points */
    display: flex;
    gap: 50px;
    /* Space between links */
    padding: 0;
    /* Removes any default padding */
    margin: 0;
    /* Removes any default margin */
}

#kicker {
    padding-bottom: 50px;
    min-height: 300px;
    display: flex;
    /* Change to flex for better centering */
    flex-direction: column;
    /* Align content vertically */
    align-items: center;
    /* Centers content horizontally */
    justify-content: center;
    /* Centers content vertically */
    text-align: center;
    /* Centers inline text within the block */
}

#kicker p {
    max-width: 600px;
    /* Optional: limits width of <p> for better readability */
    margin: 0 auto;
    /* Centers the <p> in case it has any extra width */
    text-align: center;
    font-size: 16px;
    padding-bottom: 30px;
}

#kicker h2 {
    color: #3d5a80;
    font-size: 32px;
    margin-top: 30px;
    text-align: center;
    padding: 20px 0 0 0;
    font-weight: 550;
    letter-spacing: .06em;
    line-height: 1.6;
}

.header-with-asterisk {
    display: inline-block;
    /* Makes the header behave like an inline element */
    position: relative;
}

.required-asterisk {
    color: #ee6c4d;
    font-size: 1.2em;
    /* Adjust size for better visibility */
    margin-left: 5px;
}

.intro {
    text-align: center;
    color: #3d5a80;
    margin: 8px auto;
    /* Center the div horizontally */
    font-size: 1rem;
    max-width: 800px;
    width: 100%;
    /* Ensures it spans the parent container */
}

.hero p.intro {
    text-align: center;
    color: #3d5a80;
    margin: 8px auto;
    font-size: 1rem;
    max-width: 650px;
    padding: 20px 0 20px 0;
    width: 100%;
    font-size: 20px;
}

#custom-message {
    text-align: center;
    color: #ee6c4d;
    font-weight: 550;
    margin: 8px auto;
    /* Center the div horizontally */
    font-size: 1rem;
    max-width: 800px;
    /* Ensures it spans the parent container */
}

.full-width-box {
    width: 100%;
    background-color: #98c1d9;
    padding: 25px 20px 10px 20px;
    margin: 20px 0 20px 0;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    /* Change to row */
    gap: 20px;
    /* Space between the input groups */
    justify-content: center;
    /* Distribute space evenly */
    align-items: center;
    /* Align items vertically in the center */
}

.full-width-box .input-group {
    flex: 1;
    /* Each input-group takes equal space */
    display: flex;
    flex-direction: column;
    /* Label above input */
    gap: 5px;
    /* Space between label and input */
}

.full-width-box .input-group label {
    font-weight: 550;
}

#rush-fee-display {
    font-weight: 550;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .full-width-box {
        flex-direction: column;
        /* Stack vertically on smaller screens */
        gap: 15px;
    }
}


.slider-display {
    margin-top: 4px;
    font-size: 14px;
}

.slider-value {
    font-weight: 550;
    color: #2563eb;
}


/* General Slider Styles */
.importance-slider {
    margin-bottom: 20px;
    width: 75%;
}

input[type="range"] {
    -webkit-appearance: none;
    /* For Chrome, Safari, Opera */
    -moz-appearance: none;
    /* For Firefox */
    appearance: none;
    width: 100%;
    margin: 8px 0;
    background: transparent;
}

/* Track Styles (Chrome, Safari, Opera) */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
}

/* Track Styles (Firefox) */
input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
}

/* Track Styles (IE/Edge) */
input[type="range"]::-ms-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    border-color: transparent;
    color: transparent;
}

/* Thumb Styles (Chrome, Safari, Opera) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #3d5a80;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    /* Center the thumb */
}

/* Thumb Styles (Firefox) */
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #3d5a80;
    border: none;
    /* Remove border if it appears */
    border-radius: 50%;
    cursor: pointer;
}

/* Thumb Styles (IE/Edge) */
input[type="range"]::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #3d5a80;
    border-radius: 50%;
    cursor: pointer;
}

/* Optional: Add focus styling */
input[type="range"]:focus {
    outline: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #3d5a80;
    margin-top: 5px;
}


form {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
}

label {
    font-weight: 550;
    color: #3d5a80;
    font-size: 14px;
    letter-spacing: .06em;
}

/* Accessibility-specific styles */

/* Required field indicators */
.required {
    color: #ee6c4d;
    margin-left: 4px;
}

/* Focus styles - ensuring good visibility */
:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Remove focus outline for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
    outline: none;
}

/* Restore focus outline for keyboard users */
:focus-visible {
    outline: 2px solid #98c1d9;
    outline-offset: 2px;
}

/* Error states */
[aria-invalid="true"] {
    border-color: #ee6c4d;
    background-color: #fef2f2;
}

.input-error {
    color: #ee6c4d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

[aria-invalid="true"]+.input-error {
    display: block;
}

/* Loading states */
[aria-busy="true"] {
    cursor: wait;
}

.button-text {
    visibility: visible;
}

[aria-busy="true"] .button-text {
    visibility: hidden;
}

[aria-busy="true"] .spinner {
    display: block;
    position: absolute;
}

/* Add these to your existing CSS */
.button-text {
    visibility: visible;
}

[aria-busy="true"] .button-text {
    visibility: hidden;
}

/* Optional: ensure button maintains width during loading */
.submit-btn {
    min-width: 100px;
    /* Adjust based on your needs */
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2563eb;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* High contrast mode support */
@media (forced-colors: active) {
    .required {
        forced-color-adjust: none;
    }

    [aria-invalid="true"] {
        outline: 2px solid CanvasText;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .spinner {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}

/* Mobile accessibility improvements */
@media (max-width: 640px) {

    /* Increase touch targets */
    button,
    input,
    select,
    textarea {
        min-height: 44px;
    }

    /* Increase spacing for touch targets */
    .form-group {
        margin-bottom: 1.5rem;
    }
}

/* Print styles for accessibility */
@media print {

    .input-error,
    .input-hint {
        display: block !important;
    }

    input[aria-invalid="true"] {
        border: 2px solid #000;
    }
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Ensure proper contrast for placeholder text */
::placeholder {
    color: #6b7280;
    opacity: 1;
}

/* Focus indicator for error messages */
[role="alert"]:focus {
    outline: 2px solid #ee6c4d;
}

input[type="number"],
select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

/* Info wrapper positioning */
.info-wrapper {
    position: relative;
    margin-bottom: 15px;
}



.label-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    position: relative;
}

/* Label styling */
label {
    margin-right: 5px;
}

.help-popup {
    display: none;
    background: white !important;
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    z-index: 99999 !important;
    position: fixed !important;
    max-width: 850px;
}


.help-popup.show {
    display: block;
}



.close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #3d5a80;
    font-weight: 550;
    cursor: pointer;
    max-width: 300px;
    padding: 10px;
}

/* Ensures the container takes the full width */
.input-container {
    position: relative;
    display: flex;
    flex-direction: column;
    /* Stacks label above the input */
    width: 100%;
    /* Full width to match other inputs */
    max-width: 100%;
    margin-bottom: 15px;
    /* Optional spacing between fields */
}

/* Input takes most of the width */
.percentage-input {
    width: calc(100% - 25px);
    /* Adjust as needed for the percentage sign */
    padding-right: 20px;
    /* Space for the percentage sign */
}

/* Percentage sign styling */
.percent-sign {
    position: absolute;
    right: 30px;
    /* Adjust spacing as needed */
    top: 60%;
    transform: translateY(-50%);
    font-weight: 550;
    pointer-events: none;
    color: #3d5a80;
}



.checkbox-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    width: 100%;
}

.checkbox-label {
    display: inline-block;
    flex-direction: column;
    /* Stacks label and description vertically */
    width: 100%;
    font-size: 1em;
    color: #3d5a80;
    font-weight: 600;
    letter-spacing: .06em;
}


.checkbox-option input[type="checkbox"] {
    margin-right: 25px;
    /* Add more or less space as needed */
    transform: scale(1.2);
    margin-bottom: 8px;
    /* Align the button to the label's baseline */
}



button {
    width: 100%;
    padding: 10px;
    font-size: 1.2rem;
    color: white;
    background-color: #ee6c4d;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    max-width: 300px;
    padding: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none;
}

button:hover {
    background-color: #e89782;
    color: #fff;
}


.question-card {
    position: relative;
    /* Make the card container a reference point */
    background-color: #ffffff;
    /* Card background color */
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    padding: 30px 30px 60px 60px;
    /* Padding inside the card */
    margin: 25px 0 25px 0;
    /* Space between cards */
    border: 1px solid #e0e0e0;
    /* Light border for definition */
}


.fffcard-points {
    position: absolute;
    /* Initially positioned absolutely */
    top: 10px;
    right: 10px;
    background-color: #3d5a80;
    color: #fff;
    padding: 18px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
    /* Ensures it stays on top */
    letter-spacing: .06em;
}

.card-points {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #3d5a80;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 18px 18px;
    border-radius: 4px;
    letter-spacing: .06em;
    text-align: left;
    /* Aligns text inside card-points to the left */
}

.card-help-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    background-color: #98c1d9;
    color: #3d5a80;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-weight: bold;
    display: flex !important;
    align-items: center;
    /* Centers question mark vertically */
    justify-content: center;
    /* Centers question mark horizontally */
    font-size: 14px;
    /* Adjust font size to fit well within the circle */
    font-weight: bold;
    padding: 0;
    /* Ensure no padding that might offset */
    line-height: 1;
    /* Ensures no extra vertical space */
}

.card-help-icon:hover {

    background-color: #fff;
}

/* Media query for small screens */
@media (max-width: 700px) {
    .question-card {
        position: relative;
        /* Reset positioning to allow normal flow */
        display: flex;
        flex-direction: column;
        /* Stack content vertically */
        align-items: flex-start;
        /* Aligns content to the start */
        padding: 20px;
    }

    .card-points {
        position: relative;
        /* Change to relative positioning */
        top: 0;
        right: 0;
        margin-bottom: 10px;
        /* Adds space below the box */
        width: 90%;
    }

    .question-card h3 {
        width: 100% !important;
        /* Make h3 full-width */
        margin-top: 0;
        /* Optional: remove margin if needed */
    }

    .feature-description {
        max-width: 100% !important;
        /* Adjust to desired line length */
    }
}

.feature-description p {
    font-size: 16px;
}

.card-points span {
    display: block;
    /* Separate each item onto a new line */
    margin-bottom: 8px;
}

.card-points span:last-child {
    margin-bottom: 0;
    /* Remove margin from the last item */
}

.question-card:hover {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
}

/* Styling for the card title */
.question-card h3 {
    margin-top: 10px;
    color: #3d5a80;
    font-size: 1.6rem;
    letter-spacing: .03em;
    max-width: 75%;
    line-height: 1.2em;
    padding-bottom: 0;
    /* Ensure no padding below H3 */
    font-weight: 700;
}

.feature-description {
    max-width: 75%;
    /* Adjust to desired line length */
    padding-bottom: 20px;
    overflow-wrap: break-word;
    /* Wrap long words to the next line */
    word-wrap: break-word;
    /* For legacy browser support */
}


.radio-option {
    display: flex;
    align-items: flex-start;
    /* Aligns the label with the radio button */
    margin-bottom: 20px;
    /* Spacing between radio options */
    width: 100%px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    flex-direction: column;
    /* Stacks label and description vertically */
    width: 100%px;
}

.dollar-signs {
    margin-left: 6px;
    /* Space between text and dollar signs */
    font-weight: 550;
    color: #4194c4;
    /* Change color as needed */
    font-size: .9em;
    /* Adjust size as needed */
    padding: 4px;
    letter-spacing: .06em;
}


.radio-description {
    margin: 5px 0 20px;
    /* Margin above description */
    font-size: 0.85em;
    /* Slightly smaller font size */
    color: #3d5a80;
    /* Optional: lighter text color */
    font-size: 14px;
    word-spacing: .02em;
    line-height: 1.4em;
    max-width: 80ch;
    /* Approximately 60 characters per line */
    font-weight: 500;
}

.radio-option label,
.checkbox-option label {

    font-size: 17px;
    /* Slightly smaller font size */
    color: #3d5a80;
    /* Optional: lighter text color */
    font-weight: 600;
    letter-spacing: .06em;

}

#layouts-needed {
    margin-top: -15px;
    /* Reduces space above */
    font-size: 14px;
    /* Optional: adjust font size to match styling */
    color: #4194c4;
    /* Matches the H3 color */
    font-weight: 600;
    /* Optional: to add visual weight */
    letter-spacing: .06em;
}

.slider-headers {

    font-size: 1em;
    /* Slightly smaller font size */
    color: #3d5a80;
    /* Optional: lighter text color */
    margin-bottom: 15px;
    font-weight: 550;
}



.radio-option input[type="radio"] {
    margin-right: 25px;
    /* Add more or less space as needed */
    transform: scale(1.2);
    margin-bottom: 8px;
    /* Align the button to the label's baseline */
}


#custom-message {
    color: #e76f51;
    font-size: 0.9rem;
    margin-top: -15px;
    margin-bottom: 15px;
}

.hidden {
    display: none;
}

/* Sticky Bar */
#display-bar {
    position: static;
    /* Behaves like a regular section on mobile */
    top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    z-index: 1000;
    padding-top: 0px;
}

/* Apply display position on larger screens */
@media (min-width: 700px) {
    #display-bar {
        position: sticky;
        top: 0;
        padding: 10px;
        flex-wrap: wrap;
        background-color: #fff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
}

.display-column {
    display: flex;
    flex-direction: column;
    background-color: #3d5a80;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    /* Add this to ensure inner elements don't break radius */
}

.content-wrapper p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}


.content-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 60px 20px;
}



/* Totals Styling */

.bottom-display {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 1.1rem !important;
    font-weight: 650;
    background-color: #98c1d9;
    color: #2c4566 !important;
    /*darker*/
    padding: 12px;
    text-align: center;
    margin: 0;
    box-sizing: border-box;
}

#total-price {
    width: 100%;
    font-size: 24px;
    font-weight: 550;
    background-color: #d4eaf7;
    color: #3d5a80;
    padding: 10px;
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin: 0 -10px 0 -10px;
    box-sizing: border-box;
    width: calc(100% + 20px);
}

/* Remove bottom margin from the last paragraph before #display-total */
.content-wrapper p:not(#display-total):last-of-type {
    margin-bottom: 0;
}

/* Mobile View */
@media (max-width: 700px) {
    #display-bar {
        flex-direction: column;
        align-items: center;
        padding: 3px;
    }

    /* Hide display columns on mobile by default */
    .display-column {
        display: none;
    }

    /* Show totals column by default */
    .totals-column {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
    }

    /* Show the button on mobile */
    .show-details-button {
        display: block;
        margin: 5px auto;
        /* Add more vertical margin */
        width: calc(100% - 30px);

    }

    /* When expanded, show columns stacked vertically */
    #display-bar.display-expanded .display-column {
        display: flex;
        width: 100%;
        margin-bottom: 10px;
    }
}


/* Hide show details button on larger screens */
@media (min-width: 700px) {
    .show-details-button {
        display: none !important;
    }
}

/* Responsive Columns for Larger Screens */
@media (min-width: 600px) and (max-width: 999px) {
    .display-column {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (min-width: 1000px) {
    .display-column {
        flex: 1 1 calc(25% - 20px);
    }
}

/* Show Details Button */
.show-details-button {
    margin: 12px;
    /* Add equal margin around the button */
    padding: 12px 20px;
    /* Add padding inside the button */
    background-color: #ee6c4d;
    /* Background color of the button */
    color: #fff;
    /* Text color of the button */
    border: none;
    /* Remove border for a cleaner look */
    border-radius: 6px;
    /* Rounded corners */
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
}



.input-container {
    display: flex;
    align-items: center;
    /* Vertically aligns items */
    gap: 10px;
    /* Space between elements */
}

#contact-forms {
    margin-right: 8px;
    /* Space between input and next element */
    max-width: 300px;
}

.number-contact-forms-input-label {
    margin: 0;
    /* Remove default margin */
    font-size: 0.9em;
    /* Optional: adjust font size */
    font-weight: 550;
}



.show-details-button:hover {
    background-color: #f0f0f0;
    /* Slightly darker on hover */
}

.show-details-button:hover {
    background-color: #3c7ac2;
}

.content-wrapper h3 {
    font-size: 1.4em;
    color: #fff;
    margin: 0 0 14px 0;
    letter-spacing: .06em;
    font-weight: 550;
}

.display-column h1 {
    color: #fff;
}

#display-bar p {
    font-size: .9em;
    font-weight: 450;
    color: #fff;
    line-height: 1.3em;
    letter-spacing: .08em;
    word-spacing: .1em;

}

/* BEGIN PRICING TOOLS */
#advanced-pricing-tools {
    display: block;
    margin: 20px auto;
    padding: 15px;
    font-size: 1rem;
    border-radius: 4px;
    color: #fff;
    width: auto;
}



.help-icon {

    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #3d5a80;
    /* Add border instead of background */
    background: transparent;
    /* Remove fill */
    color: #3d5a80;
    font-size: 12px;
    margin-left: 5px;
    transition: all 0.2s;
}

.help-icon:hover {
    color: #fff;
    background: #3d5a80;
}




/* Column title styling */
.pricing-column h3 {
    margin-top: 0;
    color: #98c1d9;
    font-size: 1.2rem;
    letter-spacing: .06em;
    padding: 20px;
}

#pricing-tools {
    display: none;
    margin: 20px;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

#pricing-tools.show {
    display: block;
}

#pricing-tools.show-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* Reduced gap between columns */
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Column styling */
.pricing-column {
    flex: 1;
    min-width: 200px;
    /* Reduced from 250px */
    max-width: calc(25% - 12px);
    /* Ensure 4 columns can fit */
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
    /* Slightly reduced padding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Make inputs slightly smaller */
.info-wrapper input[type="number"] {
    width: 100%;
    padding: 6px 8px;
    font-size: 0.9rem;
}

/* Adjust label font size */
.label-container label {
    font-size: 0.9rem;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .pricing-column {
        max-width: calc(25% - 12px);
        min-width: 180px;
        /* Even smaller on medium screens */
        padding: 10px;
    }

    #pricing-tools.show-columns {
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .pricing-column {
        flex: 0 1 calc(35% - 8px);
        /* Switch to 2 columns */
        max-width: calc(50% - 8px);
        min-width: auto;
    }
}

@media (max-width: 600px) {
    .pricing-column {
        flex: 0 1 100%;
        /* Single column */
        max-width: 100%;
    }

    #pricing-tools {
        margin: 15px 10px;
        width: calc(100% - 20px);
    }
}

/* END PRICING TOOLS */
@keyframes pop {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.95;
    }

    /* Reduced scale and fade */
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pop-animation {
    animation: pop 0.3s ease-in-out;
    /* Adjust easing for smoother effect */
    transform-origin: center;
}

.question label {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #3d5a80;
}

#hourly-price-label {
    color: red;
    /* Make the label text red for visibility */
    font-size: 16px;
    z-index: 1000;
}


/* Popup Overlay Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}


.popup-content {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    overflow: auto;
    max-height: 90%;
    box-sizing: border-box;
    position: relative;
}

/* Position header for close button alignment */
.popup-content header {
    position: relative;
    margin: -35px -35px 20px -35px;
    /* Negative margins to offset parent padding */
    padding: 20px 35px;
    border-bottom: 1px solid #eee;
}

/* Close button styles - adjusted positioning */
.close-btn {
    position: absolute;
    top: 0px;
    /* Moved closer to top */
    right: 3px;
    /* Moved closer to right */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    /* Slightly larger for better visibility */
    color: #3d5a80;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
    z-index: 1001;
}

/* Remove the ::before pseudo-element */
.close-btn::before {
    content: none;
}

/* Hover state */
.close-btn:hover {
    background-color: #f3f4f6;
    color: #3d5a80;
}

/* Focus state for accessibility */
.close-btn:focus {
    outline: 2px solid #3d5a80;
    outline-offset: 2px;
}

/* Active state */
.close-btn:active {
    background-color: #e5e7eb;
    transform: scale(0.95);
}

.input-hint {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
    padding: 5px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .popup-content {
        padding: 25px;
    }

    .popup-content header {
        margin: -25px -25px 15px -25px;
        padding: 15px 25px;
    }

    .close-btn {
        top: 15px;
        right: 15px;
    }
}

/* Optional: Add animation for popup appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-content {
    animation: fadeIn 0.2s ease-out;
}



.popup-header {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 550;
    text-align: center;
}

/* Popup Form Group Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 550;
    font-size: 14px;
}



.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.form-group textarea {
    width: 100%;
    padding: 30px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    box-sizing: border-box;
    /* Ensures padding does not affect the width */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3d5a80;
}

/* Base font styles for all form elements */
input,
select,
textarea {
    font-family: inherit;
    /* Inherits from parent/body */
    font-size: inherit;
    /* Inherits from parent/body */
    line-height: inherit;
    /* Inherits from parent/body */
}

/* If you need more specific styles for textarea */
textarea {
    min-height: 100px;
    resize: vertical;
    /* Only allows vertical resizing */
}

/* Optional: Style the placeholder text to match */
::placeholder {
    font-family: inherit;
    font-size: inherit;
    color: #6b7280;
    /* A subtle gray color */
    opacity: 1;
    /* Ensures consistent opacity across browsers */
}

/* Button Styles */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-btn,
.cancel-btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin: 10px;
}



.submit-btn:hover {
    background-color: #e9a898;
}

.cancel-btn {
    background-color: #ccc;
    color: #3d5a80;
}

.cancel-btn:hover {
    background-color: #ccc;
}

h2.popup-header {
    color: #3d5a80;
}

.form-group-inline {
    display: flex;
    /* Aligns child elements in a row */
    gap: 16px;
    /* Adds space between first and last name fields */
}

.form-group-inline .form-group {
    flex: .5;
    /* Ensures equal width for both fields */
}

.form-group-inline input {
    width: 100%;
    box-sizing: border-box;
    /* Ensures padding doesn't affect width */
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3d5a80;
    /* Optional: makes the label 550 */
    letter-spacing: .4px;
}

.form-group {
    margin-bottom: 20px;
    /* Adds space between form groups */
}

.submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #ee6c4d;
    color: #fff;
    min-width: 100px;
    /* Ensure button maintains width */
}

.spinner {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 16px;
    width: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    /* More visible on blue background */
    border-top: 3px solid #ffffff;
    /* White spinner on blue button */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    pointer-events: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.input-error {
    color: #e63946;
    /* Red color for error */
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
    /* Hidden by default */
}

#error-message {
    position: fixed;
    /* Keep it above the page content */
    z-index: 1001;
    /* Higher than other elements */
    background-color: #ee6c4d;
    /* Add red background for visibility */
    color: white !important;
    /* White text color */
    padding: 10px;
    border-radius: 5px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    /* Hidden by default */
}

input[readonly] {
    background-color: #f0f0f0 !important;
    /* Light gray background */
    color: #b4b1b1 !important;
    /* Dim text color */
    border: 1px solid #ccc !important;
    /* Subtle border */
    cursor: not-allowed !important;
    /* Show not-allowed cursor */
}

.proposal-section, .rfp-section {
    margin-top: 2rem;
    padding: 10px 0 60px 0;
}
.proposal-section p, .rfp-section p {
    padding: 0 0 15px 0;
    font-size: 16px;
}

.proposal-section-item, .rfp-section-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-left: 3px solid #3d5a80;
    background-color: #f8f9fa;
}

.proposal-section-base, .rfp-section-base {
    font-weight: 550;
    margin-bottom: 0.5rem;
}

.proposal-section-details, .rfp-section-details {
    font-size: 0.9rem;
    color: #3d5a80;
}

.service-notes {
    margin-top: 1rem;
    font-style: italic;
}

.features-section {}

.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    padding: 40px 20px;
    box-sizing: border-box;
    width: 100%;
}

#proposal-output {
    width: min(95%, 1200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

* Inner proposal container */ .proposal-container, .rfp-container {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-wrap: break-word;
    padding: clamp(20px, 5vw, 60px) clamp(15px, 3vw, 40px);
}



#proposal-output h4 {
    font-size: 20px;
    color: #3d5a80;
    letter-spacing: .06em;
}

#proposal-output h1 {
    margin-bottom: 40px;
    letter-spacing: .06em;
}



@media (max-width: 768px) {

    /* Tablets and smaller */
    #proposal-output {
        width: 90%;
    }
}

@media (max-width: 480px) {

    /* Mobile devices */
    #proposal-output {
        width: 98%;
    }
}

/* Styling for heading and copy Do I use this? */
.intro-heading {
    font-size: 1.8rem;
    font-weight: 550;
    margin: 30px 0 40px 0;
    margin: 0 auto;
}

.intro-copy {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 800px;
    text-align: left;
    color: #3d5a80;
    max-width: 80ch;
}

/* Copy to clipboard button styling */
.copy-button,
.download-btn,
.word-btn {
    margin: 8px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #3d5a80;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    max-width: 250px;
}

.word-btn:hover {
    color: #3d5a80;
    background-color: #98c1d9;
}

.copy-button:hover {
    background-color: #98c1d9;
    color: #3d5a80;
}

.download-btn:hover {
    background-color: #98c1d9;
    color: #3d5a80;
}

.copy-success {
    display: none;
    color: rgb(54, 135, 54);
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}




/* Overall Document Styling */
.proposal-document {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #3d5a80;
    background: #fff;
    padding: 40px;
}

/* Header Styling */
.proposal-document h1 {
    color: #3d5a80;
    font-size: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3d5a80;
    padding-bottom: 10px;
    font-weight: 550;
    letter-spacing: .06em;
}

.proposal-section h2,
.page-container h2 {
    color: #3d5a80;
    font-size: 32px;
    text-align: center;
    padding: 20px 0 40px 0;
    font-weight: 550;
    letter-spacing: .06em;


}

.proposal-section h3,
.page-container h3 {
    color: #98c1d9;
    font-size: 30px;
    margin-top: 120px;
    margin-bottom: 60px;
    letter-spacing: .06em;

}

/* Welcome box */
.hello-box {
    background-color: #98c1d9;
    padding: 40px;
    margin: 25px 0 15px 0;
    border-radius: 8px;
    display: flexbox;
}


.hello-box h4 {
    color: #3d5a80;
    font-size: 18px;
    font-weight: 600;

}

.hello-box p {
    font-size: 14px;
}

.proposal-document h4,
.page-container h4 {
    color: #3d5a80;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: .06em;
}

* Project data section */ .project-data {
    margin-bottom: 2rem;
}

/* Project card with grid */
.project-card {
    margin-bottom: 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: minmax(80px, auto);
    /* Min height 80px, but can grow if needed */
    gap: 1rem;
}

/* Main content section */
.proposal-content, .rfp-container{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: white;
    padding: 20px 80px 20px 80px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

/* Individual sections */
.rfp-section,
.proposal-section,
.features-section,
.not-included-section,
.phase2-section {
    margin-bottom: 2rem;
}


/* Media queries */
@media (max-width: 768px) {
    .page-container {
        padding: 20px 10px;
    }

    .proposal-container, .rfp-container {
        padding: 20px 15px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .page-container {
        padding: 0;
        background-color: white;
        min-height: auto;
    }

    #proposal-output,
    .proposal-container, .rfp-container {
        width: 100%;
        box-shadow: none;
        border: none;
    }

    .proposal-container, .rfp-container {
        padding: 20px;
    }
}



.project-column {
    padding: 20px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 0px;
}

.project-column h3 {
    color: #3d5a80;
    font-size: 18px;
    margin: 15px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
}

.project-column p {
    margin: 8px 0;
    color: #3d5a80;
}

@media (max-width: 992px) {
    .project-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-card {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3d5a80;
    display: block;
    /* Use block, flex, or grid as needed */
    box-sizing: border-box;
    /* Ensures padding is included in width/height */
}

/* Lists Styling */
ul {
    padding-left: 20px;
    margin: 15px 0;
}

ul li {
    margin: 8px 0;
    line-height: 1.6;
}

/* Notes Styling */
.feature-notes {
    margin: 10px 0;
    padding: 10px;
    background: #ebf5fb;
    border-radius: 4px;
    font-style: italic;
}

/* Signature Section Styling */
.signature-section {
    margin-top: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.signature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.signature-box {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* Print Specific Styles */
@media print {
    .proposal-document {
        padding: 0;
    }

    .project-card {
        break-inside: avoid;
    }

    .feature-item {
        break-inside: avoid;
    }

    h1,
    h2,
    h3,
    h4 {
        break-after: avoid;
    }

    .signature-section {
        break-before: page;
    }
}

/* Additional Styling for Specific Elements */
.layout-count {
    color: #3d5a80;
    font-size: 0.9em;
    margin: 5px 0;
}

.phase2-item {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #ee6c4d;
}

.additional-service {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #2ecc71;
}

/* Footer Container */


.footer-container {
    background-color: #98c1d9;
    padding: 60px 30px;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    /* Changed from grid to flex */
    justify-content: space-between;
    /* Distribute space between columns */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
    /* Prevent wrapping on large screens */
    gap: 40px;
    border-radius: 8px;
    color: #3d5a80;
}

/* Footer Columns */
.footer-column {
    flex: 1;
    /* Each column takes equal space */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    /* Minimum width for each column */
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo-img {
    max-width: 120px;
    height: auto;
}

/* Footer Headings */
.footer-column h4 {
    color: #3d5a80;
    font-size: 22px;
    font-weight: 550;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: .06em;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to left, #3d5a80 50%, #98c1d9 85%);
}

/* Footer Links */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    font-size: 16px;
    text-align: center;
}

.footer-column ul li a {
    color: #293241;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    letter-spacing: .06em;
}

.footer-column ul li a:hover {
    color: #3d5a80;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        /* Stack on mobile */
        padding: 40px 20px;
        text-align: center;
        gap: 30px;
    }

    .footer-column {
        align-items: center;
        min-width: unset;
        /* Remove min-width constraint on mobile */
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo {
        justify-content: center;
    }
}

/* Accessibility */
.footer-column a:focus {
    outline: 2px solid #293241;
    outline-offset: 2px;
}

/* Optional: Add bottom copyright bar */
.footer-bottom {
    background-color: #f5f5f5;
    padding: 15px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #3d5a80;
    margin-top: 20px;
}

/*PDF*/


.download-options {
    position: sticky;
    top: 0px;
    z-index: 100;
    text-align: center;
    padding: 5px 5px;
    background: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
}




/* Add some print styles to help with PDF generation */
@page {
    margin: 0.5in;
}

@media print {
    .download-options {
        display: none !important;
    }
}


.contact-form-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Add some animation for search filtering */


.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: system-ui, -apple-system, sans-serif;
}

.faq-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: #3d5a80;
}

.faq-intro p {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    color: #3d5a80;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3d5a80;
}

.faq-search {
    margin-bottom: 2rem;
}

.faq-search input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    max-width: 330px;
}

.faq-search input:focus {
    border-color: #3d5a80;
    outline: none;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Update the faq item styling */
.faq-item {
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #3d5a80;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #3d5a80;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-container {
        padding: 1rem;
    }
}

/* Add some animation for search filtering */
.faq-item {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-item.hidden {
    opacity: 0;
    transform: translateY(20px);
}



/* Print/PDF Styles */
@media print {

    /* Force page breaks before major sections */
    .project-data,
    .features-section,
    .layouts-section,
    .phase2-section,
    .additional-services,
    h1 {
        break-inside: avoid;
        page-break-before: always;
    }

    /* Prevent breaks inside elements */
    .project-column,
    .feature-item,
    .phase2-item,
    .additional-service-item {
        break-inside: avoid;
    }

    /* Add some spacing */
    .proposal-document {
        padding: 20mm;
    }

    /* Hide download buttons when printing */
    .download-options {
        display: none;
    }

    /* Ensure good contrast for printing */
    body {
        color: black;
        background: white;
    }

    /* Improve header visibility */
    h1,
    h2,
    h3,
    h4 {
        color: #000;
        margin-top: 15px;
    }

    /* Ensure tables don't split */
    table {
        break-inside: avoid;
    }
}

/* POINTS ANIMATION BOX */
.points-popup {
    width: 700px;
    max-width: 90vw;
    /* Ensure it doesn't overflow viewport */
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.points-popup-instance {
    position: fixed;
    /* Changed from absolute to ensure consistent positioning */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Center both vertically and horizontally */
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 700px;
    max-width: 90%;
    padding: 20px;
    height: auto;
    /* Changed from fixed height */
    max-height: 90vh;
    overflow-y: auto;
    min-height: min(600px, 90vh);
    /* Use minimum of 600px or 90vh */
}

/* Help grid structure */
.help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: 100%;
    width: 100%;
    /* Ensure full width */
}

/* Help column structure */
.help-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    /* Ensure full width */
}

/* Animation container */
.animation-container {
    flex: 0 0 300px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Ensure full width */
}

.animation-container svg {
    width: auto;
    max-width: 90%;
    /* Give some space for padding */
    height: auto;
    max-height: 300px;
    object-fit: contain;

}

/* Close button */
.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #3d5a80;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: background-color 0.3s ease;
    font-weight: 300;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    /* Ensure it's above other content */
}

/* Explanation content */
.explanation {
    padding: 10px 0;
    width: 100%;
    /* Ensure full width */
}

.explanation strong {
    color: #3d5a80;
    display: block;
    margin-bottom: 8px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .points-popup-instance {
        width: 95%;
        height: auto;
        max-height: 95vh;
        padding: 15px;
    }

    .help-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .animation-container {
        flex: 0 0 250px;
        /* Slightly smaller on mobile */
    }

    .animation-container svg {
        height: 250px;
    }

    .points-popup-instance::after {
        display: none;
    }
}

/* SURVEY */
.feedback-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.feedback-button {
    background-color: rgba(231, 111, 81, 0.9);
    /* Slightly transparent */
    color: white;
    border: none;
    border-radius: 50%;
    /* Makes it circular */
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px;
    overflow: hidden;
    /* Hides text initially */
}

.feedback-icon {
    min-width: 24px;
    /* Prevents icon from shrinking */
    height: 24px;
}

.feedback-text {
    white-space: nowrap;
    opacity: 0;
    width: 0;
    margin-left: 0;
    transition: all 0.3s ease;
}

/* Hover state */
.feedback-button:hover {
    width: auto;
    padding: 8px 20px;
    border-radius: 20px;
    background-color: rgba(231, 111, 81, 1);
    /* Fully opaque on hover */
}

.feedback-button:hover .feedback-text {
    opacity: 1;
    width: auto;
    margin-left: 8px;
}

/* Optional: add subtle bounce animation */
.feedback-button:hover {
    animation: subtle-bounce 0.3s ease;
}

@keyframes subtle-bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .feedback-widget {
        bottom: 15px;
        right: 15px;
    }

    .feedback-button {
        width: 36px;
        height: 36px;
    }

    .feedback-button:hover {
        padding: 6px 16px;
    }
}