/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ===== RECOMMENDED LISTINGS SLIDER ===== */
.recommended-properties-slider {
    position: relative;
    overflow: hidden;
}

.recommended-property-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recommended-property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.recommended-property-card:hover .property-image img {
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 2rem;
}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.property-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
}

.price-tag {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.property-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-location {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.property-features {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.agent-info {
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.agent-info small {
    font-size: 0.75rem;
}

.agent-info strong {
    font-size: 0.9rem;
}

/* Swiper customization */
.swiper-container {
    padding: 20px 0;
}

.swiper-slide {
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== HEADER & NAVIGATION ===== */
.header-wrapper {
    position: relative;
    z-index: 1000;
}

.navbar {
    padding: 0.25rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-lg);
    padding: 0.25rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900) !important;
}

.brand-logo {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--gray-100);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Dropdown toggle için underline'ı gizle */
.navbar-nav .nav-link.dropdown-toggle::after {
    display: none;
}

/* Dropdown active item styling */
.dropdown-item.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.dropdown-item.active:hover {
    background-color: var(--primary-dark) !important;
    color: white !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

.user-menu {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-lg);
    background-color: var(--gray-100);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.admin-link {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white !important;
    border-radius: var(--border-radius-lg);
    padding: 0.5rem 1rem !important;
}

.admin-link:hover {
    background: linear-gradient(135deg, #d97706, #ea580c);
    color: white !important;
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s;
}

.btn-outline-primary:hover::before {
    left: 100%;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== CARDS ===== */
.card {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: none;
    transition: var(--transition);
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--primary-color);
}

.card-header {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: none;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    position: relative;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > label {
    padding: 1rem 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label {
    color: var(--primary-color);
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* ===== BADGES ===== */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success-color), #059669) !important;
    transition: var(--transition);
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    transition: var(--transition);
}

.badge {
    transition: var(--transition);
}

.badge:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding-top: 120px;
    min-height: calc(100vh - 120px);
    margin: 0;
    flex: 1;
}

/* ===== PAGE SECTIONS ===== */
.page-section {
    padding: 5rem 0;
    position: relative;
    margin-bottom: 0;
}

/* Tüm section'ların alt margin'ını kaldır */
.page-section,
section {
    margin-bottom: 0 !important;
}

.page-section:last-child,
section:last-of-type {
    padding-bottom: 5rem;
}

.page-section:nth-child(even) {
    background-color: var(--gray-50);
}

.page-section:nth-child(odd) {
    background-color: white;
}

/* ===== CONTENT SPACING ===== */
.content-spacing {
    margin: 2rem 0;
}

.content-spacing-lg {
    margin: 4rem 0;
}

.content-spacing-xl {
    margin: 6rem 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: transparent;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-section-small {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    margin-top: 20px;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80') center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4) 0%, rgba(29, 78, 216, 0.5) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.search-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.search-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
    transform: scaleX(0);
    transition: var(--transition);
}

.search-box:hover::before {
    transform: scaleX(1);
}

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 180px;
    text-align: center;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-buttons .btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== HERO SEARCH BOX ===== */
.hero-search-container {
    position: relative;
    z-index: 2;
}

.hero-search-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.hero-search-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
    transform: scaleX(0);
    transition: var(--transition);
}

.hero-search-box:hover::before {
    transform: scaleX(1);
}

/* ===== STATISTICS CARDS ===== */
.stat-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-card i {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.stat-card:hover i {
    transform: scale(1.1);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

/* ===== PROPERTY CARDS ===== */
.property-card {
    height: 100%;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
    z-index: 1;
}

.property-card:hover::before {
    transform: scaleX(1);
}

.property-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    transition: var(--transition);
}

.property-card .card-text {
    color: var(--gray-600);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.property-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.property-card:hover .card-title {
    color: var(--gray-900);
}

.property-card:hover .card-text {
    color: var(--gray-600);
}

.property-card:hover .price {
    transform: none;
}

.property-features {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.property-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.property-features .feature-value {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1.125rem;
    transition: var(--transition);
}

.property-features .feature-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
    transition: var(--transition);
}

.property-card:hover .property-features .feature-value {
    color: var(--gray-900);
    transform: none;
}

.property-card:hover .property-features .feature-label {
    color: var(--gray-500);
}

/* ===== FOOTER ===== */
.footer-wrapper {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin: 0;
    margin-top: auto;
    bottom: 0;
    width: 100%;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.footer-main {
    padding: 2.5rem 0 1.5rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand .brand-logo {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

.footer-brand .brand-logo:hover {
    transform: scale(1.05);
}

.footer-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scale(0);
    transition: var(--transition);
    border-radius: 50%;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-link i {
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
    margin-top: 0.25rem;
    transition: var(--transition);
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--primary-light);
}

.contact-item div {
    color: var(--gray-400);
    line-height: 1.5;
}

.contact-item strong {
    color: white;
}

.footer-bottom {
    background: var(--gray-800);
    padding: 1rem 0;
    border-top: 1px solid var(--gray-700);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===== BACK TO TOP BUTTON ===== */
/* Back to top button removed */

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

/* Staggered animations for lists */
.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-dark { color: var(--dark-color) !important; }

/* ===== ENHANCED SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-header .lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ENHANCED CARDS ===== */
.enhanced-card {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    background: white;
    position: relative;
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.enhanced-card:hover::before {
    transform: scaleX(1);
}

.enhanced-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* ===== GRADIENT BACKGROUNDS ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-light { background-color: var(--light-color) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

.rounded { border-radius: var(--border-radius) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }
.rounded-xl { border-radius: var(--border-radius-xl) !important; }

/* ===== REGISTER PAGE ===== */
.profile-preview {
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    padding: 1rem;
    background: var(--gray-50);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-placeholder {
    color: var(--gray-500);
}

.profile-placeholder img {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* ===== ABOUT & CONTACT PAGES ===== */
.about-content .feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-content .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-content .feature-icon {
    color: var(--primary-color);
}

.fact-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.fact-item:last-child {
    border-bottom: none;
}

.contact-item {
    padding: 0.5rem 0;
}

.contact-icon {
    width: 50px;
    text-align: center;
}

.business-hours .d-flex {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.business-hours .d-flex:last-child {
    border-bottom: none;
}

.social-links .btn {
    transition: var(--transition);
}

.social-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Favorite Button Styles */
.favorite-toggle-btn {
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
}

.favorite-toggle-btn:hover {
    transform: scale(1.1);
}

.favorite-toggle-btn.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    background-color: transparent;
}

.favorite-toggle-btn.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

.favorite-toggle-btn.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.favorite-toggle-btn.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Map Styles */
#map, #mapPreview {
    border-radius: 8px;
    box-shadow: none;
}

/* Property Card Hover Effects */
.property-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.property-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Recommended Properties Slider Styles */
.recommended-properties-slider {
    margin-top: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: none;
}

.recommended-properties-slider .card {
    border: none;
    background: transparent;
    box-shadow: none;
}

.recommended-properties-slider .card-header {
    background: transparent;
    border: none;
    padding: 0 0 1.5rem 0;
}

.recommended-properties-slider .card-header h4 {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.75rem;
}

.recommended-properties-slider .card-header small {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

.swiper-container {
    padding: 20px 0;
    position: relative;
}

.swiper-slide {
    height: auto;
    transition: all 0.3s ease;
}

.swiper-slide:hover {
    transform: none;
}

.recommended-property-card {
    background: white;
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    backdrop-filter: none;
}

.recommended-property-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--primary-color);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.recommended-property-card:hover .property-image img {
    transform: none;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 3.5rem;
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.property-badge .badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.property-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 2;
}

.price-tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    backdrop-filter: blur(10px);
}

.property-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-location {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.property-features {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.feature {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--gray-700);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.feature:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-2px);
}

.agent-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.agent-info:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: var(--primary-color);
}

.agent-info small {
    font-weight: 600;
    color: var(--gray-600);
}

.agent-info strong {
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary-color);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.4rem;
    font-weight: bold;
}

.swiper-pagination {
    position: relative;
    margin-top: 1.5rem;
}

.swiper-pagination-bullet {
    background: var(--gray-300);
    opacity: 1;
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .recommended-properties-slider {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .recommended-properties-slider .card-header h4 {
        font-size: 1.5rem;
    }
    
    .recommended-property-card {
        margin: 0 10px;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-info {
        padding: 1.25rem;
    }
    
    .property-title {
        font-size: 1rem;
    }
    
    .feature {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 45px;
        height: 45px;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .main-content {
        padding-top: 70px;
        min-height: calc(100vh - 70px);
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.125rem;
    }
    
    .search-box {
        margin-top: 2rem;
    }
    
    .hero-search-box {
        margin-top: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        min-width: 160px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Back to top button removed */
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: 70px;
        min-height: calc(100vh - 70px);
    }
    
    .hero-section {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        min-width: 200px;
        margin-bottom: 1rem;
    }
    
    .hero-search-box {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .search-box {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header .lead {
        font-size: 1.125rem;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 5px;
    border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* ===== SELECTION STYLES ===== */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== FOCUS STATES ===== */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    border-radius: var(--border-radius);
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 10000;
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
}

/* Additional Slider Enhancements */
.swiper-container {
    overflow: visible;
}

.swiper-slide {
    opacity: 0.7;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1.02);
}

.swiper-slide-prev,
.swiper-slide-next {
    opacity: 0.8;
}

/* Enhanced card animations */
.recommended-property-card {
    position: relative;
    overflow: hidden;
}

.recommended-property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.recommended-property-card:hover::before {
    left: 100%;
}

.recommended-property-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 50%, rgba(37, 99, 235, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.recommended-property-card:hover::after {
    opacity: 1;
}

/* Enhanced image hover effects */
.property-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 50%, rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.recommended-property-card:hover .property-image::before {
    opacity: 1;
}

/* Enhanced button styles */
.recommended-property-card .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.recommended-property-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.recommended-property-card .btn:hover::before {
    left: 100%;
}

.recommended-property-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Enhanced navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-next {
    right: -25px;
}

.swiper-button-prev {
    left: -25px;
}

/* Enhanced pagination */
.swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.swiper-pagination-bullet {
    position: relative;
    overflow: hidden;
}

.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
}

.swiper-pagination-bullet-active::before {
    left: 0;
}

/* Loading animation for images */
.property-image img {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for cards */
.swiper-slide:nth-child(1) .recommended-property-card { animation-delay: 0.1s; }
.swiper-slide:nth-child(2) .recommended-property-card { animation-delay: 0.2s; }
.swiper-slide:nth-child(3) .recommended-property-card { animation-delay: 0.3s; }
.swiper-slide:nth-child(4) .recommended-property-card { animation-delay: 0.4s; }

/* Enhanced responsive design */
@media (max-width: 576px) {
    .recommended-properties-slider {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .swiper-pagination {
        margin-top: 1rem;
    }
}

@media (min-width: 1400px) {
    .recommended-properties-slider {
        padding: 3rem;
    }
    
    .swiper-button-next {
        right: -35px;
    }
    
    .swiper-button-prev {
        left: -35px;
    }
}

/* ===== LISTING DETAILS PAGE ===== */
.listing-details-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.listing-details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.listing-breadcrumb {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.listing-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
}

.listing-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.listing-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-dark);
}

.listing-breadcrumb .breadcrumb-item.active {
    color: var(--gray-600);
    font-weight: 600;
}

/* Main Content Layout */
.listing-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
    .listing-main-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Property Images Section */
.property-images-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.2);
}

.property-images-section .card {
    border: none;
    background: transparent;
    box-shadow: none;
    margin: 0;
}

/* Enhanced Image Carousel */
.property-image-carousel {
    position: relative;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.property-image-carousel .carousel {
    border-radius: 20px;
    overflow: hidden;
}

.property-image-carousel .carousel-item {
    height: 500px;
    position: relative;
}

.property-image-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-image-carousel .carousel-item:hover img {
    transform: scale(1.02);
}

.property-image-carousel .carousel-caption {
    background: rgba(0,0,0,0.7);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.property-image-carousel .carousel-control-prev,
.property-image-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.property-image-carousel .carousel-control-prev:hover,
.property-image-carousel .carousel-control-next:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.property-image-carousel .carousel-indicators {
    bottom: 20px;
}

.property-image-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.property-image-carousel .carousel-indicators button.active {
    background: var(--primary-color);
    border-color: white;
    transform: scale(1.2);
}

/* Image Thumbnails */
.property-thumbnails {
    padding: 1.5rem;
    background: white;
}

.property-thumbnails .row {
    margin: 0 -0.5rem;
}

.property-thumbnails .col-2 {
    padding: 0 0.5rem;
}

.property-thumbnail {
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.property-thumbnail:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.property-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-thumbnail:hover img {
    transform: scale(1.1);
}

/* Property Details Section */
.property-details-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.2);
}

.property-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-100);
}

.property-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.property-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-reference {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.property-location {
    color: var(--gray-600);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-price-section {
    text-align: right;
}

.property-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.property-price-period {
    color: var(--gray-500);
    font-size: 1rem;
    font-weight: 500;
}

.property-favorite-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.property-favorite-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.property-favorite-btn.favorited {
    background: var(--danger-color);
    border-color: var(--danger-color);
    color: white;
}

/* Property Features Grid */
.property-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.property-feature-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.property-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s ease;
}

.property-feature-item:hover::before {
    left: 100%;
}

.property-feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.property-feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.property-feature-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.property-feature-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Property Description */
.property-description {
    margin-bottom: 2rem;
}

.property-description h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.property-description p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Property Details Table */
.property-details-table {
    margin-bottom: 2rem;
}

.property-details-table h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.property-details-table .table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.property-details-table .table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem 1.5rem;
}

.property-details-table .table td {
    padding: 1rem 1.5rem;
    border-color: var(--gray-100);
    vertical-align: middle;
}

.property-details-table .table tbody tr:hover {
    background: var(--gray-50);
}

/* Google Maps Section */
.google-maps-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 2rem;
}

.google-maps-section .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
}

.google-maps-section .card-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.3rem;
}

.google-maps-section .card-body {
    padding: 0;
}

.google-maps-container {
    height: 450px;
    width: 100%;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.google-maps-button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.google-maps-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Property Features Section */
.property-features-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 2rem;
}

.property-features-section .card-header {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
}

.property-features-section .card-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.3rem;
}

.property-features-section .card-body {
    padding: 2rem;
}

.property-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.property-feature-category h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.property-feature-item:last-child {
    border-bottom: none;
}

.property-feature-item i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.property-feature-item span {
    color: var(--gray-700);
    font-weight: 500;
}

/* Sidebar */
.listing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.listing-sidebar .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
}

.listing-sidebar .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 1.5rem;
}

.listing-sidebar .card-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.listing-sidebar .card-body {
    padding: 1.5rem;
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.contact-form .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Share Buttons */
.share-buttons {
    display: grid;
    gap: 0.75rem;
}

.share-button {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.share-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.share-button.facebook {
    background: #1877f2;
    color: white;
    border: 2px solid #1877f2;
}

.share-button.facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.share-button.twitter {
    background: #1da1f2;
    color: white;
    border: 2px solid #1da1f2;
}

.share-button.twitter:hover {
    background: #1a91da;
    border-color: #1a91da;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3);
}

.share-button.whatsapp {
    background: #25d366;
    color: white;
    border: 2px solid #25d366;
}

.share-button.whatsapp:hover {
    background: #20ba5a;
    border-color: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.share-button.copy-link {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.share-button.copy-link:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Similar Properties */
.similar-properties {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
}

.similar-properties p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.similar-properties .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.similar-properties .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .listing-details-page {
        padding: 1rem 0;
    }
    
    .listing-details-container {
        padding: 0 0.5rem;
    }
    
    .property-title {
        font-size: 2rem;
    }
    
    .property-price {
        font-size: 2rem;
    }
    
    .property-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .property-feature-item {
        padding: 1rem 0.75rem;
    }
    
    .property-feature-icon {
        font-size: 2rem;
    }
    
    .property-feature-value {
        font-size: 1.25rem;
    }
    
    .property-image-carousel .carousel-item {
        height: 350px;
    }
    
    .property-thumbnail {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .listing-main-content {
        gap: 1rem;
    }
    
    .property-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .property-price-section {
        text-align: left;
    }
    
    .property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .property-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MODERN LISTING CARDS ===== */
.listing-card-modern {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: none;
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.listing-card-modern:hover {
    border-color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

.listing-card-modern .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: none;
}

.listing-card-modern:hover .card-img-top {
    transform: none;
}

/* Property Image Container */
.property-image-container {
    position: relative;
    overflow: hidden;
}

/* Property Badge Top Left */
.property-badge-top-left {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.property-badge-top-left .badge {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--gray-700) !important;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-block;
}



/* Favorite Icon */
.property-favorite-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.property-favorite-icon:hover {
    background-color: var(--danger-color);
    color: white;
}

.property-favorite-icon i {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.property-favorite-icon:hover i {
    color: white;
}

/* Property Watermark */
.property-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    opacity: 0.7;
    pointer-events: none;
}

.watermark-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.25rem;
}

.watermark-icon {
    font-size: 0.9rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Card Body Styling */
.listing-card-modern .card-body {
    padding: 1.25rem;
}

.listing-card-modern .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Property Features Row */
.property-features-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.feature-item i {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.feature-item span {
    font-weight: 500;
}

/* Property ID and Status */
.property-id-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.property-id {
    color: var(--gray-500);
    font-weight: 500;
}

.property-status {
    color: var(--gray-600);
    text-transform: lowercase;
    font-weight: 400;
}

/* Property Price */
.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0;
}

/* Card Footer */
.listing-card-modern .card-footer {
    background: transparent;
    border-top: 1px solid var(--gray-200);
    padding: 1.25rem;
}

.listing-card-modern .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.listing-card-modern .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ===== MODERN CONTACT AGENT CARD ===== */
.contact-agent-card {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    background: white;
}

.contact-agent-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    padding: 1.25rem;
}

.contact-agent-card .card-header h5 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.contact-agent-card .card-body {
    padding: 1.5rem;
}

/* Agent Profile Modern */
.agent-profile-modern {
    text-align: center;
}

.agent-avatar-modern {
    margin-bottom: 1.5rem;
}

.agent-profile-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.agent-profile-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
}

/* Agent Info Modern */
.agent-info-modern {
    text-align: center;
}

.agent-name-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Agent Contact Items */
.agent-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--gray-50);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.agent-contact-item:hover {
    background-color: var(--gray-100);
}

.agent-contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.agent-contact-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.agent-contact-link:hover {
    color: var(--primary-color);
}

/* Contact Agent Button */
.btn-contact-agent {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-contact-agent:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-contact-agent:active {
    transform: translateY(0);
}

/* ===== MODERN SIMILAR PROPERTIES CARD ===== */
.similar-properties-card {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    background: white;
}

.similar-properties-card .card-header {
    background: transparent;
    border: none;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.similar-properties-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.similar-properties-title h5 {
    color: #D4AF37; /* Golden color like saragrech.com */
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.similar-properties-subtitle {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.similar-properties-link {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: lowercase;
}

.similar-properties-link:hover {
    color: var(--primary-color);
}

.similar-properties-card .card-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.similar-properties-grid {
    min-height: 100px;
}

.similar-property-placeholder {
    text-align: center;
    padding: 2rem 0;
}

.similar-property-placeholder p {
    color: var(--gray-500);
    font-style: italic;
}

/* ===== RESPONSIVE MODERN LISTING CARDS ===== */
@media (max-width: 1200px) {
    .listing-card-modern .card-title {
        font-size: 1rem;
    }
    
    .property-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .listing-card-modern .card-body {
        padding: 1rem;
    }
    
    .listing-card-modern .card-footer {
        padding: 1rem;
    }
    
    .property-features-row {
        gap: 0.75rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .property-price {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .listing-card-modern .card-img-top {
        height: 180px;
    }
    
    .property-badge-top-left .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .property-badge-top-left {
        gap: 0.2rem;
    }
    
    .property-favorite-icon {
        width: 28px;
        height: 28px;
    }
    
    .watermark-text {
        font-size: 1rem;
    }
    
    .watermark-icon {
        font-size: 0.8rem;
    }
}