/* =====================================================
   Homes Overstock - MODERN LANDING PAGE STYLES
   Complete Redesign for Full, Branded Experience
   BRAND COLORS: Red #0d9488, Navy #171b2a, Gold #ffa41b
===================================================== */

:root {
    --primary-red: #0d9488;
    --primary-red-dark: #115e59;
    --primary-red-light: #5eead4;
    --dark-navy: #171b2a;
    --dark-navy-light: #2d324a;
    --accent-gold: #ffa41b;
    --accent-gold-light: #ffcc70;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --white: #ffffff;
    --gradient-red: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
    --gradient-dark: linear-gradient(135deg, #171b2a 0%, #2d324a 100%);
    --gradient-gold: linear-gradient(135deg, #ffa41b 0%, #ffcc70 100%);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-lg: 0 25px 60px rgba(0,0,0,0.15);
    --shadow-red: 0 10px 30px rgba(13,148,136,0.28);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-full: 50px;
}

/* =====================================================
   GLOBAL - HIDE ALL PAGINATION DOTS
===================================================== */
.swiper-pagination,
.two-items_slider-pagination,
.three-items_slider-pagination {
    display: none !important;
}

/* =====================================================
   HERO SECTION - FULL IMPACT
===================================================== */
.modern-hero {
    position: relative;
    min-height: 700px;
    /* background: var(--gradient-dark); */
    background-image: url('../images/background/hero.png');
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 0 ;
    overflow: hidden;
    background-size: cover;
        background-position: center;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 50px 50px;
}

.modern-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(23,27,42,1), transparent);
}

.hero-floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-floating-shapes .floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.hero-floating-shapes .floating-shape:nth-child(1) {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(235,32,39,0.15) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: float1 25s ease-in-out infinite;
}

.hero-floating-shapes .floating-shape:nth-child(2) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,164,27,0.12) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float2 20s ease-in-out infinite;
}

.hero-floating-shapes .floating-shape:nth-child(3) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(23,27,42,0.1) 0%, transparent 70%);
    top: 30%;
    left: 20%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -20px) scale(1.05); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -30px) scale(0.95); }
}

.modern-hero .container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    text-align: left;
    max-width: 650px;
    margin: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-badge i {
    color: var(--primary-red);
    font-size: 14px;
}

.modern-hero h1 {
    font-size: 75px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.modern-hero h1 .highlight {
    background: linear-gradient(135deg,#ed2128, #ed2128);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 45px;   
     max-width: 650px;
    margin-left: 0;
    margin-right: 0;
}

/* Hero Search Box */
.hero-search-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 0 35px 0;
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.search-tabs button {
    padding: 10px 24px;
    border: none;
    background: var(--bg-gray);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tabs button:hover {
    background: #e2e8f0;
}

.search-tabs button.active {
    background: var(--primary-red);
    color: var(--white);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input-wrap .search-icon {
    color: var(--text-light);
    font-size: 20px;
}

.search-input-wrap input {
    flex: 1;
    border: none;
    font-size: 17px;
    padding: 15px 0;
    outline: none;
    color: var(--text-dark);
}

.search-input-wrap input::placeholder {
    color: var(--text-light);
}

.search-btn {
    background: var(--gradient-red);
    color: var(--white);
    border: none;
    padding: 16px 35px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(235,32,39,0.4);
}

/* Quick Filters */
.quick-filters {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-pill i {
    font-size: 13px;
}

/* =====================================================
   TRUST BADGES - FULL WIDTH IMPACT
===================================================== */
.trust-badges-section {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.trust-badges-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px 30px;
    background: var(--gradient-dark);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.trust-badge i {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-red);
    border-radius: 16px;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.trust-badge span {
    display: flex;
    flex-direction: column;
}

.trust-badge strong {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 4px;
}

.trust-badge span {
    font-size: 14px;
    color: var(--white);
}

/* =====================================================
   CIRCLE KEYS SECTION - GRAB YOUR HOME KEYS
===================================================== */
.circle-keys-section {
    position: relative;
    padding: 30px 0;
    background: var(--white);
    overflow: hidden;
}

.circle-curve-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: transparent;
    overflow: hidden;
}

.circle-curve-top::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -10%;
    width: 120%;
    height: 200px;
    border: 6px solid var(--primary-red);
    border-radius: 0 0 50% 50%;
    border-top: none;
    background: transparent;
}

.circle-curve-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: transparent;
    overflow: hidden;
}

.circle-curve-bottom::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -10%;
    width: 120%;
    height: 200px;
    border: 6px solid var(--primary-red);
    border-radius: 50% 50% 0 0;
    border-bottom: none;
    background: transparent;
}

.circle-keys-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.circle-keys-image {
    flex: 0 0 auto;
}

.circle-image-container {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

.circle-image-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, #3dd5f3 100%);
    z-index: -1;
    opacity: 0.3;
}

.circle-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-keys-content {
    text-align: left;
}

.circle-keys-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.circle-keys-title span {
    display: block;
}

.circle-keys-title .highlight-red {
    color: var(--primary-red);
}

.circle-keys-title .highlight-dark {
    color: var(--text-dark);
}

.circle-keys-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: var(--gradient-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-red);
    overflow: hidden;
    position: relative;
}

.circle-keys-btn .btn-wrap {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 24px;
}

.circle-keys-btn .text-one,
.circle-keys-btn .text-two {
    transition: transform 0.4s ease;
}

.circle-keys-btn:hover .text-one {
    transform: translateY(-100%);
}

.circle-keys-btn:hover .text-two {
    transform: translateY(-100%);
}

.circle-keys-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(235, 32, 39, 0.4);
    color: #fff;
}

