* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #4a2344;
}

header {
    background-color: #ffffff;
    padding: 1.5rem 2rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4a2344;
}

.sell-home {
    text-align: right;
}

.sell-home p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.sell-home .button-outline {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #4a2344;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.sell-home .button-outline:hover {
    background-color: #f5a623;
}

.nav-links a {
    font-size: 1rem;
    font-weight: bold;
    color: #4a2344;
    text-decoration: none;
    padding: 0.5rem;
    margin-left: 1rem;
}

.nav-links a:hover {
    background-color: #f0f0f0;
    border-radius: 0.3125rem;
}

.background-section {
    background-image: url('background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.main-heading {
    font-size: 3rem;
    font-weight: bold;
    color: #4a2344;
    text-align: left;
    margin: 0 auto 2rem;
    width: 50rem;
    text-shadow: 0.1875rem 0.1875rem 0.375rem rgba(255, 255, 255, 0.9);
}

.search-box {
    background: white;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 0.3125rem;
    max-width: 50rem;
}

.search-box .tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.tab:hover {
    background-color: white;
    color: #4a2344;
}

.search-box .tab {
    padding: 0.75rem 1.25rem;
    border: none;
    background-color: #4a2344;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.search-box .tab.active {
    background-color: white;
    color: #4a2344;
}

.search-box .search-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-box .search-box-input {
    width: 75%;
    padding: 0.75rem;
    border: 0.125rem solid #4a2344;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.search-box .advanced {
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
}

.search-box .filters {
    margin-top: 1rem;
    text-align: left;
}

.search-box .filters label {
    display: block;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.services-section {
    background-color: white;
    padding: 3.75rem 1.25rem;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.25rem;
}

.services-section h2 span {
    color: #4a2344;
}

.services-section p {
    max-width: 50rem;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.icon-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 6.25rem;
}

.icon-item img {
    width: 5rem;
    height: 5rem;
    margin-bottom: 0.625rem;
}

.icon-item p {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.houses-section {
    background: #4a2344;
    padding: 3rem 2rem;
}

.houses {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

#house-list, .houses {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    min-height: 6.25rem;
}

.house {
    background: white;
    border: 0.0625rem solid #ccc;
    padding: 1rem;
    margin: 1rem;
    border-radius: 0.5rem;
    color: #4a2344;
    width: 20%;
    text-align: center;
}

.house img {
    width: 100%;
    border-radius: 0.5rem;
}

.house p {
    margin-top: 0.75rem;
    font-weight: bold;
    color: #4a2344;
}

.info-section {
    background: #f5f5f5;
    padding: 3rem 2rem;
    text-align: center;
}

.info-section h3 {
    font-size: 2rem;
    color: #4a2344;
    margin-bottom: 1.5rem;
}

.info-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    font-size: 2rem;
    color: #4a2344;
    text-decoration: none;
}

.social-icon:hover {
    color: #f5a623;
    transform: scale(1.1);
    transition: 0.3s ease-in-out;
}

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

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.625rem;
    width: 90%;
    max-width: 25rem;
    text-align: center;
    position: relative;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #4a2344;
}

.modal-content input {
    width: 90%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 0.0625rem solid #ccc;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.modal-content button {
    width: 90%;
    padding: 0.75rem;
    background-color: #4a2344;
    color: white;
    border: none;
    border-radius: 0.375rem;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #f5a623;
}

.close-button {
    position: absolute;
    top: 0.625rem;
    right: 0.9375rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a2344;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #f5a623;
}

.forgot-link {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #4a2344;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.create-account-text {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.create-account-text a {
    color: #4a2344;
    text-decoration: none;
}

.create-account-text a:hover {
    text-decoration: underline;
}

@media (max-width: 48rem) {
    .houses {
        flex-direction: column;
    }

    .house {
        width: 90%;
    }

    .search-box .tabs,
    .search-box .search-input {
        flex-direction: column;
    }
}

.get-started-section {
    position: relative;
    background-image: url('background1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #4a2344;
}

.get-started-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 0;
    pointer-events: none;
}

.get-started-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    max-width: 37.5rem;
    width: 90%;
}

.get-started-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.get-started-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #555;
}

.get-started-content form {
    margin-bottom: 2rem;
}

#get-started-section form {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

#get-started-section input {
    padding: 0.75rem;
    width: 18.75rem;
    border: 0.125rem solid #4a2344;
    border-radius: 0.5rem;
    font-size: 1rem;
}

#get-started-section button {
    padding: 0.75rem 1.5rem;
    background-color: #4a2344;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

#get-started-section button:hover {
    background-color: #f5a623;
}

#estimateResult {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    color: #4a2344;
}

.results-info {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    text-align: center;
}

.results-info h3 {
    font-size: 2rem;
    color: #4a2344;
    margin-bottom: 2rem;
}

.results-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.result-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    width: 15.625rem;
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: translateY(-0.3125rem);
}

.result-item h4 {
    color: #4a2344;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.result-item p {
    color: #555;
    font-size: 1rem;
}
