:root {
    --primary: #b89255;
    --primary-dark: #9c763d;
    --dark: #0d1720;
    --dark-light: #17232d;
    --text: #26323a;
    --muted: #71808a;
    --light: #f7f6f3;
    --white: #ffffff;
    --border: #e8e7e2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* ================= NAVBAR ================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 19px;
    letter-spacing: 1px;
}

.logo strong {
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 18px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: white;
    font-size: 16px;
}

.post-btn {
    background: var(--primary);
    color: white;
    padding: 11px 17px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.post-btn:hover {
    background: var(--primary-dark);
}

.mobile-menu {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 24px;
}


/* ================= HERO ================= */

/* ===================================
   HERO CAROUSEL
=================================== */

.hero {
    position: relative;
    min-height: 850px;
    background: var(--dark);
}

.hero-slider,
.hero-slider .owl-stage-outer,
.hero-slider .owl-stage,
.hero-slider .owl-item {
    height: 850px;
}

.hero-slide {
    height: 850px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    transform: scale(1.08);
    transition: transform 7s ease;
}

.hero-slide.slide-one::before {
    background-image:
        url("../images/hero1.jpg");
}

.hero-slide.slide-two::before {
    background-image:
        url("../images/hero2.jpg");
}

.hero-slide.slide-three::before {
    background-image:
        url("../images/hero3.jpg");
}


/* Zoom animation for active slide */

.hero-slider .owl-item.active .hero-slide::before {
    transform: scale(1);
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(5, 14, 20, 0.92) 0%,
            rgba(5, 14, 20, 0.72) 45%,
            rgba(5, 14, 20, 0.20) 100%);

    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 780px;
    padding-bottom: 70px;
    margin-left: 73px;
}


/* HERO ANIMATION */

.hero-text>* {
    opacity: 0;
    transform: translateY(35px);
}

.owl-item.active .hero-badge {
    animation: fadeUp 0.7s 0.3s forwards;
}

.owl-item.active h1 {
    animation: fadeUp 0.9s 0.5s forwards;
}

.owl-item.active p {
    animation: fadeUp 0.9s 0.7s forwards;
}

.owl-item.active .hero-buttons {
    animation: fadeUp 0.9s 0.9s forwards;
}


@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* HERO BADGE */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 22px;
}

.hero-badge span {
    width: 35px;
    height: 1px;
    background: var(--primary);
}


/* HERO TITLE */

.hero-text h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(50px, 6vw, 82px);

    line-height: 1.08;
    font-weight: 600;

    color: white;
}

.hero-text h1 span {
    display: block;
    color: var(--primary);
}

.hero-text p {
    max-width: 600px;

    margin-top: 25px;

    font-size: 17px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.75);
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 32px;
}

.hero-btn {
    padding: 15px 24px;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s;
}

.hero-btn.primary {
    background: var(--primary);
    color: white;
}

.hero-btn.primary:hover {
    background: white;
    color: var(--dark);
}

.hero-btn.primary i {
    margin-left: 8px;
}

.hero-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
}

.hero-btn.secondary:hover {
    background: white;
    color: var(--dark);
}


/* OWL NAVIGATION */

.hero-slider .owl-nav {
    position: absolute;
    right: 50px;
    bottom: 173px;
    display: flex;
    gap: 10px;
}

.hero-slider .owl-nav button {
    width: 48px;
    height: 48px;

    border: 1px solid rgba(255, 255, 255, 0.4) !important;

    background: transparent !important;

    color: white !important;

    font-size: 20px !important;

    border-radius: 0 !important;

    transition: 0.3s;
}

.hero-slider .owl-nav button:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}


/* HERO DOTS */

.hero-slider .owl-dots {
    position: absolute;

    bottom: 110px;
    left: 50%;

    transform: translateX(-50%);
}

.hero-slider .owl-dot span {
    width: 28px !important;
    height: 2px !important;

    background: rgba(255, 255, 255, 0.4) !important;

    border-radius: 0 !important;
}

.hero-slider .owl-dot.active span {
    background: var(--primary) !important;
}


/* STATS */

.hero-stats-wrapper {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;

    z-index: 5;

    background: rgba(9, 17, 23, 0.75);

    backdrop-filter: blur(8px);
}

.hero-stats {
    display: flex;
    align-items: center;

    min-height: 110px;
}