/* Hero Section Responsive */
@media (max-width: 1199px) {
    .hero-content {
        max-width: 550px;
    }
    
    .hero-search-box {
        max-width: 600px;
    }
}

@media (max-width: 991px) {
    .hero-content {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-search-box {
        max-width: 600px;
        margin: 0 auto 35px;
    }
    
    .quick-filters {
        justify-content: center;
    }
    
    .modern-hero {
        background-position: center right -200px;
    }
}

/* Circle Section Responsive */
@media (max-width: 991px) {
    .circle-keys-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .circle-keys-content {
        text-align: center;
    }
    
    .circle-keys-title {
        font-size: 42px;
    }
    
    .circle-image-container {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 575px) {
    .circle-keys-section {
        padding: 30px 0;
    }
    
    .circle-keys-title {
        font-size: 32px;
    }
    
    .circle-image-container {
        width: 220px;
        height: 220px;
    }
    
    .circle-curve-top::before,
    .circle-curve-bottom::before {
        border-width: 4px;
    }
}

/* =====================================================
   VALUE PROPS - FULL GRID
===================================================== */
.value-props-section {
    padding: 30px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.value-props-section .section-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}
.value-props-section span{
    color: var(--primary-red);
}
.value-props-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-prop-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 45px 35px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-prop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-prop-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.value-prop-card:hover::before {
    transform: scaleX(1);
}

.value-prop-card .icon-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(235,32,39,0.1) 0%, rgba(235,32,39,0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.value-prop-card:hover .icon-wrap {
    background: var(--gradient-red);
}

.value-prop-card .icon-wrap i {
    font-size: 36px;
    color: var(--primary-red);
    transition: all 0.4s ease;
}

.value-prop-card:hover .icon-wrap i {
    color: var(--white);
    transform: scale(1.1);
}

.value-prop-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 30px;
}

.value-prop-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* =====================================================
   LISTINGS SECTION - FULL GRID
===================================================== */
.listings-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    color: var(--text-dark);
    margin: 0;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border: 2px solid var(--primary-red);
    border-radius: var(--radius-full);
    color: var(--primary-red);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all:hover {
    background: var(--primary-red);
    color: var(--white);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Properties Slider */
.properties-slider-wrap {
    position: relative;
    padding: 20px 60px;
}

.properties-slider {
    overflow: hidden;
    padding: 15px 5px;
    margin: -15px -5px;
}

/* Slider Loading State */
.slider-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
    color: #666;
    gap: 15px;
}

.slider-loading i {
    font-size: 32px;
    color: var(--primary-red);
}

.slider-loading span {
    font-size: 16px;
}

.no-properties-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #666;
    background: #f8f9fa;
    border-radius: 12px;
    min-height: 280px;
}

.no-properties-message i {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 15px;
    opacity: 0.6;
}

.no-properties-message p {
    font-size: 16px;
    margin: 0;
}

.properties-slider .swiper-slide {
    height: auto;
    padding: 10px 0;
}

.properties-slider .property-card {
    height: 100%;
    margin: 0 5px;
}

.properties-slider-prev,
.properties-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-red);
    font-size: 18px;
}

.properties-slider-prev {
    left: 0;
}

.properties-slider-next {
    right: 0;
}

.properties-slider-prev:hover,
.properties-slider-next:hover {
    background: var(--primary-red);
    color: var(--white);
}

@media (max-width: 991px) {
    .properties-slider-wrap {
        padding: 20px 50px;
    }
}

@media (max-width: 767px) {
    .properties-slider-wrap {
        padding: 15px 45px;
    }
    
    .properties-slider-prev,
    .properties-slider-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Property Card */
.property-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.property-card .card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f0f0f0;
}

