/* =========================================================
                       RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #17251b;
    background: #ffffff;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

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

button,
input,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
}


/* =========================================================
                       VARIABLES
========================================================= */

:root {

    --dark-green: #0b2114;

    --deep-green: #12351e;

    --green: #245b31;

    --light-green: #e9f0e8;

    --gold: #c9a755;

    --light-gold: #e9cf91;

    --cream: #f7f6f0;

    --white: #ffffff;

    --black: #111612;

    --gray: #69736c;

    --light-gray: #e8ebe7;

    --border: #dfe4df;

    --transition: .3s ease;

}


/* =========================================================
                       CONTAINER
========================================================= */

.container {

    width: min(90%, 1380px);

    margin: auto;

}


/* =========================================================
                       NAVBAR
========================================================= */

.navbar {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    color: var(--white);

    transition: var(--transition);

}

.navbar.scrolled {

    position: fixed;

    background: rgba(7, 28, 15, .96);

    backdrop-filter: blur(12px);

    box-shadow: 0 5px 30px rgba(0,0,0,.15);

}

.nav-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    gap: 35px;

}


/* =========================================================
                          LOGO
========================================================= */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

}

.logo-icon {

    width: 38px;
    height: 38px;

    border: 1px solid var(--gold);

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--gold);

    font-size: 18px;

}

.logo-name strong {

    display: block;

    font-family: "Playfair Display", serif;

    font-size: 17px;

    letter-spacing: 1px;

    line-height: 1;

}

.logo-name span {

    display: block;

    color: var(--gold);

    font-size: 8px;

    letter-spacing: 4px;

    margin-top: 5px;

}


/* =========================================================
                       NAV MENU
========================================================= */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 30px;

    margin-left: auto;

}

.nav-link {

    position: relative;

    font-size: 12px;

    color: rgba(255,255,255,.88);

    padding: 30px 0;

    transition: var(--transition);

}

.nav-link:hover,
.nav-link.active {

    color: var(--white);

}

.nav-link.active::after {

    content: "";

    position: absolute;

    bottom: 20px;

    left: 0;

    width: 25px;

    height: 2px;

    background: var(--gold);

}


/* =========================================================
                     NAV ACTIONS
========================================================= */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 10px;

}

.wishlist-nav {

    position: relative;

    width: 40px;
    height: 40px;

    border: 1px solid rgba(255,255,255,.3);

    border-radius: 50%;

    background: transparent;

    color: white;

}

.wishlist-nav span {

    position: absolute;

    top: -5px;
    right: -3px;

    width: 16px;
    height: 16px;

    background: var(--gold);

    color: var(--dark-green);

    border-radius: 50%;

    font-size: 9px;

    display: grid;

    place-items: center;

    font-weight: 700;

}

.login-button {

    padding: 11px 20px;

    border: 1px solid rgba(255,255,255,.5);

    background: transparent;

    color: white;

    border-radius: 5px;

    font-size: 11px;

}

.list-land-button {

    padding: 12px 20px;

    background: var(--light-gold);

    color: var(--dark-green);

    border-radius: 5px;

    font-size: 11px;

    font-weight: 700;

}


/* =========================================================
                    MOBILE MENU BUTTON
========================================================= */

.mobile-menu-button {

    display: none;

    margin-left: auto;

    background: none;

    border: none;

    color: white;

    font-size: 23px;

}


/* =========================================================
                     MOBILE MENU
========================================================= */

.mobile-menu {

    position: fixed;

    top: 75px;

    right: 15px;

    width: 260px;

    padding: 25px;

    background: var(--dark-green);

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 10px;

    z-index: 999;

    display: flex;

    flex-direction: column;

    gap: 20px;

    transform: translateY(-20px);

    opacity: 0;

    pointer-events: none;

    transition: var(--transition);

}

.mobile-menu.show {

    transform: translateY(0);

    opacity: 1;

    pointer-events: auto;

}

.mobile-menu a {

    color: white;

    font-size: 13px;

}

.mobile-list-button {

    text-align: center;

    background: var(--light-gold);

    color: var(--dark-green) !important;

    padding: 12px;

    border-radius: 5px;

    font-weight: 700;

}


