    /* =========================================================
   TESTIMONIAL SECTION
========================================================= */

.testimonial-section {
    width: 100%;
    padding: 55px 0;

    background: #f8f8f8;

    overflow: hidden;
}

.testimonial-container {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}


/* =========================================================
   HEADING
========================================================= */

.testimonial-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}

.testimonial-heading h2 {
    margin: 0;

    color: #111;

    font-size: 24px;
    font-weight: 700;
}

.testimonial-heading h2 span {
    color: #bc8200;
}

.testimonial-title-line {
    width: 42px;
    height: 4px;

    margin-top: 8px;

    border-radius: 20px;

    background: #c89200;
}


/* =========================================================
   NAV BUTTONS
========================================================= */

.testimonial-nav-buttons {
    display: flex;
    gap: 8px;
}

.testimonial-arrow {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #111;
    color: #fff;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.testimonial-arrow:hover {
    background: #c89200;

    transform: translateY(-2px);
}

.testimonial-arrow i {
    font-size: 12px;
}


/* =========================================================
   SLIDER
========================================================= */

.testimonial-slider {
    display: flex;

    gap: 22px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 5px 3px 15px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   CARD
========================================================= */

.testimonial-card {
    flex: 0 0 calc((100% - 44px) / 3);

    min-height: 225px;

    padding: 22px;

    scroll-snap-align: start;

    border: 1px solid #e6e6e6;
    border-radius: 8px;

    background: #fff;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   CARD TOP
========================================================= */

.testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonial-user {
    display: flex;
    align-items: center;

    gap: 12px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    overflow: hidden;

    border: 3px solid #f2d374;
    border-radius: 50%;
}

.testimonial-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.testimonial-user h3 {
    margin: 0 0 3px;

    color: #111;

    font-size: 14px;
    font-weight: 700;
}

.testimonial-user p {
    margin: 0;

    color: #777;

    font-size: 11px;
}

.testimonial-quote {
    color: #e6d7a8;

    font-size: 30px;
}


/* =========================================================
   STARS
========================================================= */

.testimonial-stars {
    display: flex;

    gap: 3px;

    margin-top: 15px;
    margin-bottom: 12px;

    color: #e8ad00;
}

.testimonial-stars i {
    font-size: 12px;
}


/* =========================================================
   TEXT
========================================================= */

.testimonial-text {
    margin: 0;

    color: #444;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .testimonial-card {
        flex: 0 0 calc((100% - 22px) / 2);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .testimonial-section {
        padding: 35px 0;
    }

    .testimonial-container {
        width: calc(100% - 20px);
    }

    .testimonial-heading {
        margin-bottom: 18px;
    }

    .testimonial-heading h2 {
        font-size: 18px;
    }

    .testimonial-title-line {
        width: 32px;
        height: 3px;
    }

    .testimonial-arrow {
        width: 32px;
        height: 32px;
    }

    .testimonial-slider {
        gap: 12px;
    }

    .testimonial-card {
        flex: 0 0 92%;

        min-height: 205px;

        padding: 18px;
    }

    .testimonial-avatar {
        width: 46px;
        height: 46px;
    }

    .testimonial-user h3 {
        font-size: 13px;
    }

    .testimonial-user p {
        font-size: 10px;
    }

    .testimonial-text {
        font-size: 11px;
    }

    .testimonial-quote {
        font-size: 25px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .testimonial-card {
        flex-basis: 95%;
    }

    .testimonial-heading h2 {
        font-size: 16px;
    }

}
/* =========================================================
   FEATURED PROPERTY CARD BADGES
========================================================= */

.project-image {
    position: relative;
    overflow: hidden;
}


/* FEATURED - TOP LEFT */

.project-image .property-featured-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 10;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    width: auto;
    min-width: 0;
    max-width: max-content;

    padding: 0px 4px;

    border-radius: 6px;

    background: #198754;
    color: #ffffff;

    font-size: 9px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: 0.3px;
    text-transform: uppercase;

    white-space: nowrap;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18);
}

.project-image .property-featured-badge i {
    color: #f4cf55;

    font-size: 9px;
}


/* SALE / RENT - TOP RIGHT */

.project-image .property-status-badge {
    position: absolute;

    top: 14px;
    right: 14px;
    left: auto;

    z-index: 10;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 0;
    max-width: max-content;

    padding: 7px 10px;

    border-radius: 6px;

    background: rgba(0, 26, 61, 0.92);
    color: #ffffff;

    font-size: 9px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: 0.3px;
    text-transform: uppercase;

    white-space: nowrap;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18);
}


