/* ===========================
   Global Styles
   =========================== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a2e;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.landing-section-media.is-loading-media {
    position: relative;
    pointer-events: none;
}

.landing-section-media.is-loading-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 8;
}

.landing-section-media.is-loading-media::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    margin-top: -18px;
    border-radius: 50%;
    border: 3px solid #d9e4ef;
    border-top-color: #2d8dce;
    animation: landingSectionSpin 0.8s linear infinite;
    z-index: 9;
}

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


/* ===========================
   AI Search & Flip Card Styles
   =========================== */

/* Container for the AI Search pane (the back face of the flip card) */
.search-flip-card {
    perspective: 1200px;
    position: relative;
    width: 100%;
}

.search-flip-inner {
    position: relative;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* When active, flip the inner container */
.search-flip-card.ai-mode-active .search-flip-inner {
    transform: rotateY(180deg);
}

.search-flip-face {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ensure Google Autocomplete suggestions are above everything */
.pac-container {
    z-index: 20000 !important;
    border-radius: 12px;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    margin-top: 5px;
    background-color: #ffffff !important;
}

.pac-item {
    padding: 12px 16px !important;
    cursor: pointer;
    border-top: 1px solid #f1f5f9 !important;
    font-family: inherit;
    line-height: normal;
}

.pac-item:hover {
    background-color: #f8fafc !important;
}

.pac-item-query {
    font-size: 15px !important;
    color: #1a2b3c !important;
}

.pac-matched {
    font-weight: 700 !important;
}

.pac-icon {
    margin-top: 2px !important;
}

.search-flip-back {
    display: none !important;
}

/* AI mode container styling */
.ai-search-container {
    display: none !important;
}

/* "AI POWERED" Badge */
.ai-badge {
    display: none !important;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    width: fit-content;
}

/* Input Wrapper & Main Search Input */
.ai-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ai-search-input-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.ai-input-icon {
    position: absolute;
    left: 15px;
    color: #2c6e91;
    font-size: 1.2rem;
    z-index: 5;
}

.ai-query-input {
    padding: 14px 45px !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #fff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    font-size: 1.05rem !important;
    width: 100%;
}

.ai-query-input:focus {
    border-color: #2c6e91 !important;
    box-shadow: 0 4px 20px rgba(44, 110, 145, 0.15) !important;
    outline: none;
}

/* AI Search Button */
.btn-ai-search {
    background: #2c6e91;
    color: #fff;
    padding: 14px 25px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-ai-search:hover {
    background: #1e4d66;
    transform: translateX(4px);
    color: #fff;
}

/* Quick Action Suggestion Chips */
.ai-chip {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    margin-right: 5px;
    margin-top: 5px;
}

.ai-chip:hover {
    border-color: #2c6e91;
    color: #2c6e91;
    background: #f0f7ff;
}

/* OCR/Image Input (if used) */
#ocrImageInput {
    display: none;
}

/* AI Toggle Button in Tabs */
.ai-toggle-tab {
    display: none !important;
}

.ai-toggle-tab:hover {
    transform: scale(1.03);
    color: #fff !important;
}

.ai-toggle-tab:disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
    opacity: 0.6;
    cursor: not-allowed !important;
}

.ai-toggle-tab:disabled:hover {
    transform: scale(1);
}

.ai-toggle-tab i {
    font-size: 1rem;
    color: #fff;
}

/* AI Search Coming Soon Tooltip */
.ai-search-wrapper {
    display: none !important;
}

.ai-coming-soon-tooltip {
    display: none !important;
}

.ai-coming-soon-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #2c6e91;
}

