/* Reset some default styles */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

/* Basic styling for the body */
body {
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* Hero section styles */
.hero {
    background-color: #47739d; /* Add a background color */
    color: #fff; /* Set the text color to white */
    text-align: center;
    padding: 35px 0;
    /* padding-bottom: 35px; */
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

.hero a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
}

.new-buttons-container {
    overflow-x: auto;
    overflow-y: hidden;
}

.new-buttons {
    gap: 80px;
    display: inline-flex;
    padding-top: 50px;
    padding-bottom: 5px;
    margin-top: -10px;
}

.bottom-button {
    position: relative; /* Needed to position the icon absolutely within the button */
    background-color: #00407b;
    color: #ffffff;
    font-weight: normal;
    width: 220px;
    text-align: left;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 105px;
}

/* Add hover effect if desired */
.bottom-button:hover {
    transform: scale(1.05); /* Enlarge the button by 10% on hover, adjust as needed */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); /* Adjust values based on your preference */
}

.bottom-button .services-button-icon {
    position: absolute;
    border-radius: 15px;
    width: auto; /* Maintain native width */
    height: auto; /* Maintain native height */
    max-width: 100px; 
    max-height: 110px; 
    top: 13px; 
    right: 18px;
    filter: drop-shadow(0 0 1px #FEBC11); /* Yellow glow effect */
    transform: scale(1.2); /* Increase the scale to 1.1 */
}

.bottom-button .housing-button-icon {
    position: absolute;
    border-radius: 15px;
    width: auto; /* Maintain native width */
    height: auto; /* Maintain native height */
    right: 0px; 
    top: -18px; 
    max-width: 140px; 
    max-height: 160px;
    filter: drop-shadow(0 0 1px #FEBC11); /* Yellow glow effect */
    transform: scale(1.05); /* Increase the scale to 1.1 */
}

/* .bottom-button .marketplace-button-icon {
    position: absolute;
    border-radius: 15px;
    width: auto; 
    height: auto;
    top: 20px; 
    right: -13px;
    max-width: 124px; 
    max-height: 110px;
    filter: drop-shadow(0 0 1px #FEBC11);
} */

.bottom-button .marketplace-button-icon {
    position: absolute;
    border-radius: 15px;
    width: auto; /* Maintain native width */
    height: auto; /* Maintain native height */
    top: 12px; 
    right: 12px;
    max-width: 124px; 
    max-height: 110px;
    filter: drop-shadow(0 0 2px #FEBC11); /* Yellow glow effect */
}

.span-text-wrapper {
    display: inline-block;
    margin-left: -5px;
}

.span-text {
    font-size: 14px;
}

.extra-space {
    display: block;
    height: 5px; /* Adjust as needed for extra spacing */
}

.explore-button {
    border-radius: 5px;
    font-weight: bold;
    background-color: #003660;
    color: #ffffff;
    margin-right: 10px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 200px;
    transition: transform 0.3s ease; 
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Adjust values based on your preference */
}

/* Add hover effect if desired */
.explore-button:hover {
    transform: scale(1.05); /* Enlarge the button by 10% on hover, adjust as needed */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Adjust values based on your preference */
}

/* Add spacing between buttons */
.explore-button + .explore-button {
    margin-left: 40px; /* Adjust as needed */
}


.side-by-side-container {
    display: flex;
    gap: 20px; 
    margin-bottom: -10px;
}

.housing-section,
.for-you-section {
    flex: 1; /* Ensures both sections take equal space */
    min-width: 0; /* Prevents content overflow */
}

/* Featured products section styles */
.information-section {
    overflow-x: auto; /* Allow horizontal scrolling */
    padding: 50px;
    padding-bottom: 40px;
}

.home-gallery-track {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    white-space: normal;
    scroll-behavior: smooth;
}

.home-gallery-track .listing-gallery-card {
    flex: 0 0 auto;
}

.info-card {
    border-radius: 6px;
    height: 205px;
    width: 410px; /* Adjust the width as needed for your layout */
    background-color: #ffffff;
    border: 2px solid #ddd;
    padding: 15px;
    display: inline-block; /* Display product cards side by side */
    white-space: normal; /* Reset white-space for product content */
    vertical-align: top; /* Align the top edges of product cards */
    margin: 15px 50px 20px 0;
    overflow-wrap: break-word; /* Allows long words to break and wrap to the next line */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Adjust values based on your preference */
}

.info-card-link {
    text-decoration: none; /* Removes underline from links */
    color: inherit; /* Inherits the text color from the parent */
}

.info-card:hover {
    border-color:#b3deff; /* Adjust color and thickness based on your preference */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adjust values based on your preference */
}

.info-card-link .info-card {
    cursor: pointer; /* Changes the mouse cursor to indicate clickable items */
}

.gallery-company-logo {
    min-width: 35px;  /* Adjust width/height to match your avatar */
    min-height: 35px;
    max-width: 35px;  /* Adjust width/height to match your avatar */
    max-height: 35px;
    border-radius: 5px;
    border: 1.5px solid #ddd;
    border-radius: 50%;
    bottom: 43px;
    right: 15px;
    position: absolute;
    z-index: 5;
    background-color: #fff;
}

.gallery-bottom-bar {
    position: absolute;
    bottom: 36px;
    width: 219px; /* Spans the full width of the listing */
    height: 25px; /* Adjust height as needed */
    background-color: #fff;
    z-index: 3; /* Below the logo */
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    border: 0.3px solid #ddd;
}

.gallery-bottom-text {
    font-size: 14px; /* Set the font size */
    color: #333; /* Text color */
    overflow: hidden; /* Hide overflowing content */
    white-space: nowrap; /* Prevent text from wrapping to the next line */
    text-overflow: ellipsis; /* Add the ellipsis for truncated text */
    max-width: 175px;
    margin-left: 3px;
}

.comp-name {
    transform: translateY(-2px);
}

.watchlist-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1.5px solid rgb(213, 213, 213);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background-color: #ffffff; /* Background color */
    color: inherit;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    padding: 5px 6px 4px;
}

/* Add hover effect */
.watchlist-button:hover {
    background-color:#d2d2d2; /* Adjust hover background color */
}

.watchlist-button.is-in-watchlist {
    border-color: #d95c5c;
    background-color: #fff1f1;
    color: #b42318;
}

.watchlist-button.is-in-watchlist:hover {
    background-color: #ffdede;
}

#dupeToast {
    position: fixed;
    top: 350px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3d3d3d;
    color: #fff;
    padding: 15px 38px 15px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    font-size: 14px;
}

#dupeToast a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.dupe-toast__message {
    display: block;
}

