.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 20px;
    height: 500px;
    box-sizing: border-box;
    position: relative;
}

.ads-slider {
    position: absolute;
    z-index: -999;
    top: -60px;
    left: 0;
    height: calc(100% + 60px);
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.ads-slider-container {
    height: 100%;
    display: flex;
    box-sizing: border-box;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0);
}

.ads-slider-item {
    height: 100%;
    min-width: 100vw;
    box-sizing: border-box;
}

.ads-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 40px;
    /* Space for icon */
    border-radius: 30px;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

.search-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 4px;
    right: 4px;
    cursor: pointer;
}

.search-icon:hover {
    background-color: #e9e9e9;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    transition: opacity 0.2s;
}

.action-btn:hover {
    opacity: 0.9;
}

.btn-blue {
    background-color: #1e88e5;
    /* Detailed Search */
}

.btn-orange {
    background-color: #fb8c00;
    /* Area Search */
}

.btn-purple {
    background-color: #8e24aa;
    /* Danchi Search */
}

.welcome-text {
    font-size: 80px;
    font-weight: bold;
    color: #9e9e9e;
    height: 200px;
    display: flex;
    align-items: center;
}

.cta-button {
    background-color: #00897b;
    border: none;
    cursor: pointer;
    color: white;
    padding: 8px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 19px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #00796b;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    max-width: 1024px;
    margin: 0 auto 20px;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.section-subtitle {
    font-size: 14px;
    color: #757575;
    margin-left: 10px;
}

.see-more {
    font-size: 14px;
    color: #5c6bc0;
    text-decoration: none;
}

/* Useful Information Section */
.useful-info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    max-width: 1024px;
    box-sizing: border-box;
    margin: 20px auto 80px;
}

.useful-info-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.info-cards-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    /* max-width: 520px; */
}

.info-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 24px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    min-width: 250px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
    box-sizing: border-box;
    height: 90px;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.info-icon {
    font-size: 24px;
    color: #4285f4;
    margin-right: 12px;
}

.info-text {
    font-size: 19px;
    font-weight: bold;
}


/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #ededf4;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

/* 
.filter-group {
    margin-bottom: 25px;
} */

.filter-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

/* Range Slider Styles */
.range-slider {
    position: relative;
    width: 100%;
    height: 60px;
    /* Increased height to accommodate label below */
}

/* Dotted background track */
.range-slider::before {
    content: "";
    position: absolute;
    top: 13px;
    /* Center with thumb */
    left: 0;
    width: 100%;
    height: 0;
    border-top: 2px dotted #d1d1e0;
    /* Dotted line */
    z-index: 0;
}

.slider-track {
    position: absolute;
    top: 13px;
    /* Matches ::before top */
    left: 0;
    width: 100%;
    height: 2px;
    /* Thin solid line */
    background-color: #6a5acd;
    /* Purple */
    z-index: 1;
}

input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    pointer-events: none;
    background: none;
    z-index: 2;
    height: 25px;
    /* Thumb hit area */
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #6a5acd;
    cursor: pointer;
    box-shadow: 0 0 0 2px white;
    /* White border around thumb */
    margin-top: 2px;
    /* Adjust to center on track (track top 13px aka center of 25px area approx) */
}

input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #6a5acd;
    cursor: pointer;
    box-shadow: 0 0 0 2px white;
    border: none;
}

.range-value {
    position: absolute;
    bottom: 5px;
    right: 0;
    font-size: 16px;
    color: #333;
    font-weight: bold;
    text-align: right;
}

/* Layout Options Styles */
.layout-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.layout-btn {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
}

.layout-btn.selected {
    background-color: #6a5acd;
    color: white;
    border-color: #6a5acd;
}

/* Search Button Styles */
.modal-search-btn {
    width: 100%;
    padding: 15px;
    background-color: #2727cb;
    /* Disabled looking initially or just grey */
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.modal-search-btn:hover {
    background-color: #23239b;
}

@media screen and (max-width: 430) {
    .info-card {
        flex-grow: 1;
    }

}