/* ==========================================
   BASE DESKTOP STYLES
   ========================================== */

.hero {
    position: relative;
    height: 500px;
    width: 100%;
    color: #fff;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bg-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 150px;
    color: white;
}

.bg-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.bg-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bg-indicator.active {
    background: white;
}
.hero-title {
    line-height: 1.1;
}

/* Navigation */
.hero-nav {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #183B4E;
    backdrop-filter: blur(6px);
    padding: 10px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    overflow: visible;
}

.hero-nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.hero-nav ul li {
    display: block;
}

.hero-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s, border-bottom 0.3s;
}

.hero-nav ul li a:hover {
    color: #d4af37;
    border-bottom: 2px solid #d4af37;
}

/* Hero Text */
.hero-text {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    text-align: left;
    max-width: 500px;
    z-index: 3;
}

.hero-text h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
/* ---- Mini badges for Showcase property cards (NO HTML CHANGE) ----- */
/* Auto Hot Deal + Auto Trending Labels */
.property-image {
    position: relative;
}
/* Bump Badge Styles */
.property-badge-overlay.bumped {
    background: linear-gradient(45deg, #ff6b35, #ff8e53) !important;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    animation: pulse-bump 2s infinite;
}

@keyframes pulse-bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.bump-timer {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Bump priority styling */
.property-card.bumped-priority {
    border: 2px solid #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Bump information in card */
.bump-info {
    background: #fff3e0;
    padding: 8px;
    margin: 5px 0;
    border-radius: 4px;
    border-left: 4px solid #ff6b35;
}

.bump-package {
    font-weight: bold;
    color: #ff6b35;
}

.bump-expires {
    font-size: 0.8rem;
    color: #666;
}
.property-badge-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    color: #fff;
    z-index: 10;
    backdrop-filter: blur(4px);
}

/* Auto Hot Deal Yellow */
.hot-deal-auto {
    background: rgba(170, 112, 4, 0.895);
    border-left: 4px solid #ad5f06;
}

/* Auto Trending Blue */
.trending-auto {
    background: rgba(101, 68, 1, 0.241);
    border-left: 4px solid #493b02;
}

/* Icon styling boost */
.property-badge-overlay i {
    margin-right: 4px;
    font-size: 14px;
}


/* Search Section */
.search-section {
    background-color: #183B4E;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 40px auto 0;
    position: relative;
    z-index: 10;
    width: calc(100% - 40px);
    max-width: 1200px;
}

.search-tabs {
    display: flex;
    gap: 350px;
    margin-bottom: 25px;
}

.search-tab {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    color: #ffffff;
}

.search-tab.active {
    border-bottom: 3px solid #ffffff;
    color: #ffffff;
}

.search-form {
    display: none;
}

.search-form.active {
    display: block;
}

.search-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.search-input {
    padding: 12px 15px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    font-size: 16px;
    background-color: #183B4E;
    color: #ffffff;
    flex: 1;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-button {
    background-color: #854836;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 12px 30px;
}

.search-button:hover {
    background-color: #4a2715;
}

/* Feature Line */
.feature-line {
    border: none;
    height: 2px;
    width: 90%;
    max-width: 1190px;
    background-color: #959595;
    margin: 20px auto;
    border-radius: 5px;
    opacity: 0;
    transform: scaleX(0.8); /* Start slightly smaller */
    animation: fadeInGrow 1s ease-out 0.4s forwards; /* Slight delay after title */
}

@keyframes fadeInGrow {
    from {
        opacity: 0;
        transform: scaleX(0.8);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 100px;
    color: #000000;
    font-weight: 800;
    opacity: 0;
    transform: translateY(60px);
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Slider */
.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.arrow-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-circle {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.arrow-circle:hover {
    transform: scale(1.1);
}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid #000000;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #000000;
}

.main-image {
    width: 100%;
    max-width: 2000px;
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    transition: background-image 0.5s ease-in-out;
    margin: 0 auto;
}

/* Overlay Boxes */
.overlay-box {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 25%;
    padding: 30px;
    background: rgba(128, 128, 128, 0.3);
    border: 4px solid #ffffff;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.overlay-box h3 {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
}

.overlay-box-right {
    position: absolute;
    bottom: 70px;
    right: 20px;
    padding: 15px 20px;
    background: rgba(128, 128, 128, 0.3);
    border: 4px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    flex-direction: column;
}

.top-accent {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 5px;
    background-color: #0d4e1c;
    color: #ffffff;
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
    width: 100px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-price {
    margin: 0;
    font-size: 1.5em;
    color: #ffffff;
    font-weight: bold;
}

/* Image Selector */
.image-selector {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    background: rgba(0,0,0,0.2);
    padding: 8px 12px;
    border-radius: 20px;
}

.circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
    border: 2px solid #ffffff;
    transition: 0.3s;
}

.circle.active {
    transform: scale(1.2);
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.property-card {
    background: #def0ff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.property-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-details {
    padding: 20px;
}

.property-price {
    font-size: 18px;
    font-weight: 700;
    color: #97572B;
    margin-bottom: 5px;
}

/* Property Sections */
.property-section {
    background: #e9c8af;
    padding: 40px 20px;
    border-radius: 12px;
    margin-top: 30px;
}

.property-section.trending {
    background: #ffffff;
}

.property-section .section-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.property-section .section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    margin: 0;
}

.property-section .section-header i {
    color: #000;
}

.property-section .view-more {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 5px 12px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    color: #000;
}

.property-section .view-more:hover {
    background: #5C3317;
    color: #fff;
    border-color: #5C3317;
}

.property-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.property-tabs a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
}

.property-tabs a.active {
    border-bottom: 2px solid #5C3317;
    color: #5C3317;
}

.property-cards {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.property-card-mini {
    background: #e9c8af;
    border: 1px solid #000000;
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    position: relative;
}

.property-card-mini:hover {
    transform: translateY(-5px);
}

.property-card-mini-trend {
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.property-img {
    position: relative;
}

.property-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    background: #5C3317;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.badge.trending {
    background: #8b4513;
}

.property-info {
    padding: 15px;
}

.location {
    background: #ffffff;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 8px;
}

.details {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.details .type {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 6px;
}

.price {
    font-weight: 700;
    color: #000;
    margin: 8px 0;
}

.price span {
    font-weight: 400;
    font-size: 0.9rem;
    color: #555;
}

.desc {
    color: #555;
    font-size: 0.9rem;
}

/* ====================================
   HOT DEAL SPECIFIC STYLES
   ==================================== */
/* Hot Deal Property Card Background */
.property-card-mini[data-hot-deal="true"] {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%) !important;
    border: 2px solid #ff6b00 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2) !important;
}

/* Animated Top Border for Hot Deal Cards */
.property-card-mini[data-hot-deal="true"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b00, #ff8c00, #ff6b00);
    animation: hotDealGlow 2s ease-in-out infinite;
    z-index: 1;
    border-radius: 12px 12px 0 0;
}

@keyframes hotDealGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Hot Deal Badge Enhancement */
.property-card-mini .badge.hot {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%) !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4) !important;
    animation: badgePulse 2s ease-in-out infinite;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Price Discount Section */
.price-discount-dash {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.original-price-dash {
    color: #999;
    font-size: 13px;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge-dash {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Fire Icon Animation in Section Header */
.hot-deal .section-header h2 i.fa-fire {
    color: #ff6b00 !important;
    animation: fireFlicker 1.5s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* View More Button Enhancement */
.hot-deal .view-more {
    transition: all 0.3s ease;
}

.hot-deal .view-more:hover {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%) !important;
    color: #fff !important;
    border-color: #ff6b00 !important;
}

/* Property Description Links */
.property-card-mini .property-description a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.property-card-mini .property-description a:hover {
    color: #ff6b00;
}

/* Hot Deal Card Hover Effect */
.property-card-mini[data-hot-deal="true"]:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3) !important;
}

/* Property Details Enhancement for Hot Deals */
.property-card-mini[data-hot-deal="true"] .property-details {
    background: rgba(255, 255, 255, 0.5);
    padding: 12px;
}

.property-card-mini[data-hot-deal="true"] .property-price {
    color: #ff6b00 !important;
    font-weight: 800;
}

.property-card-mini[data-hot-deal="true"] .property-info .price {
    color: #ff6b00 !important;
    font-weight: 800;
}

.property-card-mini[data-hot-deal="true"] .size-type-line {
    border-bottom: 2px solid rgba(255, 107, 0, 0.2);
    padding-bottom: 8px;
    margin-bottom: 10px;
}
/* Only hide inside Hot Deal section */
.hot-deal .property-cards {
    display: none;
}

.hot-deal .property-cards.active {
    display: flex;
}


/* Card Arrows */
.card-arrow {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    display: grid;
    place-items: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.card-arrow:hover {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

.card-arrow-trend {
    position: absolute;
    right: 12px;
    top: 100%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-arrow-trend:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Style for district boxes (anchor tags) */
.district-grid .district-card {
    border: 1px solid #000000;
    background: #fff;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: #000;  /* Text black */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover effect */
.district-grid .district-card:hover {
    background: #000;
    color: #fff;
}

/* About Section */
.about-section {
    background: #f8f8f8;
    padding: 50px 20px;
    text-align: center;
}

.about-text {
    font-size: 1.05rem;
    line-height: 2;
    max-width: 1000px;
    width: 90%;
    margin: 0 auto 40px auto;
    text-align: justify;
    color: #2c2c2c;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    position: fixed;
    top: 12px;
    left: 15px;
    z-index: 150;
    background: transparent;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 5px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #1167B1;
    z-index: 200;
    transition: right 0.3s ease;
    padding: 60px 20px 20px 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}

.side-menu.active {
    right: 0;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu ul li {
    margin-bottom: 15px;
}

.side-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 5px;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================
   MOBILE STYLES (max-width: 767px)
   ========================================== */

@media (max-width: 767px) {
    /* Hero Section */
    .hero {
        height: 350px;
    }

    /* Show hamburger menu */
    .menu-toggle {
        display: block !important;
    }

    /* FIXED Navigation Bar */
    .hero-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: #1167B1 !important;
        backdrop-filter: blur(8px);
        padding: 10px 0 !important;
        z-index: 100;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        transform: none !important;
        overflow: visible !important;
    }

    .hero-nav ul {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding: 0 10px 0 50px !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .hero-nav ul li {
        padding: 0 !important;
    }

    .hero-nav ul li a {
        padding: 6px 10px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    /* Show only first 3 nav items (Sales, Rentals, Land) */
    .hero-nav ul li:nth-child(1),
    .hero-nav ul li:nth-child(2),
    .hero-nav ul li:nth-child(3) {
        display: block !important;
    }

    .hero-nav ul li:nth-child(n+4) {
        display: none !important;
    }

    /* Hero Text - adjust for fixed nav */
    .hero-text {
        left: 15px;
        right: 15px;
        max-width: calc(100% - 30px);
        text-align: center;
        top: 55%;
    }

    .hero-text h1 {
        font-size: 20px;
        line-height: 1.4;
    }

    /* FIXED Search Section */
    .search-section {
        padding: 20px 15px;
        margin: 60px 15px 20px 15px;
        width: calc(100% - 30px);
        border-radius: 8px;
    }

    .search-tabs {
        gap: 8px;
        margin-bottom: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }

    .search-tab {
        padding: 8px 16px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Search Form - City + Button on first row, other inputs in grid */
    .search-form .search-row:first-child {
        display: flex !important;
        gap: 8px;
        margin-bottom: 10px;
    }

    .search-form .search-row:first-child .search-input {
        flex: 1 !important;
        width: auto !important;
        min-width: 0;
    }

    .search-form .search-row:first-child .search-button {
        width: auto !important;
        padding: 12px 20px !important;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .search-form .search-row:last-child {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px !important;
        margin-bottom: 0;
    }

    .search-form .search-row:last-child .search-input {
        width: 100% !important;
    }

    /* Section Titles */
    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    /* Feature Line */
    .feature-line {
        width: calc(100% - 30px);
        margin: 20px 15px;
    }

    /* Slider - Arrows outside */
    .slider-wrapper {
        flex-direction: row;
        gap: 10px;
        padding: 0 10px;
    }

    .main-image {
        height: 250px;
        border-radius: 8px;
        flex: 1;
    }

    .arrow-circle {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .arrow-left {
        border-right-width: 12px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }

    .arrow-right {
        border-left-width: 12px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }

    /* Overlay Boxes */
    .overlay-box {
        width: 60%;
        padding: 12px;
        left: 5%;
    }

    .overlay-box h3 {
        font-size: 14px;
    }

    .overlay-box-right {
        padding: 8px 12px;
        bottom: 30px;
        right: 5%;
    }

    .overlay-price {
        font-size: 1.1em;
    }

    .top-accent {
        width: 80px;
        height: 20px;
        font-size: 0.65em;
    }

    /* Image Selector */
    .image-selector {
        bottom: 8px;
        gap: 8px;
        padding: 6px 10px;
    }

    .circle {
        width: 8px;
        height: 8px;
    }

    /* Properties Grid - Show only first card */
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .property-card {
        display: none;
    }

    .property-card:first-child {
        display: block;
        max-width: 100%;
    }

    .property-image {
        height: 200px;
    }

    /* Property Sections - Show only first card */
    .property-section {
        padding: 30px 15px;
    }

    .property-section .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .property-section .section-header h2 {
        font-size: 1.2rem;
    }

    .property-section .view-more {
        position: static;
        transform: none;
        width: auto;
        padding: 8px 15px;
    }

    /* Hide tabs on mobile */
    .property-tabs {
        display: none;
    }

    .property-cards {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    /* Hide all cards except first one */
    .property-card-mini,
    .property-card-mini-trend {
        display: none;
        width: 100%;
        max-width: 100%;
    }

    .property-card-mini:first-child,
    .property-card-mini-trend:first-child {
        display: block;
    }

    .property-img img {
        height: 160px;
    }

    .badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .property-info {
        padding: 12px;
    }

    .location {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .details {
        font-size: 0.85rem;
        gap: 8px;
    }

    .price {
        font-size: 0.95rem;
        margin: 6px 0;
    }

    .desc {
        font-size: 0.85rem;
    }

    /* Hide arrows on cards in mobile */
    .card-arrow,
    .card-arrow-trend {
        display: none;
    }

    /* Hot Deal Responsive */
    .price-discount-dash {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .original-price-dash {
        font-size: 12px;
    }
    
    .discount-badge-dash {
        font-size: 9px;
        padding: 2px 5px;
    }
    
    .property-card-mini[data-hot-deal="true"]::before {
        height: 2px;
    }

    /* Districts - 2 columns for better fit */
    .district-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
    }

    .district-grid button {
        padding: 10px 8px;
        font-size: 13px;
    }

    /* About Section */
    .about-section {
        padding: 30px 15px;
    }

    .about-section h2 {
        font-size: 1.4rem;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.7;
        width: 100%;
        text-align: justify;
    }
}

/* ==========================================
   EXTRA SMALL MOBILE (max-width: 480px)
   ========================================== */

@media (max-width: 480px) {
    .hero {
        height: 320px;
    }

    .hero-text h1 {
        font-size: 18px;
    }

    .hero-nav ul {
        gap: 5px !important;
        padding: 0 8px 0 45px !important;
    }

    .hero-nav ul li a {
        padding: 5px 8px !important;
        font-size: 12px !important;
    }

    .search-section {
        padding: 15px 12px;
        margin: 55px 10px 15px 10px;
        width: calc(100% - 20px);
    }

    .search-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .search-form .search-row:first-child .search-button {
        padding: 12px 15px !important;
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
    }

    .main-image {
        height: 220px;
    }

    .arrow-circle {
        width: 35px;
        height: 35px;
    }

    .overlay-box {
        width: 65%;
        padding: 10px;
    }

    .overlay-box h3 {
        font-size: 12px;
    }

    .district-grid button {
        padding: 8px 6px;
        font-size: 12px;
    }

    .badge.hot {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .property-card-mini[data-hot-deal="true"] {
        border-width: 1px;
    }
}

/* ==========================================
   TABLET STYLES (768px - 1024px)
   ========================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    .menu-toggle {
        display: block !important;
    }

    .hero-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
        justify-content: flex-end !important;
    }

    .hero-nav ul {
        padding: 0 30px 0 70px !important;
        gap: 15px !important;
    }

    .hero-nav ul li a {
        font-size: 15px !important;
    }

    /* Show only first 3 items */
    .hero-nav ul li:nth-child(n+4) {
        display: none !important;
    }

    .search-section {
        margin-top: 60px;
    }

    .search-tabs {
        gap: 40px;
    }

    .slider-wrapper {
        gap: 20px;
    }

    .main-image {
        height: 350px;
    }

    /* Properties Grid - Show only first card */
    .properties-grid {
        grid-template-columns: 1fr;
        padding: 0 30px;
    }

    .property-card {
        display: none;
    }

    .property-card:first-child {
        display: block;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Property sections - Show only first card */
    .property-card-mini,
    .property-card-mini-trend {
        display: none;
    }

    .property-card-mini:first-child,
    .property-card-mini-trend:first-child {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Districts - 3 columns */
    .district-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* ==========================================
   DESKTOP STYLES (min-width: 1025px)
   ========================================== */

@media (min-width: 1025px) {
    .menu-toggle {
        display: none !important;
    }

    .side-menu {
        display: none;
    }

    .hero-nav ul li {
        display: block;
    }
    /* Responsive adjustments for mobile */
@media (max-width: 767px) {
  .about-section {
    padding: 30px 15px;
  }

  .about-section .section-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .about-section .about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;       /* ensure applied on mobile */
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 22px 12px;
  }

  .about-section .section-title {
    font-size: 20px;
  }

  .about-section .about-text {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

}