body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    font-weight: 200;
    font-size: 1.35rem;
}

.left-align {
    align-self: flex-start !important; /* Aligns the element to the start (left) of the flex container */
    text-align: left !important; /* Ensures the text is left-aligned */
}

/* Navbar styling */
.navbar-light-gray {
    background-color: #f8f9fa;
}

.navbar-light-gray .nav-link, .navbar-light-gray .navbar-brand {
    color: #000000;
}

.navbar-light-gray .nav-link:hover, .navbar-light-gray .navbar-brand:hover {
    color: #333333;
}

.navbar-light-gray .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-light-gray .nav-link, .navbar-light-gray .navbar-brand {
    font-size: 0.875rem; /* Adjust the size as needed (0.875rem = 14px) */
}

.brand-logo {
    height: 32px;
    width: 32px;
}

/* Container and image styling */
.full-width-container, .full-width-text-container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
}

.full-width-text-container {
    padding: 100px;
}

/* Right column styles */
.prep-to-sell-right-column {
    flex: 1;
    min-width: 0;
    margin-top: 30px;
}


/* Image styling */
.prep-to-sell-circle-image {
    width: 100%;
    height: auto;
    margin: 0;
}

.prep-to-sell-circle-image {
    max-width: 100px;
}

/* Banner styles */
.prep-to-sell-banner {
    width: 100%;
    background-color: #4F5152;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.prep-to-sell-banner-image {
    flex: 0 0 20%;
    max-width: 20%;
    height: auto;
}

.prep-to-sell-banner-text {
    flex: 1;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    padding-left: 20px;
    text-align: left;
}

.prep-to-sell-banner-text h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.prep-to-sell-banner-text p {
    margin: 0;
}

/* Author container styling */
.avoid-mistakes-author-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 2.5%;
    text-align: left;
    gap: 10px;
}

.avoid-mistakes-author-text {
    margin: 0;
    font-style: italic;
    font-size: 90%;
}

/* Image styling */
.avoid-mistakes-circle-image {
    width: 100%; /* Ensures the image is responsive */
    max-width: 75px; /* Maximum width for the image */
    height: auto; /* Keeps the aspect ratio */
    margin: 0; /* Removes any automatic margins */
}

.avoid-mistakes-circle-text-container {
    position: relative; /* Establishes a positioning context for the text */
    width: 100%; /* Makes the container responsive */
    max-width: 100%; /* Allows the image to resize */
}

.avoid-mistakes-background-image {
    width: 100%; /* Ensures the image is responsive */
    height: auto; /* Maintains the aspect ratio */
    display: block; /* Prevents inline block spacing issues */
}

.avoid-mistakes-centered-text {
    position: absolute; /* Allows positioning relative to the parent */
    top: 50%; /* Centers the text vertically */
    left: 50%; /* Centers the text horizontally */
    transform: translate(-50%, -50%); /* Offsets by 50% to center correctly */
    color: black; /* Text color */
    font-size: 1.5rem;
    font-weight: bolder;
    text-align: center; /* Centers the text */
    width: 60%; /* Limits width for better readability */
    line-height: 1.5; /* Adds line height for readability */
    padding: 10px; /* Adds some padding around the text */
    overflow-wrap: break-word; /* Ensures long words break and do not overflow */
}

/* List styles */
.addValue-styled-list, .addValue-dash-list, .styled-list, .dash-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.addValue-styled-list li, .addValue-dash-list li, .styled-list li, .dash-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

.addValue-styled-list li strong {
    font-weight: bold;
}

/* General Two-Column Layout */
.page-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-left-column, .page-right-column {
    flex: 1;
    min-width: 300px;
    text-align: left;

}

.cta-button {
    background-color: #4e5152; /* Dark gray background */
    color: #FFFFFF; /* White text */
    border: 2px solid #FFFFFF; /* White border, 2px thick */
    padding: clamp(8px, 0.83vw, 12px) clamp(20px, 4.16vw, 60px); /* Responsive padding */
    font-size: clamp(16px, 2.5vw, 36px); /* Responsive font size */
    font-weight: bold; /* Bold font */
    font-family: Arial, sans-serif; /* Sans-serif font */
    text-transform: uppercase; /* Uppercase text */
    border-radius: 0; /* Sharp corners */
    cursor: pointer; /* Hand cursor on hover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    display: inline-block; /* Ensures proper spacing */
    text-decoration: none; /* Removes underline if used as an <a> tag */
}

