﻿:root {
    --primary: #c49a6c;
    --primary-dark: #b08456;
    --primary-light: #d4ae86;
    --secondary: #2c3e50;
    --secondary-light: #34495e;
    --success: #2c7a4d;
    --danger: #c53030;
    --warning: #ed8936;
    --dark: #2d3748;
    --gray-dark: #4a5568;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --light: #f7fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}



/* Auth & Dashboard small styles */
.auth-section .auth-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.auth-left img {
    max-width: 100%;
}

.auth-right .form-control {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}

.dashboard-sidebar {
    background: transparent;
    border-radius: 12px;
    padding: 1rem 0;
}

.dashboard-content .tab-pane {
    display: none;
}

    .dashboard-content .tab-pane.active {
        display: block;
    }

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.dash-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--secondary);
    text-decoration: none;
    background: rgba(255,255,255,0.06);
}

    .dash-link.active {
        background: linear-gradient(135deg,var(--primary),var(--secondary));
        color: white;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

.listing-card {
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Agent area styles */
.agent-shell {
    display: flex;
    min-height: 100vh;
}

.agent-sidebar {
    width: 260px;
    background: linear-gradient(180deg,var(--primary-dark),var(--primary));
    color: white;
    padding: 1.5rem;
}

.agent-brand a {
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.25rem;
}

.agent-menu {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .agent-menu a {
        color: rgba(255,255,255,0.9);
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        text-decoration: none;
    }

        .agent-menu a.active, .agent-menu a:hover {
            background: rgba(255,255,255,0.06);
        }

.agent-main {
    flex: 1;
    background: var(--light);
}

.agent-header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.agent-content {
    padding: 2rem 0;
}

.agent-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.card-actions .btn-primary {
    padding: 0.4rem 0.8rem;
}

/* Toast & modal styles */
#toastContainer {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.section {
    padding: 3rem 0;
}

.toast {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

    .toast.success {
        border-left: 4px solid var(--success);
    }

    .toast.error {
        border-left: 4px solid var(--danger);
    }

.confirm-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2500;
}
.featured-section{padding-top:3rem;}
.confirm-modal[aria-hidden="false"] {
    display: flex;
}

.confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.confirm-panel {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    width: 520px;
    max-width: calc(100% - 32px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.75rem;
}




/* Search Bar */
.search-bar {
    background: var(--white);
    border-radius: 60px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}

.search-input {
    flex: 1;
    min-width: 200px;
    position: relative;
}

    .search-input i {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
        font-size: 1rem;
    }

[dir="rtl"] .search-input i {
    left: auto;
    right: 1rem;
}

.search-input input,
.search-input select {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

[dir="rtl"] .search-input input,
[dir="rtl"] .search-input select {
    padding: 1rem 2.5rem 1rem 1rem;
}

.search-input input:focus,
.search-input select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.1);
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-search:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(196, 154, 108, 0.3);
    }


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    color: var(--secondary);
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: var(--primary);
        margin-top: 0.5rem;
        border-radius: 2px;
    }

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .view-all:hover {
        transform: translateX(5px);
        color: var(--primary-dark);
    }

/* Filters Panel */
.filters-panel {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

    .filters-header h3 {
        font-size: 1.125rem;
        font-weight: 600;
        margin: 0;
        color: var(--secondary);
    }

.btn-reset {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-reset:hover {
        text-decoration: underline;
    }

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-dark);
    font-size: 0.875rem;
}

.price-range {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

    .price-range input {
        flex: 1;
    }

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

    .filter-input:focus,
    .filter-select:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.1);
    }