.coming-soon-text {
    display: inline-block;
    background: linear-gradient(135deg, #2c6e91 0%, #1e5f7a 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(44, 110, 145, 0.4);
    animation: popupBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-toggle-tab:disabled:hover ~ .ai-coming-soon-tooltip,
.ai-search-wrapper:hover .ai-coming-soon-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes popupBounce {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
    .ai-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-ai-search {
        width: 100%;
    }
    
    .ai-toggle-tab {
        margin-left: 0 !important;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .ai-search-container {
        padding: 1rem;
        border-radius: 12px;
    }

    /* Support for mobile stacking instead of flipping if card-based flip is disabled */
    .search-flip-face {
        position: relative;
        transform: none !important;
        -webkit-backface-visibility: visible;
        backface-visibility: visible;
    }
    
    .search-flip-inner {
        transform: none !important;
    }

    .search-flip-back {
        top: auto;
        left: auto;
        margin-top: 0;
        position: relative;
        transform: none !important;
        margin-top: 1.5rem;
    }

    .ai-query-input {
        padding: 10px 12px 10px 36px !important;
        font-size: 0.95rem !important;
        border-radius: 10px !important;
    }

    .ai-input-icon {
        left: 12px;
        font-size: 1rem;
    }

    .btn-ai-search {
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .ai-chip {
        padding: 5px 10px;
        font-size: 0.76rem;
    }
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    width: 100%;
    min-height: clamp(520px, 88vh, 780px);
    display: flex;
    align-items: center;
    background-image: url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    padding: clamp(5.5rem, 10vw, 7.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    margin-top: 0;
}

@supports not (background-image: url('data:image/webp;base64,')) {
    .hero-section {
        background-image: url('../images/hero-bg.png');
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.45) 48%, rgba(15, 23, 42, 0.65) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.hero-container {
    max-width: 1140px !important;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    width: 100%;
}

.hero-copy {
    max-width: 720px;
    animation: fadeInUp 0.7s ease both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-eyebrow i {
    color: #fbbf24;
    font-size: 0.85rem;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-title-accent {
    color: var(--primary-color);
    display: inline-block;
}

.hero-subtitle {
    color: rgba(248, 249, 250, 0.92);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.55;
    margin: 0;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero-city {
    color: #fff;
    font-weight: 700;
}

.search-box {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.hero-search-card.search-box {
    width: 100%;
    max-width: 1220px;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.35rem 1.5rem 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.22),
        0 4px 16px rgba(15, 23, 42, 0.08);
    animation: fadeInUp 0.85s ease 0.15s both;
}

/* Property Tabs */
.property-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.35rem;
    border: none;
    margin-bottom: 1.25rem;
    padding: 0.35rem;
    background: #f1f5f9;
    border-radius: 12px;
    align-items: center;
    overflow: visible;
    scrollbar-width: none;
}

.property-tabs::-webkit-scrollbar {
    display: none;
}

.property-tabs .nav-item {
    margin: 0;
    flex: 0 0 auto;
    min-width: 0;
}

.property-tabs .nav-link {
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.875rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.property-tabs .nav-link i {
    font-size: 0.8rem;
    opacity: 0.85;
}

.property-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.08);
}

.property-tabs .nav-link.active {
    background: #ffffff;
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.hero-form-label {
    color: #64748b !important;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-form-control,
.search-box .hero-form-control.form-control,
.search-box .hero-form-control.form-select,
.search-box input.hero-form-control,
.search-box select.hero-form-control {
    min-height: 46px;
    padding: 0.6rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #1e293b;
    background-color: #ffffff !important;
    background-image: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    appearance: auto;
    -webkit-appearance: auto;
}

/* Read-only city field — visually distinct so users know it's controlled by
   the header city selector and not directly editable in the hero form. */
.hero-form-control--readonly,
.search-box input.hero-form-control--readonly[readonly] {
    background-color: #f1f5f9 !important;
    color: #334155;
    cursor: not-allowed;
}

.hero-form-control--readonly:focus {
    border-color: #e2e8f0;
    box-shadow: none;
}

/* Google Places autocomplete web component (locality field) — match the
   hero input styling so it doesn't render as an unstyled blank box while
   the Places library boots, and stays visually consistent after mount. */
gmp-place-autocomplete {
    display: block;
    width: 100%;
    min-height: 46px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 0.9rem;
    color: #1e293b;
    box-sizing: border-box;
    overflow: hidden;
}

gmp-place-autocomplete::part(input),
gmp-place-autocomplete input {
    min-height: 44px !important;
    padding: 0.6rem 0.85rem !important;
    border: none !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #1e293b !important;
    font-size: 0.9rem !important;
    font-family: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    width: 100% !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Kill the native search-input chrome (magnifier, X clear button) that the
   shadow input picks up when its computed type ends up as "search". */
gmp-place-autocomplete input::-webkit-search-decoration,
gmp-place-autocomplete input::-webkit-search-cancel-button,
gmp-place-autocomplete input::-webkit-search-results-button,
gmp-place-autocomplete input::-webkit-search-results-decoration {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: none !important;
}

/* Some Google builds wrap the input with their own icon — hide it so the
   field matches the other hero inputs visually. */
gmp-place-autocomplete::part(icon),
gmp-place-autocomplete [part="icon"],
gmp-place-autocomplete svg[part="icon"] {
    display: none !important;
}

/* Hide the shadow <input type="hidden"> Bootstrap padding leftovers. */
input.hero-form-control[type="hidden"][data-pd-ac-shadow] {
    display: none !important;
}

.search-box select.hero-form-control.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.2rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px 10px;
}

.hero-form-control:focus,
.search-box .hero-form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    outline: none;
}

.hero-search-btn {
    min-height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.hero-search-btn__text {
    display: inline;
}

.hero-search-form__submit-col {
    flex: 0 0 auto;
}

@media (min-width: 992px) {
    .hero-search-form__grid {
        flex-wrap: nowrap;
    }

    .hero-search-form__submit-col {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
        width: 16.666667%;
        min-width: 0;
    }

    .hero-search-form__submit-col .hero-search-btn {
        width: 100%;
        min-width: 0;
    }
}

/* Search Input Group */
.search-input-group {
    position: relative;
}

.search-input-group .search-icon {
    
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    z-index: 1;
}

.search-input-group .search-input {
    padding: 0.75rem 0.75rem 0.75rem 42px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #495057;
}

.search-input-group .search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(255, 107, 53, 0.1);
    outline: none;
}

.search-input-group .search-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* Form Select */
.search-box .form-select {
    padding: 0.75rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #495057;
}

.search-box .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(255, 107, 53, 0.1);
}

/* Search Button */
.btn-search {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-search:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    color: #ffffff;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid #e8ecf1;
}

.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-feature-pill i {
    color: #10b981;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Recent Search Section */
.hero-recent {
    width: 100%;
    max-width: 1040px;
    animation: fadeInUp 0.9s ease 0.25s both;
}

.recent-search-section {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.recent-search-section .recent-label {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.recent-search-section .recent-badge,
.recent-search-section .recent-item {
    color: #1e293b;
    background: #ffffff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.recent-search-section .recent-item {
    display: inline-block;
}

/* ===========================
   Features Cards Section
   =========================== */
.features-cards-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.feature-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.blue-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.green-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.purple-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

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

.feature-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.feature-card-text {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #9ca3af;
}

/* ===========================
   Properties Section
   =========================== */
.properties-section {
    padding: 3rem 0 4rem 0;
    background: var(--white);
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.property-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.property-image.pd-card-image-shell {
    background: #eef2f7;
}

.property-image .pd-card-image-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.35));
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.property-image .pd-card-image-loader::before {
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid #dbe5f0;
    border-top-color: #2d8dce;
    animation: pdCardImageSpin 0.85s linear infinite;
}

.property-image.pd-card-image-shell.is-loaded .pd-card-image-loader {
    opacity: 0;
    visibility: hidden;
}

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

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

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

/* Landing listing cards — full-card link (image + details, not action buttons) */
.property-card.position-relative,
.property-card.shadow-sm {
    position: relative;
    cursor: pointer;
}

.property-card .property-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
    border-radius: inherit;
    text-decoration: none;
}

.property-card .property-card-link:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.property-card .property-card-body,
.property-card .property-card-view {
    pointer-events: none;
}

.property-card .property-image .pd-wishlist-btn,
.property-card .property-image [data-no-card-nav],
.property-card .carousel-indicators,
.property-card .carousel [data-bs-slide],
.property-card .carousel [data-bs-target],
.property-card-actions,
.property-card-actions * {
    pointer-events: auto;
}

.property-card .property-image .pd-wishlist-btn,
.property-card-actions {
    position: relative;
    z-index: 2;
}

.property-card .property-image .pd-wishlist-btn {
    position: absolute;
}

.pd-wishlist-btn.wishlist-added i,
.pd-wishlist-btn.wishlist-added .fa-heart {
    color: #dc3545 !important;
}

.property-card .carousel-indicators,
.property-card .carousel [data-bs-slide],
.property-card .carousel [data-bs-target] {
    z-index: 3;
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-construction {
    background: #1e3a8a;
}

.badge-ready {
    background: #10b981;
}

.badge-new {
    background: #6b7280;
}

.badge-possession {
    background: #6b7280;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    background: #fee;
    color: #e74c3c;
}

.wishlist-btn i {
    font-size: 1rem;
    color: #6b7280;
}

.property-content {
    padding: 1.2rem;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.property-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.property-size {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.8rem;
}

.property-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.property-developer i {
    font-size: 0.9rem;
}

.btn-view-details {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.property-infinite-loader {
    margin-top: 1rem;
}

.property-infinite-sentinel {
    width: 100%;
    height: 1px;
}

.property-skeleton-card {
    height: 420px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(100deg, #eef2f7 25%, #f8fafc 35%, #eef2f7 45%);
    background-size: 220% 100%;
    animation: propertySkeletonPulse 1.2s ease-in-out infinite;
}

.property-infinite-error {
    margin-bottom: 1rem;
}

@keyframes propertySkeletonPulse {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Pagination Controls */
.properties-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.pagination-counter {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.pagination-arrows {
    display: flex;
    gap: 0.8rem;
}

.arrow-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.arrow-next {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.arrow-next:hover {
    background: #e55a2b;
}

/* ===========================
   Map Section
   =========================== */
.map-section {
    background: #bebebe5b;
    padding: 4rem 0;

}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.interactive-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

.map-content {
    padding-left: 3rem;
}

.map-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.map-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-explore-map {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-explore-map:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ===========================
   Localities Section
   =========================== */
.localities-section {
    padding: 4rem 0;
    background: #ffffff;
}

.location-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.location-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem 1rem 1rem;
}

.location-name {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.location-info {
    padding: 0.8rem 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.location-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.location-count {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 20px;
    padding: 0.15rem 0.55rem;
    white-space: nowrap;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-image {
        height: 150px;
    }

    .location-name {
        font-size: 1rem;
    }

    .location-price {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .location-image {
        height: 120px;
    }

    .property-tabs {
        gap: 0.15rem;
        padding: 0.2rem;
    }

    .property-tabs .nav-link {
        font-size: 0.65rem;
        padding: 0.4rem 0.25rem;
    }

    .ai-toggle-tab {
        display: none !important;
    }

    .ai-toggle-tab i {
        font-size: 0.75rem;
    }

    .coming-soon-text {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ===========================
   Services Section
   =========================== */
.services-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
}

.service-description {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.service-link {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 0.8rem;
    color: #e55a2b;
}

.service-link i {
    font-size: 0.85rem;
}

/* ===========================
   Builders Section
   =========================== */
.builders-section {
    padding: 4rem 0;
    background: var(--white);
}

.builder-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.builder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.builder-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.builder-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.builder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.builder-info {
    flex: 1;
}

.builder-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.builder-type {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.builder-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

.rating-value i {
    color: #fbbf24;
    font-size: 0.8rem;
    margin-left: 0.2rem;
}

.deals-count {
    font-size: 0.8rem;
    color: #9ca3af;
}

.rera-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #10b981;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.builder-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-builder-profile,
.btn-builder-contact {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-builder-profile {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-builder-profile:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-builder-contact {
    background: var(--primary-color);
    color: var(--white);
}

.btn-builder-contact:hover {
    background: #e55a2b;
}

.builder-card-footer {
    margin-top: auto;
}

.builder-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.builder-card-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

.builder-card-meta__item i {
    color: var(--primary-color);
    font-size: 0.72rem;
}

.builder-view-profile-btn {
    min-height: 42px;
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f28d35 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 18px rgba(242, 141, 53, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.builder-view-profile-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(242, 141, 53, 0.34);
    filter: brightness(1.02);
}

.builder-view-profile-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25), 0 8px 18px rgba(242, 141, 53, 0.28);
}

/* ===========================
   Owner Properties Section
   =========================== */
.owner-properties-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.owner-property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.owner-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.owner-property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.owner-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fbbf24;
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    z-index: 1;
}

.owner-property-content {
    padding: 1.2rem;
}

.owner-property-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.owner-property-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.8rem;
}

.owner-property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.owner-property-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.owner-property-sqft {
    font-size: 0.85rem;
    color: #9ca3af;
}

.btn-contact-owner {
    width: auto;
    padding: 0.55rem 1.2rem;
    background: #1a1a1a;
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contact-owner:hover {
    background: #2d2d2d;
}

/* ===========================
   Combined Promotional Section
   =========================== */
.combined-promo-section {
    padding: 4rem 0;
    background: transparent;
}

.loan-banner-content {
    background: #1e3a5f;
    padding: 3rem 2.5rem;
    border-radius: 16px;
}

.loan-text-content {
    color: var(--white);
}

.loan-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.loan-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.loan-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-loan-primary,
.btn-loan-secondary {
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-loan-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-loan-primary:hover {
    background: #e55a2b;
}

.btn-loan-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-loan-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.loan-image-placeholder {
    text-align: right;
}

.loan-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .loan-title {
        font-size: 1.6rem;
    }

    .loan-image-placeholder {
        text-align: center;
        margin-top: 2rem;
    }
}

/* ===========================
   Promotional Cards Section
   =========================== */

.promo-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.promo-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.promo-text {
    flex: 1;
}

.promo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.promo-description {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-promo {
    padding: 0.65rem 1.5rem;
    background: #1a1a1a;
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    background: #2d2d2d;
}

.promo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-icon i {
    font-size: 2rem;
}

.promo-icon-yellow {
    background: #fef3c7;
    color: #f59e0b;
}

.promo-icon-blue {
    background: #dbeafe;
    color: #3b82f6;
}

@media (max-width: 991px) {
    .promo-card-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================
   Featured Agents Section
   =========================== */
.featured-agents-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all-link {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #e55a2b;
}

.agent-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.agent-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-info {
    flex: 1;
}

.agent-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.agent-type {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.agent-rating {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

.rating-value i {
    color: #fbbf24;
    margin-left: 0.2rem;
}

.deals-count {
    font-size: 0.85rem;
    color: #9ca3af;
}

.agent-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-agent-profile,
.btn-agent-contact {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-agent-profile {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-agent-profile:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-agent-contact {
    background: var(--primary-color);
    color: var(--white);
}

.btn-agent-contact:hover {
    background: #e55a2b;
}

/* ===========================
   Premier Properties Section
   =========================== */
.premier-properties-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.premier-property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.premier-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.premier-property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.property-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.status-construction {
    background: #3b82f6;
    color: var(--white);
}

.status-ready {
    background: #10b981;
    color: var(--white);
}

.status-launch {
    background: #1a1a1a;
    color: var(--white);
}

.status-possession {
    background: #f59e0b;
    color: var(--white);
}

.property-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.property-wishlist-btn i {
    color: #9ca3af;
    font-size: 1rem;
}

.property-wishlist-btn:hover {
    background: var(--primary-color);
}

.property-wishlist-btn:hover i {
    color: var(--white);
}

.premier-property-content {
    padding: 1.2rem;
}

.premier-property-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.premier-property-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.premier-property-units {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.8rem;
}

.premier-property-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.premier-property-developer i {
    color: #9ca3af;
}

.btn-view-property {
    width: 100%;
    padding: 0.7rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-property:hover {
    background: #e55a2b;
}

.premier-properties-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.owner-properties-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.pagination-text {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.pagination-arrows {
    display: flex;
    gap: 0.8rem;
}

.pagination-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-arrow:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-next {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-next:hover {
    background: #e55a2b;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.testimonial-author-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

/* ===========================
   App Download Section
   =========================== */
.app-download-section {
    padding: 5rem 0;
    background: var(--white);
    overflow: hidden;
}

.phone-mockup {
    position: relative;
    text-align: center;
}

.phone-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover .phone-image {
    transform: rotate(0deg) scale(1.02);
}

.app-info {
    padding-left: 2rem;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.app-description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.app-store-btn,
.google-play-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: #1a1a1a;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.app-store-btn:hover,
.google-play-btn:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-store-btn i,
.google-play-btn i {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-subtitle {
    font-size: 0.7rem;
    opacity: 0.8;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-code-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.qr-code {
    width: 100px;
    height: 100px;
    padding: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-text {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 991px) {
    .app-info {
        padding-left: 0;
        margin-top: 3rem;
        text-align: center;
    }

    .app-buttons,
    .qr-code-section {
        justify-content: center;
    }

    .phone-image {
        transform: rotate(0deg);
        max-height: 400px;
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 2.5rem;
    }

    .hero-search-card.search-box {
        padding: 1.15rem 1.1rem 1rem;
        border-radius: 16px;
    }

    .property-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.55rem 0.5rem;
    }

    .property-tabs .nav-link i {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ===========================
   RENT TAB - Banner Section
   Full-width banner image (1440×500)
   Only visible when Rent tab is active
   =========================== */
.rent-banner-section {
    padding: 2rem 0 0;
}

/* Rent Banner Container */
.rent-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Rent Banner Image */
.rent-banner-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* ===========================
   RENT TAB - Fresh Properties Section
   Section heading + 4 property cards + slider arrows
   =========================== */
.rent-properties-section {
    padding: 2.5rem 0 3rem;
}

/* Rent Section Header */
.rent-section-header {
    margin-bottom: 1.5rem;
}

.rent-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.rent-section-subtitle {
    font-size: 0.9rem;
    color: #10b981;
    margin: 0;
}

/* Rent Slider Wrapper (holds cards + arrows) */
.rent-properties-slider {
    position: relative;
    padding: 0 30px;
}

/* Rent Property Card - needs overflow hidden + relative for ribbon */
.rent-property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.rent-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Rent Property Image Container */
.rent-property-image {
    position: relative;
    overflow: hidden;
    height: 220px;

    /*label changes*/
    z-index: 11;
}

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

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

/* Rent Badge - Status label at top-left of image */
.rent-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Rent Wishlist Heart - Circle button at top-right of image */
.rent-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.rent-wishlist-btn:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rent-wishlist-btn i {
    font-size: 1rem;
    color: #9ca3af;
}

/* Active/filled wishlist - orange background with white heart */
.rent-wishlist-btn.active {
    background: var(--primary-color);
}

.rent-wishlist-btn.active i {
    color: var(--white);
}

/* 
   RENT TAB - Diagonal Ribbon
   Corner ribbon on right edge of card,
    */
.rent-ribbon {
    position: absolute;
    /* top: 195px; */
    /* label changes */
    top: 244px;
    right: -37px;
    padding: 0.35rem 2.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    transform: rotate(45deg);
    text-align: center;
    letter-spacing: 0.5px;
    z-index: 3;
    white-space: nowrap;
}

/* Ribbon color variants */
.ribbon-green {
    background: #10b981;
}

.ribbon-orange {
    background: var(--primary-color);
}

.ribbon-red {
    background: #ef4444;
}

/* ===========================
   RENT TAB - Card Content Area
   Title, location, size, developer, button
   =========================== */
.rent-property-content {
    padding: 1.2rem 1.3rem 1.4rem;
}

.rent-property-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.35rem;
}

.rent-property-location {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 0.15rem;
}

.rent-property-size {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 0.7rem;
}

/* Developer Info - Letter badge + name */
.rent-property-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Developer Letter Badge (gray circle with initial) */
.dev-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Default gray badge */
.dev-badge-purple {
    background: #e5e7eb;
    color: #374151;
}

/* Green badge for Godrej (G) */
.dev-badge-green {
    background: #d1fae5;
    color: #059669;
}

/* Rent View Property Details Button - pill shaped */
.btn-rent-view-details {
    display: block;
    width: calc(100% - 1.5rem);
    margin: 0.5rem auto 0;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-rent-view-details:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* ===========================
   RENT TAB - Slider Navigation Arrows
   Circular prev/next buttons on sides of cards
   =========================== */
.rent-arrow-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

.rent-arrow-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Left arrow - white outline, outside left edge */
.rent-arrow-prev {
    left: -25px;
}

/* Right arrow - orange filled, outside right edge */
.rent-arrow-next {
    right: -25px;
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.rent-arrow-next:hover {
    background: #e55a2b;
}

/* ===========================
   Responsive - General
   =========================== */
@media (max-width: 768px) {
    .hero-eyebrow {
        font-size: 0.72rem;
        padding: 0.4rem 0.75rem;
    }

    .hero-search-card.search-box {
        padding: 1rem;
        border-radius: 14px;
    }

    .property-tabs {
        gap: 0.25rem;
        padding: 0.25rem;
    }

    .property-tabs .nav-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.35rem;
    }

    .ai-toggle-tab {
        display: none;
    }

    .ai-toggle-tab i {
        font-size: 0.85rem;
    }

    .ai-coming-soon-tooltip {
        margin-top: 8px;
    }

    .coming-soon-text {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-feature-pill {
        justify-content: center;
    }

    .recent-search-section {
        border-radius: 14px;
        flex-direction: column;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .property-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Rent Banner - smaller height on mobile */
    .rent-banner-img {
        height: 250px;
    }

    /* Rent Slider - remove side padding on mobile */
    .rent-properties-slider {
        padding: 0;
    }

    /* Rent Arrows - inside cards on mobile */
    .rent-arrow-prev {
        left: 10px;
    }

    .rent-arrow-next {
        right: 10px;
    }
}

/* ===========================
   RENT TAB - Properties by Agents Section
   Cards with Agent badge, property info, price, contact button
   =========================== */
.rent-agents-section {
    padding: 2.5rem 0 3rem;
    background: #f8f9fa;
}

/* Agent Slider Wrapper (same structure as fresh properties) */
.rent-agents-slider {
    position: relative;
    padding: 0 30px;
}

/* Agent Property Card */
.rent-agent-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.rent-agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Agent Card Image Container */
.rent-agent-image {
    position: relative;
    overflow: hidden;
    height: 150px;
}

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

.rent-agent-card:hover .rent-agent-image img {
    transform: scale(1.05);
}

/* Yellow "Agent" Tag - top-left of image */
.agent-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f59e0b;
    color: var(--white);
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    z-index: 2;
}

/* Agent Card Content */
.rent-agent-content {
    padding: 0.75rem 1rem 0.9rem;
}

/* Agent Property Title */
.rent-agent-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.15rem;
}

/* Agent Property Location */
.rent-agent-location {
    font-size: 0.76rem;
    color: #9ca3af;
    margin-bottom: 0.45rem;
}

/* Agent Price Row - amount + sqft */
.rent-agent-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

/* Price Amount (₹ 75 Lac) */
.price-amount {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Price Area (1450 sqft) */
.price-area {
    font-size: 0.74rem;
    color: #9ca3af;
}

/* Contact Owner Button - dark, compact */
.btn-contact-agent {
    display: inline-block;
    background: #1a1a2e;
    color: var(--white);
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact-agent:hover {
    background: #2d2d4a;
    transform: translateY(-1px);
}