.hero-stats>div {
    width: 250px;

    padding-right: 45px;
    margin-right: 45px;

    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats>div:last-child {
    border-right: none;
}

.hero-stats h3 {
    font-family: "Playfair Display", serif;

    font-size: 32px;
    color: white;
}

.hero-stats h3 span {
    color: var(--primary);
}

.hero-stats p {
    font-size: 12px;

    color: rgba(255, 255, 255, 0.6);
}


/* ================= SEARCH ================= */

.search-box {
    background: white;
    margin-top: 42px;
    max-width: 1080px;
    color: var(--text);
    padding: 0 24px 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.search-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 18px 2px 14px;
    font-size: 14px;
    font-weight: 700;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-dark);
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.search-fields {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 12px;
    padding-top: 20px;
}

.search-field {
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 11px 15px;
    gap: 12px;
}

.search-field>i {
    color: var(--primary);
}

.search-field label {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.search-field select {
    border: none;
    outline: none;
    font-size: 13px;
    background: transparent;
    width: 100%;
    color: var(--text);
}

.search-btn {
    border: none;
    background: var(--dark);
    color: white;
    padding: 0 26px;
    font-weight: 600;
    transition: 0.3s;
}

.search-btn:hover {
    background: var(--primary);
}


/* ================= HERO STATS ================= */

.hero-stats {
    display: flex;
    gap: 55px;
    margin-top: 55px;
}

.hero-stats>div {
    padding-right: 55px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stats>div:last-child {
    border: none;
}

.hero-stats h3 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
}

.hero-stats h3 span {
    color: var(--primary);
}

.hero-stats p {
    margin-top: 0 !important;
    font-size: 12px !important;
}


/* ================= COMMON ================= */

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 600px;
}

.section-heading.center {
    text-align: center;
    margin: auto;
}

.small-title {
    display: inline-block;
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-heading h2,
.why-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(35px, 4vw, 48px);
    line-height: 1.2;
    color: var(--dark);
}

.section-heading p {
    color: var(--muted);
    margin-top: 14px;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 45px;
}

.view-all {
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.view-all i {
    color: var(--primary);
    margin-left: 8px;
}


/* ================= CATEGORIES ================= */

.categories {
    background: var(--light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.category-card {
    background: white;
    padding: 32px 25px;
    border: 1px solid transparent;
    transition: 0.35s;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

.category-icon {
    width: 58px;
    height: 58px;
    background: #f6f0e7;
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 22px;
}

.category-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
}

.category-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 6px 0 18px;
}

.category-card a {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
}


/* ================= PROPERTIES ================= */

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.property-card {
    border: 1px solid var(--border);
    background: white;
    transition: 0.35s;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.property-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: white;
    padding: 6px 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.heart-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 38px;
    height: 38px;
    border: none;
    background: white;
    border-radius: 50%;
    color: var(--dark);
}

.heart-btn.active {
    color: #e63946;
}

.property-content {
    padding: 23px;
}

.property-location {
    color: var(--muted);
    font-size: 12px;
}

.property-location i {
    color: var(--primary);
}

.property-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin: 8px 0 16px;
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.property-details i {
    color: var(--primary);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 17px;
}

.property-footer small {
    color: var(--muted);
    font-size: 10px;
}

.property-footer h4 {
    font-size: 18px;
    color: var(--dark);
}

.circle-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--primary-dark);
    transition: 0.3s;
}

.circle-arrow:hover {
    background: var(--primary);
    color: white;
}


/* ================= LOCATIONS ================= */

.locations {
    background: var(--dark);
}

.locations .section-heading h2 {
    color: white;
}

.locations .section-heading p {
    color: rgba(255, 255, 255, 0.6);
}

.location-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 18px;
}

.location-card {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.location-card:hover img {
    transform: scale(1.08);
}

.location-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.location-overlay {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 2;
    color: white;
}

.location-overlay h3 {
    font-family: "Playfair Display", serif;
    font-size: 27px;
}

.location-overlay p {
    color: var(--primary);
    font-size: 12px;
}


/* ================= WHY US ================= */

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-image {
    position: relative;
}

.why-image>img {
    height: 600px;
    width: 100%;
    object-fit: cover;
}

.experience-box {
    position: absolute;
    right: -30px;
    bottom: 35px;
    background: var(--primary);
    color: white;
    padding: 25px 35px;
}

.experience-box h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
}

.experience-box p {
    font-size: 12px;
}

.why-content h2 span {
    color: var(--primary-dark);
}

.why-content>p {
    color: var(--muted);
    margin: 20px 0 30px;
}

.features-list {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 18px;
}

.feature-icon {
    min-width: 50px;
    height: 50px;
    background: #f6f0e7;
    display: grid;
    place-items: center;
    color: var(--primary-dark);
}

.feature-item h4 {
    font-size: 16px;
}

.feature-item p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}


/* ================= PROJECTS ================= */

.projects {
    background: var(--light);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    height: 430px;
    overflow: hidden;
}

.project-card>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover>img {
    transform: scale(1.08);
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(5, 10, 15, 0.9));
}

.project-info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    color: white;
    z-index: 2;
}

.project-info>span {
    color: var(--primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.project-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 27px;
    margin-top: 7px;
}

.project-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin: 5px 0;
}

.project-info strong {
    font-size: 14px;
}


/* ================= AGENTS ================= */

.agent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.agent-card {
    background: var(--light);
    text-align: center;
    padding-bottom: 25px;
    overflow: hidden;
}