/* WHOLE CARD LINK */

.project-card > a {
    display: block;

    height: 100%;

    color: inherit;
    text-decoration: none;
}


/* EMPTY RESULT */

.no-featured-properties {
    grid-column: 1 / -1;

    padding: 45px 20px;

    border: 1px solid #eeeeee;
    border-radius: 8px;

    background: #ffffff;

    color: #777777;

    text-align: center;

    font-size: 14px;
}


/* MOBILE */

@media (max-width: 600px) {

    .project-image .property-featured-badge,
    .project-image .property-status-badge {
        top: 10px;

        padding: 6px 8px;

        font-size: 8px;
    }

    .project-image .property-featured-badge {
        left: 10px;
    }

    .project-image .property-status-badge {
        right: 10px;
    }
} 
/* =========================================================
   SALE / RENT BADGE COLORS
========================================================= */

/* SALE - GREEN */
.projects-section
.project-card
.project-image
.property-sale-rent-badge.property-status-sale {
    background: #EDC92C !important;
    color: #ffffff !important;
}


/* RENT - BLUE */
.projects-section
.project-card
.project-image
.property-sale-rent-badge.property-status-rent {
    background: #002654 !important;
    color: #ffffff !important;
}


/* =========================================================
   HOMEPAGE PROPERTY TYPE-SPECIFIC 4 DETAILS
========================================================= */
.home-property-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 18px;

    margin-top: 12px;
    padding-top: 11px;

    border-top: 1px solid #eeeeee;
}

.home-property-info {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 4px;
}

.home-property-info-label {
    flex-shrink: 0;

    color: #777f8e;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.home-property-info-value {
    min-width: 0;

    overflow: hidden;

    color: #111827;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {

    .home-property-info-grid {
        gap: 8px 12px;
    }

    .home-property-info-label {
        font-size: 9px;
    }

    .home-property-info-value {
        font-size: 10px;
    }
}

/* =========================================================
   PROPERTY CATEGORY SECTION
========================================================= */

.property-category-section {
    width: 100%;
    padding: 55px 20px;
    background: #ffffff;
}

.property-category-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.95fr)
        minmax(280px, 1fr)
        minmax(280px, 0.95fr);

    grid-template-rows: 365px 365px;

    gap: 28px;

    width: min(1165px, 100%);
    margin: 0 auto;
}


/* =========================================================
   GRID POSITIONS
========================================================= */

.category-individual {
    grid-column: 1;
    grid-row: 1;
}

.category-commercial {
    grid-column: 2 / 4;
    grid-row: 1;
}

.category-rental {
    grid-column: 1 / 3;
    grid-row: 2;
}

.category-plots {
    grid-column: 3;
    grid-row: 2;
}


/* =========================================================
   CARD
========================================================= */

.property-category-card {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 3px;

    background: #222;

    color: #fff;
    text-decoration: none;

    isolation: isolate;
}


/* =========================================================
   IMAGE
========================================================= */

.property-category-image {
    position: absolute;
    inset: 0;

    z-index: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.property-category-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: rgba(0, 0, 0, 0.48);

    transition: background 0.3s ease;
}


/* =========================================================
   CONTENT
========================================================= */

.property-category-content {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 2;

    width: calc(100% - 40px);

    transform: translate(-50%, -50%);

    color: #fff;
    text-align: center;
}

.property-category-content h3 {
    margin: 0 0 7px;

    color: #fff;

    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
}

.property-category-content p {
    margin: 0 0 20px;

    color: #fff;

    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.property-category-content span {
    display: block;

    color: #fff;

    font-size: 16px;
    font-weight: 400;
}


/* =========================================================
   HOVER
========================================================= */

.property-category-card:hover .property-category-image {
    transform: scale(1.06);
}

.property-category-card:hover .property-category-overlay {
    background: rgba(0, 0, 0, 0.38);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .property-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, 320px);

        gap: 18px;
    }

    .category-individual,
    .category-commercial,
    .category-rental,
    .category-plots {
        grid-column: auto;
        grid-row: auto;
    }

    .property-category-content h3 {
        font-size: 24px;
    }

    .property-category-content p {
        font-size: 15px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .property-category-section {
        padding: 35px 15px;
    }

    .property-category-grid {
        display: grid;

        grid-template-columns: 1fr;
        grid-template-rows: none;

        gap: 15px;
    }

    .property-category-card {
        height: 270px;
    }

    .property-category-content h3 {
        font-size: 23px;
    }

    .property-category-content p {
        margin-bottom: 15px;

        font-size: 14px;
    }

    .property-category-content span {
        font-size: 14px;
    }
}

