/* Global Styles */
:root {
    --kesper-primary: #0A1D37;
    --kesper-accent: #D4AF37;
    --rentme-primary: #FF5A5F;
    --rentme-accent: #FF5A5F;
    --background: #fcfcff;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --luxury-gold: #DAA520	;
    --luxury-dark: #0A1D37;
    --luxury-light: #F8F9FA;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--kesper-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background) 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::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="%23D4AF37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Modern Luxury Hero Section */
.luxury-hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(50%);
}

/* Hero Background Slideshow */
.hero-background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(50%);
    will-change: opacity;
    transform: translateZ(0); /* Force hardware acceleration */
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide:not(.active) {
    z-index: 1;
}

/* Ensure hero section maintains proper dimensions */
.luxury-hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--luxury-gold), rgba(212, 175, 55, 0.3));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-text-content {
    color: var(--white);
    text-align: left;
}

.luxury-badge {
    display: inline-block;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 8px 20px;
    margin-bottom: 2rem;
    animation: slideInDown 1s ease-out;
}

.badge-text {
    color: var(--luxury-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.luxury-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1.2s ease-out;
}

.title-line-1 {
    display: block;
    color: var(--white);
}

.title-line-2 {
    display: block;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.title-accent {
    display: block;
    color: var(--luxury-gold);
    font-size: 3.5rem;
}

.luxury-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 500;
    animation: slideInLeft 1.4s ease-out;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInUp 1.6s ease-out;
}

.btn-luxury-primary,
.btn-luxury-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-luxury-primary {
    background: var(--luxury-gold);
    color: var(--luxury-dark);
    border: 2px solid var(--luxury-gold);
}

.btn-luxury-primary:hover {
    background: transparent;
    color: var(--luxury-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-luxury-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-luxury-secondary:hover {
    background: var(--white);
    color: var(--luxury-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-luxury-primary:hover .btn-icon,
.btn-luxury-secondary:hover .btn-icon {
    transform: translateX(5px);
}

.hero-visual-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-property-cards {
    position: relative;
    width: 100%;
    height: 400px;
}

.property-card-float {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: floatCard 8s ease-in-out infinite;
    transition: all 0.3s ease;
}

.property-card-float:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 15%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    background-image: url('./assets/images/ncy.png');

}
.modern-region-card {
    position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    height: 300px; /* adjust as needed */
  }
  
  .card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;   /* makes it fit */
    background-position: center; /* centers image */
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
  }
  
  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* dark overlay for readability */
  }
  
  .card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  
  .card-content h3 {
    font-size: 1.5rem;
    margin: 10px 0;
  }
  
  .card-content p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .card-arrow {
    font-size: 1.2rem;
    margin-top: auto;
  }
  
  /* Hover effect */
  .modern-region-card:hover .card-background {
    transform: scale(1.05);
  }
  
  /* Responsive fix */
  @media (max-width: 768px) {
    .modern-region-card {
      height: 220px;
    }
    .card-content h3 {
      font-size: 1.2rem;
    }
    .card-content p {
      font-size: 0.9rem;
    }
  }
  
.card-icon {
    font-size: 2rem;
    background: var(--luxury-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--luxury-dark);
}

.card-text h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.card-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Modern Scroll Indicator - Clean & Responsive */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 50px;
    background: #ffffff;
    border: 4px solid #2c3e50;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    width: 70px;
    height: 70px;
    opacity: 1;
    visibility: visible;
}

/* Ensure scroll indicator works in all hero sections */
.luxury-hero-section .scroll-indicator,
.hero-section-banner .scroll-indicator,
.modern-hero-section .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.scroll-indicator:hover .scroll-arrow {
    transform: scale(1.1);
    animation-duration: 1s;
}

/* Scroll text hover removed - using arrow only */

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 4px solid #2c3e50;
    border-radius: 50%;
    position: relative;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.5);
    opacity: 1;
    visibility: visible;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-right: 4px solid #2c3e50;
    border-bottom: 4px solid #2c3e50;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(44, 62, 80, 0.6);
    opacity: 1;
    visibility: visible;
}