.dupe-toast__close {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.listing-gallery-card {
    position: relative;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1.5px solid #dddddd;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    overflow-wrap: break-word;
    white-space: normal;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.listing-gallery-card:hover {
    border-color: #b3deff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.gallery-view {
    max-width: 393px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.gallery-view .media-slider,
.gallery-view .slider-media {
    width: 393px;
    height: 300px;
}

.gallery-view-generic {
    width: 250px;
    max-width: 250px;
    min-height: 0;
}

.gallery-view-generic .media-slider,
.gallery-view-generic .slider-media {
    width: 250px;
    height: 200px;
}

.media-slider {
    position: relative;
    overflow: hidden;
    display: flex;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.slider-media {
    position: relative;
    min-width: 250px;
    max-width: 250px;
    flex: 0 0 250px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    margin: 0;
}

.media {
    display: flex;
}

.listing-gallery-card .listing-details {
    flex: 1;
    width: 100%;
    min-height: 90px;
    overflow: hidden;
    overflow-wrap: break-word;
}

.gal-details {
    width: 100%;
}

.gal-heading {
    font-size: 19px;
    margin-top: 4px;
    margin-bottom: 2px;
    margin-left: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 50);
}

.gallery-view-generic .gal-heading {
    font-size: 15px;
    line-height: 1.14;
    margin-left: 2px;
    margin-bottom: 2px;
    -webkit-text-stroke: 0.25px rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.listing-details .job_p,
.listing-details .job_p_list {
    margin-left: 4px;
    color: #4d4d4d;
    font-size: 12px;
}

.gallery-view-generic .job_p {
    margin-left: 2px;
}

.timeframe {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gal-created-at {
    position: absolute;
    font-size: 11.5px;
    color: #777777;
    display: flex;
    gap: 4px;
    bottom: 5px;
    left: 7px;
}

.gal-created-dist-wrapper {
    display: flex;
    gap: 4px;
}

.gal-details .small-distance-marker {
    width: 10px;
    height: 10px;
    margin: 1px -4px 0 -2px;
}

.media-left-label {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
    pointer-events: none;
    background: #333;
    color: #ffffff;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    max-width: calc(100% - 50px);
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-pagination {
    --media-pagination-dot-size: 4px;
    --media-pagination-dot-gap: 4px;
    position: absolute;
    left: 50%;
    bottom: 5px;
    z-index: 3;
    display: flex;
    align-items: center;
    height: 11px;
    line-height: 0;
    padding: 0 1px;
    overflow: hidden;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0.9;
}

.media-pagination[hidden] {
    display: none;
}

.media-pagination-track {
    display: flex;
    align-items: center;
    gap: var(--media-pagination-dot-gap);
    height: 100%;
    transition: transform 0.2s ease;
    will-change: transform;
}

.media-pagination-dot {
    width: var(--media-pagination-dot-size);
    height: var(--media-pagination-dot-size);
    flex: 0 0 var(--media-pagination-dot-size);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.2);
    transition:
        background-color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.media-pagination-dot.is-active {
    background: #ffffff;
    transform: scale(1.2);
}

.media-pagination-dot.is-window-edge:not(.is-active) {
    opacity: 0.85;
    transform: scale(0.8);
}

.buy-now-price {
    display: flex;
    flex-direction: column;
    color: #111;
    font-size: 18px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 6px;
    margin-bottom: 5px;
    text-align: right;
    -webkit-text-stroke: 0.35px currentColor;
}

.right-avail {
    color: #4d4d4d;
    font-size: 14px;
    -webkit-text-stroke: 0.35px currentColor;
}

.per-person-short,
.total-lease-short {
    display: none;
}

.service-pricing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 32px;
    min-height: 30px;
    margin-left: 0;
    border: 1px solid #b8c7d9;
    border-radius: 8px;
    background: #f7fbff;
    color: #145ea8;
    box-shadow: 0 1px 3px rgba(20, 94, 168, 0.14);
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.service-pricing-button:hover,
.service-pricing-button:focus-visible {
    border-color: #145ea8;
    background: #145ea8;
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
    cursor: pointer;
}

.bottom-right-container {
    position: absolute;
    right: 5px;
    bottom: 5px;
}

.slide-arrow {
    --slide-arrow-icon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%23000'%20d='M8.47%204.47a1.25%201.25%200%200%201%201.77%200l6.47%206.47c.59.59.59%201.54%200%202.12l-6.47%206.47a1.25%201.25%200%201%201-1.77-1.77L14.23%2012%208.47%206.24a1.25%201.25%200%200%201%200-1.77z'/%3E%3C/svg%3E");
    --slide-arrow-size: 28px;
    --slide-arrow-icon-size: 14px;
    --slide-arrow-offset: 6px;
    width: var(--slide-arrow-size);
    height: var(--slide-arrow-size);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    appearance: none;
    font-size: 0;
    line-height: 0;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%) scale(1);
    transform-origin: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #222;
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0s linear 0.2s,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease,
        transform 0.18s ease;
}

.slide-arrow::before {
    content: "";
    width: var(--slide-arrow-icon-size);
    height: var(--slide-arrow-icon-size);
    background-color: currentColor;
    -webkit-mask-image: var(--slide-arrow-icon);
    mask-image: var(--slide-arrow-icon);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.slide-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.07);
    background-color: #ffffff;
    color: #111;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (hover: hover) and (pointer: fine) {
    .media-slider.slider-ready.has-multiple-media:hover .slide-arrow {
        opacity: 0.85;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .media-slider.slider-ready.has-multiple-media:hover .slide-arrow:hover {
        opacity: 1;
    }
}

.left-arrow {
    left: var(--slide-arrow-offset);
}

.left-arrow::before {
    transform: rotate(180deg);
}

.right-arrow {
    right: var(--slide-arrow-offset);
}

.tooltip {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 13px;
    z-index: 1;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.button-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
}

.close-btn {
    position: absolute;
    top: 0px;
    right: 5px;
    font-size: 20px;
    cursor: pointer;
}

.info-symbol {
    display: inline-block;
    font-size: 14px; /* Adjust the font size as needed */
    color: #000000; /* Adjust the color as needed */
    cursor: pointer;
    margin-right: 3px;
    z-index: 1; /* Set a z-index value to position the tooltip above other elements */
}

.info-symbol:hover::after {
    content: attr(title);
    display: block;
    position: absolute;
    background-color: #000000; /* Adjust the background color as needed */
    color: #fff; /* Adjust the text color as needed */
    padding: 5px;
    border-radius: 5px;
    font-size: 12px; /* Adjust the font size as needed */
    white-space: normal;
    max-width: 200px;
    z-index: 2; /* Set a higher z-index value than other elements to ensure it appears on top */
}

.search-container {
    max-width: 825px;
    margin: 20px auto 30px auto; /* Center the container and add space below it */
    transform: translateX(-5px); /* Shift the search container 40px to the left */
    position: relative; /* Needed for the dropdown positioning */
    z-index: 2; /* Ensure the search container is above other elements */
}

.home-search-container,
.home-search-container * {
    box-sizing: border-box;
}

.home-search-form {
    margin: 0;
}

.home-search-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 46px;
    width: 100%;
    padding: 3px;
    border: 1px solid #d5d9de;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, border-radius 0.18s ease;
}

.home-search-wrapper:hover {
    border-color: #c7d0d9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.home-search-wrapper:focus-within {
    border-color: #9fc6e3;
    box-shadow: 0 0 3px 6px rgba(0, 54, 96, 0.12), 0 0 6px 3px rgba(0, 0, 0, 0.12);
}

.home-search-container.has-search-counts .home-search-wrapper {
    border-bottom-color: transparent;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
}

.home-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-search-field {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 38px;
    border-radius: 999px;
    color: #6c737c;
    background: transparent;
    transition: color 0.18s ease;
}

.home-search-field:hover,
.home-search-field:focus-within {
    color: #333333;
}

.home-search-wrapper {
    --home-search-query-flex: 2.2;
    --home-search-location-flex: 1.4;
}

.home-search-field--query {
    flex: var(--home-search-query-flex) 1 0;
}

.home-search-field--location {
    position: relative;
    flex: var(--home-search-location-flex) 1 0;
}

.home-search-field--location::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 1px;
    background: #d7dce1;
    pointer-events: none;
    transition: background-color 0.18s ease;
}

.home-search-wrapper:focus-within .home-search-field--location::before {
    background: rgba(0, 54, 96, 0.25);
}

.home-search-field__icon, .home-search-field_location__icon {
    flex: 0 0 auto;
    width: 36px;
    color: currentColor;
    font-size: 15px;
    text-align: center;
}

.home-search-field_location__icon {
    margin-right: -3px;
}

.home-search-container #search-bar,
.home-search-container #location-bar {
    width: 100%;
    min-width: 0;
    padding: 10px 10px 10px 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    color: #26313d;
    background: transparent;
    font-size: 16px;
}

.home-search-container #location-bar {
    padding-right: 3px;
    padding-left: 0;
    font-size: 13.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-search-container #search-bar::placeholder,
.home-search-container #location-bar::placeholder {
    color: #777777;
    opacity: 1;
}

.home-search-container input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.home-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #777777;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.home-search-clear:hover,
.home-search-clear:focus-visible {
    color: #333333;
    background: #e3e6e9;
    outline: none;
}

.home-search-container [hidden] {
    display: none !important;
}

.search-drop {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    display: none;
    padding: 4px 4px 8px;
    border: 1px solid #d5d9de;
    border-top: 0;
    border-radius: 0 0 24px 24px;
    background-color: #ffffff;
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.12);
    z-index: 5;
    text-align: left;
}