/* =========================================================
                         HERO
========================================================= */

.hero {

    min-height: 760px;

    position: relative;

    color: white;

    display: flex;

    align-items: center;

    overflow: hidden;

}

.hero-background {

    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;

    background-position: center;

    transform: scale(1.02);

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,22,11,.96) 0%,
            rgba(5,28,14,.80) 35%,
            rgba(5,28,14,.35) 75%,
            rgba(5,28,14,.15) 100%
        );

}

.hero-container {

    position: relative;

    z-index: 2;

    padding-top: 80px;

}


/* =========================================================
                     HERO CONTENT
========================================================= */

.hero-content {

    max-width: 720px;

}

.hero-small-title {

    color: var(--light-gold);

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 600;

    margin-bottom: 20px;

}

.hero h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(52px, 6vw, 84px);

    font-weight: 600;

    line-height: 1.02;

}

.hero h1 span {

    color: var(--gold);

}

.hero-description {

    margin-top: 22px;

    max-width: 500px;

    color: #dfe5df;

    font-size: 15px;

    line-height: 1.7;

}


/* =========================================================
                    HERO FEATURES
========================================================= */

.hero-features {

    display: flex;

    gap: 40px;

    margin-top: 30px;

}

.hero-feature {

    display: flex;

    align-items: center;

    gap: 10px;

}

.feature-icon {

    width: 40px;
    height: 40px;

    border: 1px solid var(--gold);

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--gold);

    font-size: 14px;

}

.hero-feature strong {

    display: block;

    font-size: 11px;

}

.hero-feature span {

    display: block;

    color: #b8c0ba;

    font-size: 9px;

    margin-top: 3px;

}


/* =========================================================
                       SEARCH PANEL
========================================================= */

.search-panel {

    margin-top: 38px;

    width: 100%;

    max-width: 1120px;

    display: grid;

    grid-template-columns:
        1.35fr
        1fr
        1fr
        1fr
        auto;

    background: rgba(7,31,17,.82);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 9px;

    padding: 10px;

}

.search-field {

    padding: 10px 18px;

    border-right: 1px solid rgba(255,255,255,.18);

}

.search-field label {

    display: block;

    font-size: 10px;

    font-weight: 600;

    margin-bottom: 7px;

}

.input-wrapper {

    display: flex;

    align-items: center;

    gap: 8px;

}

.input-wrapper i {

    font-size: 11px;

    color: #d9dfd9;

}

.search-field input,
.search-field select {

    width: 100%;

    background: transparent;

    border: none;

    outline: none;

    color: white;

    font-size: 11px;

}

.search-field input::placeholder {

    color: #b9c0ba;

}

.search-field select option {

    color: black;

}

.search-button {

    min-width: 145px;

    padding: 0 20px;

    background: var(--light-gold);

    color: var(--dark-green);

    border: none;

    border-radius: 5px;

    font-size: 11px;

    font-weight: 700;

}

.search-button i {

    margin-left: 12px;

}


/* =========================================================
                    POPULAR SEARCHES
========================================================= */

.popular-searches {

    margin-top: 15px;

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

}

.popular-searches span {

    font-size: 10px;

    color: #c8cec9;

}

.popular-searches button {

    padding: 6px 13px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 30px;

    color: #e7ebe7;

    font-size: 9px;

    transition: var(--transition);

}

.popular-searches button:hover {

    background: var(--light-gold);

    color: var(--dark-green);

}


/* =========================================================
                    PROPERTY SECTION
========================================================= */

.properties-section {

    padding: 100px 0;

    background: #ffffff;

}

.section-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

}

.section-label {

    display: block;

    color: #9d813a;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}

.section-header h2,
.center-heading h2,
.about-content h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 600;

    margin-top: 8px;

    line-height: 1.15;

}

.section-header h2 span,
.center-heading h2 span,
.about-content h2 span {

    color: var(--green);

}

.view-all {

    background: transparent;

    border: none;

    color: var(--green);

    font-size: 11px;

    font-weight: 700;

}

.view-all i {

    margin-left: 10px;

}

