/* Ghana Realty Connect - Main Styles */
:root {
    --primary-navy: #1a365d;
    --secondary-navy: #2d5f88;
    --accent-gold: #ffd700;
    --light-gold: #ffed4a;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #4a5568;
    --text-dark: #2d3748;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-bg: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    
    /* Page-Specific Gradients */
    --gradient-home: linear-gradient(135deg, #3B82F6 0%, #10B981 100%); /* Blue to Green */
    --gradient-properties: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%); /* Purple to Pink */
    --gradient-about: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%); /* Orange to Red */
    --gradient-services: linear-gradient(135deg, #10B981 0%, #059669 100%); /* Green Shades */
    --gradient-contact: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%); /* Indigo to Purple */
    --gradient-blockchain: linear-gradient(135deg, #1F2937 0%, #374151 100%); /* Dark Grays */
    --gradient-property-detail: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%); /* Sky to Cyan */
    
    /* Catchy Text Colors */
    --hero-black: #0d1117; /* Deep rich black for main headings */
    --hero-dark: #1a202c; /* Slightly lighter for subheadings */
    --hero-text: #2d3748; /* Medium dark for body text */
    --hero-white: #f7fafc; /* For dark backgrounds */
}

* {
    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-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

/* Page-themed headings */
[class*="page-"] h1:not(.hero h1), 
[class*="page-"] h2:not(.hero h2), 
[class*="page-"] .section-title {
    color: var(--page-primary, var(--primary-navy));
    position: relative;
}

[class*="page-"] .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--page-primary, var(--primary-navy)), var(--page-secondary, var(--secondary-navy)));
    border-radius: 2px;
}