.property-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    /* Improve image rendering quality */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.property-card:hover .card-image img {
    transform: scale(1.1);
}

.property-card .card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.property-card .card-badges span {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.property-card .card-badges .badge-featured { background: var(--primary-red); }
.property-card .card-badges .badge-new { background: var(--primary-red); color: var(--white); }
.property-card .card-badges .badge-foreclosure { background: var(--dark-navy); }
.property-card .card-badges .badge-rent-to-own { background: var(--primary-red); }

.property-card .card-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 2;
}

.property-card .card-favorite i {
    color: #ddd;
    font-size: 16px;
    transition: all 0.3s ease;
}

.property-card .card-favorite:hover {
    background: var(--primary-red);
}

.property-card .card-favorite:hover i {
    color: var(--white);
}

.property-card .card-content {
    padding: 25px;
}

.property-card .card-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.property-card .card-price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
}

.property-card .card-features {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    color: var(--text-gray);
    font-size: 14px;
}

.property-card .card-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
}

.property-card .card-features i {
    color: var(--primary-red);
}

.property-card .card-address {
    padding-top: 18px;
    border-top: 1px solid #eee;
}

.property-card .card-address strong {
    display: block;
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 5px;
}

.property-card .card-address span {
    font-size: 14px;
    color: var(--text-gray);
}

/* Photo Count Badge */
.property-card .photo-count {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.property-card .photo-count i {
    font-size: 11px;
}

/* Status Badge */
.property-card .card-status {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-red);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Additional Badges */
.property-card .card-badges .badge-virtual {
    background: linear-gradient(135deg, #000000, #333333);
}

.property-card .card-badges .badge-open {
    background: var(--primary-red);
    color: var(--white);
}

.property-card .card-badges .badge-reduced {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Price Row */
.property-card .card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.property-card .card-price-row .list-date {
    font-size: 12px;
    color: var(--primary-red);
    font-weight: 600;
}

/* Property Type in Features */
.property-card .card-features .property-type {
    background: rgba(23,27,42,0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    text-transform: capitalize;
}

/* Card Meta (Year Built, Lot Size) */
.property-card .card-meta {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: var(--text-gray);
}

.property-card .card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-card .card-meta i {
    color: var(--dark-navy);
    font-size: 12px;
}

/* Last Sold Info */
.property-card .card-last-sold {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(235,32,39,0.1);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--dark-navy);
    border-left: 3px solid var(--primary-red);
}

.property-card .view-details-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 14px;
    background: var(--gradient-red);
    color: var(--white);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.property-card .view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(235,32,39,0.35);
}

/* View All Properties Button */
.view-all-btn-wrap {
    text-align: center;
    margin-top: 50px;
}

.view-all-properties-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: var(--dark-navy);
    color: var(--white);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.view-all-properties-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(235,32,39,0.3);
}

/* =====================================================
   POPULAR LOCATIONS - FLOATING CARDS ON MAP
===================================================== */
.search-location-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

.location-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:url('../images/background/map.png') ;
    background-size: cover;
    opacity: 0.8;
}

.search-location-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(235,32,39,0.08) 0%, transparent 60%);
    pointer-events: none;
}



.location-floating-grid {
    position: relative;
    height: 450px;
    max-width: 1200px;
    margin: 0 auto;
}

.floating-location-card {
    position: absolute;
    left: var(--x, 0);
    top: var(--y, 0);
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    z-index: 5;
}

.floating-location-card a {
    display: block;
    text-decoration: none;
    background: var(--primary-red);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
}