.section-line {

    width: 45px;

    height: 2px;

    background: var(--gold);

    margin: 20px 0 35px;

}


/* =========================================================
                     PROPERTY GRID
========================================================= */

.property-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}

.property-card {

    border: 1px solid var(--border);

    border-radius: 8px;

    overflow: hidden;

    background: white;

    transition: .35s ease;

}

.property-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(17,40,24,.12);

}

.property-card.hidden {

    display: none;

}


/* =========================================================
                    PROPERTY IMAGE
========================================================= */

.property-image {

    height: 245px;

    position: relative;

    overflow: hidden;

}

.property-image img {

    height: 100%;

    object-fit: cover;

    transition: .6s ease;

}

.property-card:hover .property-image img {

    transform: scale(1.07);

}

.property-badge {

    position: absolute;

    top: 13px;

    left: 13px;

    padding: 6px 9px;

    border-radius: 4px;

    color: white;

    font-size: 8px;

    letter-spacing: .5px;

    font-weight: 700;

}

.property-badge.premium {

    background: #285b34;

}

.property-badge.hot {

    background: #a84e39;

}

.property-badge.new {

    background: #588d45;

}

.favorite-button {

    position: absolute;

    top: 12px;

    right: 12px;

    width: 35px;
    height: 35px;

    background: rgba(0,0,0,.35);

    backdrop-filter: blur(5px);

    border: 1px solid rgba(255,255,255,.4);

    border-radius: 50%;

    color: white;

    display: grid;

    place-items: center;

}

.favorite-button.active {

    color: #ff7777;

}


/* =========================================================
                    PROPERTY INFO
========================================================= */

.property-info {

    padding: 18px;

}

.property-location {

    color: var(--gray);

    font-size: 9px;

}

.property-location i {

    color: var(--green);

    margin-right: 4px;

}

.property-info h3 {

    margin-top: 9px;

    font-family: "Playfair Display", serif;

    font-size: 18px;

}

.property-details {

    display: flex;

    gap: 12px;

    margin-top: 12px;

    padding-bottom: 15px;

    border-bottom: 1px solid var(--border);

}

.property-details span {

    color: var(--gray);

    font-size: 8px;

}

.property-details i {

    color: var(--green);

    margin-right: 4px;

}

.property-bottom {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 10px;

    margin-top: 15px;

}

.property-bottom small {

    display: block;

    color: var(--gray);

    font-size: 8px;

}

.property-bottom strong {

    display: block;

    color: var(--green);

    font-size: 17px;

    margin-top: 3px;

}

.details-button {

    padding: 9px 11px;

    background: transparent;

    border: 1px solid #c8d0c9;

    border-radius: 4px;

    color: var(--green);

    font-size: 8px;

}

.details-button i {

    margin-left: 5px;

}


/* =========================================================
                     NO RESULTS
========================================================= */

.no-results {

    display: none;

    text-align: center;

    padding: 70px 20px;

}

.no-results.show {

    display: block;

}

.no-results i {

    color: var(--gold);

    font-size: 35px;

}

.no-results h3 {

    margin-top: 15px;

    font-family: "Playfair Display", serif;

    font-size: 25px;

}

.no-results p {

    margin-top: 8px;

    color: var(--gray);

    font-size: 12px;

}


/* =========================================================
                         STATS
========================================================= */

.stats-section {

    padding: 50px 0;

    background: var(--dark-green);

    color: white;

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

}

.stat-item {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    border-right: 1px solid rgba(255,255,255,.2);

}

.stat-item:last-child {

    border-right: none;

}

.stat-icon {

    width: 48px;
    height: 48px;

    border: 1px solid var(--gold);

    color: var(--gold);

    border-radius: 50%;

    display: grid;

    place-items: center;

}

.stat-item strong {

    display: block;

    font-size: 25px;

}

.stat-item span {

    display: block;

    color: #adb7af;

    font-size: 9px;

    margin-top: 2px;

}


/* =========================================================
                       HOW SECTION
========================================================= */

.how-section {

    padding: 100px 0;

    background: var(--cream);

}