.checkbox-group {
    display: flex;
    align-items: center;
    height: 100%;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.filters-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-apply-filters {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .btn-apply-filters:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-count {
    color: var(--gray);
    font-size: 0.875rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .view-btn.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

/* Listing Card */
.listing-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

    .listing-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--light);
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.listing-card:hover .card-image img {
    transform: scale(1.05);
}

.image-slider {
    position: relative;
    height: 100%;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 2;
    font-size: 1.25rem;
}

.card-image:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

[dir="rtl"] .slider-nav.prev {
    left: auto;
    right: 10px;
}

[dir="rtl"] .slider-nav.next {
    right: auto;
    left: 10px;
}

.featured-badge,
.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-badge {
    background: var(--primary);
    color: white;
}

.sold-badge {
    background: var(--success);
    color: white;
}

.card-content {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    line-height: 1.4;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.card-location {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray);
    font-size: 0.875rem;
}

.card-amenities {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.amenity {
    color: var(--gray);
    font-size: 0.875rem;
}

.agent-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.agent-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-call {
    background: var(--success);
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

    .btn-call:hover {
        background: #236b42;
        transform: scale(1.05);
    }

/* Grid Layout */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

    /* List View */
    .listings-grid.list-view {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

        .listings-grid.list-view .listing-card {
            display: flex;
            flex-direction: row;
        }

        .listings-grid.list-view .card-image {
            width: 280px;
            height: 200px;
        }

        .listings-grid.list-view .card-content {
            flex: 1;
        }

@media (max-width: 768px) {
    .listings-grid.list-view .listing-card {
        flex-direction: column;
    }

    .listings-grid.list-view .card-image {
        width: 100%;
    }
}

/* Service Cards - Swiper Slider */
.services-section {
    background: linear-gradient(180deg, var(--light) 0%, rgba(196, 154, 108, 0.05) 100%);
    overflow: hidden;
}

    .services-section .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .services-section .section-subtitle {
        color: var(--gray);
        font-size: 1.1rem;
        margin-top: 0.75rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.services-slider-wrapper {
    position: relative;
    padding: 0 3.5rem;
}

.services-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .services-nav-btn:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 25px rgba(26, 74, 111, 0.3);
    }

.services-prev {
    left: 0;
}

.services-next {
    right: 0;
}

[dir="rtl"] .services-prev {
    left: auto;
    right: 0;
}

[dir="rtl"] .services-next {
    right: auto;
    left: 0;
}

[dir="rtl"] .services-nav-btn i {
    transform: rotate(180deg);
}

.services-swiper {
    overflow: hidden;
    padding-bottom: 3.5rem;
}

    .services-swiper .swiper-slide {
        height: auto;
        padding: 0.5rem 0;
    }

.services-pagination {
    bottom: 0 !important;
}

    .services-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: var(--secondary);
        opacity: 0.3;
        transition: all 0.3s ease;
    }

    .services-pagination .swiper-pagination-bullet-active {
        opacity: 1;
        width: 28px;
        border-radius: 5px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
    }

.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(196, 154, 108, 0.2);
    }

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
    transform: rotate(15deg) scale(1.15);
    background: linear-gradient(135deg, var(--primary), #e8b86b);
    box-shadow: 0 8px 25px rgba(196, 154, 108, 0.35);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .services-slider-wrapper {
        padding: 0 2.5rem;
    }

    .services-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-slider-wrapper {
        padding: 0 0.5rem;
    }

    .services-nav-btn {
        display: none;
    }
}

/* About Section */
.about-section {
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mission, .vision {
    padding: 1rem;
}

    .mission i, .vision i {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .mission h3, .vision h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
        color: var(--secondary);
    }

    .mission p, .vision p {
        color: var(--gray);
    }

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .stat:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
    }

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray);
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Map Section */
.map-container {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact-section {
    background: var(--light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--secondary);
}

.contact-item a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .contact-item a:hover {
        color: var(--primary);
    }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.125rem;
}

    .social-link:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.1);
    }

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .btn-submit:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

    .empty-state i {
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .empty-state p {
        margin-bottom: 1rem;
    }

/* Loading States */
.loading-indicator {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.skeleton-image {
    height: 250px;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-content {
    padding: 1.25rem;
}

.skeleton-title {
    height: 20px;
    background: #f3f4f6;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    width: 70%;
}

.skeleton-price {
    height: 24px;
    background: #f3f4f6;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    width: 40%;
}

.skeleton-line {
    height: 16px;
    background: #f3f4f6;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* Pagination Styles */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .page-link:hover:not(:disabled) {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: translateY(-2px);
    }

    .page-link.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    .page-link:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.page-dots {
    color: var(--gray);
    padding: 0 0.25rem;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

    [dir="rtl"] .page-link i {
        transform: rotate(180deg);
    }

    [dir="rtl"] .slider-btn.prev {
        left: auto;
        right: 2rem;
    }

    [dir="rtl"] .slider-btn.next {
        right: auto;
        left: 2rem;
    }

    [dir="rtl"] .view-all:hover {
        transform: translateX(-5px);
    }

    [dir="rtl"] .feature-item i {
        margin-left: 0.25rem;
        margin-right: 0;
    }

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 16px;
    }

    .search-input input,
    .search-input select {
        border-radius: 12px;
    }

    .btn-search {
        padding: 1rem;
        justify-content: center;
    }



    .filters-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

        .slider-btn.prev {
            left: 1rem;
        }

        .slider-btn.next {
            right: 1rem;
        }

    [dir="rtl"] .slider-btn.prev {
        right: 1rem;
        left: auto;
    }

    [dir="rtl"] .slider-btn.next {
        left: 1rem;
        right: auto;
    }

    .pagination {
        gap: 0.25rem;
    }

    .page-link {
        min-width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   PREMIUM FOOTER STYLES
   ============================================ */
.footer {
    background: linear-gradient(135deg, #0a2b3e 0%, #051e2c 100%);
    color: #e2e8f0;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #c49a6c, #e8b86b, #c49a6c);
    }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .footer-logo .logo-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #c49a6c, #e8b86b);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(196, 154, 108, 0.3);
    }

        .footer-logo .logo-icon svg {
            width: 28px;
            height: 28px;
            color: white;
        }

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    font-family: 'Cairo', sans-serif;
}

.footer-logo-subtitle {
    font-size: 0.7rem;
    color: #c49a6c;
    letter-spacing: 0.5px;
}

.company-description {
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .social-icon:hover {
        background: linear-gradient(135deg, #c49a6c, #e8b86b);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(196, 154, 108, 0.4);
    }

/* Footer Titles */
.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

    .footer-title i {
        color: #c49a6c;
        margin-right: 0.5rem;
    }

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, #c49a6c, #e8b86b);
        border-radius: 2px;
    }

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: #a0aec0;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

        .footer-links a i {
            font-size: 0.75rem;
            color: #c49a6c;
            transition: transform 0.3s ease;
        }

        .footer-links a:hover {
            color: #c49a6c;
            transform: translateX(5px);
        }

            .footer-links a:hover i {
                transform: translateX(3px);
            }

[dir="rtl"] .footer-links a:hover {
    transform: translateX(-5px);
}

    [dir="rtl"] .footer-links a:hover i {
        transform: translateX(-3px);
    }

/* Contact Info List */
.contact-info-list {
    list-style: none;
    padding: 0;
}

    .contact-info-list li {
        display: flex;
        gap: 1rem;
        margin-bottom: 1.25rem;
        align-items: flex-start;
    }

        .contact-info-list li i {
            font-size: 1.1rem;
            color: #c49a6c;
            margin-top: 0.25rem;
            min-width: 20px;
        }

.contact-detail {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    color: #c49a6c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #e2e8f0;
    font-size: 0.9rem;
    word-break: break-word;
}

    .contact-value a {
        color: #e2e8f0;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .contact-value a:hover {
            color: #c49a6c;
        }

/* Newsletter Section */
.newsletter-text {
    color: #a0aec0;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.newsletter-form {
    margin-bottom: 1.5rem;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 0.25rem;
    border: 1px solid rgba(196, 154, 108, 0.3);
    transition: all 0.3s ease;
}

    .newsletter-input-group:focus-within {
        border-color: #c49a6c;
        box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.2);
    }

    .newsletter-input-group i {
        position: absolute;
        left: 1rem;
        color: #c49a6c;
        font-size: 0.9rem;
    }

[dir="rtl"] .newsletter-input-group i {
    left: auto;
    right: 1rem;
}

.newsletter-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.85rem 2.5rem 0.85rem 2.5rem;
    color: white;
    font-size: 0.85rem;
    outline: none;
}

[dir="rtl"] .newsletter-input-group input {
    padding: 0.85rem 2.5rem 0.85rem 1rem;
}

.newsletter-input-group input::placeholder {
    color: #718096;
}

.newsletter-btn {
    background: linear-gradient(135deg, #c49a6c, #e8b86b);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .newsletter-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(196, 154, 108, 0.4);
    }

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #a0aec0;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
}

    .trust-badge i {
        color: #c49a6c;
        font-size: 0.8rem;
    }

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(196, 154, 108, 0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: #a0aec0;
    font-size: 0.8rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

    .footer-bottom-links a {
        color: #a0aec0;
        text-decoration: none;
        font-size: 0.8rem;
        transition: color 0.3s ease;
    }

        .footer-bottom-links a:hover {
            color: #c49a6c;
        }

.separator {
    color: #4a5568;
}

.back-to-top-btn {
    background: rgba(196, 154, 108, 0.2);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #c49a6c;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

    .back-to-top-btn:hover {
        background: rgba(196, 154, 108, 0.3);
        transform: translateY(-3px);
    }

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .trust-badges {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .company-description {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-title {
        display: block;
        text-align: center;
    }

        .footer-title::after {
            left: 50%;
            transform: translateX(-50%);
        }

    .footer-links {
        text-align: center;
    }

        .footer-links a {
            justify-content: center;
        }

    .contact-info-list li {
        justify-content: center;
    }

    .newsletter-text {
        text-align: center;
    }
}

/* RTL Specific Adjustments */
[dir="rtl"] .footer-title i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .footer-links a i {
    transform: rotate(180deg);
}

[dir="rtl"] .footer-links a:hover i {
    transform: rotate(180deg) translateX(3px);
}

/* ============================================
   PREMIUM ENHANCEMENTS — PHASE 2
   ============================================ */

/* ---- Dark Mode ---- */
[data-theme="dark"] {
    --primary: #c49a6c;
    --primary-dark: #b08456;
    --primary-light: #d4ae86;
    --secondary: #e2e8f0;
    --secondary-light: #cbd5e0;
    --dark: #e2e8f0;
    --gray-dark: #cbd5e0;
    --gray: #a0aec0;
    --gray-light: #2d3748;
    --light: #1a202c;
    --white: #2d3748;
    --border: #4a5568;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.3);
    --shadow: 0 1px 3px 0 rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5);
}

    [data-theme="dark"] body {
        background: #1a202c;
        color: #e2e8f0;
    }

    [data-theme="dark"] .filters-panel,
    [data-theme="dark"] .contact-form,
    [data-theme="dark"] .listing-card,
    [data-theme="dark"] .service-card,
    [data-theme="dark"] .stat {
        background: #2d3748;
        border-color: #4a5568;
    }

    [data-theme="dark"] .filter-input,
    [data-theme="dark"] .filter-select,
    [data-theme="dark"] .form-control {
        background: #374151;
        color: #e2e8f0;
        border-color: #4a5568;
    }

    [data-theme="dark"] .about-section,
    [data-theme="dark"] .contact-section {
        background: #1e2533;
    }

    [data-theme="dark"] .search-bar {
        background: rgba(45, 55, 72, 0.95);
    }

    [data-theme="dark"] .search-input input,
    [data-theme="dark"] .search-input select {
        background: #374151;
        color: #e2e8f0;
        border-color: #4a5568;
    }

/* ---- Dark Mode Toggle Button ---- */
.dark-mode-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(196, 154, 108, 0.12);
    border: 1px solid rgba(196, 154, 108, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 0.95rem;
}

    .dark-mode-toggle:hover {
        background: var(--primary);
        color: white;
        transform: rotate(20deg);
    }

/* ---- Scroll Progress Bar ---- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #e8b86b);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* ---- Back to Top Floating Button ---- */
.back-to-top-float {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), #e8b86b);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(196, 154, 108, 0.45);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}

[dir="rtl"] .back-to-top-float {
    right: auto;
    left: 1.5rem;
}

.back-to-top-float.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(196, 154, 108, 0.55);
}

/* ---- WhatsApp Floating Button ---- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: white;
    padding: 0.75rem 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    cursor: pointer;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 1.5rem;
}

.whatsapp-float:hover {
    background: #1fba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
    color: white;
    text-decoration: none;
}

.whatsapp-float i {
    font-size: 1.2rem;
}

.whatsapp-float .wa-label {
    max-width: 120px;
    overflow: hidden;
    transition: max-width 0.4s ease;
}

@media (max-width: 768px) {
    .whatsapp-float .wa-label {
        max-width: 0;
        padding: 0;
    }

    .whatsapp-float {
        padding: 0.85rem;
        border-radius: 50%;
    }

    .back-to-top-float {
        right: 1rem;
        bottom: 5rem;
    }

    [dir="rtl"] .back-to-top-float {
        left: 1rem;
        right: auto;
    }

    [dir="rtl"] .whatsapp-float {
        left: 1rem;
        right: auto;
    }
}

/* ---- Hero Typing Cursor ---- */
.hero-title .typed-cursor {
    display: inline-block;
    width: 3px;
    background: var(--primary);
    margin-inline-start: 4px;
    animation: blink-cursor 0.75s step-end infinite;
    vertical-align: middle;
}

@keyframes blink-cursor {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ---- Hero Property Count Badge ---- */
.hero-property-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(196, 154, 108, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(196, 154, 108, 0.4);
    color: #f5d49a;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    animation: float-badge 3s ease-in-out infinite;
}

    .hero-property-badge i {
        color: var(--primary);
    }

@keyframes float-badge {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ---- Category Quick Pills ---- */
.category-pills {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .category-pill:hover,
    .category-pill.active {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 14px rgba(196, 154, 108, 0.4);
    }

/* ---- Glassmorphism Search Bar ---- */
.search-bar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-input input:focus,
.search-input select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.18);
    background: white;
}

/* ---- Featured Swiper Carousel ---- */
.featured-swiper-wrapper {
    position: relative;
    padding-bottom: 3rem;
}

.featured-swiper {
    overflow: hidden;
    border-radius: 16px;
}

    .featured-swiper .swiper-slide {
        height: auto;
    }

.featured-swiper-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.swiper-btn-custom {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
}

    .swiper-btn-custom:hover {
        background: var(--primary);
        color: white;
        transform: scale(1.1);
    }

.featured-swiper .swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.4;
    width: 8px;
    height: 8px;
}

.featured-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* ---- Card Badges (New / Hot) ---- */
.badge-new,
.badge-hot {
    position: absolute;
    top: 10px;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-new {
    left: 10px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
}

.badge-hot {
    left: 10px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
}

[dir="rtl"] .badge-new,
[dir="rtl"] .badge-hot {
    left: auto;
    right: 10px;
}

/* ---- Quick View Button on Card ---- */
.btn-quick-view {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 43, 62, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: none;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 3;
}

.card-image:hover .btn-quick-view {
    bottom: 12px;
}

.btn-quick-view:hover {
    background: var(--primary);
    transform: translateX(-50%) scale(1.05);
}

/* ---- Quick View Modal ---- */
.quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .quick-view-modal.open {
        opacity: 1;
        pointer-events: all;
    }

.quick-view-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.quick-view-panel {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    max-width: 680px;
    width: calc(100% - 2rem);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.quick-view-modal.open .quick-view-panel {
    transform: translateY(0);
}

.quick-view-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--light);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-dark);
    transition: all 0.2s ease;
}

[dir="rtl"] .quick-view-close {
    right: auto;
    left: 1rem;
}

.quick-view-close:hover {
    background: var(--danger);
    color: white;
}

.quick-view-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.quick-view-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.quick-view-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.quick-view-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

    .quick-view-meta span {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--gray-dark);
        font-size: 0.9rem;
    }

        .quick-view-meta span i {
            color: var(--primary);
        }

.quick-view-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.btn-view-details {
    flex: 1;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .btn-view-details:hover {
        background: var(--primary-dark);
        color: white;
        transform: translateY(-2px);
    }

.btn-whatsapp-contact {
    padding: 0.75rem 1.25rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

    .btn-whatsapp-contact:hover {
        background: #1fba5a;
        color: white;
        transform: translateY(-2px);
    }

/* ---- Filters Collapsible (Mobile) ---- */
.filters-panel .filters-toggle-btn {
    display: none;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: inherit;
}

@media (max-width: 768px) {
    .filters-panel .filters-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .filters-panel .filters-toggle-btn .filters-toggle-icon {
            transition: transform 0.3s ease;
            color: var(--primary);
        }

    .filters-panel.collapsed .filters-toggle-btn .filters-toggle-icon {
        transform: rotate(-90deg);
    }

    .filters-panel .filters-grid,
    .filters-panel .filters-actions {
        transition: all 0.35s ease;
        overflow: hidden;
    }

    .filters-panel.collapsed .filters-grid,
    .filters-panel.collapsed .filters-actions {
        max-height: 0 !important;
        margin: 0;
        padding: 0;
        opacity: 0;
    }
}

/* ---- Active Filters Tags Bar ---- */
.active-filters-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
    min-height: 0;
    transition: all 0.3s ease;
}

    .active-filters-bar:empty {
        display: none;
    }

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(196, 154, 108, 0.12);
    border: 1px solid rgba(196, 154, 108, 0.35);
    color: var(--primary-dark);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .filter-tag .remove-tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 16px;
        background: rgba(196, 154, 108, 0.25);
        border-radius: 50%;
        cursor: pointer;
        font-size: 0.65rem;
        font-weight: 700;
        transition: all 0.2s ease;
        border: none;
        color: var(--primary-dark);
        line-height: 1;
    }

        .filter-tag .remove-tag:hover {
            background: var(--danger);
            color: white;
        }

/* ---- Glassmorphism Filters Panel ---- */
.filters-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(196, 154, 108, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .filters-panel {
    background: rgba(45, 55, 72, 0.85);
    border-color: rgba(196, 154, 108, 0.25);
}

/* ---- Animated Counters ---- */
.stat-number.counting {
    color: var(--primary);
}

/* ---- Testimonials Swiper ---- */
.testimonials-section {
    background: var(--light);
    padding: 5rem 0;
}

[data-theme="dark"] .testimonials-section {
    background: #1e2533;
}

.testimonials-swiper {
    overflow: hidden;
    padding-bottom: 3rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: 3px solid var(--primary);
    height: 100%;
}

[data-theme="dark"] .testimonial-card {
    background: #2d3748;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    color: var(--gray-dark);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #e8b86b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--primary);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* ---- Service Cards Glassmorphism + Slider Extras ---- */
.service-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 154, 108, 0.15);
}

[data-theme="dark"] .service-card {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(196, 154, 108, 0.2);
}

[data-theme="dark"] .services-section {
    background: linear-gradient(180deg, #1a202c 0%, rgba(196, 154, 108, 0.05) 100%);
}

    [data-theme="dark"] .services-section .section-subtitle {
        color: #a0aec0;
    }

[data-theme="dark"] .services-nav-btn {
    background: rgba(45, 55, 72, 0.95);
    color: var(--secondary);
    border-color: rgba(196, 154, 108, 0.3);
}

    [data-theme="dark"] .services-nav-btn:hover {
        background: var(--primary);
        color: white;
    }

[data-theme="dark"] .service-card h3 {
    color: var(--secondary);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 154, 108, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.service-card:hover::before {
    opacity: 1;
}

.service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

    .service-learn-more:hover {
        color: var(--primary-dark);
        gap: 0.7rem;
    }

[dir="rtl"] .service-learn-more i {
    transform: rotate(180deg);
}

/* ---- Contact Form Enhanced ---- */
.form-group {
    position: relative;
}

.form-field-wrapper {
    position: relative;
}

.form-control.is-valid {
    border-color: var(--success);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%232c7a4d' d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
}

.form-control.is-invalid {
    border-color: var(--danger);
}

.field-feedback {
    font-size: 0.78rem;
    margin-top: 0.3rem;
    padding: 0 0.25rem;
    display: none;
    animation: fadeInDown 0.25s ease;
}

    .field-feedback.error {
        color: var(--danger);
        display: block;
    }

    .field-feedback.success {
        color: var(--success);
        display: block;
    }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Button Ripple Effect ---- */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

    .ripple-btn .ripple {
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.35);
        transform: scale(0);
        animation: ripple-anim 0.6s linear;
        pointer-events: none;
    }

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ---- Skeleton Loading Enhanced ---- */
.skeleton-card {
    animation: skeleton-shimmer 1.8s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }

    100% {
        opacity: 1;
    }
}

.skeleton-image,
.skeleton-title,
.skeleton-price,
.skeleton-line {
    background: linear-gradient( 90deg, var(--gray-light) 0%, rgba(255,255,255,0.8) 50%, var(--gray-light) 100% );
    background-size: 400% 100%;
    animation: skeleton-wave 1.6s ease infinite;
}

@keyframes skeleton-wave {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ---- Page Transition Overlay ---- */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0a2b3e, #1a4a6f);
    z-index: 9990;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    pointer-events: none;
}

    .page-transition-overlay.active {
        transform: translateY(0);
    }

/* ---- Micro-interactions: card lift ---- */
.listing-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

    .listing-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
    }