/* =========================================================
   RECENT PROPERTIES - RESPONSIVE CARD SLIDER
========================================================= */

.ns-resale-properties {
    width: 100%;
    padding: 32px 0 42px;
    overflow: hidden;
}

.ns-resale-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    width: min(1230px, calc(100% - 40px));
    margin: 0 auto 24px;
}

.ns-resale-header h2 {
    margin: 0;
    color: #111;
    font-size: 26px;
    font-weight: 700;
}

.ns-resale-header h2 span {
    color: #bd8200;
}

.ns-resale-line {
    width: 46px;
    height: 4px;
    margin-top: 9px;
    border-radius: 20px;
    background: #c89200;
}

.ns-resale-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #bd8200;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.ns-resale-grid {
    --recent-columns: 4;
    --recent-gap: 24px;

    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--recent-gap) !important;

    width: min(1230px, calc(100% - 40px));
    margin: 0 auto;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-inline: contain;
}

.ns-resale-grid::-webkit-scrollbar {
    display: none;
}

.ns-resale-grid > .recent-property-card {
    flex: 0 0 calc(
        (100% - (var(--recent-gap) * (var(--recent-columns) - 1)))
        / var(--recent-columns)
    ) !important;

    width: calc(
        (100% - (var(--recent-gap) * (var(--recent-columns) - 1)))
        / var(--recent-columns)
    ) !important;

    min-width: 0 !important;
    margin: 0 !important;

    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.recent-property-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.recent-property-nav {
    display: flex;
    align-items: center;
    gap: 7px;
}

.recent-property-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #b7b7b7;
    color: #fff;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.recent-property-arrow:hover:not(:disabled) {
    background: #c89200;
    transform: translateY(-2px);
}

.recent-property-arrow:disabled {
    opacity: 0.55;
    cursor: default;
    transform: none;
}

.recent-property-arrow i {
    font-size: 13px;
}

@media (max-width: 1050px) {
    .ns-resale-grid {
        --recent-columns: 3;
        --recent-gap: 20px;
    }
}

@media (max-width: 760px) {
    .ns-resale-header {
        align-items: flex-start;
    }

    .ns-resale-grid {
        --recent-columns: 2;
        --recent-gap: 16px;
    }
}

@media (max-width: 520px) {
    .ns-resale-properties {
        padding: 26px 0 34px;
    }

    .ns-resale-header,
    .ns-resale-grid {
        width: calc(100% - 24px);
    }

    .ns-resale-header {
        gap: 12px;
        margin-bottom: 18px;
    }

    .ns-resale-header h2 {
        font-size: 20px;
    }

    .recent-property-header-actions {
        gap: 8px;
    }

    .recent-property-nav {
        gap: 5px;
    }

    .recent-property-arrow {
        width: 36px;
        height: 36px;
    }

    .ns-resale-more {
        display: none;
    }

    .ns-resale-grid {
        --recent-columns: 1;
        --recent-gap: 14px;
    }
}


/* =========================================================
   STICKY MAIN NAVIGATION
========================================================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}


/* Builder Alliances: separate, evenly spaced rows below the search bar. */
.builder-alliance {
    position: absolute;
    left: 50%;
    bottom: -75px;
    width: min(700px, calc(100% - 100px));
    transform: translateX(-50%);
    z-index: 20;
}
.builder-alliance-title {
    margin: 0 0 20px !important;
    text-align: center;
    line-height: 1.35;
}
.builder-alliance-slider-wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.builder-alliance-slider {
    --builder-columns: 3;
    --builder-gap: 20px;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--builder-gap);
    width: 100%;
    box-sizing: border-box;
    padding: 3px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