.center-heading {

    text-align: center;

    max-width: 650px;

    margin: auto;

}

.center-heading p {

    margin-top: 12px;

    color: var(--gray);

    font-size: 13px;

}

.steps-grid {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 25px;

    margin-top: 65px;

}

.step-card {

    position: relative;

    text-align: center;

    padding: 20px;

}

.step-number {

    position: absolute;

    top: 0;

    left: calc(50% + 20px);

    width: 28px;
    height: 28px;

    display: grid;

    place-items: center;

    background: var(--green);

    color: white;

    border-radius: 50%;

    font-size: 8px;

    font-weight: 700;

}

.step-icon {

    width: 90px;
    height: 90px;

    margin: auto;

    background: white;

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: var(--green);

    font-size: 27px;

    box-shadow: 0 10px 30px rgba(0,0,0,.06);

}

.step-card h3 {

    font-family: "Playfair Display", serif;

    font-size: 18px;

    margin-top: 20px;

}

.step-card p {

    color: var(--gray);

    font-size: 11px;

    line-height: 1.7;

    max-width: 210px;

    margin: 9px auto;

}


/* =========================================================
                         ABOUT
========================================================= */

.about-section {

    padding: 110px 0;

}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

}

.about-image {

    position: relative;

    padding-right: 30px;

}

.about-image img {

    height: 500px;

    object-fit: cover;

    border-radius: 8px;

}

.experience-box {

    position: absolute;

    bottom: 25px;

    right: 0;

    background: var(--dark-green);

    color: white;

    padding: 22px 25px;

    display: flex;

    align-items: center;

    gap: 12px;

    border-radius: 5px;

}

.experience-box strong {

    color: var(--gold);

    font-family: "Playfair Display", serif;

    font-size: 35px;

}

.experience-box span {

    font-size: 10px;

    line-height: 1.5;

}

.about-content p {

    color: var(--gray);

    font-size: 13px;

    line-height: 1.8;

    margin-top: 20px;

}

.about-points {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 25px;

}

.about-points div {

    font-size: 11px;

    color: var(--dark-green);

}

.about-points i {

    color: var(--green);

    margin-right: 7px;

}


/* =========================================================
                    TESTIMONIALS
========================================================= */

.testimonial-section {

    padding: 100px 0;

    background: #f7f8f5;

}

.testimonial-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 20px;

    margin-top: 55px;

}

.testimonial-card {

    background: white;

    border: 1px solid var(--border);

    padding: 30px;

    border-radius: 8px;

}

.testimonial-card.featured {

    background: var(--dark-green);

    color: white;

}

.quote-icon {

    color: #d3d8d2;

    font-family: Georgia, serif;

    font-size: 55px;

    line-height: .5;

}

.testimonial-card p {

    margin-top: 15px;

    font-size: 12px;

    line-height: 1.8;

    color: var(--gray);

}

.featured p {

    color: #c4cdc6;

}

.rating {

    color: #c9a755;

    letter-spacing: 2px;

    margin-top: 18px;

    font-size: 12px;

}

.reviewer {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

}

.reviewer-avatar {

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: var(--green);

    display: grid;

    place-items: center;

    color: white;

    font-size: 9px;

}

.reviewer strong {

    display: block;

    font-size: 11px;

}

.reviewer span {

    display: block;

    color: var(--gray);

    font-size: 9px;

    margin-top: 3px;

}

.featured .reviewer span {

    color: #aab5ad;

}


/* =========================================================
                      SELL SECTION
========================================================= */

.sell-section {

    position: relative;

    min-height: 330px;

    display: flex;

    align-items: center;

    color: white;

    overflow: hidden;

}

.sell-background {

    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;

    background-position: center;

}

.sell-overlay {

    position: absolute;

    inset: 0;

    background: rgba(5,29,14,.88);

}

.sell-container {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}

.sell-content h2 {

    font-family: "Playfair Display", serif;

    font-size: clamp(40px,5vw,60px);

    line-height: 1;

    margin-top: 10px;

}

.sell-content h2 span {

    color: var(--gold);

}

.sell-content p {

    color: #c5cec7;

    font-size: 13px;

    max-width: 450px;

    line-height: 1.7;

    margin-top: 15px;

}

