:root {
    --compass-green: #00703c;
    --compass-yellow: #ffd300;

    --color-bg-light-grey1: #e7ecea;
    --color-bg-light-grey2: #f2f4f3;
    --color-bg-grey: #d9d9d9;
    --color-bg-dark-grey: #484c4f;
    --color-bg-yellow: #fed57d;
    --color-yellow-hover: #f0ca7d;
    --color-white: white;
    --color-white2: #f2f4f3;
    --color-black: black;
    --color-text-grey: #777777;
    --color-border-grey: #d1d5db;
    --font-size-small: 0.75em;
    --font-size-text: 14px;
    --font-size-subhdr: 1.25em;
    --font-size-hdr: 1.5em;
    --font-size-price: 2em;
    --font-weight-extra-light: 100;
    --font-weight-light: 200;
    --font-weight-normal: 400;
    --font-weight-semibold: 500;
    --font-weight-bold: 900;
}

body {
    background-color: var(--color-bg-light-grey1);
    font-family: "Mona-Sans Regular", sans-serif;
    font-size: var(--font-size-text);
}

b,
strong {
    font-family: "Mona-Sans SemiBold";
    font-weight: 700;
}

/** Question Page Styles **/
h1.question-header {
    font-size: 21px;
    font-weight: 400;
    margin: 0;
}

.progress-segment {
    height: 10px;
    border-radius: 999px;
    background: #c8c8c8;
    flex: 1;
    overflow: hidden;
}
.progress-segment.done {
    background: var(--compass-green);
}
.progress-segment.current {
    background: var(--compass-yellow);
}
.toggle-option {
    border: 2px solid #b4b4b4;
    border-radius: 10px;
    padding: 12px 22px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}
.toggle-option:hover {
    border-color: var(--color-bg-grey);
}
.toggle-option.active {
    border-color: var(--compass-green);
    background: var(--compass-green);
    color: var(--color-white);
    box-shadow: 0 0 0 2px rgba(0, 112, 60, 0.1);
}
.btn-compass-green {
    background: var(--compass-green);
    color: var(--color-white);
    border: none;
}
.btn-compass-green:hover {
    background: #005a30;
    color: var(--color-white);
}

/** Client Details Form Styles **/
.step {
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--compass-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 112, 60, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: var(--compass-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 112, 60, 0.25);
}

.form-label.fw-bold {
    font-family: "Mona-Sans SemiBold";
    color: var(--color-black);
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid var(--color-border-grey);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: var(--font-size-text);
    transition: all 0.2s ease;
}

.form-control:hover {
    border-color: var(--color-bg-grey);
}

.row .col-md-6 {
    padding-left: 8px;
    padding-right: 8px;
}

/* Toast notifications */
.toast-notification {
    font-family: "Mona-Sans SemiBold";
    font-size: 14px;
    border: none;
    max-width: 400px;
    text-align: center;
}

/* Client form specific styling */
#step0 .row {
    margin-left: -8px;
    margin-right: -8px;
}

/* Required field indicator */
.form-label.fw-bold:has-text("*") {
    position: relative;
}

input[required] + label::after,
label[for] input[required]::after {
    content: " *";
    color: #dc3545;
}

/** Quote landing page **/

.quote-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: var(--color-text-grey);
}

