/* Typography */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --modern-blue: #3b82f6;
    --modern-gray: #f1f5f9;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--modern-gray);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 80px 0 50px;
    position: relative;
    overflow: hidden;
    min-height: 64vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    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="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(45deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Tiny logo next to hero title */
.hero-logo {
    height: 0.6em;
    width: auto;
    display: inline-block;
    vertical-align: -0.12em;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
    font-weight: 600;
    letter-spacing: 0.025em;
}

.hero-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.hero-stats {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-light);
}

/* Benefit chips under hero description */
.benefit-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    padding: 6px 10px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Chip bar (links under hero buttons) */
.chip-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}


.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    backdrop-filter: blur(6px);
}

.chip i { opacity: 0.95; }

.chip:hover {
    background: rgba(255,255,255,0.24);
    border-color: rgba(255,255,255,0.34);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.chip:focus-visible {
    outline: 2px solid rgba(255,255,255,0.7);
    outline-offset: 2px;
}

.chip.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    box-shadow: none;
}

/* Extended Navigation Buttons */
.nav-button-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 24px;
    overflow: hidden;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.14);
    border: 2px solid rgba(255,255,255,0.32);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    min-width: 150px;
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    white-space: nowrap;
}

.nav-button i {
    font-size: 1rem;
    opacity: 0.95;
    flex-shrink: 0;
}

.nav-button span {
    flex: 1;
}

.nav-button:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.nav-button:focus-visible {
    outline: 2px solid rgba(255,255,255,0.8);
    outline-offset: 3px;
}

.nav-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    box-shadow: none;
    pointer-events: none;
}

.nav-button.disabled:hover {
    transform: none;
}

/* Metrics glass card content */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
}

.metric-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.bg-indigo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.bg-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.bg-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.metric-value { font-size: 1.2rem; font-weight: 800; color: #fff; line-height: 1; }
.metric-label { font-weight: 600; color: rgba(255,255,255,0.85); font-size: 0.8rem; }
.metric-subtext { margin-top: 8px; color: rgba(255,255,255,0.85); font-size: 0.8rem; text-align: center; }

.stats-counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stats-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Search Section */
.search-section {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 50px;
    box-shadow: var(--shadow-medium);
    margin-top: -80px;
    position: relative;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.18);
}

/* When a headline is present above, do not overlap the search card */
.headline-section + .search-section {
    margin-top: 20px !important;
}

.search-form {
    box-shadow: var(--shadow-light);
    border-radius: 20px;
    padding: 30px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.search-input {
    position: relative;
    padding-left: 45px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
}

.search-btn {
    background: var(--secondary-gradient);
    border: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
    padding: 16px 24px;
}

.search-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Property Cards */
.property-card {
    background: #f8fafc !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.05);
}

.property-image-placeholder, .card-img-top.project-image-placeholder, .bg-light {
    background: #f1f5f9 !important;
}

.property-content {
    background: #f8fafc !important;
}

.property-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.property-card .property-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--modern-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 3;
    box-shadow: var(--shadow-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-card .property-type-badge.residential { background: linear-gradient(135deg, #10b981, #059669); }
.property-card .property-type-badge.commercial { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.property-card .property-type-badge.land { background: linear-gradient(135deg, #f59e0b, #d97706); }
.property-card .property-type-badge.industrial { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.property-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    background: var(--modern-gray);
}

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

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

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-light);
    z-index: 3;
}

.property-type-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--modern-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 3;
    box-shadow: var(--shadow-light);
}

.property-content {
    padding: 25px;
    position: relative;
}

.property-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
    letter-spacing: -0.025em;
}

.property-title a:hover {
    color: #3498db;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.875rem;
    color: var(--text-light);
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.property-location, .property-firm {
    display: flex;
    align-items: center;
    color: #3498db;
}

.property-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 5px;
    letter-spacing: -0.025em;
}

.property-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.property-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: white;
}

/* Firm Cards */
.firm-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    border-radius: 24px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0,0,0,0.05);
}

.card, .card-body, .card-header {
    background: #f8fafc !important;
}

.bg-light, .bg-white {
    background: #f8fafc !important;
}

.firm-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.firm-logo-container {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.firm-logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 4px solid #e9ecef;
    transition: all 0.3s ease;
}

.firm-logo:hover {
    border-color: #3498db;
    transform: scale(1.05);
}