.sell-now-button {

    background: var(--light-gold);

    color: var(--dark-green);

    border: none;

    border-radius: 5px;

    padding: 15px 23px;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;

}

.sell-now-button i {

    margin-left: 12px;

}


/* =========================================================
                         FOOTER
========================================================= */

footer {

    background: #06170c;

    color: white;

    padding-top: 70px;

}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;

    gap: 45px;

}

.footer-brand p {

    max-width: 270px;

    color: #8f9b92;

    font-size: 10px;

    line-height: 1.8;

    margin-top: 18px;

}

.social-links {

    display: flex;

    gap: 8px;

    margin-top: 22px;

}

.social-links a {

    width: 31px;
    height: 31px;

    border: 1px solid #35453a;

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: #bbc2bc;

    font-size: 11px;

    transition: var(--transition);

}

.social-links a:hover {

    color: var(--gold);

    border-color: var(--gold);

}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.footer-column h3 {

    font-size: 11px;

    margin-bottom: 5px;

}

.footer-column a,
.footer-column p {

    color: #8f9b92;

    font-size: 10px;

    transition: var(--transition);

}

.footer-column a:hover {

    color: var(--gold);

}

.footer-column p {

    display: flex;

    gap: 9px;

    line-height: 1.6;

}

.footer-column p i {

    color: var(--gold);

    margin-top: 2px;

}

.footer-bottom {

    margin-top: 55px;

    padding: 20px 0;

    border-top: 1px solid #26372b;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #6f7d73;

    font-size: 9px;

}

.footer-bottom div {

    display: flex;

    gap: 20px;

}

.footer-bottom a:hover {

    color: var(--gold);

}


/* =========================================================
                         MODALS
========================================================= */

.modal {

    position: fixed;

    inset: 0;

    z-index: 2000;

    background: rgba(0,0,0,.72);

    display: grid;

    place-items: center;

    padding: 20px;

    opacity: 0;

    visibility: hidden;

    transition: .25s ease;

}

.modal.show {

    opacity: 1;

    visibility: visible;

}

.modal-box {

    position: relative;

    width: min(100%, 470px);

    background: white;

    border-radius: 12px;

    padding: 40px;

    text-align: center;

    transform: translateY(20px);

    transition: .3s ease;

}

.modal.show .modal-box {

    transform: translateY(0);

}

.modal-close {

    position: absolute;

    top: 15px;

    right: 15px;

    width: 34px;
    height: 34px;

    border: none;

    background: #f0f2ef;

    border-radius: 50%;

}

.modal-top-icon {

    width: 65px;
    height: 65px;

    margin: auto;

    background: var(--light-green);

    color: var(--green);

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 24px;

}

.modal-label {

    display: block;

    color: #9d813a;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 700;

    margin-top: 20px;

}

.modal-box h2 {

    font-family: "Playfair Display", serif;

    font-size: 28px;

    margin-top: 7px;

}

.modal-box > p {

    color: var(--gray);

    font-size: 12px;

    line-height: 1.7;

    margin-top: 12px;

}

.modal-info {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 8px;

    margin-top: 25px;

}

.modal-info div {

    background: #f4f6f2;

    padding: 12px 5px;

    border-radius: 5px;

}

.modal-info i {

    display: block;

    color: var(--green);

    font-size: 15px;

}

.modal-info span {

    display: block;

    font-size: 8px;

    color: var(--gray);

    margin-top: 6px;

}

.modal-buttons {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 25px;

}

.modal-buttons button {

    padding: 12px;

    border-radius: 5px;

    font-size: 10px;

    font-weight: 600;

}

.contact-seller {

    background: var(--green);

    color: white;

    border: none;

}

.send-enquiry {

    background: white;

    color: var(--green);

    border: 1px solid var(--green);

}


/* =========================================================
                         LOGIN
========================================================= */

.login-box {

    text-align: left;

}

.login-box .modal-top-icon {

    margin-left: 0;

}

.form-group {

    margin-top: 18px;

}

.form-group label {

    display: block;

    font-size: 10px;

    font-weight: 600;

    margin-bottom: 7px;

}