/* Scroll text removed - using arrow only */

/* Animations removed - arrows are now completely static and stable */

/* Mobile Responsive Scroll Indicator */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 1.5rem;
        padding: 0.75rem;
        width: 60px;
        height: 60px;
        background: #ffffff;
        border: 4px solid #2c3e50;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
        opacity: 1;
        visibility: visible;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
        border: 3px solid #2c3e50;
        opacity: 1;
        visibility: visible;
    }
    
    .scroll-arrow::before {
        width: 10px;
        height: 10px;
        border-right: 3px solid #2c3e50;
        border-bottom: 3px solid #2c3e50;
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        bottom: 1rem;
        padding: 0.6rem;
        width: 55px;
        height: 55px;
        background: #ffffff;
        border: 4px solid #2c3e50;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
        opacity: 1;
        visibility: visible;
    }
    
    .scroll-arrow {
        width: 30px;
        height: 30px;
        border: 3px solid #2c3e50;
        opacity: 1;
        visibility: visible;
    }
    
    .scroll-arrow::before {
        width: 8px;
        height: 8px;
        border-right: 3px solid #2c3e50;
        border-bottom: 3px solid #2c3e50;
        opacity: 1;
        visibility: visible;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .scroll-indicator {
        min-height: 44px;
        min-width: 44px;
        padding: 0.8rem;
    }
    
    .scroll-indicator:hover {
        transform: translateX(-50%) translateY(-4px);
    }
}

@media (max-width: 360px) {
    .scroll-indicator {
        bottom: 10px;
        padding: 6px;
        width: 25px;
        height: 25px;
    }
    
    .scroll-arrow {
        width: 1px;
        height: 12px;
    }
    
    .scroll-arrow::after {
        width: 3px;
        height: 3px;
        left: -1.5px;
        border-right: 1px solid var(--luxury-gold);
        border-bottom: 1px solid var(--luxury-gold);
    }
}

/* Touch Device Optimizations - Arrow Only, Perfectly Centered */
@media (hover: none) and (pointer: coarse) {
    .scroll-indicator {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .scroll-indicator:active {
        transform: translateX(-50%) scale(0.95);
        background: rgba(0, 0, 0, 0.6);
    }
}

/* Region Selector */
.region-selector {
    margin-top: 3rem;
}

.region-selector h3 {
    color: var(--kesper-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.region-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.region-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--kesper-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--kesper-accent);
}

.region-card:hover::before {
    transform: scaleX(1);
}

.region-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.region-card h4 {
    color: var(--kesper-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.region-card p {
    color: var(--text-light);
    margin: 0;
}

/* Features Section */
.features-section {
    background: var(--white);
    padding: 80px 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--kesper-accent), #f0b90b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--kesper-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--kesper-primary) 0%, #1a2f4a 100%);
    color: var(--white);
    padding: 60px 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--kesper-accent);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Property Cards */
.property-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--luxury-gold);
    color: var(--luxury-dark);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid var(--luxury-gold);
}

.property-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--luxury-dark);
    animation: pulse 2s infinite;
}

.property-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: transparent;
    color: var(--luxury-gold);
    border-color: var(--luxury-gold);
}

.property-badge:hover::before {
    background: var(--luxury-gold);
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    color: var(--kesper-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.property-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.property-price {
    color: var(--kesper-accent);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.property-btn {
    background: var(--kesper-primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.property-btn:hover {
    background: var(--kesper-accent);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Search Filters */
.search-filters {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--kesper-primary);
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--kesper-accent);
}

/* Mobile-first filter layout */
@media (max-width: 768px) {
    .search-filters .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .search-filters .row > div:nth-child(odd) {
        padding-right: 0.5rem;
    }
    
    .search-filters .row > div:nth-child(even) {
        padding-left: 0.5rem;
    }
}

@media (max-width: 576px) {
    .search-filters .row > div {
        padding: 0 0.25rem !important;
    }
}

/* Buttons */
.btn-primary {
    background: var(--kesper-primary);
    border-color: var(--kesper-primary);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--kesper-accent);
    border-color: var(--kesper-accent);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--kesper-primary);
    color: var(--kesper-primary);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--kesper-primary);
    border-color: var(--kesper-primary);
}

/* RentMe Branding */
.rentme-brand {
    --primary-color: var(--rentme-primary);
    --accent-color: var(--rentme-accent);
}

.rentme-brand .property-btn {
    background: var(--rentme-primary);
}

.rentme-brand .property-btn:hover {
    background: var(--rentme-accent);
}

.rentme-brand .property-badge {
    background: var(--rentme-primary);
}

/* Region Selector Section */
.region-selector-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--luxury-light) 0%, #ffffff 100%);
    position: relative;
}

