
:root {
    --primary: #11b511;
    --dark: #1f1f1f;
    --text: #4b5563;
    --light-bg: #f8f9fb;
    --border: #e9ecef;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: var(--dark);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container-custom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    gap: 15px;
    flex-wrap: wrap;
}

.section-title-wrap h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.section-title-wrap p {
    margin: 8px 0 0;
    color: var(--text);
    font-size: 15px;
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

/* =========================
HEADER
========================= */
header.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 20px;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-center a {
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-center a:hover {
    color: var(--primary);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

/* =========================
CATEGORY CARDS
========================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #f4fff3;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 18px;
}

.category-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.category-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* =========================
PROPERTY LISTINGS
========================= */
.property-card {
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid #f2f2f2;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.property-image-wrap {
    position: relative;
}

.property-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-info {
    padding: 20px;
}

.property-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.title {
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.rating {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.location {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 10px;
}

.property-meta {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 14px;
}

.price {
    font-weight: 800;
    font-size: 18px;
}

.price span {
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
}

/* =========================
WHY CHOOSE US
========================= */
.why-section {
    background: var(--light-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px 24px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-6px);
}

.why-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: #f4fff3;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.why-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-card p {
    color: var(--text);
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

/* =========================
PREMIUM BANNER
========================= */
.premium-banner {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    min-height: 420px;
    box-shadow: var(--shadow);
}

.premium-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.premium-overlay {
    position: relative;
    z-index: 2;
    padding: 70px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.15));
    color: #fff;
}

.premium-overlay h2 {
    font-size: 44px;
    max-width: 560px;
    margin-bottom: 18px;
    font-weight: 800;
}

.premium-overlay p {
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
}

/* =========================
CTA
========================= */
.cta-section {
    background: linear-gradient(135deg, #11b511 0%, #54ab54 100%);
    color: #fff;
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-white-custom {
    background: #fff;
    color: var(--primary);
    border: none;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-white-custom:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

/* =========================
FOOTER
========================= */
.footer {
    background: #d9d9da;
    color: #000000;
    margin-top: 80px;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 18px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    max-width: 340px;
    font-size: 14px;
}

.footer h5 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.72);
    transition: var(--transition);
    font-size: 14px;
}

.footer ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

/* =========================
RESPONSIVE
========================= */
@media (max-width: 1199px) {
    .category-grid,
    .listings,
    .why-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .premium-overlay {
        padding: 50px;
    }

    .premium-overlay h2 {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .section {
        padding: 65px 0;
    }
}

@media (max-width: 767px) {
    .container-custom {
        padding: 0 15px;
    }

    .section-title-wrap h2 {
        font-size: 26px;
    }

    .category-grid,
    .listings,
    .why-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .premium-overlay {
        padding: 35px 24px;
        min-height: 340px;
    }

    .premium-overlay h2 {
        font-size: 28px;
    }

    .cta-section {
        padding: 50px 24px;
    }

    .cta-section h2 {
        font-size: 30px;
    }

    .footer {
        padding: 55px 0 20px;
    }
}


/* =========================
FEATURED PROPERTIES SLIDER
========================= */
.featured-slider-header {
    align-items: center;
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #f1f1f1;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.slider-btn:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.featured-slider-wrapper {
    overflow: hidden;
    position: relative;
    padding-right: 6px;
}

.featured-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

/* MAIN WIDTH CONTROL */
.property-slide {
    flex: 0 0 calc((100% - 80px) / 6);
    min-width: calc((100% - 80px) / 6);
}

.see-all-slide {
    flex: 0 0 calc((100% - 80px) / 6);
    min-width: calc((100% - 80px) / 6);
}

.featured-slider .property-card {
    box-shadow: none;
    border: none;
    background: transparent;
}

.featured-slider .property-card:hover {
    transform: none;
    box-shadow: none;
}

.featured-slider .property-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 22px;
}

.featured-slider .property-image-wrap {
    position: relative;
}

.featured-slider .card-info {
    padding: 14px 4px 0;
}

.featured-slider .title {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 4px;
    color: #222;
}

.price-line {
    font-size: 13px;
    color: #6b6b6b;
    font-weight: 500;
}

.price-line span {
    color: #6b6b6b;
    font-weight: 500;
}

/* SEE ALL CARD */
.see-all-card {
    height: 210px;
    border-radius: 24px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 0 1px #e8e8e8;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.see-all-card:hover {
    transform: translateY(-4px);
    background: #efefef;
}

.see-all-images {
    position: relative;
    width: 120px;
    height: 80px;
    margin-bottom: 18px;
}

.see-all-images img {
    position: absolute;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    border: 4px solid #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.see-all-images img:nth-child(1) {
    left: 0;
    top: 8px;
    transform: rotate(-8deg);
}

.see-all-images img:nth-child(2) {
    left: 28px;
    top: 0;
    z-index: 2;
}

.see-all-images img:nth-child(3) {
    left: 56px;
    top: 10px;
    transform: rotate(8deg);
}

.see-all-card h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

/* =========================
FEATURED SLIDER RESPONSIVE
========================= */

/* Large desktop */
@media (max-width: 1399px) {
    .property-slide,
    .see-all-slide {
        flex: 0 0 calc((100% - 64px) / 5);
        min-width: calc((100% - 64px) / 5);
    }
}

/* Laptop/Desktop -> 6 cards */
@media (max-width: 1299px) and (min-width: 992px) {
    .property-slide,
    .see-all-slide {
        flex: 0 0 calc((100% - 80px) / 6);
        min-width: calc((100% - 80px) / 6);
    }

    .featured-slider .property-card img,
    .see-all-card {
        height: 190px;
    }

    .featured-slider .title {
        font-size: 14px;
    }

    .price-line {
        font-size: 12px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .property-slide,
    .see-all-slide {
        flex: 0 0 calc((100% - 32px) / 3);
        min-width: calc((100% - 32px) / 3);
    }

    .featured-slider .property-card img,
    .see-all-card {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .property-slide,
    .see-all-slide {
        flex: 0 0 78%;
        min-width: 78%;
    }

    .featured-slider .property-card img,
    .see-all-card {
        height: 240px;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
    }
}