.home-search-dropdown::before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 8px 3px;
    background: #dde2e7;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    color: #1f2933;
    background-color: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.dropdown-item i {
    width: 18px;
    color: #003660;
    text-align: center;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
    color: #111827;
    background-color: #eef2f5;
    outline: none;
}

input[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
}

.search-button {
    padding: 10px 15px;
    gap: 15px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background-color: #003660; /* Green background */
    color: white; /* White text */
    cursor: pointer;
}

.search-button:hover {
    background-color: #269BE9; /* Green background */
}

.home-search-submit {
    display: inline-flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 102px;
    margin-left: 6px;
    padding: 0 18px;
    gap: 8px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-search-submit:hover,
.home-search-submit:focus-visible {
    background-color: #005698;
    box-shadow: 0 4px 12px rgba(0, 54, 96, 0.24);
    outline: none;
}

.home-search-submit:active {
    transform: translateY(1px);
}

.search-text {
    display: inline;
}

.search-icon {
    font-size: 16px;
}

.heading-container {
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Align title on the left and "View All" on the right */
    margin-bottom: -25px;
    position: relative; /* Set positioning context */
    z-index: 1; /* Lower z-index for the container */
}

.see-all {
    text-decoration: none;
    transform: translate(-10px, 30px); /* Move 25px down and 25px to the left */
    color: #ff0000;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

.see-all:hover {
    text-decoration: underline;
    border-radius: 8px;
}

.scroll-container {
    padding-top: 30px;
}

@media (min-width: 1150px) {
    .scroll-container {
        display: flex;
        align-items: center;
        position: relative;
    }
    .scroll-arrow {
        --slide-arrow-size: 38px;
        --slide-arrow-icon-size: 16px;
        width: var(--slide-arrow-size);
        height: var(--slide-arrow-size);
        padding: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        opacity: 0.85;
        visibility: visible;
        pointer-events: auto;
    }
    .scroll-arrow--left {
        left: 20px; /* Adjust spacing */
    }
    .scroll-arrow--right {
        right: 10px; /* Adjust spacing */
    }
    .scroll-arrow:hover {
        opacity: 1;
    }
}
/* Hide text in buttons on smaller screens */
@media (max-width: 1150px) {
    /* .heading-container {
        display: block; 
        text-align: left; 
        margin-bottom: 0; 
    } */
    /* .view-all, .new-add {
        position: absolute;
        top: 507px;
        right: 5px; 
        color: #ff0000;
        cursor: pointer;
        font-size: 18px;
        text-decoration: none;
        padding: 4px;
        transform: none; 
    }
    .new-add {
        top: 837px;
        transform: none; 
    } */
    .new-buttons {
        gap: 40px;
        margin-left: 40px;
        margin-right: 40px;
    }
    .explore-button .button-text {
        font-size: 18px; /* Hide text */
    }
    .explore-button {
        margin: 0 -10px 0 -10px;
    }
    .search-container {
        max-width: 785px;
        margin-bottom: 20px;
        transform: translateX(0px); /* Shift the search container 40px to the left */
    }
    .side-by-side-container {
        display: block; /* Stack sections vertically */
        margin-bottom: -40px;
    }
    .housing-section,
    .for-you-section {
        flex: unset; /* Remove flex behavior */
    }
    .for-you-section {
        margin-bottom: 35px; /* Add spacing between sections */
        margin-top: -30px;
    }
    .scroll-arrow {
        display: none !important; /* Hide arrows on smaller screens */
    }
}

@media (max-width: 900px) {
    .explore-button {
        width: auto;
    }
    .search-container {
        max-width: 530px;
        transform: translateX(0px); /* Shift the search container 40px to the left */
    }
    .home-search-container .location-wrapper {
        display: none;
    }
    .home-search-field--query {
        flex-grow: 1;
    }
    .news-bullet {
        display: none;
    }
    .insta-link {
        display: block;
    }
    /* .view-all {
        top: 545px;
    }
    .new-add {
        top: 870px;
    } */
}

@media (max-width: 700px) {
    .search-text {
        display: none;
    }
    .home-search-submit {
        min-width: 46px;
        padding: 0 13px;
    }
    .explore-button .button-text {
        font-size: 16px;
    }
    .explore-button {
        margin: 0 -25px 0 -25px;
    }
    .info-card {
        display: flex;
        flex-direction: column;
        width: 510px;
        height: 160px;
    }
    .info-card {
        display: flex;
        flex-direction: column;
    }
    .search-container {
        max-width: 470px;
        transform: translateX(0px); 
    }
}

@media (max-width: 650px) {
    .info-card {
        display: flex;
        flex-direction: column;
        width: 465px;
        height: 180px;
    }
}

@media (max-width: 600px) {
    .info-card {
        display: flex;
        flex-direction: column;
        height: 200px;
        width: 420px;
    }
}

@media (max-width: 480px) {
    .explore-button {
        margin: 0 -35px 0 -35px;
        width: 100%; /* Ensure buttons take the same width */
        max-width: 140px; /* Set a max width to limit the size */
    }
    .explore-button:not(:first-child) {
        margin-left: -33px; 
    }
    .explore-button .button-text {
        font-size: 18px;
    }
    .explore-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .modal-content {
        width: 300px;
    }
    .info-card {
        display: flex;
        flex-direction: column;
        height: fit-content;
        width: fit-content;
        margin-right: 10px;
    }
    .search-container {
        max-width: 290px;
    }
    .home-search-wrapper {
        min-height: 44px;
        padding: 3px;
    }
    .home-search-field__icon {
        width: 34px;
    }
    .home-search-container #search-bar {
        max-width: none;
        font-size: 15px;
    }
    .home-search-submit {
        min-width: 42px;
        padding: 0 12px;
    }
    .gallery-bottom-bar {
        bottom: 36px;
        width: 219.5px; /* Spans the full width of the listing */
    }
    .comp-name {
        transform: translateY(0px);
    }
    .media-pagination {
        display: none;
    }
}

.news-bullet {
    margin-left: 5px; 
    margin-right: 5px; 
    font-weight: bold; 
    font-size: 22px;
}

.insta-link {
    cursor: pointer;
}