.region-selector-section::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="luxury-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23D4AF37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23luxury-pattern)"/></svg>');
    opacity: 0.5;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.title-main {
    display: block;
    color: var(--luxury-dark);
}

.title-accent {
    display: block;
    color: var(--luxury-gold);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.modern-region-card {
    display: block;
    position: relative;
    height: 300px;
    border-radius: 25px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    margin-bottom: 2rem;
}

.modern-region-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
    background-image: url('assets/images/ncy.png');
}

.dubai-card .card-background {
    background-image: linear-gradient(135deg, rgba(10, 29, 55, 0.8), rgba(212, 175, 55, 0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%230A1D37"/><circle cx="200" cy="150" r="50" fill="%23D4AF37" opacity="0.3"/></svg>');
}

.cyprus-card .card-background {
    background-image: linear-gradient(135deg, rgba(212, 175, 55, 0.8), rgba(10, 29, 55, 0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%23D4AF37"/><circle cx="200" cy="150" r="50" fill="%230A1D37" opacity="0.3"/></svg>');
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.modern-region-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: var(--white);
}

.region-icon {
    font-size: 3rem;
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.modern-region-card:hover .region-icon {
    transform: scale(1.1);
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.card-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--luxury-gold);
    transition: all 0.3s ease;
}

.modern-region-card:hover .card-arrow {
    transform: translateX(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .region-cards {
        grid-template-columns: 1fr;
    }
    
    .property-features {
        justify-content: center;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }

    .luxury-hero-title {
        font-size: 2.5rem;
    }
    
    .title-accent {
        font-size: 2.2rem;
    }
    
    .luxury-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-property-cards {
        height: 300px;
    }
    
    .property-card-float {
        padding: 15px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Search Filters Mobile Responsiveness */
    .search-filters {
        padding: 1rem;
    }
    
    .search-filters .row {
        margin: 0;
    }
    
    .search-filters .col-md-2,
    .search-filters .col-md-3 {
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .filter-group {
        margin-bottom: 1rem;
    }
    
    .filter-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .property-filter {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Property Cards Mobile Responsiveness */
    .property-card {
        margin-bottom: 1.5rem;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-content {
        padding: 1rem;
    }
    
    .property-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .property-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .property-feature {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .property-price {
        font-size: 1.2rem;
        margin: 0.5rem 0;
    }
    
    .property-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Hero Section Mobile Responsiveness */
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin: 0.5rem;
    }
    
    /* Features Section Mobile Responsiveness */
    .features-section {
        padding: 2rem 0;
    }
    
    .feature-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Container adjustments */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Results count mobile */
    .text-center h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Alert mobile */
    .alert {
        margin: 1rem 0;
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .property-content {
        padding: 1rem;
    }

    .luxury-hero-title {
        font-size: 2rem;
    }
    
    .title-accent {
        font-size: 1.8rem;
    }
    
    .floating-shape {
        display: none;
    }
    
    .floating-property-cards {
        height: 250px;
    }
    
    .modern-region-card {
        height: 250px;
    }
    
    /* Extra Small Screen Optimizations */
    .search-filters {
        padding: 0.5rem;
    }
    
    .search-filters .col-md-2,
    .search-filters .col-md-3 {
        padding: 0 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .filter-group label {
        font-size: 0.8rem;
    }
    
    .property-filter {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .property-image {
        height: 180px;
    }
    
    .property-content {
        padding: 0.75rem;
    }
    
    .property-title {
        font-size: 1rem;
    }
    
    .property-feature {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .property-price {
        font-size: 1.1rem;
    }
    
    .property-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-section .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin: 0.25rem;
    }
    
    .feature-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .text-center h2 {
        font-size: 1.3rem;
    }
    
    .alert {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Button spacing for very small screens */
    .mt-4 .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* Grid adjustments for very small screens */
    .col-lg-4,
    .col-md-6 {
        padding: 0 0.25rem;
    }
    
    /* Property card spacing */
    .mb-4 {
        margin-bottom: 1rem !important;
    }
}

/* 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);
    }
}



/* Animation Keyframes for Luxury Design */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Professional Real Estate Styles */
.search-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--kesper-primary);
    margin-bottom: 1rem;
}

.search-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.property-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--kesper-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--kesper-primary);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.property-type-badge {
    background: var(--kesper-accent);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 12px;
}

.property-location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.property-location i {
    color: var(--kesper-accent);
    margin-right: 8px;
    width: 16px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
    border: 1px solid #e9ecef;
}

.feature-item i {
    color: var(--kesper-primary);
    margin-right: 6px;
    width: 14px;
    text-align: center;
}

.property-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--kesper-primary);
}

.property-btn {
    background: var(--kesper-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--kesper-primary);
}

.property-btn:hover {
    background: var(--kesper-accent);
    border-color: var(--kesper-accent);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Professional Search Filters */
.search-filters {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    color: var(--kesper-primary);
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-filter {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.property-filter:focus {
    outline: none;
    border-color: var(--kesper-primary);
    box-shadow: 0 0 0 3px rgba(10, 29, 55, 0.1);
}

/* Utility Classes */
.text-primary { color: var(--kesper-primary) !important; }
.text-accent { color: var(--kesper-accent) !important; }
.bg-primary { background-color: var(--kesper-primary) !important; }
.bg-accent { background-color: var(--kesper-accent) !important; }

.shadow-custom {
    box-shadow: var(--shadow);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

/* Map Styles */
.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
} 

/* Responsive slideshow for mobile devices */
@media (max-width: 768px) {
    .slide {
        background-position: center center;
        background-size: cover;
    }
    
    .hero-background-slideshow {
        height: 100%;
        width: 100%;
    }
    
    .luxury-hero-section {
        min-height: 80vh;
    }
}

@media (max-width: 480px) {
    .slide {
        background-position: center center;
        background-size: cover;
    }
    
    .hero-background-slideshow {
        height: 100%;
        width: 100%;
    }
    
    .luxury-hero-section {
        min-height: 70vh;
    }
}

/* Ensure slideshow works on all screen sizes */
@media (max-width: 1200px) {
    .slide {
        background-size: cover;
        background-position: center;
    }
}

/* Search Banner Section - Modern Design */
.search-banner-section {
    position: relative;
    background: linear-gradient(135deg, var(--kesper-primary) 0%, var(--luxury-dark) 100%);
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.search-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/search-banner-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 29, 55, 0.9) 0%, rgba(10, 29, 55, 0.8) 100%);
    z-index: 2;
}

.search-banner-section .container {
    z-index: 3;
}

.search-banner-section .search-filters {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 10;
}

.search-banner-section .filter-group label {
    color: var(--kesper-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-banner-section .property-filter {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(10, 29, 55, 0.15);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-banner-section .property-filter:focus {
    border-color: var(--kesper-accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.search-banner-section .btn-primary {
    background: linear-gradient(135deg, var(--kesper-primary) 0%, var(--kesper-accent) 100%);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 29, 55, 0.3);
}

.search-banner-section .btn-primary:hover {
    background: linear-gradient(135deg, var(--kesper-accent) 0%, var(--kesper-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.search-banner-section .btn-outline-primary {
    border: 2px solid var(--kesper-primary);
    color: var(--kesper-primary);
    background: transparent;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 29, 55, 0.1);
}

.search-banner-section .btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--kesper-primary) 0%, var(--kesper-accent) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 29, 55, 0.3);
}

/* Button Logo Styling */
.btn-logo {
    width: 24px;
    height: 24px;
    margin-right: 0px;
    vertical-align: middle;
    display: inline-block;
    filter: brightness(0) invert(1); /* Make logo white */
    transition: all 0.3s ease;
    object-fit: contain;
}

/* Enhanced logo styling for hero buttons */
.btn-hero-primary .btn-logo,
.btn-hero-outline .btn-logo {
    width: 28px;
    height: 28px;
    margin-right: 0px;
    filter: brightness(0) invert(1); /* Make logo white */
}

/* Logo hover effects */
.btn-hero-primary:hover .btn-logo {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

.btn-hero-outline:hover .btn-logo {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .btn-logo {
        width: 20px;
        height: 20px;
        margin-right: 0px;
    }
    
    .btn-hero-primary .btn-logo,
    .btn-hero-outline .btn-logo {
        width: 24px;
        height: 24px;
        margin-right: 0px;
    }
}

/* Modern Mobile Responsive Search Banner */
@media (max-width: 768px) {
    .search-banner-section {
        border-radius: 0 0 20px 20px;
        margin-bottom: 1rem;
    }
    
    .search-banner-section .search-filters {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 15px;
    }
    
    .search-banner-section .col-md-2,
    .search-banner-section .col-md-3,
    .search-banner-section .col-md-4 {
        margin-bottom: 1.5rem;
    }
    
    .search-banner-section .property-filter {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .search-banner-section .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .search-banner-section .filter-group label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .search-banner-section .search-filters {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
        border-radius: 12px;
    }
    
    .search-banner-section .property-filter {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .search-banner-section .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .search-banner-section .filter-group label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .btn-logo {
        width: 18px;
        height: 18px;
        margin-right: 0px;
    }
    
    .btn-hero-primary .btn-logo,
    .btn-hero-outline .btn-logo {
        width: 22px;
        height: 22px;
        margin-right: 0px;
    }

}

/* Responsive Design for Search Banners */
@media (max-width: 1200px) {
    .search-banner-section .search-filters {
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .search-banner-section .search-filters {
        padding: 1.25rem;
    }
    
    .search-banner-section .col-md-2,
    .search-banner-section .col-md-3 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .search-banner-section .search-filters {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .search-banner-section .row {
        margin: 0;
    }
    
    .search-banner-section .col-md-2,
    .search-banner-section .col-md-3 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .search-banner-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .search-banner-section .search-filters {
        padding: 0.75rem;
        margin: 0 0.5rem;
    }
    
    .search-banner-section .filter-group {
        margin-bottom: 1rem;
    }
    
    .search-banner-section .property-filter {
        padding: 0.5rem;
        font-size: 14px;
    }
    
    .search-banner-section .btn {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }
}

/* Modern Hero Section */
.modern-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 2rem;
    animation: slideInDown 1s ease-out;
}

.badge-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    animation: slideInUp 1.2s ease-out;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.title-accent {
    display: block;
    color: #ffffff;
    font-size: 3.5rem;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 500;
    animation: slideInUp 1.4s ease-out;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideInUp 1.6s ease-out;
}

.btn-hero-primary,
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.btn-hero-primary {
    background: var(--rentme-primary, #FF5A5F);
    color: #ffffff;
    border: 2px solid var(--rentme-primary, #FF5A5F);
}

.btn-hero-primary:hover {
    background: #FF3A40;
    border-color: #FF3A40;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 90, 95, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.btn-hero-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: #ffffff;
    color: var(--rentme-primary, #FF5A5F);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.btn-hero-primary .btn-logo,
.btn-hero-outline .btn-logo {
    width: 20px;
    height: 20px;
    margin-right: 0px;
}

/* North Cyprus Buy Page Specific Button Styles */
.btn-hero-primary:first-child {
    background: #0A1D37 !important;
    color: #ffffff !important;
    border: 2px solid #0A1D37 !important;
}

/* North Cyprus Rent Page Logo Enhancement */
.north-cyprus-rent .btn-hero-primary .btn-logo {
    filter: brightness(0) invert(1) !important; /* Force white logo */
    width: 28px !important;
    height: 28px !important;
    margin-right: 0px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    object-fit: contain !important;
    background: transparent !important;

}

.north-cyprus-rent .btn-hero-primary:hover .btn-logo {
    transform: scale(1.15) !important;
    filter: brightness(0) invert(1) drop-shadow(0 3px 6px rgba(255, 255, 255, 0.4)) !important;
}

/* Fallback logo styling for all pages */
.btn-logo {
    min-width: 24px;
    min-height: 24px;
    max-width: 28px;
    max-height: 28px;
}

/* Ensure logo is always visible */
.btn-hero-primary .btn-logo,
.btn-hero-outline .btn-logo {
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-hero-primary:first-child:hover {
    background: #D4AF37 !important;
    border-color: #D4AF37 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10, 29, 55, 0.3);
    color: #ffffff !important;
    text-decoration: none;
}

.btn-hero-primary:last-child {
    background: #FF5A5F !important;
    color: #ffffff !important;
    border: 2px solid #FF5A5F !important;
}

.btn-hero-primary:last-child:hover {
    background: #FF3A40 !important;
    border-color: #FF3A40 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 90, 95, 0.3);
    color: #ffffff !important;
    text-decoration: none;
}



/* Hero Section Responsive */
@media (max-width: 768px) {
    .modern-hero-section {
        min-height: 80vh;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .title-accent {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-hero-section {
        min-height: 70vh;
    }
    
    .hero-main-title {
        font-size: 2rem;
    }
    
    .title-accent {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        padding: 10px 20px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        padding: 16px 24px;
        font-size: 1rem;
        min-width: 200px;
    }
} 



/* Enhanced filter animations for mobile */
@media (prefers-reduced-motion: no-preference) {
    .property-filter {
        transition: all 0.2s ease;
    }
    
    .property-filter:active {
        transform: scale(0.98);
    }
    
    .search-filters .btn:active {
        transform: scale(0.95);
    }
}

/* Filter focused state for enhanced mobile UX */
.filter-focused {
    transform: scale(1.02);
    z-index: 10;
    position: relative;
}

.filter-focused .property-filter {
    border-color: var(--kesper-accent) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2) !important;
    background: #fff !important;
}

.filter-focused label {
    color: var(--kesper-accent) !important;
    font-weight: 700 !important;
}

/* Improved mobile touch targets */
@media (max-width: 768px) {
    .filter-focused {
        transform: scale(1.05);
        margin: 5px 0;
    }
}

/* Modern Dual-Handle Range Slider */
.price-range-container {
    margin: 1rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.range-slider-wrapper {
    position: relative;
    height: 8px;
    margin: 2rem 0;
    background: #f0f0f0;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.range-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
    cursor: pointer;
}

.range-slider::-webkit-slider-track {
    width: 100%;
    height: 8px;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--luxury-gold);
    border: 4px solid white;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.range-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6), 0 6px 12px rgba(0, 0, 0, 0.2);
}

.range-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--luxury-gold);
    border: 4px solid white;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.range-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--luxury-gold) 0%, var(--luxury-gold) 100%);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    pointer-events: none;
    z-index: 1;
    transition: all 0.3s ease;
}

.range-values {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: space-between;
}

.range-value {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 120px;
}

.range-value label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--luxury-gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    margin-bottom: 0.25rem;
}

.range-input {
    width: 100%;
    padding: 0.75rem 0.5rem;
    border: 2px solid var(--luxury-gold);
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--luxury-dark);
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
}

.range-input:focus {
    outline: none;
    border-color: var(--luxury-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), 0 4px 12px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.range-input::placeholder {
    color: rgba(212, 175, 55, 0.6);
    font-weight: 500;
}

/* Price Range Labels */
.price-range-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--luxury-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-range-min-label {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.price-range-max-label {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Mobile Responsive Price Range Slider */
@media (max-width: 768px) {
    .price-range-container {
        padding: 1rem;
        margin: 0.75rem 0;
    }
    
    .range-slider-wrapper {
        height: 10px;
        margin: 1.5rem 0;
    }
    
    .range-slider {
        height: 10px;
    }
    
    .range-slider::-webkit-slider-thumb {
        width: 28px;
        height: 28px;
    }
    
    .range-slider::-moz-range-thumb {
        width: 28px;
        height: 28px;
    }
    
    .range-track {
        height: 10px;
    }
    
    .range-values {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .range-value {
        max-width: 100%;
    }
    
    .range-input {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .price-range-labels {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .price-range-container {
        padding: 0.75rem;
        margin: 0.5rem 0;
    }
    
    .range-slider-wrapper {
        height: 8px;
        margin: 1rem 0;
    }
    
    .range-slider {
        height: 8px;
    }
    
    .range-slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    .range-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
    }
    
    .range-track {
        height: 8px;
    }
    
    .range-input {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .range-value label {
        font-size: 0.8rem;
    }
}

/* Enhanced Mobile Responsiveness for All Pages */
@media (max-width: 1200px) {
    .search-banner-section .search-filters {
        padding: 1.5rem;
    }
    
    .search-banner-section .col-md-2,
    .search-banner-section .col-md-3,
    .search-banner-section .col-md-4 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 992px) {
    .search-banner-section .search-filters {
        padding: 1.25rem;
    }
    
    .search-banner-section .col-md-2,
    .search-banner-section .col-md-3,
    .search-banner-section .col-md-4 {
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .title-accent {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .modern-hero-section {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .title-accent {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    /* Search Filters Mobile */
    .search-banner-section .search-filters {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .search-banner-section .row {
        margin: 0;
    }
    
    .search-banner-section .col-md-2,
    .search-banner-section .col-md-3,
    .search-banner-section .col-md-4 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .search-banner-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Property Cards Mobile */
    .property-card {
        margin-bottom: 1.5rem;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-content {
        padding: 1rem;
    }
    
    .property-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .property-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .property-feature {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .property-price {
        font-size: 1.2rem;
        margin: 0.5rem 0;
    }
    
    .property-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Features Section Mobile */
    .features-section {
        padding: 2rem 0;
    }
    
    .feature-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Container adjustments */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Results count mobile */
    .text-center h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Alert mobile */
    .alert {
        margin: 1rem 0;
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    /* Extra Small Screen Optimizations */
    .modern-hero-section {
        min-height: 70vh;
        padding-top: 70px;
    }
    
    .hero-main-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .title-accent {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        padding: 10px 20px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        padding: 16px 24px;
        font-size: 1rem;
        min-width: 200px;
    }
    
    /* Search Filters Extra Small */
    .search-banner-section .search-filters {
        padding: 0.75rem;
        margin: 0 0.5rem;
    }
    
    .search-banner-section .col-md-2,
    .search-banner-section .col-md-3,
    .search-banner-section .col-md-4 {
        padding: 0 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .filter-group {
        margin-bottom: 1rem;
    }
    
    .filter-group label {
        font-size: 0.8rem;
    }
    
    .property-filter {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Property Cards Extra Small */
    .property-image {
        height: 180px;
    }
    
    .property-content {
        padding: 0.75rem;
    }
    
    .property-title {
        font-size: 1rem;
    }
    
    .property-feature {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .property-price {
        font-size: 1.1rem;
    }
    
    .property-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    /* Features Section Extra Small */
    .feature-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .text-center h2 {
        font-size: 1.3rem;
    }
    
    .alert {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Button spacing for very small screens */
    .mt-4 .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* Grid adjustments for very small screens */
    .col-lg-4,
    .col-md-6 {
        padding: 0 0.25rem;
    }
    
    /* Property card spacing */
    .mb-4 {
        margin-bottom: 1rem !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-hero-primary,
    .btn-hero-outline,
    .property-btn,
    .btn-primary,
    .btn-outline-primary {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .property-filter {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .scroll-indicator {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===========================================
   PRICE RANGE INPUTS
   =========================================== */

.price-inputs {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.price-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-input-group label {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    margin-bottom: 5px;
}

.price-input-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.price-input-group input:focus {
    outline: none;
    border-color: #01940b;
    box-shadow: 0 0 0 2px rgba(1, 148, 11, 0.1);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .price-inputs {
        flex-direction: column;
        gap: 10px;
    }
}