/* ---- Trust Badges (enhanced footer section) ---- */
.trust-badges-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(196, 154, 108, 0.25);
    border-radius: 10px;
    flex: 1;
    min-width: 100px;
}

    .trust-badge-item i {
        color: var(--primary);
        font-size: 1.1rem;
    }

    .trust-badge-item span {
        font-size: 0.78rem;
        color: #a0aec0;
        line-height: 1.3;
    }

/* ---- Responsive Additions ---- */
@media (max-width: 768px) {
    .quick-view-actions {
        flex-direction: column;
    }

    .quick-view-panel {
        padding: 1.5rem;
    }

    .category-pills {
        gap: 0.5rem;
    }

    .category-pill {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .hero-property-badge {
        font-size: 0.8rem;
    }

    .testimonials-section {
        padding: 3rem 0;
    }
}

/* ---- Dark Mode service/about ---- */
[data-theme="dark"] .about-section {
    background: #1e2533;
}

[data-theme="dark"] .about-image img {
    filter: brightness(0.85);
}

[data-theme="dark"] .mission,
[data-theme="dark"] .vision {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

[data-theme="dark"] .skeleton-image,
[data-theme="dark"] .skeleton-title,
[data-theme="dark"] .skeleton-price,
[data-theme="dark"] .skeleton-line {
    background: linear-gradient( 90deg, #374151 0%, #4a5568 50%, #374151 100% );
    background-size: 400% 100%;
}


/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

    .empty-state i {
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .empty-state p {
        margin-bottom: 1rem;
    }

/* Loading States */
.loading-indicator {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.skeleton-image {
    height: 250px;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-content {
    padding: 1.25rem;
}

.skeleton-title {
    height: 20px;
    background: #f3f4f6;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    width: 70%;
}

.skeleton-price {
    height: 24px;
    background: #f3f4f6;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    width: 40%;
}

.skeleton-line {
    height: 16px;
    background: #f3f4f6;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-btn:hover {
        background: rgba(255,255,255,0.3);
        transform: translateY(-50%) scale(1.1);
    }

    .slider-btn.prev {
        left: 2rem;
    }

    .slider-btn.next {
        right: 2rem;
    }

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 16px;
    }

    .search-input input,
    .search-input select {
        border-radius: 12px;
    }

    .btn-search {
        padding: 1rem;
        justify-content: center;
    }


    .filters-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

        .slider-btn.prev {
            left: 1rem;
        }

        .slider-btn.next {
            right: 1rem;
        }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Pagination Styles */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .page-link:hover:not(:disabled) {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: translateY(-2px);
    }

    .page-link.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    .page-link:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.page-dots {
    color: var(--gray);
    padding: 0 0.25rem;
}

/* RTL Pagination */
[dir="rtl"] .page-link i {
    transform: rotate(180deg);
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }

    .page-link {
        min-width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }
}


/* ============================================
   COMPACT HERO SECTION WITH VIDEO BACKGROUND
   ============================================ */

.hero-section {
    position: relative;
    min-height: 85vh;
    max-height: 700px;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 25s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.video-error .hero-video {
    display: none;
}

.video-error .hero-fallback {
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 85vh;
    max-height: 700px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 3rem 0;
}

/* Property Badge - Smaller */
.hero-property-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

/* Hero Title - Smaller */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Subtitle - Smaller */
.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.8rem;
    opacity: 0.95;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* Search Bar - More Compact */
.search-bar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-radius: 60px;
    padding: 0.4rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-input {
    flex: 1;
    min-width: 160px;
    position: relative;
}

    .search-input i {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
        font-size: 0.85rem;
    }

[dir="rtl"] .search-input i {
    left: auto;
    right: 1rem;
}

.search-input input,
.search-input select {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.3rem;
    border: 1px solid var(--border);
    border-radius: 60px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: white;
}

[dir="rtl"] .search-input input,
[dir="rtl"] .search-input select {
    padding: 0.7rem 2.3rem 0.7rem 1rem;
}

.search-input input:focus,
.search-input select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.15);
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

    .btn-search:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(196, 154, 108, 0.35);
    }

/* Category Pills - Smaller */
.category-pills {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .category-pill i {
        font-size: 0.7rem;
    }

    .category-pill:hover,
    .category-pill.active {
        background: var(--primary);
        border-color: var(--primary);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(196, 154, 108, 0.3);
    }

/* Scroll Indicator - Smaller */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

    .scroll-indicator:hover {
        opacity: 1;
    }

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid white;
    border-radius: 16px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

.scroll-arrow i {
    color: white;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    80% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ============================================
   RESPONSIVE FOR COMPACT HERO
   ============================================ */
@media (max-width: 992px) {
    .hero-section {
        min-height: 75vh;
        max-height: 600px;
    }

    .hero-content {
        min-height: 75vh;
        max-height: 600px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .search-bar {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        max-height: 550px;
    }

    .hero-content {
        min-height: 70vh;
        max-height: 550px;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 0.6rem;
        gap: 0.6rem;
    }

    .search-input input,
    .search-input select {
        border-radius: 50px;
    }

    .btn-search {
        justify-content: center;
        padding: 0.7rem;
    }

    .hero-property-badge {
        padding: 0.3rem 1rem;
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
    }

    .category-pills {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .category-pill {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 65vh;
        max-height: 500px;
    }

    .hero-content {
        min-height: 65vh;
        max-height: 500px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .search-input {
        min-width: 100%;
    }

        .search-input input,
        .search-input select {
            padding: 0.6rem 1rem 0.6rem 2rem;
            font-size: 0.75rem;
        }

    .category-pill {
        padding: 0.25rem 0.7rem;
        font-size: 0.65rem;
    }
}