@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Inter, "Sans Serif";
}

html {
    scroll-behavior: smooth;
}

.landing {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    background-image: url(https://cdn.prod.website-files.com/682c3c878b8044ff6d478f7f/684e6e43f825c09a5835364b_image.png);
    background-position: 50% 50%;
    background-size: 100% 100%;
    background-repeat: repeat-y;
    height: 31.25rem;
}

.container-landing {
    display: flex;
    flex-flow: column;
    gap: 2rem;
}

.text-head {
    color: white;
    display: flex;
    flex-flow: column;
    gap: 2rem;
}

.text-head h1 {
    font-size: 36px;
    text-align: center;
}

text-head p {
    font-size: 22px;
    text-align: center;
}

.btn-landing {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.buy-btn {
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #e6e6e694;
    border: none;
    cursor: pointer;
}

#active {
    background-color: black;
    color: white;
    border-radius: 0.5rem;
}

.rent-btn a {
    text-decoration: none;
    color: inherit;
}

.sell-btn a {
    text-decoration: none;
    color: inherit;
}

.rent-btn {
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #e6e6e694;
    border: none;
    cursor: pointer;
}

.rent-btn:hover {
    background-color: black;
    color: white;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
}

.sell-btn {
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #e6e6e694;
    border: none;
    cursor: pointer;
}

.sell-btn:hover {
    background-color: black;
    color: white;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
}

.btn-link {
    display: flex;
    background-color: white;
    border-radius: 0.5rem;
}

.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-landing {
    width: 30rem;
    padding: 1rem;
    font-size: 18px;
    border: 0.5px solid #ccc;
    outline: none;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.search-btn {
    padding: 1rem;
    background-color: black;
    color: white;
    font-size: 18px;
    border: none;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    cursor: pointer;
}

.container-service {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

.img-service {
    width: 100%;
}

.img-service img {
    width: 100%;
    height: auto;
    max-width: none;
}

.text-for-service {
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding-left: 5rem;
}

.title-text {
    font-size: 26px;
    font-weight: bold;
    padding-bottom: 1rem;
}

.element-service {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    gap: 1rem;
}

.explore {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-image: url(https://cdn.prod.website-files.com/682c3c878b8044ff6d478f7f/6856ad30d83515016be92a71_Rectangle%2015.png);
}

.explore-head {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-head-explore h4 {
    font-size: 24px;
}

.text-card-explore {
    font-size: 14px;
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.text-for-card .head-card {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 0.5rem;
}

.card1 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5rem;
    gap: 4rem;
}

.card-explore {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    width: 20rem;
    height: 10rem;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 4px 0px;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 1rem;
}

.icon-for-card img {
    width: 2.9rem;
}

.btn-for-card button {
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    background-color: black;
    color: white;
    border: none;
    border-radius: 0.55rem;
}

.btn-for-card button:hover {
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.help {
    background-image: url(https://cdn.prod.website-files.com/682c3c878b8044ff6d478f7f/686c46107dd9e0e7ece15a46_%E0%B8%A2%E0%B8%83.png);
    background-size: 100% 100%;
}

.box-for-help {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.txt-card .p2 {
    margin-left: 1.5rem;
    padding-top: 0.5rem;
    color: #747474;
}

.text-for-help {
    padding-bottom: 1rem;
}

.text-for-help h1 {
    padding-bottom: 0.5rem;
}

.text-for-help p {
    font-size: 14px;
    color: #747474;
}

.card-for-help {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.card-for-help .card-help {
    background-color: #FFF;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 4px 0px;
}

.form-box-for-help {
    background-color: #FFF;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.25) 0 0 4px 4px;
}

.txt-head-form {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 1rem;
}

.form-help {
    display: flex;
    flex-flow: column;
}

.form-1 {
    display: flex;
    gap: 2rem;
    padding-bottom: 1rem;
}

.form-2 {
    display: flex;
    gap: 2rem;
    padding-bottom: 1rem;
}

.form-landing {
    margin-top: 5%;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    outline: none;
}

.form-h {
    display: flex;
    flex-flow: column;
}

textarea {
    display: block;
    flex: 1 1 0%;
    margin-top: 5px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    outline: none;
}

.btn-submit-help {
    display: flex;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.btn-for-help {
    flex: 1 1 0%;
    border-radius: 0.5rem;
    font-size: 14px;
    color: #FFF;
    background-color: rgba(0, 0, 0);
    padding: 0.75rem;
    border: none;
}

.btn-for-help:hover {
    background-color: white;
    color: black;
    outline: black solid 1px;
    outline-offset: 0px;
    cursor: pointer;
    transition: all 0.3s;
}

.social-for-form-help {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    gap: 1.5rem;
}

.social-for-form-help a img {
    width: 2rem;
}

.social-for-form-help a:hover {
    transform: translate(0px, -2px);
    transition: all 0.3s;
}

.or-for-social p {
    text-align: center;
    font-size: 12px;
}

.or-for-social {
    padding-bottom: 2rem;
}

.text-before-social p {
    text-align: center;
    font-size: 12px;
}

.property-for-hot {
    padding: 4.5rem 0;
}

.p-top-hot {
    font-size: 24px;
    text-align: center;
    font-weight: 700;
}

.p-title-for-hot {
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    color: #5f5f5f;
}

.property-for-hot {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.btn-to-rent {
    padding-top: 3.5rem;
}

.btn-to-rent-page {
    padding: 0.75rem 1rem;
    font-size: 18px;
    outline: none;
    border: 1px solid #000;
    background-color: #fff;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-to-rent-page:hover {
    background-color: #000;
    color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 1230px;
    margin: 0 auto;
    padding: 2rem;
}

.faq-item {
    background-color: transparent !important;
}

.faq-item {
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: inherit !important;
    border: none;
    font-weight: bold;
    font-size: 16px;
    padding: 2.5rem;
    cursor: pointer;
    position: relative;
    color: #111;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.faq-question::after {
    content: "▾";
    padding: 1.75rem;
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 14px;
    transition: transform 0.2s;
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-question:focus,
.faq-question:active,
.faq-question:hover {
    background: inherit !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
}

.faq-answer {
    display: none;
    padding: 0 16px 16px;
    font-size: 15px;
    color: #444;
}

.grid {
    display: grid;
    gap: 1.925rem;
    grid-template-columns: repeat(4, minmax(290px, 1fr));
}

.grid a {
    text-decoration: none;
    color: inherit;
}

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 350px;
    transition: all .15s ease;
}

.card:hover {
    transform: scale(1.1);
}

.thumb {
    width: 100%;
    height: 200px;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    background: #f2f2f2;
}

.thumb.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.card-body {
    padding: 14px;
}

.price {
    margin: 0 0 0.25rem;
    font-size: 24px;
    color: #D51A1A;
}

.name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.location {
    margin: 0;
    display: flex;
    gap: 0.25rem;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #868686;
}

.location img {
    width: 1rem;
}

.pid {
    font-weight: 500;
    color: #777;
    font-size: 12px;
    margin-left: 8px
}

.meta {
    margin: 0;
    color: #888888;
    font-size: 16px;
    font-weight: 600;
}

.stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 6px;
    color: #333;
    font-size: 14px;
    flex-wrap: wrap;
}

.stats span {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.stats img {
    width: 1rem;
}

.text-head-faq {
    padding-top: 7.5rem;
}

.p-haed-faq {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.p-title-faq {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #717171;
}

/* Responsive Moblie View */
@media (max-width: 768px) {
    .landing {
        height: 25rem;
    }

    .text-head {
        padding: 0 1rem;
    }

    .text-head h1 {
        font-size: 32px;
    }

    .text-head p {
        text-align: center;
        font-size: 18px;
    }

    .search-btn {
        font-size: 12px;
        padding: 0.75rem 0.5rem;
    }

    .search-landing {
        font-size: 12px;
        width: auto;
        height: 2.5rem;
    }

    .btn-landing {
        padding-top: 0.25rem;
    }

    .buy-btn {
        font-size: 16px;
        padding: 0.75rem 1rem;
    }

    .rent-btn {
        font-size: 16px;
        padding: 0.75rem 1rem;
    }

    .container-landing {
        gap: 1rem;
    }

    .container-service {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .text-for-service {
        padding: 0 2rem;
        padding-bottom: 5rem;
    }

    .box-for-help {
        flex-flow: column;
    }

    .form-1 {
        flex-flow: column;
        gap: 0.5rem;
    }

    .form-2 {
        flex-flow: column;
        gap: 0.5rem;
    }

    .left-box-help {
        padding: 0 5rem;
    }

    .text-head-for-help h3 {
        text-align: center;
        padding-bottom: 0.5rem;
    }

    .text-title-for-help p {
        text-align: center;
    }

    .card-explore {
        flex-flow: column;
        width: auto;
        height: auto;
        padding: 2rem;
    }

    .text-card-explore p {
        text-align: center;
    }

    .btn-for-card {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .text-head-explore h4 {
        padding-bottom: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 14px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .card1 {
        flex-flow: column;
        padding: 0 2rem;
    }
}