.firm-logo-placeholder {
    width: 90px;
    height: 90px;
    border: 4px solid #3498db;
    transition: all 0.3s ease;
}

.firm-name {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    letter-spacing: -0.025em;
}

.firm-name a:hover {
    color: #3498db;
}

.firm-description {
    line-height: 1.5;
    margin-bottom: 20px;
}

.firm-contact-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.firm-contact-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.firm-btn {
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.firm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(45deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 180px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Section Title */
.section-title {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #e74c3c);
    border-radius: 2px;
}

/* Stats */
.stats-counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stats-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    border: none;
}

.property-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.property-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

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

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

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    z-index: 3;
}

.property-type-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 3;
}

.property-content {
    padding: 25px;
    position: relative;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.property-title a:hover {
    color: #3498db;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: #7f8c8d;
    padding-bottom: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.property-location, .property-firm {
    display: flex;
    align-items: center;
    color: #3498db;
}

.property-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #27ae60;
    margin-bottom: 5px;
}

.property-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.property-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: white;
}

/* Firm Cards */
.firm-card {
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.firm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.firm-logo-container {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.firm-logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 4px solid #e9ecef;
    transition: all 0.3s ease;
}

.firm-logo:hover {
    border-color: #3498db;
    transform: scale(1.05);
}

.firm-logo-placeholder {
    width: 90px;
    height: 90px;
    border: 4px solid #3498db;
    transition: all 0.3s ease;
}

.firm-name {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.firm-name a:hover {
    color: #3498db;
}

.firm-description {
    line-height: 1.5;
    margin-bottom: 20px;
}

.firm-contact-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.firm-contact-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.firm-btn {
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.firm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 180px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #3498db !important;
}

/* Navbar brand logo size */
.brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    color: #6c757d !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 15px !important;
    margin: 0 5px;
}

.nav-link:hover {
    color: #3498db !important;
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

/* Main menu items - more prominent styling */
.nav-link.main-menu-item {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 18px !important;
    margin: 0 3px;
}

.nav-link.main-menu-item:hover {
    background: rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

/* Form Elements */
.form-control, .form-select {
    border-radius: 16px;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.form-control:focus, .form-select:focus {
    border-color: var(--modern-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15), 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
    background: white;
}

.form-control:focus, .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    border-radius: 16px;
    padding: 14px 28px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-primary-custom {
    background: var(--secondary-gradient);
    color: white;
    box-shadow: var(--shadow-medium);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::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-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
    color: white;
}

.btn-outline-primary {
    border-color: #3498db;
    color: #3498db;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer h5 {
    color: #3498db;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 8px;
}

.footer a:hover {
    color: #3498db;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center !important;
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }

    .search-section {
        margin-top: -40px;
        padding: 25px 20px;
    }

    .search-form {
        padding: 15px;
    }

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

    .property-card {
        margin-bottom: 25px;
    }
    
    .property-image {
        height: 220px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }

    .firm-contact {
        justify-content: center !important;
    }
}

@media (max-width: 576px) {
    .property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .stats-counter {
        font-size: 2rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Advertisement Area */
.advertisement-area {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    min-height: 300px;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
}

.advertisement-area:hover {
    box-shadow: var(--shadow-medium);
}

.advertisement-area img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Responsive adjustments for advertisement */
@media (max-width: 991px) {
    .advertisement-area {
        margin-top: 30px;
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .advertisement-area {
        min-height: 200px;
        padding: 15px;
    }
}
/* Modern Stats Cards */
.stats-container { background: rgba(255,255,255,0.12); backdrop-filter: blur(24px); border-radius: 24px; padding: 36px; border: 1.5px solid rgba(255,255,255,0.28); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.stat-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; border-radius: 18px; background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.32); backdrop-filter: blur(16px); transition: all 0.4s ease; }
.stat-card:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(255,255,255,0.5); box-shadow: 0 12px 32px rgba(0,0,0,0.16); }
.stat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.stat-icon i { font-size: 1.5rem; color: white; }
.stat-indigo .stat-icon { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.stat-purple .stat-icon { background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%); }
.stat-pink .stat-icon { background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%); }
.count-up { font-size: 2.25rem; font-weight: 800; color: #fff; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.stat-plus { font-size: 1.6rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-left: 2px; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.95); }
.stats-footer { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: rgba(255,255,255,0.1); border-radius: 14px; }
.stats-footer-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.stats-footer-text { font-size: 0.9rem; color: rgba(255,255,255,0.95); }
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; gap: 16px; } .stat-card { flex-direction: row; text-align: left; gap: 16px; } }

/* Enhanced Modern Stats Cards */
.stats-container { 
    background: rgba(255,255,255,0.15); 
    backdrop-filter: blur(30px); 
    border-radius: 28px; 
    padding: 40px; 
    border: 2px solid rgba(255,255,255,0.35); 
    box-shadow: 0 12px 48px rgba(0,0,0,0.15), inset 0 1px 2px rgba(255,255,255,0.4); 
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 28px; 
    margin-bottom: 32px; 
}

.stat-card { 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    padding: 32px 24px; 
    border-radius: 20px; 
    background: rgba(255,255,255,0.18); 
    border: 2px solid rgba(255,255,255,0.4); 
    backdrop-filter: blur(20px); 
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); 
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(145deg, rgba(255,255,255,0.6), rgba(255,255,255,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card:hover { 
    transform: translateY(-8px) scale(1.04); 
    border-color: rgba(255,255,255,0.6); 
    box-shadow: 0 16px 48px rgba(0,0,0,0.2), 0 0 30px rgba(255,255,255,0.3); 
    background: rgba(255,255,255,0.22);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.stat-indigo:hover .stat-glow {
    opacity: 0.6;
    background: radial-gradient(circle at center, rgba(99,102,241,0.4), transparent 65%);
}

.stat-purple:hover .stat-glow {
    opacity: 0.6;
    background: radial-gradient(circle at center, rgba(168,85,247,0.4), transparent 65%);
}

.stat-pink:hover .stat-glow {
    opacity: 0.6;
    background: radial-gradient(circle at center, rgba(236,72,153,0.4), transparent 65%);
}

.stat-icon { 
    width: 64px; 
    height: 64px; 
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 16px; 
    box-shadow: 0 6px 18px rgba(0,0,0,0.2), inset 0 1px 2px rgba(255,255,255,0.3); 
    transition: all 0.4s ease; 
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-icon { 
    transform: scale(1.15) rotate(8deg); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.4); 
}

.stat-icon i { 
    font-size: 1.8rem; 
    color: white; 
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.stat-indigo .stat-icon { 
    background: linear-gradient(145deg, #7c3aed 0%, #6366f1 50%, #8b5cf6 100%); 
}

.stat-purple .stat-icon { 
    background: linear-gradient(145deg, #9333ea 0%, #a855f7 50%, #7c3aed 100%); 
}

.stat-pink .stat-icon { 
    background: linear-gradient(145deg, #f43f5e 0%, #ec4899 50%, #f472b6 100%); 
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    margin-bottom: 8px;
}

.count-up { 
    font-size: 2.75rem; 
    font-weight: 900; 
    color: #ffffff; 
    line-height: 1; 
    text-shadow: 0 3px 12px rgba(0,0,0,0.25), 0 1px 3px rgba(0,0,0,0.4); 
    transition: all 0.4s ease; 
    letter-spacing: -0.02em;
}

.stat-card:hover .count-up { 
    transform: scale(1.12); 
    text-shadow: 0 5px 20px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.5); 
}

.stat-plus { 
    font-size: 1.85rem; 
    font-weight: 800; 
    color: rgba(255,255,255,0.95); 
    margin-left: 3px; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.stat-label { 
    font-size: 0.95rem; 
    font-weight: 700; 
    color: rgba(255,255,255,1); 
    text-transform: capitalize; 
    letter-spacing: 0.5px; 
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.stats-footer { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    padding: 20px 24px; 
    background: rgba(255,255,255,0.14); 
    border-radius: 16px; 
    border: 1.5px solid rgba(255,255,255,0.25); 
    transition: all 0.3s ease;
}

.stats-footer:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.stats-footer-icon { 
    width: 42px; 
    height: 42px; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: linear-gradient(145deg, #059669 0%, #10b981 50%, #34d399 100%); 
    box-shadow: 0 6px 18px rgba(16,185,129,0.4), inset 0 1px 2px rgba(255,255,255,0.3); 
    flex-shrink: 0;
}

.stats-footer-icon i {
    font-size: 1.1rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.stats-footer-text { 
    font-size: 0.95rem; 
    font-weight: 600; 
    color: rgba(255,255,255,1); 
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.stats-footer-text strong {
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@keyframes stat-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.stat-card:hover .stat-icon {
    animation: stat-pulse 2.5s ease-in-out infinite;
}

@media (max-width: 768px) { 
    .stats-container { padding: 28px; }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; } 
    .stat-card { flex-direction: row; text-align: left; gap: 18px; padding: 24px; } 
    .stat-icon { margin-bottom: 0; width: 56px; height: 56px; }
    .stat-icon i { font-size: 1.5rem; }
    .count-up { font-size: 2.2rem; }
}

/* Remove nested container look - flat design */
.stats-container { 
    background: transparent !important; 
    backdrop-filter: none !important; 
    border-radius: 0 !important; 
    padding: 20px 0 !important; 
    border: none !important; 
    box-shadow: none !important; 
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 32px; 
    margin-bottom: 32px; 
}

.stat-card { 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    padding: 36px 28px; 
    border-radius: 24px; 
    background: rgba(255,255,255,0.16); 
    border: 2px solid rgba(255,255,255,0.35); 
    backdrop-filter: blur(25px); 
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); 
    box-shadow: 0 10px 40px rgba(0,0,0,0.2), inset 0 1px 3px rgba(255,255,255,0.3); 
}

.stat-card:hover { 
    transform: translateY(-10px) scale(1.05); 
    border-color: rgba(255,255,255,0.55); 
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(255,255,255,0.25); 
    background: rgba(255,255,255,0.22);
}

.stats-footer {
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(20px);
    padding: 22px 26px;
    border-radius: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 1px 2px rgba(255,255,255,0.25);
}

/* Advertisement Container Styles */
.advertisement-container {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Advertisement Placeholder Styles */
.advertisement-placeholder {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
}

.placeholder-ad-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.placeholder-ad-content:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #ced4da;
}

.placeholder-ad-content small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    letter-spacing: 0.5px;
}

/* Position-specific placeholder styles */
.header-ad-placeholder .placeholder-ad-content {
    min-height: 90px;
    background: linear-gradient(135deg, #3498db15 0%, #2980b915 100%);
    border-color: #3498db30;
}

.sidebar-placeholder .placeholder-ad-content {
    min-height: 250px;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

.footer-ad-placeholder .placeholder-ad-content {
    min-height: 60px;
    background: linear-gradient(135deg, #2c3e5015 0%, #34495e15 100%);
    border-color: #2c3e5030;
}

.content-placeholder .placeholder-ad-content {
    min-height: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-color: #e9ecef;
}

/* Advertisement banner styles */
.ad-banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.ad-banner img:hover {
    transform: scale(1.02);
}

/* Featured ads styles */
.featured-project-ad,
.featured-firm-ad {
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #3498db;
    border-radius: 8px;
    margin-bottom: 15px;
}

.featured-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
}

.featured-content {
    line-height: 1.6;
}

.featured-content p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* HTML ad content styles */
.ad-html-content {
    padding: 10px;
    text-align: center;
}

/* Responsive design for advertisements */
@media (max-width: 768px) {
    .advertisement-container,
    .advertisement-placeholder {
        margin-bottom: 15px;
    }

    .placeholder-ad-content {
        min-height: 180px !important;
    }

    .header-ad-placeholder .placeholder-ad-content {
        min-height: 70px !important;
    }

    .footer-ad-placeholder .placeholder-ad-content {
        min-height: 50px !important;
    }

    .featured-project-ad,
    .featured-firm-ad {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .placeholder-ad-content {
        min-height: 150px !important;
        padding: 15px;
    }

    .sidebar-placeholder .placeholder-ad-content {
        padding: 15px;
        min-height: 200px !important;
    }
}

/* Call Now Card Styles */
.call-now-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.call-now-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.call-now-card .card-title {
    color: var(--text-dark);
    font-weight: 600;
}

.call-now-card .btn-primary {
    background: var(--primary-gradient);
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.call-now-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.call-now-card .btn-outline-secondary {
    border: 2px solid #e2e8f0;
    color: var(--text-light);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.call-now-card .btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-dark);
}

/* Search Card Styles */
.search-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.search-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.search-card .card-title {
    color: var(--text-dark);
    font-weight: 600;
}

.search-card .form-control,
.search-card .form-select {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.search-card .form-control:focus,
.search-card .form-select:focus {
    border-color: var(--modern-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.search-card .btn-primary {
    background: var(--primary-gradient);
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

/* Headline Section Specific */
.headline-section .search-card {
    border: 2px solid #f0f9ff;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.headline-section .search-card .card-title i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