/* Center-aligned section titles */
.text-center .section-title::after {
    left: 50%;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1rem;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    color: #ffffff !important;
    text-decoration: none;
    transition: var(--transition);
    gap: 0.75rem;
    margin-right: 1rem;
    text-align: left;
    justify-content: flex-start;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.logo .logo-main {
    font-weight: 700;
    font-size: 1.3rem;
    color: #ffffff !important;
    letter-spacing: 0.5px;
}

.logo .logo-sub {
    font-weight: 500;
    font-size: 0.95rem;
    color: #ffffff !important;
    letter-spacing: 0.3px;
    margin-top: -2px;
}

.logo-text * {
    color: #ffffff !important;
}

/* Page-Specific Header Gradients */
body.page-home .header {
    background: var(--gradient-home) !important;
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

body.page-properties .header {
    background: var(--gradient-properties) !important;
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

body.page-about .header {
    background: var(--gradient-about) !important;
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

body.page-services .header {
    background: var(--gradient-services) !important;
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

body.page-contact .header {
    background: var(--gradient-contact) !important;
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

body.page-blockchain .header {
    background: var(--gradient-blockchain) !important;
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

body.page-property-detail .header {
    background: var(--gradient-property-detail) !important;
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 1;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    margin: 0;
    flex-wrap: nowrap;
}

@media (min-width: 1200px) {
    .nav-links {
        gap: 1.5rem;
    }
}

.nav-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 0.6rem;
    border-radius: var(--border-radius);
    white-space: nowrap;
    font-size: 0.9rem;
}

@media (min-width: 1200px) {
    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }
}

.nav-links a:hover {
    color: var(--primary-navy);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    text-shadow: none;
    transform: translateY(-1px);
}

.nav-links a.active {
    color: var(--primary-navy);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-content {
        position: relative;
        justify-content: flex-start;
        text-align: left;
    }
    
    .logo {
        margin-right: 0;
        text-align: left;
        justify-content: flex-start;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(26, 54, 93, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 70px 0 30px 0;
        z-index: 100;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: #ffffff !important;
        text-decoration: none;
        border-radius: 0;
        transition: all 0.3s ease;
        border-left: 4px solid transparent;
        margin: 0 -1rem;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-left-color: #ffffff;
        color: #ffffff !important;
        transform: translateX(8px);
    }
    
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.15);
        border-left-color: #ffd700;
        color: #ffffff !important;
        font-weight: 600;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1.5rem;
        margin-top: auto;
    }
    
    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 6px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .auth-buttons .btn-secondary {
        background: transparent;
        border: 2px solid #ffffff;
        color: #ffffff;
    }
    
    .auth-buttons .btn-secondary:hover {
        background: #ffffff;
        color: var(--primary-navy);
    }
    
    .auth-buttons .btn-primary {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
        color: var(--primary-navy);
        border: none;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }
    
    .auth-buttons .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 99;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        top: 0;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    
    .auth-buttons {
        gap: 0.8rem;
    }
    
    .auth-buttons .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    line-height: 1;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--secondary-navy);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.btn-accent {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.btn-accent:hover {
    background: var(--light-gold);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-navy);
}

/* Hero Background Slider */
.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-slider .property-slider {
    height: 100%;
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-slide:hover .hero-slide-image img {
    transform: scale(1.05);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 54, 93, 0.7) 0%, rgba(45, 95, 136, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-slide-info {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
    max-width: 300px;
    transition: all 0.3s ease;
}

.hero-slide:hover .hero-slide-info {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-slide-info h3 {
    color: var(--primary-navy);
    margin: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-slide-info p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.9rem;
}

.hero-slide-info .property-badge {
    position: static;
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-slide-info .property-price {
    position: static;
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero-slide-info .service-badge {
    position: static;
    display: inline-block;
    background: var(--primary-navy);
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Hero Content Overlay */
.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Hero Text Styling - Dark text on light background */
.hero h1, 
.hero h2, 
.hero h3, 
.hero h4, 
.hero h5, 
.hero h6 {
    color: var(--primary-navy);
    font-weight: 700;
}

.hero-content h1 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    line-height: 1.1;
    font-weight: 700;
}

.hero-content p {
    font-size: 0.65rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    font-style: normal;
    opacity: 0.85;
}

.hero p {
    color: var(--dark-gray);
    font-weight: 400;
}

.hero .btn {
    font-weight: 600;
}

.hero-content .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
    margin: 0 0.2rem;
    border-radius: 6px;
}

.hero-content .hero-buttons {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}

.hero-content .btn-large {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
}

/* Hero Slider Controls */
.hero-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 2;
}

.hero-slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.hero-slider-btn:hover {
    background: var(--accent-gold);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.hero-slider-btn i {
    color: var(--primary-navy);
    font-size: 1.2rem;
}

/* Hero Slider Indicators */
.hero-slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.hero-slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-slider-indicators .indicator.active,
.hero-slider-indicators .indicator:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.2);
}

/* Responsive Hero Design */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 0.4rem 0.8rem;
        margin: 1rem;
        max-width: 320px;
    }
    
    .hero-content h1 {
        font-size: 0.9rem;
    }
    
    .hero-content p {
        font-size: 0.6rem;
    }
    
    .hero-content .hero-buttons {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .hero-content .btn {
        width: 100%;
        padding: 0.4rem;
        font-size: 0.55rem;
    }
    
    .hero-slide-info {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        padding: 1rem;
    }
    
    .hero-slider-controls {
        padding: 0 1rem;
    }
    
    .hero-slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .hero-slider-btn i {
        font-size: 1rem;
    }
}

/* Breadcrumb Section */
.breadcrumb-section {
    padding: 1rem 0;
    background: var(--light-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #1a202c !important;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #1a202c;
    opacity: 0.6;
    font-weight: 700;
}

.breadcrumb span:last-child {
    color: #0d1117;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* Property Detail Page Styles */

/* Property Hero Section */
.property-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    margin-bottom: 0;
}

.property-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.property-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
}

.property-hero-content .breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.property-hero-content .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.property-hero-content .breadcrumb a:hover {
    color: var(--accent-gold);
}

.property-hero-content .separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.5rem;
}

.hero-property-info h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-property-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.hero-location i {
    color: var(--accent-gold);
}

.hero-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-property-badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-property-badges .badge {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero-property-badges .badge-verified {
    background: rgba(16, 185, 129, 0.8);
}

.hero-property-badges .badge-blockchain {
    background: rgba(26, 54, 93, 0.8);
    color: var(--accent-gold);
}

.hero-property-badges .badge-featured {
    background: rgba(255, 215, 0, 0.8);
    color: var(--primary-navy);
}

.property-detail-section {
    padding: 2rem 0;
    background: var(--white);
}

.property-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.property-main {
    width: 100%;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.property-title-section h1 {
    color: var(--primary-navy);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.property-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.property-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-price-section {
    text-align: right;
}

.price-display {
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
}

.price-period {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-left: 0.5rem;
}

.property-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-verified {
    background: var(--success);
    color: var(--white);
}

.badge-blockchain {
    background: var(--primary-navy);
    color: var(--accent-gold);
}

.badge-featured {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

/* Property Media Gallery */
.property-media {
    margin-bottom: 2rem;
}

.media-gallery {
    position: relative;
}

.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    background: var(--medium-gray);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.media-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.media-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-navy);
}

/* AI Analytics Tab Styles */
.ai-analytics-container {
    background: var(--white);
}

.analytics-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    border-radius: 15px;
    color: var(--white);
}

.analytics-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.analytics-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.analytics-preview {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.card-header i {
    font-size: 1.2rem;
}

.score-display {
    margin-bottom: 0.5rem;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success);
}

.score-label {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.trend-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.trend-indicator {
    font-size: 1.2rem;
    font-weight: 700;
}

.trend-indicator.rising {
    color: var(--success);
}

.trend-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
}

.yield-display {
    margin-bottom: 0.5rem;
}

.yield-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.yield-label {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-left: 0.5rem;
}

.risk-display {
    margin-bottom: 0.5rem;
}

.risk-level {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.risk-level.low {
    background: var(--success);
    color: var(--white);
}

.analytics-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

.analytics-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(26, 54, 93, 0.1);
    border-radius: 8px;
    color: var(--primary-navy);
}

.analytics-note p {
    margin: 0;
    font-size: 0.9rem;
}

/* Similar Properties Styles */
.similar-properties-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.similar-property-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.similar-property-item:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.similar-property-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.similar-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-property-info {
    flex: 1;
}

.similar-property-info h5 {
    margin: 0 0 0.3rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-navy);
    line-height: 1.2;
}

.similar-price {
    margin: 0 0 0.2rem 0;
    font-weight: 700;
    color: var(--success);
    font-size: 0.9rem;
}

.similar-location,
.similar-beds {
    margin: 0;
    font-size: 0.75rem;
    color: var(--dark-gray);
    line-height: 1.2;
}

.loading-placeholder {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--dark-gray);
}

/* Sidebar Card Styles */
.sidebar-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Quick Stats Styles */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Blockchain page breadcrumb - white text */
body.page-blockchain .breadcrumb a,
body.page-blockchain .breadcrumb .separator,
body.page-blockchain .breadcrumb span:last-child {
    color: #f7fafc !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-content h1,
.hero-content h2,
.hero-content p {
    color: var(--text-dark);
}

.hero-content h1 {
    font-weight: 700;
    color: var(--primary-navy);
}

.hero-content p {
    color: var(--dark-gray);
    font-weight: 400;
}
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Property Search */
.search-section {
    background: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
    margin-top: -2rem;
    border-radius: var(--border-radius);
    margin-left: 1rem;
    margin-right: 1rem;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

/* Modern Search Interface */
.modern-search-section {
    background: var(--gradient-home);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 3rem 0;
    position: relative;
    z-index: 10;
    margin-top: -3rem;
}

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

.modern-search-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 
                0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.modern-search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Main Search Bar */
.main-search-bar {
    width: 100%;
}

.main-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    transition: var(--transition);
    outline: none;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.main-search-input::placeholder {
    color: #64748b;
}

.main-search-input:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.3);
    transform: translateY(-2px);
}

/* Filter Row */
.search-filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.modern-select,
.modern-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.15);
    transition: var(--transition);
    outline: none;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.modern-input {
    background-image: none;
    padding-right: 1rem;
}

.modern-select::placeholder,
.modern-input::placeholder {
    color: #64748b;
}

.modern-select:focus,
.modern-input:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 24px rgba(31, 38, 135, 0.25);
    transform: translateY(-1px);
}

/* Search Button */
.search-button-container {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.modern-search-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a365d;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    min-width: 200px;
    justify-content: center;
}

.modern-search-btn:hover {
    background: linear-gradient(135deg, #ffb700 0%, #ff9500 100%);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.modern-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.modern-search-btn i {
    font-size: 1.2rem;
}

/* Page-Specific Header Gradients & Content Theming */

/* HOME PAGE - Blue to Green Theme */
/* White hero sections for all pages */
body.page-home .hero,
body.page-properties .hero,
body.page-about .hero,
body.page-services .hero,
body.page-contact .hero,
body.page-blockchain .hero,
body.page-property-detail .hero {
    background: var(--white) !important;
    color: var(--text-dark);
}

body.page-home {
    --page-primary: #3B82F6;
    --page-secondary: #10B981;
    --page-accent: #0EA5E9;
    --page-light: #EFF6FF;
    --page-text: #1E3A8A;
}

body.page-home .section-title {
    color: var(--page-primary);
}

body.page-home .feature-icon {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
    color: white;
}

body.page-home .btn-primary {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
}

/* PROPERTIES PAGE - Purple to Pink Theme */
body.page-properties .hero {
    background: var(--white) !important;
    color: var(--text-dark);
}

body.page-properties {
    --page-primary: #8B5CF6;
    --page-secondary: #EC4899;
    --page-accent: #A855F7;
    --page-light: #FAF5FF;
    --page-text: #6B21A8;
}

body.page-properties h1, 
body.page-properties h2, 
body.page-properties .section-title {
    color: var(--page-primary);
}

body.page-properties .btn-primary {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
}

body.page-properties .property-card:hover {
    border-color: var(--page-primary);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

/* ABOUT PAGE - Orange to Red Theme */
body.page-about .hero {
    background: var(--white) !important;
    color: var(--text-dark);
}

body.page-about {
    --page-primary: #F59E0B;
    --page-secondary: #EF4444;
    --page-accent: #F97316;
    --page-light: #FFFBEB;
    --page-text: #C2410C;
}

body.page-about h1, 
body.page-about h2, 
body.page-about .section-title {
    color: var(--page-primary);
}

body.page-about .btn-primary {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
}

body.page-about .feature-card {
    border-left: 4px solid var(--page-primary);
}

body.page-about .feature-card:hover {
    background: var(--page-light);
    transform: translateX(5px);
}

/* SERVICES PAGE - Green Theme */
body.page-services .hero {
    background: var(--white) !important;
    color: var(--text-dark);
}

body.page-services {
    --page-primary: #10B981;
    --page-secondary: #059669;
    --page-accent: #06D6A0;
    --page-light: #ECFDF5;
    --page-text: #065F46;
}

body.page-services h1, 
body.page-services h2, 
body.page-services .section-title {
    color: var(--page-primary);
}

body.page-services .btn-primary {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
}

body.page-services .service-card {
    border-top: 3px solid var(--page-primary);
}

body.page-services .service-card:hover {
    background: var(--page-light);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

/* CONTACT PAGE - Indigo to Purple Theme */
body.page-contact .hero {
    background: var(--white) !important;
    color: #1a202c !important;
}

body.page-contact {
    --page-primary: #6366F1;
    --page-secondary: #8B5CF6;
    --page-accent: #7C3AED;
    --page-light: #EEF2FF;
    --page-text: #4338CA;
}

body.page-contact h1, 
body.page-contact h2, 
body.page-contact .section-title {
    color: var(--page-primary);
}

body.page-contact .btn-primary {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
}

body.page-contact .contact-method {
    border: 2px solid transparent;
    background: linear-gradient(white, white), linear-gradient(135deg, var(--page-primary), var(--page-secondary));
    background-clip: padding-box, border-box;
}

body.page-contact .contact-method:hover {
    background: var(--page-light);
}

/* BLOCKCHAIN PAGE - Dark Gray Theme */
body.page-blockchain .hero {
    background: var(--white) !important;
    color: var(--text-dark);
}

body.page-blockchain {
    --page-primary: #374151;
    --page-secondary: #1F2937;
    --page-accent: #4B5563;
    --page-light: #F9FAFB;
    --page-text: #111827;
}

body.page-blockchain h1, 
body.page-blockchain h2, 
body.page-blockchain .section-title {
    color: var(--page-primary);
}

body.page-blockchain .btn-primary {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
}

body.page-blockchain .blockchain-feature {
    border: 1px solid var(--page-primary);
    background: var(--page-light);
}

body.page-blockchain .blockchain-feature:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(55, 65, 81, 0.1);
}

/* PROPERTY DETAIL PAGE - Sky to Cyan Theme */
body.page-property-detail .hero {
    background: var(--white) !important;
    color: var(--text-dark);
}

body.page-property-detail {
    --page-primary: #0EA5E9;
    --page-secondary: #06B6D4;
    --page-accent: #0284C7;
    --page-light: #F0F9FF;
    --page-text: #0C4A6E;
}

body.page-property-detail h1, 
body.page-property-detail h2, 
body.page-property-detail .section-title {
    color: var(--page-primary);
}

body.page-property-detail .btn-primary {
    background: linear-gradient(135deg, var(--page-primary), var(--page-secondary));
}

body.page-property-detail .tab-btn.active {
    background: var(--page-primary);
    color: white;
}

body.page-property-detail .property-badge {
    background: var(--page-light);
    color: var(--page-text);
    border: 1px solid var(--page-primary);
}

/* Global Page Content Styling Based on Header Colors */

/* Page-Specific Navigation Active States */
body.page-home .nav-links a.active {
    color: #3B82F6 !important; /* Blue theme color */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

body.page-properties .nav-links a.active {
    color: #8B5CF6 !important; /* Purple theme color */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

body.page-about .nav-links a.active {
    color: #F59E0B !important; /* Orange theme color */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

body.page-services .nav-links a.active {
    color: #10B981 !important; /* Green theme color */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

body.page-contact .nav-links a.active {
    color: #6366F1 !important; /* Indigo theme color */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

body.page-blockchain .nav-links a.active {
    color: #374151 !important; /* Dark gray theme color */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(55, 65, 81, 0.25);
}

body.page-property-detail .nav-links a.active {
    color: #0EA5E9 !important; /* Sky blue theme color */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

/* Enhanced hover states with page theme colors */
body.page-home .nav-links a:hover {
    color: #3B82F6 !important;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    text-shadow: none;
    transform: translateY(-1px);
}

body.page-properties .nav-links a:hover {
    color: #8B5CF6 !important;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    text-shadow: none;
    transform: translateY(-1px);
}

body.page-about .nav-links a:hover {
    color: #F59E0B !important;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    text-shadow: none;
    transform: translateY(-1px);
}

body.page-services .nav-links a:hover {
    color: #10B981 !important;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    text-shadow: none;
    transform: translateY(-1px);
}

body.page-contact .nav-links a:hover {
    color: #6366F1 !important;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    text-shadow: none;
    transform: translateY(-1px);
}

body.page-blockchain .nav-links a:hover {
    color: #374151 !important;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    text-shadow: none;
    transform: translateY(-1px);
}

body.page-property-detail .nav-links a:hover {
    color: #0EA5E9 !important;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    text-shadow: none;
    transform: translateY(-1px);
}

/* Links and Interactive Elements */
[class*="page-"] a:not(.btn) {
    color: var(--page-primary);
    transition: var(--transition);
}

[class*="page-"] a:not(.btn):hover {
    color: var(--page-secondary);
}

/* Form Elements */
[class*="page-"] .form-control:focus {
    border-color: var(--page-primary);
    box-shadow: 0 0 0 3px rgba(var(--page-primary-rgb), 0.1);
}

[class*="page-"] .modern-select:focus,
[class*="page-"] .modern-input:focus {
    box-shadow: 0 8px 24px rgba(var(--page-primary-rgb), 0.25);
}

/* Cards and Components */
[class*="page-"] .card {
    transition: var(--transition);
}

[class*="page-"] .card:hover {
    box-shadow: 0 10px 25px rgba(var(--page-primary-rgb), 0.1);
    transform: translateY(-2px);
}

/* Section Backgrounds */
[class*="page-"] section:nth-child(even) {
    background: var(--page-light);
}

/* Icons and Accents */
[class*="page-"] .icon-accent {
    color: var(--page-primary);
}

[class*="page-"] .text-accent {
    color: var(--page-secondary);
}

/* Page-Specific RGB Values for rgba() Usage */
body.page-home {
    --page-primary-rgb: 59, 130, 246;
    --page-secondary-rgb: 16, 185, 129;
}

body.page-properties {
    --page-primary-rgb: 139, 92, 246;
    --page-secondary-rgb: 236, 72, 153;
}

body.page-about {
    --page-primary-rgb: 245, 158, 11;
    --page-secondary-rgb: 239, 68, 68;
}

body.page-services {
    --page-primary-rgb: 16, 185, 129;
    --page-secondary-rgb: 5, 150, 105;
}

body.page-contact {
    --page-primary-rgb: 99, 102, 241;
    --page-secondary-rgb: 139, 92, 246;
}

body.page-blockchain {
    --page-primary-rgb: 55, 65, 81;
    --page-secondary-rgb: 31, 41, 55;
}

body.page-property-detail {
    --page-primary-rgb: 14, 165, 233;
    --page-secondary-rgb: 6, 182, 212;
}

/* Update modern search section for different pages */
body.page-properties .modern-search-section {
    background: var(--gradient-properties);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

body.page-about .modern-search-section {
    background: var(--gradient-about);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

body.page-services .modern-search-section {
    background: var(--gradient-services);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

body.page-contact .modern-search-section {
    background: var(--gradient-contact);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

body.page-blockchain .modern-search-section {
    background: var(--gradient-blockchain);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

body.page-property-detail .modern-search-section {
    background: var(--gradient-property-detail);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control {
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    transition: var(--transition);
    background: var(--white);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Remove Internet Explorer arrow */
select.form-control::-ms-expand {
    display: none;
}

/* Professional Search Form Layout */
.professional-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.professional-search-form .form-group {
    margin-bottom: 0;
}

.professional-search-form .form-group:first-child {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .professional-search-form {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .professional-search-form {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Special Features Grid */
.special-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.feature-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--white);
    margin: 0;
}

.feature-checkbox:hover {
    border-color: var(--primary-navy);
    background: rgba(26, 54, 93, 0.05);
}

.feature-checkbox input[type="checkbox"] {
    display: none;
}

.feature-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--medium-gray);
    border-radius: 3px;
    margin-right: 0.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
}

.feature-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.feature-checkbox .feature-text {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-checkbox input[type="checkbox"]:checked ~ .feature-text {
    color: var(--primary-navy);
    font-weight: 600;
}

/* Perfect Property Finder Styles */
.perfect-property-finder {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    position: relative;
    z-index: 100;
}

.finder-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    text-align: left;
}

.main-filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
}

.secondary-filters-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-item label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Multi-select Dropdown Styles */
.multiselect-dropdown {
    position: relative;
    cursor: pointer;
}

.multiselect-selected {
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.multiselect-selected::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--dark-gray);
    pointer-events: none;
}

.multiselect-dropdown:hover .multiselect-selected {
    border-color: var(--primary-navy);
}

.multiselect-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--primary-navy);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.multiselect-options.show {
    display: block;
}

.multiselect-options label {
    display: block;
    padding: 0.5rem 1rem;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--light-gray);
}

.multiselect-options label:hover {
    background: var(--light-gray);
}

.multiselect-options label:last-child {
    border-bottom: none;
}

.multiselect-options input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: var(--primary-navy);
}

/* Price Range Container */
.price-range-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.price-input {
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.price-input:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Search Button */
.search-btn {
    background: var(--primary-navy);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.search-btn:hover {
    background: var(--secondary-navy);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-filters-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .main-filters-row .search-btn {
        grid-column: 1 / -1;
        justify-self: center;
        width: 200px;
    }
    
    .secondary-filters-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-filters-row,
    .secondary-filters-row {
        grid-template-columns: 1fr;
    }
    
    .perfect-property-finder {
        padding: 1.5rem;
    }
}

/* Featured Properties Slider */
.featured-properties-slider {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
}

.property-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.property-slide {
    min-width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.property-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    max-width: 800px;
    margin: 0 auto;
}

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

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.property-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.property-details {
    padding: 2rem;
}

.property-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.location {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.location i {
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.property-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.property-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.property-stats i {
    color: var(--primary-navy);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}



/* Services Slider */
.services-slider {
    padding: 4rem 0;
    background: var(--white);
}

.services-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.service-slide {
    min-width: 100%;
    padding: 1rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
}

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

.service-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8), rgba(45, 95, 136, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-gold);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 1rem;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: scale(1.1);
}

.slider-btn i {
    font-size: 1.2rem;
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 54, 93, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-navy);
    transform: scale(1.2);
}

/* Responsive Design for Sliders */
@media (max-width: 768px) {
    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-image {
        height: 250px;
    }
    
    .property-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn i {
        font-size: 1rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-meta i {
    color: var(--primary-navy);
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.read-more-btn {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.read-more-btn i {
    transition: var(--transition);
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

/* Blog CTA */
.blog-cta {
    text-align: center;
    background: var(--primary-navy);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
}

.blog-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.blog-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* Responsive Blog Section */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-cta {
        padding: 2rem 1rem;
    }
    
    .blog-cta h3 {
        font-size: 1.5rem;
    }
}

/* Blog Page Styles */
body.page-blog .header {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%) !important;
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

.blog-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9)), 
                url('images/services-1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.blog-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.blog-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-search input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.blog-search button {
    background: var(--primary-navy);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.blog-search button:hover {
    background: var(--secondary-navy);
}

/* Blog Categories */
.blog-categories {
    padding: 2rem 0;
    background: var(--light-gray);
}

.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    background: white;
    border: 2px solid var(--medium-gray);
    color: var(--dark-gray);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
}

/* Blog Posts Section */
.blog-posts {
    padding: 3rem 0;
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
    background: white;
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 50px 50px 0;
    white-space: nowrap;
}

/* Blog Modal */
.blog-modal-content {
    max-width: 900px;
    width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

.blog-article {
    padding: 2rem;
}

.blog-header {
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 2rem;
}

.blog-header .blog-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.blog-author-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.blog-featured-image {
    margin-bottom: 2rem;
    text-align: center;
}

.blog-featured-image img {
    width: 100%;
    max-width: 700px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.blog-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.blog-body h2 {
    color: var(--primary-navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-body h3 {
    color: var(--primary-navy);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-body ul,
.blog-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.blog-body li {
    margin: 0.5rem 0;
}

.blog-footer {
    border-top: 1px solid var(--medium-gray);
    padding-top: 2rem;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-buttons button {
    background: var(--light-gray);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.share-buttons button:hover {
    background: var(--primary-navy);
    color: white;
}

/* Responsive Blog Design */
@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    
    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .newsletter-form button {
        border-radius: 0 0 15px 15px;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-author-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Phone Number Input Styles */
.phone-container {
    display: flex !important;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
}

/* Searchable Country Select Styles */
.country-select-container {
    position: relative;
    flex: 0 0 160px;
}

.country-search {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="m0,1l2,2l2,-2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.75rem;
}

.country-search:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
    cursor: text;
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--primary-navy);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.country-option {
    padding: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.2s ease;
}

.country-option:hover {
    background-color: var(--light-gray);
}

.country-option:last-child {
    border-bottom: none;
}

/* Legacy country select (fallback) */
.country-select {
    flex: 0 0 140px;
    font-size: 0.875rem;
    padding: 0.75rem 0.5rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.country-select:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Phone input */
.phone-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    transition: var(--transition);
    background: var(--white);
}

.phone-input:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .phone-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .country-select-container {
        flex: 1;
        width: 100%;
    }
    
    .country-select {
        flex: 1;
        width: 100%;
    }
    
    .country-dropdown {
        position: fixed;
        top: auto;
        left: 1rem;
        right: 1rem;
        max-height: 40vh;
    }
}

/* Phone number validation states */
.phone-input.phone-valid {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.phone-input.phone-partial {
    border-color: var(--warning);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.phone-input.phone-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Validation icons */
.phone-input.phone-valid {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%2310b981"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.phone-input.phone-invalid {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23ef4444"><path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Custom scrollbar for dropdown */
.country-dropdown::-webkit-scrollbar {
    width: 8px;
}

.country-dropdown::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.country-dropdown::-webkit-scrollbar-thumb {
    background: var(--medium-gray);
    border-radius: 4px;
}

.country-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gray);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--dark-gray);
    font-size: 0.8rem;
}

select {
    appearance: none;
    background: var(--white);
    cursor: pointer;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid var(--page-primary, var(--primary-navy));
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--page-light, var(--light-gray));
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--page-primary, var(--primary-navy)), var(--page-secondary, var(--secondary-navy)));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--accent-gold);
}

.feature-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

/* Property Cards */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.property-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-verified {
    background: var(--success);
    color: var(--white);
}

.badge-featured {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.badge-blockchain {
    background: var(--primary-navy);
    color: var(--white);
}

.property-info {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.property-location {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.property-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.account-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.account-type-option {
    position: relative;
}

.account-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.account-type-option label {
    display: block;
    padding: 1rem 0.5rem;
    text-align: center;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    font-weight: 500;
}

.account-type-option input:checked + label {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

.account-type-option label:hover {
    border-color: var(--primary-navy);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-navy);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Force modal visibility when opened via JavaScript */
.modal[style*="display: flex"] {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.modal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.modal.force-visible {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

.modal-body {
    padding: 1.5rem;
}

/* Tabs */
.tabs {
    border-bottom: 1px solid var(--medium-gray);
    margin-bottom: 2rem;
}

.tab-nav {
    display: flex;
    gap: 0;
    list-style: none;
}

.tab-nav button {
    padding: 1rem 2rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-gray);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-nav button.active {
    color: var(--primary-navy);
    border-bottom-color: var(--primary-navy);
}

.tab-nav button:hover {
    color: var(--primary-navy);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Authentication Messages */
.auth-messages {
    margin-bottom: 1.5rem;
}

.auth-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.auth-message i {
    font-size: 1.125rem;
}

.auth-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.auth-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.auth-message-info {
    background-color: #e0f2fe;
    color: #0c4a6e;
    border: 1px solid #7dd3fc;
}

/* Add Property Styles */
.add-property-hero {
    background: var(--gradient-services);
    padding: 8rem 0 4rem;
    text-align: center;
}

.add-property-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.add-property-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.property-form .form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    background: #fafbfc;
}

.property-form .form-section h3 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.property-form .form-group {
    margin-bottom: 0;
}

.property-form .form-control {
    padding: 0.875rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.property-form .form-control:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.property-form label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.property-form small {
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.amenity-item:hover {
    border-color: var(--primary-navy);
    background: #f8fafc;
}

.amenity-item input[type="checkbox"] {
    margin: 0;
}

.amenity-item label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

/* Image Preview */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.image-preview-item:hover .image-preview-overlay {
    opacity: 1;
}

.btn-remove-image {
    background: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    align-self: flex-end;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Property Messages */
.property-messages {
    margin-bottom: 2rem;
}

.property-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.property-message i {
    font-size: 1.125rem;
}

.property-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.property-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.property-message-info {
    background-color: #e0f2fe;
    color: #0c4a6e;
    border: 1px solid #7dd3fc;
}

/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.user-menu span {
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .add-property-content {
        padding: 2rem 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .user-menu {
        gap: 0.5rem;
    }
    
    .user-menu span {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .user-menu {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
    
    .user-menu .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* AI Analytics Styles */
.ai-analytics-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
}

.ai-analytics-dynamic-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(102, 126, 234, 0.8) 0%, 
        rgba(118, 75, 162, 0.8) 50%,
        rgba(26, 54, 93, 0.9) 100%
    );
    z-index: 1;
}

.ai-analytics-dynamic-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-property-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    text-align: left;
}

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

.info-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.info-value {
    color: white;
    font-weight: 600;
}

.info-value.highlight {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* Properties Selection Grid */
.properties-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.property-selection-card {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.property-selection-card:hover {
    border-color: #10b981;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.property-selection-card.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.property-card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.property-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.property-card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
}

.property-card-price {
    font-weight: 600;
    color: #10b981;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.analytics-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.analytics-actions .btn {
    flex: 1;
    min-width: 200px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--white);
}

/* Blockchain Styles */
.blockchain-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--gradient-blockchain);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blockchain-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.block-node {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.2);
    border: 3px solid var(--accent-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s ease;
}

.block-node.active {
    background: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: blockPulse 2s infinite;
}

@keyframes blockPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.block-node::before {
    content: '⛓';
    font-size: 2rem;
}

.block-node:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -4rem;
    width: 4rem;
    height: 3px;
    background: var(--accent-gold);
    transform: translateY(-50%);
}

.blockchain-dashboard-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.blockchain-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.card-header {
    background: var(--primary-navy);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mining-indicator {
    color: var(--accent-gold);
    font-weight: 600;
}

.blocks-container, .transactions-container, .registry-container {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.block-item {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--success);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.block-hash {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--dark-gray);
    background: rgba(0,0,0,0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.transaction-item {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.transaction-type {
    font-weight: 600;
    color: var(--primary-navy);
}

.registry-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.registry-stat {
    text-align: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.registry-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.registry-stat .stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    text-transform: uppercase;
}

.pending-count {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.no-transactions {
    text-align: center;
    padding: 2rem;
    color: var(--dark-gray);
}

.no-transactions i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.blockchain-tools-section {
    padding: 4rem 0;
    background: white;
}

.blockchain-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.verification-tool-container {
    max-width: 800px;
    margin: 0 auto;
}

.verification-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.verification-results {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
}

.property-history-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.property-history-item:last-child {
    border-bottom: none;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.history-type {
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.history-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.certificate-container {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.certificate-seal {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary-navy);
}

.certificate-hash {
    font-family: monospace;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    word-break: break-all;
}

.analytics-demo-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.demo-property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
}

.property-image {
    position: relative;
    height: 300px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.property-info {
    padding: 2rem;
}

.property-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.property-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.quick-stat {
    text-align: center;
}

.quick-stat .stat-value {
    font-weight: bold;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.quick-stat .stat-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.analytics-generate-btn {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.analytics-loading {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

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

.loading-text h4 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--border-radius);
    color: var(--dark-gray);
    transition: var(--transition);
}

.loading-step.active {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3B82F6;
}

.loading-step.completed {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10B981;
}

.loading-step i {
    width: 20px;
    text-align: center;
}

.analytics-results {
    margin: 3rem 0;
}

.analytics-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.analytics-section h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.insight-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.insight-icon {
    color: var(--primary-navy);
    font-size: 1.25rem;
}

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

.insight-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.insight-value.investment-high {
    color: #10B981;
}

.insight-value.family-excellent {
    color: #8B5CF6;
}

.insight-value.price-good {
    color: #10B981;
}

.insight-description {
    color: var(--dark-gray);
    font-size: 0.875rem;
    line-height: 1.5;
}

.chart-container {
    margin-top: 2rem;
    height: 400px;
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 1rem;
}

.chart-container h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.amenity-category {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.amenity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.amenity-header i {
    color: var(--primary-navy);
    font-size: 1.5rem;
}

.amenity-header h4 {
    margin: 0;
    color: var(--text-dark);
    flex: 1;
    margin-left: 0.75rem;
}

.amenity-score {
    background: #10B981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.facility-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.facility-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.facility-item:last-child {
    border-bottom: none;
}

.facility-name {
    color: var(--text-dark);
    font-weight: 500;
}

.facility-distance {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.875rem;
}

.amenity-summary {
    color: var(--dark-gray);
    font-size: 0.875rem;
    font-style: italic;
}

.investment-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #e2e8f0;
}

.metric-icon {
    background: var(--primary-navy);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.metric-description {
    color: var(--dark-gray);
    font-size: 0.875rem;
}

.ai-recommendations {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #0ea5e9;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid #3B82F6;
}

.recommendation-item.positive {
    border-left-color: #10B981;
}

.recommendation-item.info {
    border-left-color: #F59E0B;
}

.recommendation-item i {
    margin-top: 0.25rem;
    color: #3B82F6;
}

.recommendation-item.positive i {
    color: #10B981;
}

.recommendation-item.info i {
    color: #F59E0B;
}

.recommendation-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.recommendation-content p {
    margin: 0;
    color: var(--dark-gray);
    font-size: 0.875rem;
    line-height: 1.5;
}

.analytics-cta {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.analytics-cta h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.analytics-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ai-features-section {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.feature-list li {
    color: var(--dark-gray);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Design for AI Analytics */
@media (max-width: 768px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .demo-property-card {
        grid-template-columns: 1fr;
    }
    
    .property-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .insights-grid,
    .amenities-grid,
    .investment-metrics {
        grid-template-columns: 1fr;
    }
    
    .loading-steps {
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .analytics-cta h3 {
        font-size: 1.5rem;
    }
    
    .chart-container {
        height: 300px;
    }
}

/* Property Detail Enhancements */
.property-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.property-actions .btn {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.property-tabs {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--medium-gray);
    background: #f8fafc;
    overflow-x: auto;
}

.tab-nav .tab-btn {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-gray);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-nav .tab-btn:hover {
    background: var(--light-gray);
    color: var(--primary-navy);
}

.tab-nav .tab-btn.active {
    background: var(--white);
    color: var(--primary-navy);
    border-bottom-color: var(--primary-navy);
}

.tab-content {
    display: none;
    padding: 2rem;
    min-height: 400px;
}

.tab-content.active {
    display: block;
}

/* Contact Modal Styles */
.contact-modal .modal-content {
    max-width: 600px;
}

.contact-options {
    display: grid;
    gap: 1.5rem;
}

.contact-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
}

.contact-option:hover {
    border-color: var(--primary-navy);
    background: var(--white);
}

.contact-option i {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-top: 0.5rem;
}

.contact-option h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.contact-option p {
    margin: 0 0 1rem 0;
    color: var(--dark-gray);
}

/* Schedule Modal Styles */
.schedule-modal .modal-content {
    max-width: 500px;
}

/* Share Modal Styles */
.share-modal .modal-content {
    max-width: 400px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
}

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

.share-btn i {
    font-size: 1.5rem;
}

/* Image Modal Styles */
.image-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    background: #000;
    border-radius: 0;
}

.image-modal-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
}

.image-modal-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.image-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.image-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1000;
}

/* AI Insights Tab Styles */
.ai-insights-content {
    padding: 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.insight-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
}

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

.insight-header i {
    color: var(--primary-navy);
    font-size: 1.25rem;
}

.insight-header h4 {
    margin: 0;
    color: var(--text-dark);
}

.score-display {
    text-align: center;
}

.score-circle {
    display: inline-block;
    padding: 1rem;
    border: 3px solid var(--primary-navy);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.score-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-navy);
}

.score-label {
    font-size: 1rem;
    color: var(--dark-gray);
}

.location-insights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.insight-label {
    min-width: 120px;
    font-weight: 500;
    color: var(--text-dark);
}

.insight-bar {
    flex: 1;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
}

.insight-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--accent-gold));
    transition: width 0.3s ease;
}

.insight-score {
    min-width: 40px;
    text-align: right;
    font-weight: bold;
    color: var(--primary-navy);
}

.investment-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--border-radius);
}

.metric-label {
    font-weight: 500;
    color: var(--text-dark);
}

.metric-value {
    font-weight: bold;
    color: var(--primary-navy);
}

.trend-positive {
    color: var(--success);
}

.ai-recommendations {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
}

.ai-recommendations h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.ai-recommendations h4 i {
    color: var(--accent-gold);
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--border-radius);
}

.recommendation-item i {
    margin-top: 0.25rem;
}

.text-success {
    color: var(--success);
}

.text-info {
    color: #3B82F6;
}

/* Price Analysis Tab Styles */
.price-analysis-content {
    padding: 0;
}

.price-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.price-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--medium-gray);
}

.price-card h4 {
    margin: 0 0 0.75rem 0;
    color: var(--dark-gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-navy);
}

.price-trends {
    margin-bottom: 2rem;
}

.price-trends h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.comparable-properties h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.comparables-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparable-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
}

.comparable-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.comparable-location {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.comparable-price {
    font-weight: bold;
    color: var(--primary-navy);
    font-size: 1.125rem;
}

/* Location Tab Styles */
.location-content {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--medium-gray);
}

.map-placeholder {
    height: 100%;
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-info h4,
.nearby-amenities h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.nearby-amenities .amenities-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.amenity-distance {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.amenity-distance i {
    color: var(--primary-navy);
    width: 20px;
    text-align: center;
}

/* Documents Tab Styles */
.documents-content {
    padding: 0;
}

.documents-header {
    margin-bottom: 2rem;
}

.documents-header h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.documents-header p {
    color: var(--dark-gray);
    margin: 0;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
}

.document-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.document-info {
    flex: 1;
}

.document-info h5 {
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
}

.document-info p {
    margin: 0;
    color: var(--dark-gray);
    font-size: 0.875rem;
}

.document-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: var(--border-radius);
    color: #92400E;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.document-note i {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Agent Card Styles */
.agent-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
    margin-bottom: 2rem;
}

.agent-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.agent-details {
    flex: 1;
}

.agent-details h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
}

.agent-title {
    color: var(--dark-gray);
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.agent-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Professional Agent Rating Display */
.agent-rating-display {
    margin-top: 0.5rem;
}

.agent-stars {
    display: flex;
    gap: 0.15rem;
    margin-bottom: 0.25rem;
}

.agent-stars i {
    color: #fbbf24;
    font-size: 0.875rem;
}

.agent-stars .fas.fa-star {
    color: #f59e0b;
}

.agent-stars .fas.fa-star-half-alt {
    color: #f59e0b;
}

.agent-stars .far.fa-star {
    color: #d1d5db;
}

.agent-rating-text {
    font-size: 0.8rem;
    color: var(--dark-gray);
    font-weight: 500;
}

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

.agent-avatar-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stars {
    color: #F59E0B;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.agent-stats {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.agent-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: flex-start;
}

.agent-actions .btn {
    min-width: 120px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Responsive Design for Property Detail */
@media (max-width: 768px) {
    .property-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .property-actions .btn {
        max-width: none;
    }
    
    .tab-nav {
        justify-content: flex-start;
    }
    
    .tab-nav .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .insights-grid,
    .price-overview {
        grid-template-columns: 1fr;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .agent-card {
        flex-direction: column;
        text-align: center;
    }
    
    .agent-actions {
        align-self: stretch;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Loading */
.loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .search-filters-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modern-search-container {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .modern-search-btn {
        width: 100%;
        min-width: auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .account-type-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modal-content {
        margin: 1rem;
        width: calc(100vw - 2rem);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .account-type-selector {
        grid-template-columns: 1fr;
    }
    
    .modern-search-container {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .main-search-input {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
    
    .modern-select,
    .modern-input {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .modern-search-btn {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
    
    .search-filters-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Property Detail Responsive Styles */
@media (max-width: 768px) {
    .property-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-property-info h1 {
        font-size: 1.8rem;
    }
    
    .hero-property-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-price {
        font-size: 1.5rem;
    }
    
    .property-detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .property-sidebar {
        order: -1;
    }
    
    .agent-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .agent-avatar {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .property-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .hero-property-info h1 {
        font-size: 1.5rem;
    }
    
    .hero-price {
        font-size: 1.3rem;
    }
    
    .property-hero-content {
        padding-bottom: 1rem;
    }
    
    .hero-property-badges {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .search-filters-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .modern-search-container {
        padding: 0.75rem;
        border-radius: 12px;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .search-section {
        display: none;
    }
    
    .hero {
        background: none;
        color: var(--text-dark);
    }
    
    .property-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--medium-gray);
    }
}