.form-group input {

    width: 100%;

    padding: 12px;

    border: 1px solid var(--border);

    border-radius: 5px;

    outline: none;

    font-size: 11px;

}

.form-group input:focus {

    border-color: var(--green);

}

.login-submit {

    width: 100%;

    margin-top: 20px;

    padding: 13px;

    border: none;

    border-radius: 5px;

    background: var(--green);

    color: white;

    font-weight: 700;

}

.login-note {

    text-align: center;

    margin-top: 15px;

    font-size: 9px !important;

}


/* =========================================================
                      RESPONSIVE
========================================================= */


/* ================= 1200px ================= */

@media (max-width: 1200px) {

    .nav-menu {

        gap: 20px;

    }

    .property-grid {

        grid-template-columns: repeat(2,1fr);

    }

    .footer-grid {

        grid-template-columns: repeat(3,1fr);

    }

}


/* ================= 1000px ================= */

@media (max-width: 1000px) {

    .nav-menu,
    .nav-actions {

        display: none;

    }

    .mobile-menu-button {

        display: block;

    }

    .hero {

        min-height: 850px;

    }

    .search-panel {

        grid-template-columns: 1fr 1fr;

    }

    .search-field:nth-child(2) {

        border-right: none;

    }

    .search-button {

        min-height: 48px;

        grid-column: span 2;

    }

    .steps-grid {

        grid-template-columns: repeat(2,1fr);

    }

    .about-grid {

        gap: 45px;

    }

}


/* ================= 768px ================= */

@media (max-width: 768px) {

    .container {

        width: min(92%, 1380px);

    }

    .hero {

        min-height: 920px;

    }

    .hero-container {

        padding-top: 110px;

    }

    .hero h1 {

        font-size: 53px;

    }

    .hero-features {

        flex-direction: column;

        gap: 14px;

    }

    .search-panel {

        grid-template-columns: 1fr;

    }

    .search-field {

        border-right: none;

        border-bottom: 1px solid rgba(255,255,255,.18);

    }

    .search-field:last-of-type {

        border-bottom: none;

    }

    .search-button {

        grid-column: auto;

    }

    .section-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

    }

    .property-grid {

        grid-template-columns: 1fr 1fr;

    }

    .stats-grid {

        grid-template-columns: 1fr 1fr;

        gap: 30px;

    }

    .stat-item {

        border-right: none;

        justify-content: flex-start;

    }

    .about-grid {

        grid-template-columns: 1fr;

    }

    .about-image {

        padding-right: 20px;

    }

    .about-image img {

        height: 400px;

    }

    .testimonial-grid {

        grid-template-columns: 1fr;

    }

    .sell-container {

        flex-direction: column;

        align-items: flex-start;

    }

}


/* ================= 600px ================= */

@media (max-width: 600px) {

    .hero {

        min-height: 980px;

    }

    .hero h1 {

        font-size: 45px;

    }

    .hero-description {

        font-size: 13px;

    }

    .property-grid {

        grid-template-columns: 1fr;

    }

    .property-image {

        height: 260px;

    }

    .steps-grid {

        grid-template-columns: 1fr;

    }

    .stats-grid {

        grid-template-columns: 1fr;

    }

    .about-points {

        grid-template-columns: 1fr;

    }

    .footer-grid {

        grid-template-columns: 1fr 1fr;

        gap: 35px 20px;

    }

    .footer-brand {

        grid-column: span 2;

    }

    .footer-bottom {

        flex-direction: column;

    }

    .footer-bottom div {

        flex-direction: column;

        gap: 8px;

    }

    .modal-box {

        padding: 30px 20px;

    }

    .modal-info {

        grid-template-columns: 1fr;

    }

}


/* ================= 400px ================= */

@media (max-width: 400px) {

    .hero h1 {

        font-size: 39px;

    }

    .popular-searches {

        gap: 5px;

    }

    .popular-searches button {

        padding: 5px 9px;

    }

    .footer-grid {

        grid-template-columns: 1fr;

    }

    .footer-brand {

        grid-column: auto;

    }

}