.cta-button:hover {
    background-color: #444444; /* Slightly lighter gray on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/*.cta-button {*/
/*    background-color: #4e5152; !* Dark gray background *!*/
/*    color: #FFFFFF; !* White text *!*/
/*    border: 2px solid #FFFFFF; !* White border, 2px thick *!*/
/*    padding: 12px 60px; !* Padding: 12px top/bottom, 24px left/right *!*/
/*    font-size: 36px; !* Font size *!*/
/*    font-weight: bold; !* Bold font *!*/
/*    font-family: Arial, sans-serif; !* Sans-serif font *!*/
/*    text-transform: uppercase; !* Uppercase text *!*/
/*    border-radius: 0; !* Sharp corners *!*/
/*    cursor: pointer; !* Hand cursor on hover *!*/
/*    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); !* Subtle shadow *!*/
/*    display: inline-block; !* Ensures proper spacing *!*/
/*    text-decoration: none; !* Removes underline if used as an <a> tag *!*/
/*}*/
/*.cta-button:hover {*/
/*    background-color: #444444; !* Slightly lighter gray on hover *!*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); !* Stronger shadow on hover *!*/
/*}*/

.page-cta-text {
    font-size: 1.10em;
    font-weight: bolder;
    margin: 30px 0;
}

/* Section padding */
.prep-to-sell-section, .page-section {
    padding: 10px 2.5%;
    margin: 0 auto;
    max-width: 1280px;
}

/* Homepage main title */
.homepage-main-title, .homepage-sub-title {
    text-transform: uppercase;
    margin-bottom: 10px;
}

.homepage-main-title {
    font-size: 36px;
}

.homepage-sub-title {
    font-size: 28px;
}

/* Signature and team photo styling */
.homepage-signature-photo, .homepage-team-photo {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.homepage-team-photo {
    max-width: 600px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 5px solid #ddd;
    object-fit: cover;
}

/* Contact form row */
.contact-form-row, .site-message-form-container, .site-message-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-message-form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.send-message-btn img, .right-col-btn-image, .page-left-col-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Prevents distortion */
    margin: 0 auto; /* Centers the image horizontally if its container is wider than 400px */

}

.right-col-btn-image,
.page-left-col-image {
    max-width: 600px;
}

.hero-container {
    position: relative;
    margin-bottom: 5px;
    width: 100%;
}

.hero-container img {
    width: 100%;
    text-align: center;
    height: auto;
}

.container-fluid {
    padding: 0; /* Remove padding to ensure full-width content */
}

.hero-button {
    text-align: center;
}

.hero-button img {
    max-width: 450px;
    height: auto;
}

.hero-center-text {
    width: 70%;
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    text-align: center;
}

.hero-logo {
    width: 70%;
    position: absolute;
    bottom: 60%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    text-align: center;
}

.hero-logo img {
    max-width: 1800px;
    height: auto;
}

/* Carousel styles */
.carousel-item {
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.carousel-item.active {
    opacity: 1;
}

.step-header {
    display: flex; /* Aligns children horizontally (image + h2) */
    align-items: center; /* Centers vertically along the cross-axis */
    /*gap: 10px; !* Adds space between the image and the text *!*/
    /*justify-content: flex-start; !* Left-aligns the content by default *!*/
    /*text-align: left; !* Ensure left alignment of the text *!*/
}

.selling-step-image {
    width: 100%;
    height: auto;
    max-width: 1200px; /* Smaller circle images for mobile */
    margin: 0; /**/
}

.selling-author-text {
    font-size: 1em; /* Slightly smaller than the quote */
    font-weight: bold;
    color: #555; /* Slightly lighter for contrast */
    text-align: left !important; /* Align text to the right */
    margin-top: 10px; /* Space above author section */
}

.centered-header {
    display: flex;
    justify-content: center; /* Ensures the header and line are centered within the container */
}

.header-with-line {
    position: relative;
    display: inline-block;
    text-align: center; /* Ensures the line is centered relative to the text */
}

.header-with-line::after {
    content: "";
    display: block;
    width: 120%; /* Line width slightly larger than the header */
    height: 5px; /* Boldness of the line */
    background-color: black;
    position: absolute;
    left: 50%; /* Start the line from the middle of the header */
    transform: translateX(-50%); /* Shift the line to center it under the header */
    top: 100%; /* Position it just under the header */
    margin-top: 10px; /* Add some space between the header and the line */
}

.separator-line {
    border: none;
    border-top: 4px solid black !important;
    margin: 20px auto; /* Centers the line horizontally */
    width: 100%; /* Default width */
}

.separator-line-left {
    border: none;
    border-top: 4px solid black !important;
    margin-left: 0;
    margin-right: 0;
}

.white-horizontal-separator {
    border-bottom: 5px solid white; /* Defines a white separator line */
    width: 100%; /* Ensures it spans the full width of its container */
    margin: 20px 0; /* Adds vertical spacing around the line */
}

.dark-horizontal-separator {
    border-bottom: 5px solid black; /* Defines a white separator line */
    width: 100%; /* Ensures it spans the full width of its container */
    margin: 20px 0; /* Adds vertical spacing around the line */
    height: 0;
}

.call-text-tab {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1070; /* Lower than the modal's z-index, but higher than carousel images */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.call-text-tab img {
    width: 80%;
    height: auto;
    max-width: 500px; /* Ensuring the graphic does not become too large */
}

.call-text-overlay {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the text horizontally and vertically */
    text-align: center;
    color: #000000; /* Adjust the color as needed */
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 1px;
    width: 100%; /* Ensures it is centered properly within the image */
}

.site-message-header {
    text-align: center; /* Center the text within the header */
    margin-bottom: 20px; /* Adds space between the header and the form */
}

.site-message-header h2,
.site-message-header p {
    margin: 0; /* Removes default margins */
}

.site-message-form-container {
    max-width: 600px; /* Maximum width for the form */
    width: 100%; /* Full width up to max-width */
    margin: 0 auto; /* Center horizontally */
    text-align: center; /* Centers text and inline elements within the form */
    display: flex; /* Use Flexbox to center contents */
    flex-direction: column; /* Arrange children vertically */
    align-items: center; /* Center children horizontally */
}

.site-message-form-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.site-message-form-container .subtitle {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #6c757d;
}

.site-message-form-container p {
    margin-bottom: 1.5rem;
}

.site-message-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.site-message-form-group {
    flex: 1;
    position: relative;
}

.site-message-full-width {
    flex: 100%;
}

.site-message-form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 4px solid #666;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.site-message-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 8px solid #666;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.site-message-form-group textarea {
    resize: vertical;
}

.site-message-form-check {
    display: flex;
    align-items: flex-start;
}

.site-message-check-label {
    display: inline; /* Changed from flex to inline */
    font-size: 0.75rem; /* Smaller font size */
    font-weight: lighter; /* Lighter font weight */
    color: #666; /* Optional: Lighter gray color */
    line-height: 1.4; /* Optional: Adjust line height for better readability */
}

.site-message-check-input {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.send-message-btn {
    border: none; /* Removes the border around the button */
    padding: 0; /* Removes the padding inside the button */
    background: none; /* Removes the default button background */
    cursor: pointer; /* Makes the cursor a pointer to indicate it’s clickable */
}

.send-message-btn img {
    width: 100%;
    max-width: 400px; /* Adjust based on the size of your image */
    display: block; /* Ensures no extra space below the image */
}

/* Testimonial Section Styles */
.testimony-section {
    background-color: #f9f9f9; /* Light background for the section */
    padding: 40px 20px;
    /*max-width: 1200px;*/
    margin: 0 auto; /* Center the section on the page */
}

/* Individual Testimonial Item Styles */
.testimony-item {
    background-color: #fff; /* White background for each testimonial */
    border: 1px solid #ddd; /* Light border around each testimonial */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px; /* Space between each testimonial */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Testimonial Header: Stars and Author */
.testimony-header {
    display: flex; /* Align stars and author on the same line */
    align-items: center;
    margin-bottom: 10px;
}

.testimony-stars {
    color: #ffd700; /* Gold color for stars */
    margin-right: 10px; /* Space between stars and author */
}

.testimony-author {
    font-weight: bold;
    /*font-size: 16px;*/
    color: #333;
}

/* Testimonial Quote Styles */
.testimony-quote {
    font-style: italic;
    /*font-size: 16px;*/
    /*line-height: 1.6;*/
    color: #555;
    margin: 0;
}

/* Footer styles */
footer {
    font-size: x-small;
}

footer h5 {
    font-size: large;
}

footer.footer-bg {
    background-color: #4F5152 !important;
}

/* Mortgage Calculator Container */
.mort-calculator-container {
    background-color: #e5e5e5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

/* Two-column layout */
.mort-calculator-form .row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.mort-calculator-form .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-direction: row; /* Align items in a single row */
}

.mort-calculator-form label {
    flex-basis: 30%; /* Labels take up 30% of the width */
    text-align: right;
    margin-right: 10px;
}

.mort-calculator-form .input-group {
    flex-basis: 70%; /* Inputs take up 70% of the width */
    display: flex;
    align-items: center;
}

/* Input Group Styling */
.mort-calculator-form .input-group-text {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 0;
    color: #333;
    padding: 0 10px;
    height: 100%; /* Ensures the symbol matches the input field height */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.mort-calculator-form .input-group input {
    max-width: 100%;
    border-radius: 5px 0 0 5px;
    margin-right: -1px;
    width: 100%;
}


/* Submit Button Styling */
.mort-calculator-submit-btn {
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    font-size: 1.2rem;
    border-radius: 5px;
    margin-top: 20px;
    border: none;
    transition: background-color 0.3s;
}

.mort-calculator-submit-btn:hover {
    background-color: #0056b3;
}

/* Specific width for monetary inputs (up to $10 million) */
/*.input-monetary {*/
.input-monetary.form-control {

    width: 150px !important; /* Adjust this based on desired width */
    display: inline-block;
}

/* Specific width for percentage inputs (up to 2 decimal places) */
.input-percentage {
    width: 80px !important; /* Adjust this based on desired width */
}

.info-icon {
    display: inline-block;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    margin-left: 8px;
    cursor: pointer;
}

/* Tooltip Hover Effect */
.info-icon:hover {
    background-color: #0056b3;
}

/* Media Queries */


@media (max-width: 1200px) {
    .avoid-mistakes-centered-text {
        font-size: 1.25rem; /* Smaller font for mobile */
    }
}

@media (max-width: 992px) {
    .avoid-mistakes-centered-text {
        font-size: 1.05rem; /* Smaller font for mobile */
    }
}

/* Mobile Styles (768px and smaller) */
@media (max-width: 768px) {
    /* Body text */
    body {
        font-size: 1.25rem; /* Default font size for mobile */
    }

    .form-label, .text-primary i {
        font-size: 1rem; /* Adjust the font size as needed */
    }

    /* Step Header Styles */
    .step-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-circle-image {
        max-width: 120px; /* Smaller circle images for mobile */
        margin: 0;
    }

    /* Prep-to-Sell Banner */
    .prep-to-sell-banner {
        flex-direction: column; /* Stack banner image and text vertically */
    }

    .prep-to-sell-banner-image {
        max-width: 100%;
        margin-bottom: 10px; /* Space between image and text */
    }

    .prep-to-sell-banner-text {
        text-align: center;
        padding-left: 0;
    }

    .call-text-overlay p {
        font-size: 0.75rem;
        font-weight: bolder;
    }

    .site-message-form-container, .testimony-section {
        width: 100%;
        max-width: 100%;
    }

    /*Avoid Mistakes Centered Text*/
    .avoid-mistakes-centered-text {
        font-size: .65rem; /* Smaller font for mobile */
    }

    .step-circle-image {
        max-width: 100px;
    }

    .hero-center-text {
        font-size: .65rem;
    }

    .mort-calculator-form .col-md-6 {
        width: 100%;
        padding: 0;
    }

    .mort-calculator-submit-btn {
        font-size: 1rem;
    }

}

/* Very Small Mobile Screens (480px and smaller) */
@media (max-width: 480px) {
    .step-circle-image {
        max-width: 80px; /* Even smaller circle images for very small screens */
    }

    .call-text-overlay p {
        font-size: 0.5rem;
        color: #000000;
        font-weight: bold;
    }

    .avoid-mistakes-centered-text {
        font-size: .6rem; /* Smaller font for mobile */
    }
}