.agent-card>img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: top;
}

.agent-info {
    padding-top: 20px;
}

.agent-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
}

.agent-info p {
    color: var(--muted);
    font-size: 12px;
    margin: 4px 0 15px;
}

.agent-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.agent-social a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    background: white;
    display: grid;
    place-items: center;
    font-size: 12px;
    color: var(--primary-dark);
    transition: 0.3s;
}

.agent-social a:hover {
    background: var(--primary);
    color: white;
}


/* ================= TESTIMONIAL ================= */

.testimonial-section {
    padding: 110px 0;
    background: #f7f6f3;
}

.testimonial-heading {
    margin-bottom: 50px;
}

.testimonial-carousel {
    position: relative;
}

.testimonial-card {
    background: white;

    padding: 38px 32px;

    border: 1px solid #ebe8e2;

    min-height: 350px;

    position: relative;

    transition: 0.35s;
}

.testimonial-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.08);
}


.quote-top {
    color: var(--primary);

    font-size: 32px;

    margin-bottom: 20px;
}


.rating {
    display: flex;
    gap: 5px;

    color: var(--primary);

    font-size: 12px;

    margin-bottom: 20px;
}


.testimonial-card>p {
    font-size: 15px;

    line-height: 1.9;

    color: var(--muted);

    min-height: 130px;
}


.testimonial-client {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}


.client-avatar {
    width: 48px;
    height: 48px;

    background: var(--dark);

    color: var(--primary);

    display: grid;
    place-items: center;

    font-size: 13px;
    font-weight: 700;
}


.testimonial-client h4 {
    font-family: "Playfair Display", serif;

    font-size: 17px;

    color: var(--dark);
}


.testimonial-client span {
    font-size: 11px;

    color: var(--muted);
}


/* TESTIMONIAL OWL DOTS */

.testimonial-carousel .owl-dots {
    margin-top: 35px !important;
}


.testimonial-carousel .owl-dot span {
    width: 30px !important;
    height: 3px !important;

    background: #d9d4ca !important;

    border-radius: 0 !important;

    transition: 0.3s;
}


.testimonial-carousel .owl-dot.active span {
    width: 45px !important;

    background: var(--primary) !important;
}


/* TESTIMONIAL NAV */

.testimonial-carousel .owl-nav {
    margin-top: 30px;
}


.testimonial-carousel .owl-nav button {
    width: 42px;
    height: 42px;

    border: 1px solid var(--border) !important;

    background: white !important;

    color: var(--dark) !important;

    font-size: 18px !important;

    transition: 0.3s;
}


.testimonial-carousel .owl-nav button:hover {
    background: var(--primary) !important;

    color: white !important;

    border-color: var(--primary) !important;
}


/* ================= CTA ================= */

.cta-section {
    background: var(--primary);
    padding: 75px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    color: white;
}

.cta-content>div:first-child>span {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.cta-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    margin-top: 5px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 7px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
}

.btn-primary,
.btn-outline {
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--dark);
    color: white;
}

.btn-primary:hover {
    background: white;
    color: var(--dark);
}

.btn-outline {
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}


/* ================= FOOTER ================= */

.footer {
    background: #091117;
    color: white;
    padding-top: 75px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-about>p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    max-width: 290px;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    font-size: 13px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer h4 {
    font-family: "Playfair Display", serif;
    font-size: 19px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a,
.footer-contact p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact p {
    margin-bottom: 13px;
}

.footer-contact i {
    color: var(--primary);
    width: 22px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}


/* ================= BACK TO TOP ================= */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: none;
    background: var(--primary);
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.3s;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    .nav-menu {
        gap: 14px;
    }

    .nav-actions {
        display: none;
    }

    .search-fields {
        grid-template-columns: 1fr 1fr;
    }

    .search-btn {
        height: 55px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-grid,
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        gap: 45px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .header {
        background: var(--dark);
    }

    .navbar {
        min-height: 70px;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 30px;
        display: none;
    }

    .nav-menu.show {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stats>div {
        padding-right: 20px;
    }

    .section {
        padding: 75px 0;
    }

    .section-top,
    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-image>img {
        height: 450px;
    }

    .experience-box {
        right: 0;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-card,
    .location-card.large {
        height: 300px;
    }

}


@media (max-width: 550px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero>.container p {
        font-size: 15px;
    }

    .search-box {
        padding: 0 15px 15px;
    }

    .search-tabs {
        gap: 17px;
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-stats>div {
        border-right: none;
        padding-right: 0;
    }

    .hero-stats h3 {
        font-size: 23px;
    }

    .hero-stats p {
        font-size: 9px !important;
    }

    .category-grid,
    .property-grid,
    .project-grid,
    .agent-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .why-content h2 {
        font-size: 33px;
    }

    .property-image {
        height: 230px;
    }

    .cta-content h2 {
        font-size: 34px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

}