.floating-location-card:hover a {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.floating-location-card .floating-card-image {
    width: 180px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.floating-location-card .floating-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-location-card .floating-card-state {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 8px 5px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}



/* Location Pin outside the card */
.floating-card-pin {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-red);
    font-size: 28px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: pinBounce 2s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes pinBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(5px); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive for floating location cards */
@media (max-width: 1199px) {
    .floating-location-card .floating-card-image {
        width: 160px;
        height: 100px;
    }
    
    .location-floating-grid {
        height: 400px;
    }
}

@media (max-width: 991px) {
    .location-floating-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px 25px;
        height: auto;
        padding: 20px;
    }
    
    .floating-location-card {
        position: relative;
        left: auto !important;
        top: auto !important;
        animation: none;
    }
    
    .floating-location-card .floating-card-image {
        width: 100%;
        height: 140px;
    }
    
    .floating-card-pin {
        animation: none;
    }
}

@media (max-width: 767px) {
    .location-floating-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 20px;
    }
    
    .search-location-section {
        padding: 60px 0;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .location-floating-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-location-card .floating-card-image {
        height: 160px;
    }
}

/* =====================================================
   BROWSE BY CATEGORY - HORIZONTAL CARDS
===================================================== */
.categories-section-new {
    padding: 30px 0;
    background: var(--bg-light);
}

.category-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-header span {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
}

.category-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.category-header p {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.categories-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.category-horizontal-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 35px;
    background: var(--white);
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.category-horizontal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.category-horizontal-card.red-theme { border-color: rgba(235,32,39,0.2); background: linear-gradient(135deg, #fef2f2 0%, #fff 100%); }
.category-horizontal-card.red-theme:hover { border-color: var(--primary-red); }

.category-horizontal-card.blue-theme { border-color: rgba(235,32,39,0.2); background: linear-gradient(135deg, #fef2f2 0%, #fff 100%); }
.category-horizontal-card.blue-theme:hover { border-color: var(--primary-red); }

.category-horizontal-card.green-theme { border-color: rgba(235,32,39,0.2); background: linear-gradient(135deg, #fef2f2 0%, #fff 100%); }
.category-horizontal-card.green-theme:hover { border-color: var(--primary-red); }

.category-horizontal-card.gold-theme { border-color: rgba(235,32,39,0.2); background: linear-gradient(135deg, #fef2f2 0%, #fff 100%); }
.category-horizontal-card.gold-theme:hover { border-color: var(--primary-red); }

.category-horizontal-card .cat-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-horizontal-card.red-theme .cat-icon { background: var(--gradient-red); }
.category-horizontal-card.blue-theme .cat-icon { background: var(--gradient-red); }
.category-horizontal-card.green-theme .cat-icon { background: var(--gradient-red); }
.category-horizontal-card.gold-theme .cat-icon { background: var(--gradient-red); }

.category-horizontal-card .cat-icon i {
    font-size: 40px;
    color: var(--white);
}

.category-horizontal-card .cat-content {
    flex: 1;
}

.category-horizontal-card .cat-content h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0 0 10px;
    font-weight: 700;
}

.category-horizontal-card .cat-content p {
    color: var(--text-gray);
    font-size: 15px;
    margin: 0 0 15px;
    line-height: 1.6;
}

.category-horizontal-card .cat-content .cat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
}

.category-horizontal-card.red-theme .cat-link { color: var(--primary-red); }
.category-horizontal-card.blue-theme .cat-link { color: var(--primary-red); }
.category-horizontal-card.green-theme .cat-link { color: var(--primary-red); }
.category-horizontal-card.gold-theme .cat-link { color: var(--primary-red); }

/* =====================================================
   STATS SECTION - DARK IMPACT
===================================================== */
.stats-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235,32,39,0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.stats-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,164,27,0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 45px 35px;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
}

.stat-card .stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card:nth-child(1) .stat-icon { background: var(--gradient-red); }
.stat-card:nth-child(2) .stat-icon { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.stat-card:nth-child(3) .stat-icon { background: linear-gradient(135deg, #10b981, #34d399); }
.stat-card:nth-child(4) .stat-icon { background: linear-gradient(135deg, #f59e0b, #fbbf24); }

.stat-card .stat-icon i {
    font-size: 32px;
    color: var(--white);
}

.stat-card .stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-card:nth-child(1) .stat-number span { color: var(--primary-red); }
.stat-card:nth-child(2) .stat-number span { color: var(--primary-red); }
.stat-card:nth-child(3) .stat-number span { color: var(--primary-red); }
.stat-card:nth-child(4) .stat-number span { color: var(--primary-red); }

.stat-card .stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* =====================================================
   CTA SECTION - FULL IMPACT
===================================================== */
.cta-section {
    padding: 30px 0;
    background: var(--gradient-red);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -250px;
    right: -200px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -150px;
    left: -100px;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content .cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 10px 25px;
    border-radius: var(--radius-full);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 25px;
}

.cta-content h2 {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta-content h2 span {
    color: var(--white);
}

.cta-content p {
    font-size: 19px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--white);
    color: var(--primary-red);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--primary-red);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

/* =====================================================
   TESTIMONIALS FIX - Override original style.css
===================================================== */
.testimonial-three {
    position: relative !important;
    margin-top: 0 !important;
    padding: 80px 0 30px !important;
    background: var(--bg-light) !important;
    margin-bottom: 0 !important;
    z-index: 1 !important;
}

.testimonial-three .inner-container {
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 40px 30px !important;
    border-radius: 0 !important;
}

.testimonial-three .swiper-container {
    padding-top: 30px !important;
    margin-top: 0 !important;
}

/* Section Divider between Testimonials and Success Stories */
.testimonial-three::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    border-radius: 10px;
}

/* =====================================================
   SUCCESS STORIES SECTION
===================================================== */
.success-stories-section {
    padding: 30px 0!important;
    background: var(--bg-light) !important;
    margin-top: 0 !important;
}

.success-header {
    text-align: center;
    margin-bottom: 60px;
}

.success-header span {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
}

.success-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.success-header p {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.success-stories-grid {
    /* Using Bootstrap columns for responsiveness */
}

.success-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    position: relative;
    transition: all 0.4s ease;
}

.success-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.success-card .success-badge {
    position: absolute;
    top: -12px;
    right: 25px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.success-card .success-badge.green { background: linear-gradient(135deg, #10b981, #34d399); }
.success-card .success-badge.blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.success-card .success-badge.gold { background: linear-gradient(135deg, #f59e0b, #fbbf24); }

.success-card .author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.success-card .author-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
}

.success-card:nth-child(1) .author-avatar { background: var(--gradient-red); }
.success-card:nth-child(2) .author-avatar { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.success-card:nth-child(3) .author-avatar { background: linear-gradient(135deg, #f59e0b, #fbbf24); }

.success-card .author-details h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0 0 5px;
}

.success-card .author-details span {
    font-size: 14px;
    color: var(--text-gray);
}

.success-card .author-details span i {
    margin-right: 5px;
}

.success-card .quote {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.success-card .home-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.success-card .home-info .home-type {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
}

.success-card .home-info .home-type i {
    margin-right: 6px;
}

.success-card .home-info .program {
    font-size: 13px;
    color: var(--text-gray);
}

.success-cta {
    text-align: center;
    margin-top: 50px;
}

.success-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--gradient-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(235,32,39,0.3);
}

.success-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(235,32,39,0.4);
    color: var(--white);
}

/* =====================================================
   NEWSLETTER SECTION
===================================================== */
.newsletter-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235,32,39,0.1) 0%, transparent 70%);
    top: -200px;
    left: -150px;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text span {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 15px;
}

.newsletter-text h3 {
    font-size: 40px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-text h3 em {
    color: var(--primary-red);
    font-style: normal;
}

.newsletter-text p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 0;
}

.newsletter-form-wrap {
    flex: 1;
    max-width: 500px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
    border-color: var(--primary-red);
    background: rgba(255,255,255,0.1);
}

.newsletter-form button {
    padding: 18px 35px;
    background: var(--gradient-red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(235,32,39,0.4);
}

.newsletter-privacy {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.newsletter-privacy i {
    margin-right: 8px;
}

/* =====================================================
   BLOG SECTION
===================================================== */
.blog-section-new {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.blog-header-text span {
    display: block;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-header-text h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin: 0;
}

.blog-header a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-header a:hover {
    gap: 15px;
}

/* =====================================================
   RESPONSIVE STYLES
===================================================== */
@media (max-width: 1200px) {
    .value-props-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 180px);
    }
    
    .location-card:nth-child(1) { grid-column: span 3; grid-row: span 2; }
    .location-card:nth-child(2) { grid-column: span 3; }
    .location-card:nth-child(3) { grid-column: span 3; }
    .location-card:nth-child(4) { grid-column: span 2; }
    .location-card:nth-child(5) { grid-column: span 2; }
    .location-card:nth-child(6) { grid-column: span 2; }
}

@media (max-width: 992px) {
    .modern-hero h1 {
        font-size: 48px;
    }
    
    .trust-badges-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-horizontal-grid {
        grid-template-columns: 1fr;
    }
    

    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form-wrap {
        width: 100%;
        max-width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .blog-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: 600px;
        padding: 120px 0 80px;
    }
    
    .modern-hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .search-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-input-wrap {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-badges-wrap {
        grid-template-columns: 1fr;
    }
    
    .value-props-grid {
        grid-template-columns: 1fr;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .location-card:nth-child(1),
    .location-card:nth-child(2),
    .location-card:nth-child(3),
    .location-card:nth-child(4),
    .location-card:nth-child(5),
    .location-card:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
        height: 180px;
    }
    
    .location-card:nth-child(1) {
        grid-column: span 2;
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-text h3 {
        font-size: 30px;
    }
    
    .category-horizontal-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modern-hero h1 {
        font-size: 30px;
    }
    
    .quick-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-pill {
        width: 100%;
        justify-content: center;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-card:nth-child(1) {
        grid-column: span 1;
    }
    
    .stat-card .stat-number {
        font-size: 40px;
    }
}

/* =====================================================
   ADDITIONAL CLASSES FOR CLEAN HTML STRUCTURE
===================================================== */

/* Section Header Centered */
.section-header-centered {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-centered .section-badge {
    display: inline-block;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
    z-index: 9999;
    position: relative;
}

.section-header-centered h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.section-header-centered p {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Categories Section - Clean Styles */
.categories-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.category-card .category-icon {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-card .category-icon i {
    font-size: 36px;
    color: var(--white);
}

.category-card .category-content {
    flex: 1;
}

.category-card .category-content h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0 0 8px;
    font-weight: 700;
}

.category-card .category-content p {
    color: var(--text-gray);
    font-size: 15px;
    margin: 0 0 12px;
    line-height: 1.5;
}

.category-card .category-link {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Category Color Themes - Brand Colors Only */
.category-card.category-red { 
    background: linear-gradient(135deg, #fff 0%, #fff 100%); 
    border-color: #fee2e2; 
}
.category-card.category-red:hover { border-color: var(--primary-red); box-shadow: 0 20px 40px rgba(235,32,39,0.15); }
.category-card.category-red .category-icon { background: var(--gradient-red); }
.category-card.category-red .category-link { color: var(--primary-red); }

.category-card.category-blue { 
    background: linear-gradient(135deg, #fff 0%, #fff 100%); 
    border-color: #fee2e2; 
}
.category-card.category-blue:hover { border-color: var(--primary-red); box-shadow: 0 20px 40px rgba(235,32,39,0.15); }
.category-card.category-blue .category-icon { background: var(--gradient-red); }
.category-card.category-blue .category-link { color: var(--primary-red); }

.category-card.category-green { 
    background: linear-gradient(135deg, #fff 0%, #fff 100%); 
    border-color: #fee2e2; 
}
.category-card.category-green:hover { border-color: var(--primary-red); box-shadow: 0 20px 40px rgba(235,32,39,0.15); }
.category-card.category-green .category-icon { background: var(--gradient-red); }
.category-card.category-green .category-link { color: var(--primary-red); }

.category-card.category-gold { 
    background: linear-gradient(135deg, #fff 0%, #fff 100%); 
    border-color: #fee2e2; 
}
.category-card.category-gold:hover { border-color: var(--primary-red); box-shadow: 0 20px 40px rgba(235,32,39,0.15); }
.category-card.category-gold .category-icon { background: var(--gradient-red); }
.category-card.category-gold .category-link { color: var(--primary-red); }

.category-card.category-purple { 
    background: linear-gradient(135deg, #fff 0%, #fff 100%); 
    border-color: #fee2e2; 
}
.category-card.category-purple:hover { border-color: var(--primary-red); box-shadow: 0 20px 40px rgba(235,32,39,0.15); }
.category-card.category-purple .category-icon { background: var(--gradient-red); }
.category-card.category-purple .category-link { color: var(--primary-red); }

.category-card.category-dark { 
    background: linear-gradient(135deg, #fff 0%, #fff 100%); 
    border-color: #fee2e2; 
}
.category-card.category-dark:hover { border-color: var(--primary-red); box-shadow: 0 20px 40px rgba(235,32,39,0.15); }
.category-card.category-dark .category-icon { background: var(--gradient-red); }
.category-card.category-dark .category-link { color: var(--primary-red); }

/* Stats Section - Clean Structure */
.stats-section .auto-container {
    position: relative;
    z-index: 2;
}

.stats-section .floating-shape {
    position: absolute;
    border-radius: 50%;
}

.stats-section .floating-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(235,32,39,0.1);
    top: -200px;
    right: -100px;
}

.stats-section .floating-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255,164,27,0.1);
    bottom: -150px;
    left: -50px;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stats-section .stat-item {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.stats-section .stat-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
}

.stats-section .stat-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stats-section .stat-icon i {
    font-size: 28px;
    color: var(--white);
}

.stats-section .stat-icon.red { background: var(--gradient-red); }
.stats-section .stat-icon.blue { background: var(--gradient-red); }
.stats-section .stat-icon.green { background: var(--gradient-red); }
.stats-section .stat-icon.gold { background: var(--gradient-red); }

.stats-section .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.stats-section .stat-number .accent-red { color: var(--primary-red); }
.stats-section .stat-number .accent-blue { color: var(--primary-red); }
.stats-section .stat-number .accent-green { color: var(--primary-red); }
.stats-section .stat-number .accent-gold { color: var(--primary-red); }

.stats-section .stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    font-weight: 500;
}

/* CTA Section - Clean Structure */
.cta-section .auto-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-section .floating-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-section .floating-shape.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    top: -200px;
    right: -200px;
}

.cta-section .floating-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    bottom: -100px;
    left: -100px;
}

.cta-section .cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section h2 .highlight { color: var(--accent-gold); }

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .cta-btn-primary {
    background: var(--white);
    color: var(--primary-red);
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-section .cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.cta-section .cta-btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.cta-section .cta-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* Success Stories - Clean Structure */
.success-stories-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}




.story-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    position: relative;
    transition: all 0.4s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.story-card .story-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.story-card .story-badge.success { background: var(--gradient-red); }
.story-card .story-badge.featured { background: var(--gradient-red); }
.story-card .story-badge.first-time { background: var(--gradient-red); color: var(--white); }

.story-card .story-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.story-card .story-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.story-card .story-avatar.red { background: var(--gradient-red); }
.story-card .story-avatar.blue { background: var(--gradient-red); }
.story-card .story-avatar.gold { background: var(--gradient-red); color: var(--white); }
.story-card .story-avatar.green { background: var(--gradient-red); }

.story-card .story-info h4 {
    margin: 0 0 5px;
    color: var(--text-dark);
    font-size: 18px;
}

.story-card .story-info span {
    color: var(--text-gray);
    font-size: 14px;
}

.story-card .story-text {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
    flex-grow: 1;
}

.story-card .story-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.story-card .story-property {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
}

.story-card .story-type {
    color: var(--text-gray);
    font-size: 13px;
}

.section-cta {
    text-align: center;
}

.section-cta .primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0d9488, #115e59);
    color: var(--white);
    padding: 16px 35px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(235,32,39,0.3);
}

.section-cta .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(235,32,39,0.4);
    color: var(--white);
}

/* Newsletter Section - Clean Structure */
.newsletter-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.newsletter-section .auto-container {
    position: relative;
    z-index: 2;
}

.newsletter-section .floating-shape {
    position: absolute;
    border-radius: 50%;
}

.newsletter-section .floating-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(235,32,39,0.1);
    top: -200px;
    left: -100px;
}

.newsletter-section .floating-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255,164,27,0.1);
    bottom: -150px;
    right: -50px;
}

.newsletter-section .newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.newsletter-section .newsletter-text {
    flex: 1;
    min-width: 300px;
}

.newsletter-section .newsletter-label {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    display: block;
    margin-bottom: 15px;
}

.newsletter-section .newsletter-text h3 {
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px;
}

.newsletter-section .newsletter-text h3 .highlight { color: var(--primary-red); }

.newsletter-section .newsletter-text p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.newsletter-section .newsletter-form-wrapper {
    flex: 1;
    min-width: 400px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
}

.newsletter-section .newsletter-form-inline {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.newsletter-section .newsletter-form-inline input {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-section .newsletter-form-inline input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-section .newsletter-form-inline input:focus {
    border-color: var(--primary-red);
    background: rgba(255,255,255,0.1);
}

.newsletter-section .newsletter-form-inline button {
    background: linear-gradient(135deg, #0d9488, #115e59);
    color: var(--white);
    padding: 18px 35px;
    border-radius: var(--radius-full);
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-section .newsletter-form-inline button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(235,32,39,0.4);
}

.newsletter-section .privacy-note {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin: 0;
}

.newsletter-section .privacy-note i {
    margin-right: 8px;
}

/* =====================================================
   BLOG SECTION - Clean Structure
===================================================== */
.blog-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.blog-section .blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-section .blog-header-text span {
    display: block;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-section .blog-header-text h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 800;
}

.blog-section .blog-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-section .blog-view-all:hover {
    gap: 15px;
}

/* Hide pagination dots in blog slider */
.blog-section .three-items_slider-pagination {
    display: none !important;
}

/* Blog Grid Layout */
.blog-section .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-section .blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.blog-section .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-section .blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-section .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-section .blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-section .blog-card-content {
    padding: 25px;
}

.blog-section .blog-card-content h4 {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 15px;
    font-weight: 700;
}

.blog-section .blog-card-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-section .blog-card-content h4 a:hover {
    color: var(--primary-red);
}

.blog-section .blog-card-content .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-section .blog-card-content .read-more:hover {
    gap: 12px;
}

/* Responsive Additions */
@media (max-width: 1200px) {
    .category-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .category-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-section .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-section .newsletter-form-wrapper {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }
    
    .newsletter-section .newsletter-form-inline {
        flex-direction: column;
    }
    
    .newsletter-section .newsletter-form-inline input {
        width: 100%;
        min-width: auto;
    }
    
    .newsletter-section .newsletter-form-inline button {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-section .privacy-note {
        text-align: center;
    }
    
    .blog-section .blog-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section-header-centered h2 {
        font-size: 32px;
    }
    
    .category-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-section .stats-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section .cta-buttons {
        flex-direction: column;
    }
    
    .newsletter-section .newsletter-text h3 {
        font-size: 28px;
    }
    
    .newsletter-section .newsletter-form form {
        flex-direction: column;
    }
    
    .blog-section .blog-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .blog-section .blog-header-text h2 {
        font-size: 32px;
    }
}

/* ========================================
   ALL LISTINGS PAGE STYLES
   ======================================== */

/* Listings Page Hero */
.listings-page-hero {
    background: var(--gradient-dark);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.listings-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 48L42 60H18L6 48V12L18 0h24l12 12V48z' fill='none' stroke='%23ffffff08' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.listings-page-hero .auto-container {
    position: relative;
    z-index: 2;
}

.listings-page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.listings-page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.listings-page-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
}

.listings-page-hero .breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.listings-page-hero .breadcrumb a:hover {
    color: var(--white);
}

.listings-page-hero .breadcrumb span {
    color: rgba(255,255,255,0.6);
}

/* Filter Bar */
.filter-bar {
    background: var(--white);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Category Quick Filters - Top Row */
.filter-bar .category-filters {
    background: var(--dark-navy);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-bar .category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-bar .category-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-bar .category-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.filter-bar .category-btn i {
    font-size: 14px;
}

/* Property Type Filters - Bottom Row */
.filter-bar .filters-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
    background: var(--white);
}

.filter-bar .filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-bar .filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-bar .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f5f6f8;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-navy);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-bar .filter-btn:hover {
    background: var(--white);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.filter-bar .filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.filter-bar .filter-btn i {
    font-size: 12px;
}

.filter-bar .sort-dropdown {
    background: var(--dark-navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 10px 40px 10px 18px;
    font-size: 13px;
    font-weight: 600;
    min-width: 180px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    transition: all 0.3s ease;
}

.filter-bar .sort-dropdown:hover {
    background-color: #2a3045;
}

.filter-bar .sort-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(235,32,39,0.3);
}

.filter-bar .sort-dropdown option {
    background: var(--dark-navy);
    color: var(--white);
    padding: 12px;
}

.filter-bar #sort-select {
    background: var(--dark-navy);
    color: var(--white);
    border: none;
    min-width: 180px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.filter-bar #sort-select:hover {
    background-color: var(--dark-navy-light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

.filter-bar #sort-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(235,32,39,0.3);
}

.filter-bar #sort-select option {
    background: var(--dark-navy);
    color: var(--white);
    padding: 12px;
}

.filter-bar .results-count {
    margin-left: auto;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(235,32,39,0.1), rgba(255,164,27,0.1));
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--dark-navy);
}

.filter-bar .results-count strong {
    color: var(--primary-red);
    font-weight: 700;
}

/* Listings Section */
.listings-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
    min-height: 600px;
}

/* Property Card Enhancements for Listings Page */
.listings-page .property-card {
    cursor: default;
}

.listings-page .property-card .card-content {
    padding: 20px 25px 25px;
}

/* Loading State */
.listing-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.listing-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #eee;
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.listing-loading p {
    font-size: 16px;
    color: var(--text-gray);
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.no-results p {
    font-size: 16px;
    color: var(--text-gray);
}

/* ========================================
   MODERN PAGINATION
   ======================================== */
#pagination {
    margin-top: 50px;
}

.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-wrap .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    background: var(--white);
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-navy);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-wrap .page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(235,32,39,0.15);
}

.pagination-wrap .page-btn.active {
    background: var(--gradient-red);
    border-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(235,32,39,0.3);
}

.pagination-wrap .page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-wrap .page-btn i {
    font-size: 14px;
}

.pagination-wrap .page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 48px;
    color: var(--text-gray);
    font-weight: 600;
}

/* Pagination Info Text */
.pagination-info {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.pagination-info strong {
    color: var(--dark-navy);
}

/* ========================================
   LISTINGS PAGE RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .listings-page-hero h1 {
        font-size: 36px;
    }
    
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .filter-bar .filters-wrap {
        justify-content: center;
    }
    
    .filter-bar .results-count {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .listings-page-hero {
        padding: 80px 0 50px;
    }
    
    .listings-page-hero h1 {
        font-size: 28px;
    }
    
    .listings-page-hero p {
        font-size: 15px;
    }
    
    /* Category filters responsive */
    .filter-bar .category-filters {
        padding: 12px 15px;
        gap: 8px;
    }
    
    .filter-bar .category-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    /* Property type filters responsive */
    .filter-bar .filters-wrap {
        padding: 15px;
        gap: 10px;
    }
    
    .filter-bar .filter-group {
        width: 100%;
        justify-content: center;
    }
    
    .filter-bar .filter-label {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .filter-bar .filter-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .filter-bar .sort-dropdown {
        width: 100%;
        text-align: center;
    }
    
    .filter-bar .results-count {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .pagination-wrap .page-btn {
        min-width: 42px;
        height: 42px;
        font-size: 14px;
    }
}