.quote-card {
    width: 1285px;
    max-width: 100%;
    background-color: var(--color-bg-light-grey2);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.quote-header {
    background-color: var(--color-bg-dark-grey);
    padding: 35px 50px;
    border-radius: 20px 20px 0 0;
    flex: 0 0 auto;
    align-self: auto;
}

.quote-header h1 {
    color: var(--color-white);
    font-size: 21px;
    font-weight: 400;
    margin: 0;
}

.quote-body {
    padding: 25px 50px;
    background-color: var(--color-bg-light-grey2);
    flex: 0 0 auto;
    align-self: auto;
}

.greeting {
    font-size: 17.5px;
    margin-bottom: 30px;
}

.quote-card .description-text {
    line-height: 1.7;
    margin-bottom: 0px;
}

.quote-card .description-text.paragraph {
    margin-bottom: 25px;
}

.info-box {
    background-color: var(--color-bg-yellow);
    color: var(--color-black);
    font-weight: 700;
    padding: 25px 50px;
    flex: 0 0 auto;
    align-self: auto;
}

.info-box-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-box-header i {
    margin-right: 5px;
}

.contact-info {
    font-weight: 200;
    margin-bottom: 8px;
    padding-left: 20px;
}

.additional-info {
    font-weight: 700;
    line-height: 2;
    margin-top: 25px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.info-textarea {
    width: 100%;
    max-width: 450px;
    height: 120px;
    padding: 15px;
    border: 1px solid var(--color-border-grey);
    border-radius: 8px;
    resize: none;
    background-color: var(--color-white);
}

.info-textarea::placeholder {
    color: var(--color-border-grey);
    font-size: 12px;
}

.quote-footer {
    background-color: var(--color-bg-dark-grey);
    font-weight: var(--font-weight-bold);
    padding: 25px 25px 25px 40px;
    flex: 0 0 auto;
    align-self: auto;
}

.quote-footer .nav-ctn {
    display: flex;
    justify-content: space-between;
}

.quote-footer .nav-ctn.reverse {
    justify-content: flex-end;
}

.quote-footer .nav-ctn .proceed-btn {
    background-color: var(--color-bg-yellow);
    color: var(--color-bg-dark-grey);
    padding: 8px 48px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.proceed-btn:hover {
    background-color: var(--color-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.proceed-btn:active {
    transform: translateY(0);
}

/** Quote overview page **/
.overview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: var(--color-text-grey);
}

.overview-card {
    width: 1285px;
    height: 100%;
    background-color: var(--color-bg-light-grey2);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.overview-header {
    background-color: var(--color-bg-dark-grey);
    padding: 35px 50px;
    border-radius: 20px 20px 0 0;
}

.overview-header h1 {
    color: var(--color-white);
    font-size: 21px;
    font-weight: 400;
    margin: 0;
}

.overview-body {
    padding: 25px 50px;
    background-color: var(--color-bg-light-grey2);
    flex: 1;
}

.quote-amount {
    font-size: 17.5px;
    color: var(--color-text-grey);
    margin-bottom: 30px;
}

.quote-amount strong {
    font-size: 2em;
    font-family: "Mona-Sans SemiBold";
    font-weight: 700;
    margin: 0 8px;
    color: var(--color-black);
}

.overview-card .description-text {
    color: var(--color-text-grey);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.disclaimer-text {
    color: var(--color-black);
    font-size: 14px;
    font-family: "Mona-Sans SemiBold";
    font-weight: 700;
    margin-bottom: 30px;
}

.info-section {
    background-color: var(--color-bg-dark-grey);
    color: var(--color-white);
    padding: 30px 35px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.info-section-header {
    display: flex;
    align-items: center;
    font-family: "Mona-Sans SemiBold";
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
}

.info-icon {
    margin-right: 10px;
    font-size: 24px;
}

.info-section p {
    font-size: 14px;
    font-weight: 200;
    line-height: 1.8;
    margin-bottom: 12px;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.action-card {
    background-color: var(--color-bg-grey);
    padding: 30px 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: left;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.action-card.yellow {
    background-color: var(--color-bg-yellow);
}

.action-card.dark {
    background-color: var(--color-bg-dark-grey);
    color: var(--color-bg-yellow);
}

.action-card-title {
    font-size: 14px;
    color: var(--color-text-grey);
    margin-bottom: 20px;
}

.action-card.dark .action-card-title {
    color: var(--color-bg-yellow);
}

.action-card-link {
    font-size: 14px;
    color: var(--color-black);
    font-family: "Mona-Sans SemiBold";
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.action-card.dark .action-card-link {
    color: var(--color-bg-yellow);
}

.action-card-link::after {
    content: "→";
    margin-left: 8px;
    font-size: 18px;
}

.overview-footer {
    background-color: var(--color-bg-dark-grey);
    padding: 25px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.back-btn {
    background-color: var(--color-bg-yellow);
    color: var(--color-bg-dark-grey);
    font-size: 14px;
    font-family: "Mona-Sans SemiBold";
    font-weight: 900;
    padding: 8px 48px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.back-btn::before {
    content: "←";
    margin-right: 8px;
    font-size: 18px;
}

.back-btn:hover {
    background-color: var(--color-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-btn:active {
    transform: translateY(0);
}

/** Media queries **/

@media (max-width: 1400px) {
    .quote-card {
        height: auto;
    }

    .overview-card {
        height: auto;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .quote-amount strong {
        font-size: 1.5em;
    }
}