.builder-alliance-slider > .builder-alliance-card {
    flex: 0 0 calc((100% - (var(--builder-columns) - 1) * var(--builder-gap) - 4px) / var(--builder-columns));
    width: calc((100% - (var(--builder-columns) - 1) * var(--builder-gap) - 4px) / var(--builder-columns));
    min-width: 0;
    max-width: none;
    height: 86px;
    margin: 0;
    padding: 12px 18px;
    box-sizing: border-box;
}
.builder-alliance-logo img,
.builder-alliance-card > img {
    max-width: 145px;
    max-height: 54px;
    object-fit: contain;
}
.after-hero {
    min-height: 130px !important;
}
@media (max-width: 700px) {
    .builder-alliance {
        bottom: -65px;
        width: calc(100% - 66px);
    }
    .builder-alliance-title {
        margin-bottom: 16px !important;
    }
    .builder-alliance-slider {
        --builder-columns: 2;
        --builder-gap: 14px;
    }
    .builder-alliance-slider > .builder-alliance-card {
        height: 76px;
        padding: 10px;
    }
    .after-hero { min-height: 115px !important; }
}
@media (max-width: 460px) {
    .builder-alliance {
        bottom: -58px;
        width: calc(100% - 56px);
    }
    .builder-alliance-slider {
        --builder-columns: 1;
        --builder-gap: 12px;
    }
    .builder-alliance-slider > .builder-alliance-card {
        height: 74px;
    }
    .after-hero { min-height: 108px !important; }
}

/* NellaiSpace property unit calculators */
.ns-converter-section{padding:55px 20px;background:#faf9f6;font-family:"Poppins",sans-serif}
.ns-converter-container{max-width:1165px;margin:auto}
.ns-converter-heading{text-align:center;margin-bottom:28px}
.ns-converter-heading h2{margin:0;color:#111;font-size:27px;font-weight:700}
.ns-converter-heading h2 span{color:#bd8200}
.ns-converter-heading p{color:#666;font-size:13px;margin:8px 0 0}
.ns-converter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ns-converter-card{background:#fff;border:1px solid #e9e4d8;border-radius:10px;padding:24px;box-shadow:0 7px 22px rgba(0,0,0,.05)}
.ns-converter-card h3{font-size:17px;margin:0 0 8px;color:#161616}
.ns-converter-card p{font-size:12px;line-height:1.6;color:#777;margin:0 0 18px}
.ns-converter-card label{display:block;font-size:12px;font-weight:600;margin:0 0 7px;color:#333}
.ns-converter-card input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d8d8d8;border-radius:6px;font:inherit;font-size:14px;outline:none}
.ns-converter-card input:focus{border-color:#bd8200;box-shadow:0 0 0 3px rgba(189,130,0,.12)}
.ns-converter-result{margin-top:16px;padding:14px;background:#fff8e6;border-radius:7px}
.ns-converter-result span{display:block;font-size:11px;color:#6b6252}
.ns-converter-result strong{display:block;margin-top:3px;color:#a36c00;font-size:20px;overflow-wrap:anywhere}
.ns-converter-note{font-size:11px;color:#777;margin:18px 0 0;line-height:1.6}
@media(max-width:850px){.ns-converter-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.ns-converter-section{padding:38px 15px}.ns-converter-grid{grid-template-columns:1fr;gap:14px}.ns-converter-heading h2{font-size:22px}}

/* ========================================
   HOMEPAGE SEO CONTENT
======================================== */

.ns-home-seo {
    padding: 55px 20px;
    background: #f8f9fb;
    font-family: "Poppins", sans-serif;
}

.ns-home-seo-container {
    max-width: 1165px;
    margin: 0 auto;
}

.ns-home-seo h2 {
    font-size: 27px;
    line-height: 1.4;
    color: #002654;
    margin: 0 0 20px;
}

.ns-home-seo h3 {
    font-size: 19px;
    line-height: 1.4;
    color: #17243a;
    margin: 25px 0 10px;
}

.ns-home-seo p {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin: 0 0 15px;
}

.ns-home-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.ns-home-seo-links a {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 6px;
    background: #002654;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.ns-home-seo-links a:hover {
    background: #c89200;
}

@media (max-width: 600px) {
    .ns-home-seo {
        padding: 35px 15px;
    }

    .ns-home-seo h2 {
        font-size: 22px;
    }

    .ns-home-seo h3 {
        font-size: 17px;
    }

    .ns-home-seo p {
        font-size: 13px;
    }

    .ns-home-seo-links a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
