/* Reset and Base Styles - Updated v166 */
html {
    font-size: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #6B7280;
    background-color: #F9F9F9;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
}


.container {
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 0 1rem !important;
    width: 100% !important;
}

.search-section .container {
    max-width: 1400px !important;
    width: 100% !important;
    padding: 0 1rem !important;
}

/* Header */
.header {
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(20px);
    color: #2E2E2E;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 20px rgba(0, 79, 77, 0.08);
    border-bottom: 1px solid rgba(0, 79, 77, 0.05);
}

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

.nav-brand h1 {
    font-size: 1.6rem;
    margin-bottom: 0.15rem;
    font-weight: 300;
    color: #004F4D;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav-brand p {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: #004F4D;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: #188F8B;
}

/* Compact Search Styles */
.compact-search {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    align-items: end !important;
    flex-wrap: nowrap !important;
    overflow-x: visible !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.compact-search .search-group {
    flex: 1 1 auto !important;
    min-width: 160px !important;
    max-width: 240px !important;
}

.search-actions-group {
    flex: 0 0 auto !important;
    min-width: 250px !important;
    max-width: 250px !important;
}

.search-actions-group .button-group {
    display: flex !important;
    gap: 0.5rem !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.search-actions-group .search-btn,
.search-actions-group .save-search-alert-btn {
    flex: 0 0 auto !important;
    min-width: 100px !important;
    max-width: 120px !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.9rem !important;
}

/* Search field styling improvements */
.search-group select,
.search-group input {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    color: #2E2E2E;
    transition: all 0.3s ease;
    width: 100%;
}

.search-group select:focus,
.search-group input:focus {
    outline: none;
    border-color: #004F4D;
    box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

.search-group select:hover,
.search-group input:hover {
    border-color: #004F4D;
}

.search-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2E2E2E;
}

.price-dropdown {
    position: relative;
}

.price-selector {
    position: relative;
}

.price-dropdown-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.price-dropdown-btn:hover {
    border-color: #004F4D;
}

.price-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 5px;
}

.price-dropdown.active .price-dropdown-menu {
    display: block;
}

.price-inputs {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.price-input-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* More Filters styles */
.search-group:has(.more-filters-btn) {
    position: relative;
}

.more-filters-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #2E2E2E;
    transition: all 0.3s ease;
    gap: 8px;
}

.more-filters-btn:hover {
    border-color: #004F4D;
}

.more-filters-btn i:last-child {
    transition: transform 0.3s ease;
}

.search-group.active .more-filters-btn i:last-child {
    transform: rotate(180deg);
}

.more-filters-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 500px;
    background: white;
    border: 2px solid #004F4D;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 79, 77, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: none;
}

@media (max-width: 768px) {
    .more-filters-menu {
        width: 90vw;
        right: -50px;
    }
}

.search-group.active .more-filters-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filters-grid {
    padding: 20px;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.filter-group label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2E2E2E;
}

.filter-group select {
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.filter-group select:focus {
    outline: none;
    border-color: #004F4D;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.feature-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.feature-checkbox:hover {
    border-color: #004F4D;
    background: #f8f9fa;
}

.feature-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #004F4D;
}

.feature-checkbox i {
    color: #004F4D;
    width: 16px;
    text-align: center;
}

.feature-checkbox span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.feature-checkbox input[type="checkbox"]:checked + i + span {
    font-weight: 600;
}

.more-filters-dropdown.active .more-filters-menu {
    display: block;
}

.filter-inputs {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-input-group label {
    font-weight: 600;
    color: #333;
}

.filter-input-group select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.filter-features {
    margin-top: 1rem;
}

.filter-features label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.feature-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.feature-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.25rem 0;
}

.feature-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #004F4D;
}

.feature-checkbox .checkmark {
    display: none;
}

/* Navigation Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    color: #4A5568;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-dropdown-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: -0.1rem;
}

.nav-dropdown.active .nav-dropdown-btn i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid rgba(0, 79, 77, 0.1);
    margin-top: 10px;
}

.nav-dropdown.active .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    color: #4A5568;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.nav-dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #004F4D;
}

.nav-links a {
    color: #4A5568;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links a:hover {
    color: #004F4D;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #004F4D;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.sign-in-btn {
    background: linear-gradient(135deg, #004F4D 0%, #004F4D 100%);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 79, 77, 0.2);
    margin-left: 1rem;
}

.sign-in-btn:hover {
    transform: translateY(-1px);
    background: #188F8B;
    box-shadow: 0 4px 15px rgba(0, 79, 77, 0.3);
}

.sign-in-btn::after {
    display: none;
}

.sign-in-btn i {
    margin-right: 0.5rem;
}


/* Logout button and user greeting styles */
.logout-btn {
    background: linear-gradient(135deg, #004F4D 0%, #004F4D 100%);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 79, 77, 0.2);
    margin-left: 1rem;
}

.logout-btn:hover {
    transform: translateY(-1px);
    background: #188F8B;
    box-shadow: 0 4px 15px rgba(0, 79, 77, 0.3);
}

.logout-btn::after {
    display: none;
}

.user-greeting {
    color: #004F4D;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 1rem;
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    color: white;
    padding: 6rem 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    transition: 1s opacity;
    filter: brightness(1.15) contrast(1.15) saturate(0.85);
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
    color: white;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
    color: white;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

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

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Property Alerts Section */
.property-alerts-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.4);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.alert-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.property-alerts-section h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #004F4D;
}

.property-alerts-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #2E2E2E;
    opacity: 0.9;
    line-height: 1.5;
}

.alert-signup-btn {
    display: inline-block;
    background: #FB8D3E;
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #FB8D3E;
}

.alert-signup-btn:hover {
    background: #E8854A;
    border-color: #E8854A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 141, 62, 0.3);
}

/* Search Section */
.search-section {
    background: #ffffff;
    padding: 1.5rem 0;
    margin-top: -1.5rem;
    position: relative;
    z-index: 10;
}

.search-section h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #2E2E2E;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.search-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto;
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.required {
    color: #FF6B6B;
    font-weight: 700;
    margin-left: 2px;
}

.required-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    background: #fafafa;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #188F8B;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(24, 143, 139, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #188F8B 0%, #188F8B 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 120px;
    box-shadow: 0 4px 20px rgba(24, 143, 139, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(24, 143, 139, 0.4);
}

/* Featured Properties Carousel */
.featured-properties {
    padding: 1rem 0;
    background: #f8fafc;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Properties Grid Layout (for 3-item non-carousel display) */
.properties-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.properties-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 1rem;
}

@media (max-width: 768px) {
    .properties-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Fix Properties For Sale grid items */
.properties-row .carousel-slide {
    flex: none !important;
    max-width: none !important;
    min-width: none !important;
    width: 100% !important;
}

.properties-row .development-ad-card {
    width: 100% !important;
    height: auto !important;
}

.properties-row .property-image-gallery {
    height: 265px !important;
    width: 100% !important;
}

.properties-row .gallery-container {
    height: 100% !important;
    width: 100% !important;
}

.properties-row .gallery-track {
    height: 100% !important;
    width: 100% !important;
}

.properties-row .gallery-slide {
    height: 100% !important;
    width: 100% !important;
}

.properties-row .gallery-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Make all carousel cards match Properties For Sale size */
.carousel-slide .development-ad-card {
    height: auto !important;
    width: 100% !important;
}

/* Properties For Sale/Rent - use 3:2 crop (landscape listing photos) */
.featured-properties:not(.featured-developments) .carousel-slide .property-image-gallery {
    height: 265px !important;
    width: 100% !important;
}

.featured-properties:not(.featured-developments) .carousel-slide .gallery-container {
    height: 100% !important;
    width: 100% !important;
}

.featured-properties:not(.featured-developments) .carousel-slide .gallery-track {
    height: 100% !important;
    width: 100% !important;
}

.featured-properties:not(.featured-developments) .carousel-slide .gallery-slide {
    height: 100% !important;
    width: 100% !important;
}

.featured-properties:not(.featured-developments) .carousel-slide .gallery-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Featured Developments - simple hero image structure */
.dev-hero-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-hero-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .dev-hero-wrapper {
        height: 200px;
    }
}

/* ============================================
   FEATURED DEVELOPMENTS V2 - Clean Carousel
   Matches Properties For Sale styling
   ============================================ */
.dev-carousel-v2 {
    padding: 3rem 0;
    background: #fff;
}

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

.dev-v2-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #004F4D;
    margin-bottom: 0.5rem;
}

.dev-v2-header p {
    color: #666;
    font-size: 1.1rem;
}

.dev-v2-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.dev-v2-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #004F4D;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.dev-v2-btn:hover {
    background: #003836;
    transform: scale(1.05);
}

.dev-v2-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.dev-v2-viewport {
    flex: 1;
    overflow: hidden;
}

.dev-v2-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s ease;
}

.dev-v2-card {
    flex: 0 0 calc(33.333% - 1.34rem);
    min-width: calc(33.333% - 1.34rem);
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dev-v2-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}

.dev-v2-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.dev-v2-image-box {
    width: 100%;
    height: 265px;
    overflow: hidden;
    position: relative;
}

.dev-v2-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* V2 cards use shared .property-content styling */
.dev-v2-card .property-content {
    padding: 1.5rem;
    min-height: 120px;
}

.dev-v2-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dev-v2-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dev-v2-dot.active {
    background: #004F4D;
}

.dev-v2-empty {
    width: 100%;
    text-align: center;
    padding: 3rem;
}

.dev-v2-empty p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.dev-v2-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #004F4D;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

.dev-v2-cta:hover {
    background: #003836;
}

/* Mobile: 1 card per view */
@media (max-width: 768px) {
    .dev-v2-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .dev-v2-track {
        gap: 0;
    }
    
    .dev-v2-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .dev-v2-image-box {
        height: 200px;
    }
    
    .dev-v2-card .property-content {
        padding: 1rem;
    }
}

/* Tablet: 2 cards per view */
@media (min-width: 769px) and (max-width: 1024px) {
    .dev-v2-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
}

/* Ensure consistent content area sizing */
.carousel-slide .property-content {
    padding: 1.5rem !important;
    min-height: 120px !important;
}

/* Force carousel slides to match Properties For Sale grid sizing */
/* Note: development-ads-section uses JS-calculated widths for padding support */
section.featured-properties .carousel-slide {
    flex: 0 0 calc((min(1200px, 100%) - 4rem) / 3) !important;
    max-width: calc((min(1200px, 100%) - 4rem) / 3) !important;
    min-width: calc((min(1200px, 100%) - 4rem) / 3) !important;
    width: calc((min(1200px, 100%) - 4rem) / 3) !important;
}

/* MOBILE: Override carousel slides to show 1 card at a time */
@media (max-width: 768px) {
    section.featured-properties .carousel-slide,
    section.development-ads-section .carousel-slide,
    section.development-ads-section #dev-carousel-track .carousel-slide {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
    }
    
    section.featured-properties .carousel-track,
    section.development-ads-section .carousel-track,
    #sale-carousel-track,
    #rent-carousel-track,
    #dev-carousel-track {
        gap: 0 !important;
    }
    
    /* Mobile property card - vertical layout */
    .development-ad-card {
        flex-direction: column !important;
        height: auto !important;
    }
    
    .development-ad-card .property-image-gallery {
        width: 100% !important;
        height: 200px !important;
        flex: 0 0 200px !important;
    }
    
    .development-ad-card .property-content {
        width: 100% !important;
        padding: 1rem !important;
        flex: 1 !important;
    }
}

/* Development carousel - slides sized to fill exactly 1/3 of visible container */
section.development-ads-section #dev-carousel-track {
    gap: 2rem;
    /* Track width set by JS based on number of pages */
}
section.development-ads-section #dev-carousel-track .carousel-slide {
    /* Slide width calculated via CSS custom property set by JS */
    /* --slide-width is set to the exact pixel width each slide should be */
    flex: 0 0 var(--slide-width, 30%);
    max-width: var(--slide-width, 30%);
    min-width: var(--slide-width, 30%);
}

/* MOBILE: Final override for dev carousel (must come after above rules) */
@media (max-width: 768px) {
    section.development-ads-section #dev-carousel-track .carousel-slide {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
    }
    
    section.development-ads-section #dev-carousel-track {
        gap: 0 !important;
    }
}

/* Ensure carousel containers match Properties For Sale width */
.development-ads-section .carousel-container,
.featured-properties .carousel-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Ensure cards fill the available space properly */
.development-ads-section .development-ad-card,
.featured-properties .development-ad-card {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}


.featured-properties h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #4A5568;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.featured-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}


.carousel-wrapper {
    overflow-x: scroll;
    overflow-y: hidden;
    border-radius: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 2rem;
}

/* Default carousel slide sizing - overridden by section-specific rules below */
.carousel-slide {
    flex: 0 0 calc((100% - 4rem) / 3);
    min-width: 0;
    max-width: calc((100% - 4rem) / 3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #004F4D;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.25);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #188F8B;
    color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 79, 77, 0.35);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}


.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 79, 77, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #004F4D;
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: #188F8B;
}

/* Properties Grid Layout for Buy/Rent Pages */
.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Property Advertisement Grid - Made Smaller */
.property-ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.property-ad-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.property-ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 79, 77, 0.15);
    border-color: #004F4D;
    text-decoration: none;
    color: inherit;
}

.property-ad-card .property-image-gallery {
    position: relative;
    height: 173px;
    overflow: hidden;
}

.property-ad-card .gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.property-ad-card .gallery-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.3s ease;
}

.property-ad-card .gallery-slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
}

.property-ad-card .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.property-ad-card .property-content {
    padding: 1rem;
}

.property-ad-card .property-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #188F8B;
    margin-bottom: 0.3rem;
}

.property-ad-card .property-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.property-ad-card .property-location {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-ad-card .property-details {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0;
    font-size: 0.75rem;
    color: #666;
}

.property-ad-card .property-details span {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .property-ads-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .property-ads-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .property-ads-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Development Cards */
.development-card .property-image {
    position: relative;
    overflow: hidden;
}

.development-card .property-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.development-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 79, 77, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.development-overlay i {
    font-size: 0.9rem;
}

.development-card .property-badge {
    background: linear-gradient(135deg, #188F8B 0%, #004F4D 100%);
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.development-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(24, 143, 139, 0.15);
    border-color: rgba(24, 143, 139, 0.3);
}

.development-card .property-title {
    color: #004F4D;
    font-weight: 600;
}

/* Clean Style Development Cards */
.development-card.clean-style {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 100%;
}

.development-card.clean-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}

.development-card.clean-style .property-content.clean-content {
    padding: 1rem;
    text-align: left;
}

.development-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #004F4D;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.development-price .currency-symbol {
    color: #004F4D;
    font-weight: 700;
}

.development-type {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.development-location {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.development-location i {
    color: #FF6B6B;
    font-size: 0.8rem;
}

/* Business Carousel Styles */
.businesses-carousel-container {
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.1);
}

.businesses-carousel-container h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #004F4D;
    margin-bottom: 2rem;
    font-weight: 600;
}

.business-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #188F8B 0%, #004F4D 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.business-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #004F4D;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.business-type {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.business-location {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.business-location i {
    color: #9ca3af;
    font-size: 0.8rem;
}

.business-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* Development Advertisement Section */
.development-ads-section {
    padding: 4rem 0;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

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

.ads-header h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #4A5568;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.ads-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

.development-ads-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.development-ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    flex: 1;
    overflow: hidden;
}


.development-ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}

/* Remove active ad styles since we're showing one at a time now */

.development-ad-card .property-image img {
    width: 100%;
    height: 265px;
    object-fit: cover;
    object-position: center;
}

/* Removed - replaced with section-specific sizing below */

/* Make the card container 8% wider with square corners */
.development-ad-card {
    background: white;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
    width: 100% !important;
    margin: 0 auto;
}

/* Force square corners on all child elements */
.development-ad-card * {
    border-radius: 0 !important;
}

.development-ad-card .property-image-gallery {
    position: relative;
    height: 265px;
    overflow: hidden;
    border-radius: 0 !important;
}

/* Ensure content area is properly sized */
.development-ad-card .property-content {
    padding: 1.5rem;
    min-height: 120px;
}

.ads-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #004F4D;
    color: #004F4D;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 79, 77, 0.15);
    flex-shrink: 0;
}

.ads-nav-btn:hover {
    background: #004F4D;
    color: white;
    transform: scale(1.1);
}

.ads-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .development-ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .development-ads-container {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .development-ads-grid {
        grid-template-columns: 1fr;
    }
    
    .ads-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .ads-nav-btn i {
        font-size: 1rem;
    }
}

/* Advertisement Cards */
.advertisement-card .property-image {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.advertisement-content {
    text-align: center;
    padding: 2rem;
    color: #2D3748;
}

.advertisement-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #004F4D;
}

.advertisement-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

.advertisement-card .property-badge {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.advertisement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 79, 77, 0.15);
    border-color: rgba(24, 143, 139, 0.2);
}

/* Responsive carousel */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 40px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .advertisement-content {
        padding: 1.5rem;
    }
    
    .advertisement-content h3 {
        font-size: 1.3rem;
    }
    
    /* Mobile: Show 1 card at a time */
    .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    section.featured-properties .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    section.development-ads-section #dev-carousel-track .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .carousel-track {
        gap: 0 !important;
    }
    
    /* Mobile property card styling */
    .carousel-slide .development-ad-card {
        flex-direction: column !important;
        height: auto !important;
    }
    
    .carousel-slide .development-ad-card .property-image-gallery {
        width: 100% !important;
        height: 200px !important;
    }
    
    .carousel-slide .development-ad-card .property-content {
        width: 100% !important;
        padding: 1rem !important;
    }
    
    .carousel-slide .development-ad-card .property-price {
        font-size: 1.2rem !important;
    }
    
    .carousel-slide .development-ad-card .property-title {
        font-size: 1rem !important;
    }
}

.property-card {
    background: white;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    height: 414px;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(24, 143, 139, 0.2);
}

/* Force image styling with high specificity */
.property-card .property-image,
div.property-card div.property-image {
    position: relative !important;
    flex: 0 0 50% !important;
    height: 100% !important;
    width: 50% !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transition: transform 0.3s ease !important;
    min-height: 386px !important;
    max-height: 386px !important;
    display: block !important;
}

/* ULTRA AGGRESSIVE: Force content styling with maximum specificity */
html body div.property-card div.property-content,
html body .property-card .property-content,
div.property-card div.property-content,
.property-card .property-content {
    padding: 1.68rem !important;
    flex: 0 0 50% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    position: relative !important;
    gap: 0.2rem !important;
    height: 100% !important;
}

/* SPECIFIC: Price styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-price {
    font-size: 1.8rem !important;
    font-weight: 300 !important;
    color: #2E2E2E !important;
    margin-bottom: 0.25rem !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    order: -10 !important;
    position: relative !important;
    z-index: 100 !important;
}

/* SPECIFIC: Location styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-location {
    color: #777 !important;
    margin-bottom: 0.5rem !important;
    font-size: 2.1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-weight: 500 !important;
    order: -8 !important;
    position: relative !important;
    z-index: 998 !important;
    transform: scale(1) !important;
}

/* SPECIFIC: Property details styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-details {
    display: flex !important;
    gap: 0.8rem !important;
    margin-bottom: 0.4rem !important;
    font-size: 1.5rem !important;
    color: #888 !important;
    flex-wrap: wrap !important;
    margin-top: auto !important;
    order: -7 !important;
    position: relative !important;
    z-index: 97 !important;
}

/* SPECIFIC: Property details spans styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-details span {
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-weight: 600 !important;
    padding: 0.1rem 0 !important;
    font-size: 1.5rem !important;
}

/* AGGRESSIVE FORCE: Button at bottom - like developments */
/* Removed view-details-btn styles */
.removed-view-details-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: linear-gradient(135deg, #188F8B 0%, #155a5e 100%) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 0.7rem 1.4rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    align-self: flex-start !important;
    box-shadow: 0 2px 6px rgba(24, 143, 139, 0.2) !important;
    letter-spacing: 0.2px !important;
    margin-top: auto !important;
    order: 20 !important;
}

/* SPECIFIC: Property title styling ONLY for buy/rent page property cards, NOT front page ads */
.properties-grid .property-card .property-title {
    font-size: 3.8rem !important;
    margin-bottom: 0.3rem !important;
    color: #004F4D !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 0 0.3rem 0 !important;
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 4.56rem !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    order: -9 !important;
    position: relative !important;
    z-index: 999 !important;
    transform: scale(1) !important;
}

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

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(24, 143, 139, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tier-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.tier-badge.tier-featured {
    background: linear-gradient(135deg, #FF9500, #FF6B35);
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.tier-badge.tier-premium {
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    border: 1px solid rgba(138, 43, 226, 0.3);
    animation: premiumGlow 2s ease-in-out infinite alternate;
}

@keyframes premiumGlow {
    0% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 rgba(138, 43, 226, 0.4);
    }
    100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 10px rgba(138, 43, 226, 0.6);
    }
}

/* Tier Selection Banner Styles */
.tier-selection-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    border-bottom: 1px solid #dee2e6;
}

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

.tier-banner-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 1rem;
}

.tier-banner-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tier-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tier-card.tier-free {
    border-color: #188F8B;
}

.tier-card.tier-featured {
    border-color: #FF9500;
    position: relative;
}

.tier-card.tier-premium {
    border-color: #8A2BE2;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.02) 0%, rgba(75, 0, 130, 0.02) 100%);
}

.tier-popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF9500;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.tier-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 1rem;
}

.tier-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #188F8B;
    margin-bottom: 0.5rem;
}

.tier-price .price-rental,
.tier-price .price-sale {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #6c757d;
    margin: 0.25rem 0;
}

.tier-header p {
    color: #6c757d;
    font-size: 1rem;
}

.tier-features {
    margin-bottom: 2rem;
}

.tier-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-features li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.95rem;
    color: #495057;
}

.tier-features li:last-child {
    border-bottom: none;
}

.tier-features li i {
    color: #28a745;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.tier-select-btn {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-free .tier-select-btn {
    background: #188F8B;
    color: white;
}

.tier-free .tier-select-btn:hover {
    background: #156f6b;
    transform: translateY(-2px);
}

.tier-featured .tier-select-btn {
    background: #FF9500;
    color: white;
}

.tier-featured .tier-select-btn:hover {
    background: #e8860e;
    transform: translateY(-2px);
}

.tier-premium .tier-select-btn {
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    color: white;
}

.tier-premium .tier-select-btn:hover {
    background: linear-gradient(135deg, #7B27C7, #3D006B);
    transform: translateY(-2px);
}

.tier-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(24, 143, 139, 0.1);
    border-radius: 12px;
    border-left: 4px solid #188F8B;
}

.tier-note p {
    margin: 0;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tier-note i {
    color: #188F8B;
    margin-right: 0.5rem;
}


/* Success Banner */
.tier-success-banner {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.success-content {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
}

.success-content i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

/* Global Search Bar Styles */
.global-search-container {
    margin-left: 1rem;
}

.global-search-form {
    margin: 0;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    padding: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 380px;
    border: 1px solid #e0e0e0;
}

.search-input-group:focus-within {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-color: #188F8B;
}

.global-search-input {
    flex: 1;
    border: none;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 30px;
    outline: none;
    background: transparent;
    color: #333;
    font-weight: 400;
}

.global-search-input::placeholder {
    color: #888;
    font-weight: 400;
}

.global-search-type {
    border: none;
    padding: 0.85rem 0.8rem;
    font-size: 0.85rem;
    background: transparent;
    color: #666;
    outline: none;
    cursor: pointer;
    border-left: 1px solid #e0e0e0;
    min-width: 70px;
    border-radius: 0;
}

.global-search-btn {
    background: #333;
    border: none;
    padding: 0.85rem 1.2rem;
    border-radius: 27px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1px;
}

.global-search-btn:hover {
    background: #555;
}

.global-search-btn i {
    font-size: 1rem;
}

/* Hero Search Bar Styles */
.hero-search-container {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-form {
    width: 100%;
}

.hero-search-input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width: 100%;
    border: 1px solid #ddd;
    height: 50px;
}

.hero-search-input-group:focus-within {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: #188F8B;
    transform: translateY(-2px);
}

.hero-search-input {
    flex: 1;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1.43rem;
    border-radius: 30px;
    outline: none;
    background: transparent;
    color: #333;
    font-weight: 400;
}

.hero-search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.hero-search-btn {
    background: #333;
    border: none;
    padding: 1rem 1.25rem;
    border-radius: 27px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
    min-width: 40px;
    height: 46px;
}

.hero-search-btn:hover {
    background: #555;
}

.hero-search-btn i {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tier-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tier-banner-header h2 {
        font-size: 2rem;
    }
    
    .tier-banner-header p {
        font-size: 1rem;
    }
    
    .payment-modal {
        padding: 1rem;
    }
    
    .payment-header,
    .payment-body {
        padding: 1.5rem;
    }
    
    .global-search-container {
        margin-left: 0.5rem;
    }
    
    .search-input-group {
        min-width: 320px;
    }
    
    .global-search-input {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
    
    .global-search-type {
        font-size: 0.8rem;
        padding: 0.75rem 0.6rem;
    }
    
    .global-search-btn {
        padding: 0.75rem 1rem;
    }
    
    /* Hero Search Responsive */
    .hero-search-container {
        max-width: 400px;
    }
    
    .hero-search-input-group {
        height: 45px;
    }
    
    .hero-search-input {
        font-size: 1.33rem;
        padding: 0.8rem 1rem;
    }
    
    .hero-search-btn {
        padding: 0.8rem 1rem;
        min-width: 38px;
        height: 41px;
    }
    
    .hero-search-btn i {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .search-input-group {
        min-width: 280px;
    }
    
    .global-search-input {
        font-size: 0.8rem;
        padding: 0.65rem 0.9rem;
    }
    
    .global-search-input::placeholder {
        font-size: 0.8rem;
    }
    
    .global-search-type {
        font-size: 0.75rem;
        padding: 0.65rem 0.5rem;
    }
    
    .global-search-btn {
        padding: 0.65rem 0.9rem;
    }
    
    /* Hero Search Mobile */
    .hero-search-container {
        max-width: 350px;
        margin-bottom: 1.5rem;
    }
    
    .hero-search-input-group {
        height: 42px;
    }
    
    .hero-search-input {
        font-size: 1.24rem;
        padding: 0.7rem 0.9rem;
    }
    
    .hero-search-input::placeholder {
        font-size: 1.24rem;
    }
    
    .hero-search-btn {
        padding: 0.7rem 0.9rem;
        min-width: 35px;
        height: 38px;
    }
    
    .hero-search-btn i {
        font-size: 0.8rem;
    }
}

.property-feature {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.property-content {
    padding: 1.2rem;
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    gap: 0.6rem;
    height: 100%;
}

.property-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #188F8B;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.property-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #2E2E2E;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.property-location {
    color: #555;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.property-location i {
    color: #188F8B;
    font-size: 0.9rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: #555;
    flex-wrap: wrap;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    padding: 0.2rem 0;
}

.property-details span i {
    color: #188F8B;
    font-size: 0.9rem;
    width: 14px;
    text-align: center;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.amenity {
    background: linear-gradient(135deg, #f0fdfc 0%, #ecfdf5 100%);
    color: #004F4D;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(24, 143, 139, 0.1);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.property-contact-icons {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.contact-icon.whatsapp {
    background: #25D366;
}

.contact-icon.phone {
    background: #007BFF;
}

.contact-icon.email {
    background: #6C757D;
}

/* Removed view-details-btn styles */
.removed-view-details-btn {
    display: none;
}

/* Market Opportunities Section */
.market-opportunities {
    padding: 4rem 0;
    background: white;
}

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

.opportunity-card {
    background: #f8fafb;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e1e5e9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.opportunity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #188F8B 0%, #188F8B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.opportunity-icon i {
    font-size: 2rem;
    color: white;
}

.opportunity-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.opportunity-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.opportunity-btn {
    display: inline-block;
    background: linear-gradient(135deg, #004F4D 0%, #188F8B 100%);
    color: white;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.opportunity-btn:hover {
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: #f8fafb;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #4A5568;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.map-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Leaflet District Map */
#district-leaflet-map {
    width: 100%;
    height: 480px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

#district-leaflet-map .leaflet-container {
    outline: none !important;
    background: #aad3df !important;
    border-radius: 15px;
    overflow: hidden !important;
}

#district-leaflet-map .leaflet-container:focus,
#district-leaflet-map .leaflet-container *:focus {
    outline: none !important;
}

#district-leaflet-map canvas {
    outline: none !important;
}

.map-static-wrapper {
    display: none;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.map-static-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.map-static-marker {
    position: absolute;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.map-static-dot {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #004F4D;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.map-static-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    color: #004F4D;
    background: rgba(255,255,255,0.85);
    border-radius: 3px;
    padding: 1px 3px;
    margin-top: 2px;
    white-space: nowrap;
    line-height: 1.2;
}

.map-static-marker:active .map-static-dot {
    background: #90BE6D;
}

.map-subtitle--mobile {
    display: none;
}

@media (max-width: 768px) {
    #district-leaflet-map {
        display: none;
    }

    .map-static-wrapper {
        display: block;
    }

    .map-subtitle--desktop {
        display: none;
    }

    .map-subtitle--mobile {
        display: block;
    }

    .map-section {
        padding: 2rem 1rem;
    }

    .map-section h3 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
}

/* AVM Estimator */
.estimator-section {
    padding: 4rem 0;
    background: #f8fafb;
}

.estimator-section h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #333;
}

.estimator-section p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #666;
}

.avm-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

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

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.estimate-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.estimate-btn:hover {
    transform: translateY(-2px);
}

.estimate-result {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 15px;
    text-align: center;
}

.estimated-value {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.value-details {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: white;
}

.contact-section h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h4 {
    margin-bottom: 1rem;
    color: #004F4D;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #555;
}

.contact-item i {
    color: #004F4D;
    width: 20px;
}

.contact-form {
    background: #f8fafb;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e1e5e9;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Enhanced Property Description Styling */
textarea#property-description {
    width: 100% !important;
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    color: #2E2E2E !important;
    font-weight: 500 !important;
    padding: 20px !important;
    border: 3px solid #E5E5E5 !important;
    border-radius: 15px !important;
    min-height: 180px !important;
    resize: vertical !important;
    transition: all 0.4s ease !important;
    background: #f8f9fa !important;
    box-sizing: border-box !important;
}

textarea#property-description:focus {
    outline: none !important;
    border-color: #004F4D !important;
    box-shadow: 0 0 0 5px rgba(0, 79, 77, 0.15) !important;
    background: white !important;
    transform: scale(1.02) !important;
}

textarea#property-description:hover {
    border-color: #188F8B !important;
    background: #ffffff !important;
}

/* Report Form Textarea Styling - Copy exact styles from Property Description */
textarea#additional-details {
    width: 100% !important;
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    color: #2E2E2E !important;
    font-weight: 500 !important;
    padding: 20px !important;
    border: 3px solid #E5E5E5 !important;
    border-radius: 15px !important;
    min-height: 180px !important;
    resize: vertical !important;
    transition: all 0.4s ease !important;
    background: #f8f9fa !important;
    box-sizing: border-box !important;
}

textarea#additional-details:focus {
    outline: none !important;
    border-color: #004F4D !important;
    box-shadow: 0 0 0 5px rgba(0, 79, 77, 0.15) !important;
    background: white !important;
    transform: scale(1.02) !important;
}

textarea#additional-details:hover {
    border-color: #188F8B !important;
    background: #ffffff !important;
}

textarea#additional-details::placeholder {
    color: #999 !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
}

textarea#additional-details:focus::placeholder {
    color: #ccc !important;
    opacity: 0.7 !important;
}

/* Extra hover and focus rules for inline-styled textarea */
textarea[style*="font-size: 1.2rem"]:focus {
    outline: none !important;
    border-color: #004F4D !important;
    box-shadow: 0 0 0 5px rgba(0, 79, 77, 0.15) !important;
    background: white !important;
    transform: scale(1.02) !important;
}

textarea[style*="font-size: 1.2rem"]:hover {
    border-color: #188F8B !important;
    background: #ffffff !important;
}

/* Property Description Label Styling to Match Heading */
.form-group label[for="property-description"] {
    font-size: 1.5rem !important;
    color: #2E2E2E !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    display: block !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
}

/* Enhanced placeholder styling */
textarea#property-description::placeholder {
    color: #999 !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
}

textarea#property-description:focus::placeholder {
    color: #ccc !important;
    opacity: 0.7 !important;
}

/* Enhanced checkbox styling with icons */
.checkbox-label i {
    margin-right: 8px;
    color: #188F8B;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 500 !important;
    color: #2E2E2E !important;
    font-size: 1rem !important;
}

/* Property features grid layout */
.property-features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

@media (max-width: 768px) {
    .property-features-grid {
        grid-template-columns: 1fr !important;
    }
}

.contact-btn {
    background: linear-gradient(135deg, #004F4D 0%, #188F8B 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

/* Property Detail Styles - Enhanced */
.property-header-enhanced {
    background: transparent !important;
    color: #2E2E2E !important;
    padding: 1rem 0 !important;
    margin-bottom: 3rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
}

.property-title-section-enhanced {
    flex: 1;
}

.property-title-mls-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 0 2.5rem !important;
    margin-bottom: 0.3rem !important;
}

.property-title-enhanced {
    font-size: 2.45rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
    letter-spacing: 3px !important;
    color: #178884 !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
}

.property-location-enhanced {
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0 !important;
}

.property-price-section-enhanced {
    text-align: left !important;
    flex-shrink: 0 !important;
    margin-left: 0.6rem !important;
    padding-left: 0 !important;
}

.property-price-enhanced {
    font-size: 3.32rem !important;
    font-weight: 700 !important;
    color: #10B981 !important;
    margin-bottom: 0 !important;
    margin-top: 0.2rem !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    text-shadow: none !important;
    display: block !important;
}

.property-mls-number {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    letter-spacing: 0.3px !important;
    margin-top: 0 !important;
    white-space: nowrap !important;
}

.property-type-enhanced {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 0.4rem 1rem !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive design for enhanced header */
@media (max-width: 768px) {
    .property-header-enhanced {
        flex-direction: column;
        text-align: left;
        padding: 1rem 0;
    }

    .property-title-mls-row {
        flex-direction: column !important;
        gap: 0.2rem !important;
    }

    .property-title-enhanced {
        font-size: 1.6rem !important;
        letter-spacing: 0.5px !important;
        line-height: 1.25 !important;
    }

    .property-price-enhanced {
        font-size: 2.1rem !important;
        letter-spacing: 0.5px !important;
    }

    .property-mls-number {
        font-size: 1.1rem !important;
    }

    .property-price-section-enhanced {
        text-align: left;
        margin-top: 0.5rem;
    }

    .interactive-map-badge {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 0.25rem !important;
    }
}

/* Keep original styles as fallback */
.property-header {
    background: linear-gradient(135deg, #004F4D 0%, #188F8B 100%);
    color: white;
    padding: 2rem 0;
}

.property-breadcrumb {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.property-breadcrumb a {
    color: white;
    text-decoration: none;
}

.property-title-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.property-address {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.property-price-large {
    font-size: 3rem;
    font-weight: bold;
}

.property-gallery {
    padding: 2rem 0;
    background: white;
}

.gallery-main {
    margin-bottom: 1rem;
}

.main-image {
    width: 100% !important;
    height: 550px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
}

.main-image-container {
    position: relative;
    width: 70%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 79, 77, 0.15);
}

/* Gallery navigation arrows */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

/* Image Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
    background: rgba(24, 143, 139, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

/* Lightbox Navigation Arrows */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav:hover {
    background: rgba(24, 143, 139, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

/* Lightbox Counter */
.lightbox-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10000;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Make images clickable */
.main-image, .thumbnail-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image:hover, .thumbnail-image:hover {
    transform: scale(1.02);
}

.gallery-nav-btn:hover {
    background: rgba(24, 143, 139, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gallery-nav-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%);
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.property-details-section {
    padding: 3rem 0;
    background: #f8fafb;
}

.property-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.property-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.stat-item i {
    color: #004F4D;
    font-size: 1.5rem;
}

.property-description,
.property-features {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.property-features h3,
.property-description h3 {
    margin-bottom: 1rem;
    color: #333;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8fafb;
    border-radius: 8px;
}

.feature-item i {
    color: #004F4D;
}

.property-map {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#property-location-map {
    height: 300px;
    border-radius: 10px;
}

.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-agent,
.mortgage-calculator {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.property-actions {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.agent-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agent-avatar i {
    font-size: 3rem;
    color: #004F4D;
}

.agent-details h5 {
    margin-bottom: 0.5rem;
}

.inquiry-form .form-group {
    margin-bottom: 1rem;
}

.inquiry-btn {
    background: linear-gradient(135deg, #004F4D 0%, #90BE6D 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease;
}

.inquiry-btn:hover {
    transform: translateY(-2px);
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #555;
    margin-bottom: 0.5rem;
}

.action-btn:hover {
    border-color: #004F4D;
    color: #004F4D;
}

.calculate-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease;
}

.calculate-btn:hover {
    transform: translateY(-2px);
}

.mortgage-result {
    margin-top: 1rem;
    padding: 1rem;
    background: #ecfdf5;
    border-radius: 8px;
    text-align: center;
}

.monthly-payment {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #004F4D;
}

.similar-properties {
    padding: 4rem 0;
    background: white;
}

.similar-properties h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #333;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #004F4D, #188F8B);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Resources Section */
.resources-section {
    padding: 4rem 0;
    background: white;
}

.resources-section h2 {
    text-align: center;
    color: #004F4D;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

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

.resource-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: #188F8B;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(24, 143, 139, 0.15);
}

.resource-card i {
    font-size: 2.5rem;
    color: #FF9500;
    margin-bottom: 1.5rem;
}

.resource-card h3 {
    color: #004F4D;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.resource-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Safety and Fraud Prevention Sections */
.safety-section, .fraud-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.safety-section h2, .fraud-section h2 {
    text-align: center;
    color: #004F4D;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

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

.safety-tip {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 79, 77, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.safety-tip:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 79, 77, 0.15);
}

.tip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #188F8B, #004F4D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tip-icon i {
    color: white;
    font-size: 1.5rem;
}

.safety-tip h3 {
    color: #004F4D;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.safety-tip p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.fraud-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.warning-box {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #FF9500;
    border-radius: 12px;
    padding: 2rem;
}

.warning-box i {
    color: #FF9500;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.warning-box h3 {
    color: #004F4D;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.warning-box ul {
    list-style: none;
    padding: 0;
}

.warning-box li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.5;
}

.warning-box li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 0;
}

.warning-box strong {
    color: #004F4D;
}

.prevention-steps {
    background: white;
    border: 2px solid #188F8B;
    border-radius: 12px;
    padding: 2rem;
}

.prevention-steps h3 {
    color: #004F4D;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.prevention-steps ol {
    padding-left: 1.5rem;
}

.prevention-steps li {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 768px) {
    .fraud-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .safety-grid {
        grid-template-columns: 1fr;
    }
    
    .safety-section h2, .fraud-section h2 {
        font-size: 2rem;
    }
}

/* Footer */
.footer {
    background: #004F4D;
    color: 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 h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: white;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: white;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: white;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.social-icons a {
    text-decoration: none;
    color: inherit;
}

.social-icons i {
    font-size: 22px;
    color: #bdc3c7;
    transition: all 0.2s ease;
}

.social-icons i:hover {
    color: #FFC922;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-card {
        flex-direction: column !important;
        height: auto !important;
    }
    
    .property-card .property-image,
    div.property-card div.property-image {
        width: 100% !important;
        flex: 0 0 auto !important;
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }
    
    .property-card .property-content,
    html body .property-card .property-content,
    html body div.property-card div.property-content,
    div.property-card div.property-content {
        flex: 0 0 auto !important;
        width: 100% !important;
        padding: 1rem !important;
    }
    
    /* Allow property titles to wrap on mobile */
    .property-card .property-title,
    .property-content .property-title,
    h4.property-title {
        white-space: normal !important;
        text-overflow: clip !important;
        overflow: visible !important;
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
    
    /* Adjust price size for mobile */
    .property-card .property-price,
    .property-content .property-price {
        font-size: 1.6rem !important;
    }
    
    .property-contact-icons {
        position: static;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .properties-grid {
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .property-main-content {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-links a,
    .nav-links .nav-dropdown-btn {
        padding: 1rem;
        border-bottom: 1px solid #e0e0e0;
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
    }
    
    /* Make direct nav links match dropdown button styling */
    .nav-links > a {
        display: block;
        color: #333;
        background: white;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .nav-links .nav-dropdown {
        width: 100%;
        display: block;
    }
    
    .nav-links .nav-dropdown-btn {
        display: block;
        color: #333;
        background: white;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .nav-links .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        background: #f8f9fa;
        display: none;
    }
    
    .nav-links .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-links .currency-selector {
        padding: 1rem;
        width: 100%;
    }
    
    .nav-links .currency-selector select {
        width: 100%;
    }
    
    .nav-links .sign-in-btn,
    .nav-links .user-dropdown {
        width: 100%;
        margin: 1rem 0;
    }
    
    .nav-links .sign-in-btn {
        justify-content: center;
    }
    
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .property-price-large {
        font-size: 2rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .property-stats {
        grid-template-columns: 1fr;
    }
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.error {
    background: linear-gradient(135deg, #FF6B6B, #E55555);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 1rem 0;
    border: none;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    font-size: 1.1rem;
    font-weight: 500;
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-width: 400px;
    max-width: 600px;
    text-align: center;
    animation: slideInDown 0.5s ease-out;
    backdrop-filter: blur(10px);
}

/* Photo Gallery Styles for Development Cards */
.property-image-gallery {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 79, 77, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 79, 77, 0.3);
}

.gallery-nav-btn:hover {
    background: #004F4D;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 79, 77, 0.4);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    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);
}

.gallery-dot.active {
    background: #90BE6D;
    border-color: white;
    transform: scale(1.2);
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.success {
    background: linear-gradient(135deg, #90BE6D, #7FB069);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 1rem 0;
    border: none;
    box-shadow: 0 8px 32px rgba(144, 190, 109, 0.3);
    font-size: 1.1rem;
    font-weight: 500;
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-width: 400px;
    max-width: 600px;
    text-align: center;
    animation: slideInDown 0.5s ease-out;
    backdrop-filter: blur(10px);
}

/* Success/Error Banner Animation */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Animation for property cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Active Navigation Link */
.nav-links a.active {
    color: #188F8B;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #004F4D 0%, #004F4D 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 6rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
    font-weight: 600;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Properties Section */
.properties-section {
    padding: 4rem 0;
    background: #f8fafc;
}

/* Enhanced Amenities Checkbox Styling */
.checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 79, 77, 0.08), 0 1px 3px rgba(0, 79, 77, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
    font-weight: 500 !important;
    color: #2e2e2e !important;
}

.checkbox-label:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 79, 77, 0.15), 0 4px 8px rgba(0, 79, 77, 0.1) !important;
    border-color: #90BE6D !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
}

.checkbox-label::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, #004F4D, #90BE6D) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: -1 !important;
}

.checkbox-label:has(input:checked) {
    background: linear-gradient(135deg, #004F4D 0%, #00635f 100%) !important;
    color: white !important;
    border-color: #004F4D !important;
    box-shadow: 0 4px 16px rgba(0, 79, 77, 0.25), 0 2px 6px rgba(0, 79, 77, 0.15) !important;
    transform: translateY(-1px) !important;
}

.checkbox-label:has(input:checked):hover {
    box-shadow: 0 8px 28px rgba(0, 79, 77, 0.3), 0 4px 10px rgba(0, 79, 77, 0.2) !important;
    transform: translateY(-3px) !important;
}

.checkbox-label input[type="checkbox"] {
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 6px !important;
    background: white !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: #90BE6D !important;
    box-shadow: 0 0 0 3px rgba(144, 190, 109, 0.1) !important;
}

.checkbox-label input[type="checkbox"]:checked {
    background: white !important;
    border-color: white !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #004F4D !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.checkbox-label i {
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.checkbox-label:has(input:checked) i {
    color: #90BE6D !important;
    transform: scale(1.1) !important;
}

.checkbox-label:not(:has(input:checked)) i {
    color: #004F4D !important;
}

.checkbox-label:hover i {
    transform: scale(1.05) !important;
}

/* Enhanced grid layout for amenities */
.property-features-grid, 
div[style*="grid-template-columns: repeat(2, 1fr)"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-top: 24px !important;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .property-features-grid, 
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .checkbox-label {
        padding: 14px 18px !important;
    }
}

/* Focus states for accessibility */
.checkbox-label input[type="checkbox"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.2) !important;
}

.checkbox-label:focus-within {
    border-color: #004F4D !important;
    box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1) !important;
}

/* Rental Info Cards */
.rental-info {
    padding: 4rem 0;
    background: white;
}

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

.info-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid #e1e5e9;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #90BE6D 0%, #90BE6D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* Rental Badge */
.rental-badge {
    background: #28a745 !important;
}

/* Selling Process */
.selling-process {
    padding: 4rem 0;
    background: white;
}

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

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #90BE6D 0%, #90BE6D 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2E2E2E;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Valuation Section */
.valuation-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.valuation-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.valuation-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.valuation-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Agent Services */
.agent-services {
    padding: 4rem 0;
    background: white;
}

/* Agents Section */
.agents-section {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.agent-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.agent-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

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

.agent-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2E2E2E;
}

.agent-title {
    font-weight: 600;
    color: #90BE6D;
    margin-bottom: 0.5rem;
}

.agent-speciality {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.agent-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

.agent-contact {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.contact-btn {
    background: #FF6B6B;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background: #0052a3;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: white;
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8fafc;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #188F8B 0%, #188F8B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #188F8B;
    transform: scale(1.05);
}

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

.plan-header h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #188F8B;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.plan-badge {
    background: #FF6B6B;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    color: #666;
}

.plan-features i {
    color: #28a745;
    margin-right: 0.5rem;
}

.plan-btn {
    width: 100%;
    background: #FF6B6B;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.plan-btn:hover {
    background: #0052a3;
}

.featured-btn {
    background: linear-gradient(135deg, #188F8B 0%, #188F8B 100%);
}

/* Submission Section */
.submission-section {
    padding: 4rem 0;
    background: white;
}

.submission-card {
    max-width: 900px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.submission-card h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.submission-card > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e1e5e9;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2E2E2E;
    font-weight: 600;
}

/* Contact Section Updates */
.contact-section {
    padding: 4rem 0;
    background: white;
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-card h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.contact-card > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, #2E2E2E 0%, #333 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dashboard-header i {
    margin-right: 1rem;
}

.dashboard-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Dashboard Stats */
.dashboard-stats {
    padding: 3rem 0;
    background: #f8fafc;
}

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

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 4px solid #188F8B;
}

.stat-card.new {
    border-left-color: #28a745;
}

.stat-card.contacted {
    border-left-color: #ffc107;
}

.stat-card.converted {
    border-left-color: #17a2b8;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #188F8B 0%, #188F8B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-card.new .stat-icon {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.stat-card.contacted .stat-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ffcd3c 100%);
}

.stat-card.converted .stat-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #20c2e0 100%);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2E2E2E;
}

.stat-content p {
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* Lead Management */
.lead-management {
    padding: 4rem 0;
    background: white;
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: #2E2E2E;
    font-weight: 600;
    margin: 0;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    background: #FF6B6B;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: #0052a3;
}

.action-btn.primary {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
}

/* Lead Filters */
.lead-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
}

.filter-group {
    flex: 1;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Leads Table */
.leads-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
}

.leads-table th,
.leads-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.leads-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #2E2E2E;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.leads-table tbody tr:hover {
    background: #f8fafc;
}

.lead-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lead-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #90BE6D 0%, #90BE6D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.lead-details strong {
    display: block;
    color: #2E2E2E;
    margin-bottom: 0.25rem;
}

.lead-details small {
    color: #666;
    font-size: 0.8rem;
}

.contact-info div {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: #666;
}

.contact-info i {
    width: 15px;
    margin-right: 0.5rem;
}

.budget {
    font-weight: 600;
    color: #90BE6D;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-badge.buying {
    background: #e3f2fd;
    color: #1976d2;
}

.service-badge.selling {
    background: #fff3e0;
    color: #f57c00;
}

.service-badge.renting {
    background: #e8f5e8;
    color: #388e3c;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.new {
    background: #e8f5e8;
    color: #2e7d32;
}

.status-badge.contacted {
    background: #fff8e1;
    color: #f57c00;
}

.status-badge.meeting-scheduled {
    background: #e3f2fd;
    color: #1976d2;
}

.status-badge.converted {
    background: #e0f2f1;
    color: #00695c;
}

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

.btn-action {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #f8fafc;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: #FF6B6B;
    color: white;
}

.btn-action.delete:hover {
    background: #dc3545;
    color: white;
}

/* Quick Actions */
.quick-actions {
    padding: 4rem 0;
    background: #f8fafc;
}

.quick-actions h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2E2E2E;
}

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

.action-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #188F8B 0%, #188F8B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.action-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.action-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.action-card-btn {
    background: #FF6B6B;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.action-card-btn:hover {
    background: #0052a3;
}


/* Authentication Required Styles */
.auth-required-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid #f0f9ff;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #188F8B 0%, #188F8B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
}

.auth-required-card h2 {
    font-size: 2.2rem;
    color: #2E2E2E;
    margin-bottom: 1rem;
}

.auth-required-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.auth-benefits {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.auth-benefits h3 {
    font-size: 1.3rem;
    color: #2E2E2E;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #555;
}

.auth-benefits li i {
    color: #90BE6D;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.auth-actions {
    text-align: center;
    margin-top: 2rem;
}

.sign-in-btn-large {
    background: linear-gradient(135deg, #FF9800 0%, #FF9800 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    border: none;
}

.sign-in-btn-large:hover {
    transform: translateY(-2px);
    background: #FFB74D;
    box-shadow: 0 6px 20px rgba(255, 183, 77, 0.4);
}

.auth-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
}

/* Find a Professional Section */
.find-professional {
    padding: 4rem 0;
    background: #f8fafc;
}

.find-professional h2 {
    text-align: center;
    font-size: 0;
    margin-bottom: 1rem;
    color: #4A5568;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.find-professional h2::after {
    display: none;
}

.find-professional h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.professional-subtitle {
    text-align: center;
    color: #6B7280;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.professional-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.toggle-btn {
    background: white;
    border: 2px solid #e5e5e5;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.toggle-btn:hover {
    border-color: #90BE6D;
    color: #004F4D;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #004F4D 0%, #90BE6D 100%);
    border-color: #004F4D;
    color: white;
}

.professional-content {
    position: relative;
}

.professional-panel {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.professional-panel.active {
    display: block;
}

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

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

.professional-card {
    background: white;
    border-radius: 15px;
    padding: 2.2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.professional-icon {
    width: 60px;
    height: 60px;
    background: #188F8B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.professional-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #6B7280;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.professional-card p {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.professional-btn {
    background: #6B7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.professional-btn:hover {
    background: #4A5568;
    color: white;
    text-decoration: none;
}

.professional-btn i {
    color: white;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .dashboard-actions {
        justify-content: center;
    }
    
    .lead-filters {
        flex-direction: column;
    }
    
    .leads-table-container {
        overflow-x: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-required-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .auth-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .auth-required-card h2 {
        font-size: 1.8rem;
    }
    
    .sign-in-btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .professional-toggle {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .toggle-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .professional-grid {
        grid-template-columns: 1fr;
    }
    
    .professional-card {
        padding: 1.65rem;
    }
    
    .professional-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Report Page Styles */
.safety-info {
    padding: 4rem 0;
    background: white;
}

.info-card.urgent {
    border-left: 4px solid #dc3545;
}

.info-card.urgent .info-icon {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

/* Warning Signs */
.warning-signs {
    padding: 4rem 0;
    background: #f8fafc;
}

.warning-signs h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #2E2E2E;
}

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

.warning-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #ffc107;
}

.warning-item i {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.warning-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.warning-item p {
    color: #666;
    line-height: 1.6;
}

/* Report Section */
.report-section {
    padding: 4rem 0;
    background: white;
}

.report-card {
    max-width: 900px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.report-card h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.report-card > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.report-form {
    max-width: 100%;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.form-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
}

.form-disclaimer p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-disclaimer i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Report Result */
.report-result {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    border: 2px solid #28a745;
}

.report-result i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 2rem;
}

.result-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.result-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.secondary-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.secondary-btn:hover {
    background: #5a6268;
}

.primary-btn {
    background: #FF6B6B;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.primary-btn:hover {
    background: #0052a3;
}

/* Support Section */
.support-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.support-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.support-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.support-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.support-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.support-btn {
    background: #dc3545;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: background 0.3s ease;
}

.support-btn:hover {
    background: #c82333;
    color: white;
}

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

/* More Filters Dropdown */
.more-filters-section {
    margin-top: 1.5rem;
    position: relative;
}

.more-filters-btn {
    background: linear-gradient(135deg, #188F8B 0%, #20A39E 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(24, 143, 139, 0.2);
}

.more-filters-btn:hover {
    background: linear-gradient(135deg, #166B68 0%, #1A8B87 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(24, 143, 139, 0.3);
}

.filter-arrow {
    transition: transform 0.3s ease;
}

.filter-arrow.rotated {
    transform: rotate(180deg);
}

.more-filters-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.more-filters-dropdown.show {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.filter-options {
    padding: 1.5rem;
}

.filter-group h4 {
    color: #2E2E2E;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
    position: relative;
}

.filter-checkbox:hover {
    background: #f8fafc;
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.filter-checkbox input:checked + .checkmark {
    background: #188F8B;
    border-color: #188F8B;
}

.filter-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox i {
    color: #188F8B;
    font-size: 1rem;
}

.filter-checkbox span:last-child {
    color: #2E2E2E;
    font-weight: 500;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.clear-filters-btn, .apply-filters-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.clear-filters-btn {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.clear-filters-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.apply-filters-btn {
    background: linear-gradient(135deg, #188F8B 0%, #20A39E 100%);
    color: white;
}

.apply-filters-btn:hover {
    background: linear-gradient(135deg, #166B68 0%, #1A8B87 100%);
    transform: translateY(-1px);
}

/* Responsive Report Page */
@media (max-width: 768px) {
    .warning-grid {
        grid-template-columns: 1fr;
    }
    
    .support-contacts {
        flex-direction: column;
    }
    
    .report-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .warning-signs {
        padding: 2rem 0;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .more-filters-dropdown {
        left: -1rem;
        right: -1rem;
    }
}

/* District Modal Styles */
.district-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.district-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 79, 77, 0.25);
    transition: transform 0.2s ease;
}

.district-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

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

.modal-header h3 {
    margin: 0;
    color: #004F4D;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #004F4D;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
}

.district-facts h4,
.popular-properties h4 {
    color: #004F4D;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.district-facts ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.district-facts li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    line-height: 1.6;
}

.district-facts li:last-child {
    border-bottom: none;
}

.district-facts li::before {
    content: "•";
    color: #188F8B;
    font-weight: bold;
    margin-right: 0.75rem;
}

.property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.property-tag {
    background: linear-gradient(135deg, #90BE6D 0%, #7BA85D 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e5e9;
}

.modal-actions .action-btn {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-actions .action-btn.primary {
    background: linear-gradient(135deg, #004F4D 0%, #188F8B 100%);
    color: white;
}

.modal-actions .action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 79, 77, 0.3);
}

.modal-actions .action-btn:not(.primary) {
    background: #f8fafc;
    color: #004F4D;
    border: 1px solid #e1e5e9;
}

.modal-actions .action-btn:not(.primary):hover {
    background: #004F4D;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* Map Popup Styles */
.map-popup {
    text-align: center;
    padding: 8px;
}

.map-popup h4 {
    color: #004F4D;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
}

.map-popup p {
    color: #666;
    font-size: 12px;
    margin: 2px 0;
}

.map-popup a {
    color: #90BE6D;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
}

.map-popup a:hover {
    color: #FF6B6B;
}





/* Modern Professional Directory Styles */
.professionals-page {
    background: #F9F9F9;
    min-height: calc(100vh - 80px);
}

/* Professional Header */
.professionals-header {
    background: linear-gradient(135deg, #004F4D 0%, #188F8B 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.professionals-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.professionals-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Section */
.filter-section {
    padding: 40px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #E5E5E5;
}

.filter-card h3 {
    color: #004F4D;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 600;
}

.professional-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    color: #2E2E2E;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.filter-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #2E2E2E;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #004F4D;
    box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

.filter-actions {
    display: flex;
    gap: 15px;
    align-items: end;
}

.btn-filter, .btn-clear {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-filter {
    background: #004F4D;
    color: white;
}

.btn-filter:hover {
    background: #188F8B;
    transform: translateY(-1px);
}

.btn-clear {
    background: #E5E5E5;
    color: #666;
}

.btn-clear:hover {
    background: #D5D5D5;
    color: #333;
}

/* Professionals Grid */
.professionals-grid {
    padding: 60px 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-header h2 {
    color: #2E2E2E;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.active-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    background: #004F4D;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.professionals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    align-items: start;
}

/* Professional Cards */
.professional-card {
    background: white;
    border-radius: 16px;
    padding: 33px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #F0F0F0;
    position: relative;
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.professional-image {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F0F0F0;
}

.default-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004F4D, #188F8B);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

.verified-badge {
    position: absolute;
    top: -5px;
    right: calc(50% - 55px);
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #1F2937;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.verified-badge i {
    font-size: 0.8rem;
    color: #1F2937;
}

.professional-info {
    text-align: center;
}

.professional-name {
    color: #2E2E2E;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.business-name {
    color: #666;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.category-tag {
    background: #004F4D;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.specialty {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}

/* Contact Information */
.contact-info {
    margin: 25px 0;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: rgba(248, 249, 250, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(233, 236, 239, 0.6);
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background: #E8F4F8;
}

.contact-item i {
    color: #004F4D;
    width: 16px;
    font-size: 0.95rem;
}

.contact-item a,
.contact-item span {
    color: #2E2E2E;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    flex: 1;
}

.contact-item a:hover {
    color: #004F4D;
}

/* Force contact item backgrounds on business cards */
.contact-info-large .contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    padding: 12px 16px !important;
    background: #F8F9FA !important;
    border-radius: 8px !important;
    border: 1px solid #E9ECEF !important;
}

.contact-info-large .contact-item span {
    color: #333 !important;
    font-weight: 500 !important;
}

.contact-info-large .contact-item i {
    color: #188F8B !important;
    width: 20px !important;
}

/* Professional Meta */
.professional-meta {
    margin: 20px 0;
    text-align: center;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.rating i {
    color: #FFD700;
    font-size: 0.9rem;
}

.rating-text {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 8px;
}

.review-count {
    color: #999;
    font-size: 0.85rem;
}

.experience {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Services Tags */
.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.service-tag {
    background: #F0F8FF;
    color: #004F4D;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #E0F0FF;
}

.service-tag.more {
    background: #E8E8E8;
    color: #666;
}

/* Professional Actions */
.professional-actions {
    margin-top: 25px;
}

.btn-contact {
    width: 100%;
    background: #004F4D;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-contact:hover {
    background: #188F8B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 79, 77, 0.3);
}

.btn-contact i {
    margin-right: 8px;
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    border: 2px dashed #E0E0E0;
}

.no-results-icon {
    font-size: 4rem;
    color: #CCC;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #666;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.no-results p {
    color: #999;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Contact Modal & Email Alerts Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    margin: 8% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: slideInUp 0.4s ease-out;
    overflow: hidden;
}

.modal h2 {
    color: #2E2E2E;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.modal p {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal .close:hover {
    color: #333;
}

.modal-content > * {
    padding: 0 30px;
}

.modal-content > .close {
    padding: 15px 20px 5px 5px;
}

.modal-content form {
    padding: 30px;
    padding-top: 0;
}

.modal .form-group {
    margin-bottom: 20px;
}

.modal label {
    display: block;
    color: #2E2E2E;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.modal input,
.modal textarea,
.modal select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #2E2E2E;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: white;
}

.modal input:focus,
.modal textarea:focus,
.modal select:focus {
    outline: none;
    border-color: #004F4D;
    box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

.modal input::placeholder {
    color: #aaa;
    font-style: italic;
}

.modal textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    padding: 0 30px 30px 30px;
}

.modal button {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.modal .btn-cancel,
.modal button[type="button"] {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.modal .btn-cancel:hover,
.modal button[type="button"]:hover {
    background: #e8e8e8;
    color: #333;
}

.modal .btn-send,
.modal button[type="submit"],
.modal button.btn-primary {
    background: #004F4D;
    color: white;
}

.modal .btn-send:hover,
.modal button[type="submit"]:hover,
.modal button.btn-primary:hover {
    background: #188F8B;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 79, 77, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.btn-send:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .professionals-header h1 {
        font-size: 2.2rem;
    }
    
    .professionals-header p {
        font-size: 1rem;
    }
    
    .professional-filters {
        flex-direction: column;
        gap: 20px;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .filter-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-filter, .btn-clear {
        width: 100%;
    }
    
    .professionals-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .professional-card {
        padding: 22px;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .results-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* Professional Directory Styles */
.page-header {
    background: linear-gradient(135deg, #004F4D 0%, #004F4D 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters Section */
.filters-section {
    background: #F9F9F9;
    padding: 40px 0;
    border-bottom: 1px solid #E0E0E0;
}

.filters-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filters-container h3 {
    color: #188F8B;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-group label {
    color: #2E2E2E;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #188F8B;
    box-shadow: 0 0 0 3px rgba(24, 143, 139, 0.1);
}

.filter-group .btn {
    margin-right: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #188F8B;
    color: white;
}

.btn-primary:hover {
    background: #166B68;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #E0E0E0;
    color: #2E2E2E;
}

.btn-secondary:hover {
    background: #D0D0D0;
}

/* Results Section */
.results-section {
    padding: 60px 0;
}

.results-header {
    margin-bottom: 40px;
    text-align: center;
}

.results-header h2 {
    color: #004F4D;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.active-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    background: #90BE6D;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Featured Section */
.featured-section {
    margin-bottom: 60px;
}

.featured-section h3 {
    color: #004F4D;
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Professionals Grid */
.professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Professional Card */
.professional-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #E0E0E0;
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.professional-card.featured {
    border: 2px solid #FF6B6B;
    background: linear-gradient(135deg, #FFFFFF, #FFF8F8);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #FF6B6B;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Professional Header */
.professional-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: start;
}

.professional-image {
    flex-shrink: 0;
}

.professional-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F0F0F0;
}

.professional-info h3 {
    color: #004F4D;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.professional-info h4 {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.professional-category {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    background: #004F4D;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.specialty-tag {
    background: #90BE6D;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Professional Details */
.professional-details {
    margin-bottom: 20px;
}

.rating-section {
    margin-bottom: 15px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars i {
    color: #FFD700;
    font-size: 1rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
    margin-left: 8px;
}

.experience-section, .location-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9rem;
}

.experience-section i, .location-section i {
    color: #90BE6D;
    width: 16px;
}

.bio-section {
    margin: 15px 0;
    padding: 15px;
    background: #F8F8F8;
    border-radius: 8px;
    border-left: 4px solid #90BE6D;
}

.bio-section p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

.services-section, .certifications-section {
    margin: 15px 0;
}

.services-section h5, .certifications-section h5 {
    color: #004F4D;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.services-list, .certifications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-tag {
    background: #E8F4FD;
    color: #004F4D;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid #D0E7F7;
}

.cert-tag {
    background: #F0F8F0;
    color: #2D5D31;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid #C8E6C9;
}

.more-services, .more-certs {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
    padding: 4px 8px;
}

/* Professional Actions */
.professional-actions {
    border-top: 1px solid #E0E0E0;
    padding-top: 20px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.phone-btn {
    background: #E8F5E8;
    color: #2D5D31;
    border-color: #C8E6C9;
}

.phone-btn:hover {
    background: #2D5D31;
    color: white;
}

.email-btn {
    background: #E8F4FD;
    color: #004F4D;
    border-color: #D0E7F7;
}

.email-btn:hover {
    background: #004F4D;
    color: white;
}

.website-btn {
    background: #FFF3E0;
    color: #E65100;
    border-color: #FFE0B2;
}

.website-btn:hover {
    background: #E65100;
    color: white;
}

/* Categories Overview */
.categories-overview {
    background: #F9F9F9;
    padding: 60px 0;
    margin-top: 60px;
}

.categories-overview h2 {
    color: #004F4D;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.category-link {
    display: block;
    padding: 25px 20px;
    text-decoration: none;
    text-align: center;
    color: inherit;
}

.category-icon {
    margin-bottom: 15px;
}

.category-icon i {
    font-size: 2rem;
    color: #90BE6D;
}

.category-card h4 {
    color: #004F4D;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-content i {
    font-size: 4rem;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.no-results-content h3 {
    color: #666;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.no-results-content p {
    color: #999;
    font-size: 1rem;
}

.no-results-content a {
    color: #90BE6D;
    text-decoration: none;
    font-weight: 500;
}

.no-results-content a:hover {
    color: #004F4D;
}

/* All Professionals Section */
.all-professionals-section h3 {
    color: #004F4D;
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .professionals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .professional-header {
        flex-direction: column;
        text-align: center;
    }
    
    .professional-image img {
        width: 60px;
        height: 60px;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .contact-btn {
        flex: 1;
        justify-content: center;
        min-width: 100px;
    }
}


/* Property Alerts Page Styles */
.alerts-page {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 0;
}

.create-alert-section {
    margin: 40px 0;
}

.alert-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.alert-card h2 {
    color: #004F4D;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.alert-card p {
    color: #666;
    margin-bottom: 25px;
}

.alert-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.alert-form label {
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.alert-form input,
.alert-form select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.alert-form input:focus,
.alert-form select:focus {
    border-color: #004F4D;
    outline: none;
}

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

.feature-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.feature-checkbox:hover {
    border-color: #004F4D;
    background-color: #f8f9f9;
}

.feature-checkbox input:checked + i {
    color: #004F4D;
}

.feature-checkbox input:checked {
    accent-color: #004F4D;
}

.create-alert-btn {
    background: linear-gradient(135deg, #004F4D, #188F8B);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.create-alert-btn:hover {
    transform: translateY(-2px);
}

.existing-alerts-section h2 {
    color: #004F4D;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.alert-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.alert-item:hover {
    transform: translateY(-2px);
}

.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.alert-header h3 {
    color: #004F4D;
    margin: 0;
    font-size: 1.2rem;
}

.status-active {
    background: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.alert-criteria {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.criteria-item {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.alert-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.alert-actions {
    display: flex;
    gap: 10px;
}

.btn-pause,
.btn-resume,
.btn-delete {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-pause,
.btn-resume {
    background: #007bff;
    color: white;
}

.btn-pause:hover,
.btn-resume:hover {
    background: #0056b3;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

.no-alerts {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-alerts i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-alerts h3 {
    color: #333;
    margin-bottom: 10px;
}

.save-search-alert-btn {
    background: #FF9500;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    width: auto;
    min-width: 150px;
    box-shadow: 0 4px 20px rgba(255, 149, 0, 0.3);
}

.save-search-alert-btn:hover {
    background: #E5851A;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 149, 0, 0.4);
}

#message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

/* Sign In Required Modal Styling */
.sign-in-modal {
    text-align: center;
    max-width: 450px;
    padding: 40px 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sign-in-modal .modal-icon {
    background: linear-gradient(135deg, #004F4D, #188F8B);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0, 79, 77, 0.3);
}

.sign-in-modal h2 {
    color: #004F4D;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.sign-in-modal p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.sign-in-modal .modal-subtitle {
    color: #888;
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 30px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.modal-actions .btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.modal-actions .btn-cancel:hover {
    background: #e8e8e8;
    color: #555;
    border-color: #ccc;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, #004F4D, #188F8B);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 79, 77, 0.2);
}

.modal-actions .btn-primary:hover {
    background: linear-gradient(135deg, #003B39, #156F6D);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 79, 77, 0.3);
}

.sign-in-modal .close {
    color: #999;
    font-size: 1.5rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.sign-in-modal .close:hover {
    color: #004F4D;
}

/* Sort Filter Section */
.sort-filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 30px 0;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.sort-info .property-count {
    color: #004F4D;
    font-weight: 600;
    font-size: 1.1rem;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-controls label {
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
}

.sort-controls select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.sort-controls select:focus {
    outline: none;
    border-color: #004F4D;
    box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

.sort-controls select:hover {
    border-color: #188F8B;
}

/* Responsive Sort Filter */
@media (max-width: 768px) {
    .sort-filter-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .sort-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .sort-controls select {
        min-width: 200px;
    }
}

.message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design for Alerts */
@media (max-width: 768px) {
    .alert-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .alerts-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .alert-actions {
        flex-direction: column;
    }
    
    .alert-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Property Alerts Page Styling */
.alerts-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: #F9F9F9;
    min-height: calc(100vh - 120px);
}

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

.alerts-header h1 {
    font-size: 2.5rem;
    color: #2E2E2E;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.alerts-header .alert-icon {
    font-size: 2rem;
    color: #FF9500;
    margin-right: 1rem;
    vertical-align: middle;
}

.alerts-subtitle {
    color: #6B7280;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Alert Creation Section */
.alert-creation-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
    border: 1px solid rgba(0, 79, 77, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0rem !important;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #F3F4F6;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #2E2E2E;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 !important;
    padding-left: 15px !important;
}

.section-header .section-icon {
    background: linear-gradient(135deg, #004F4D, #188F8B);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.alert-form-heading {
    font-size: 1.8rem;
    color: #2E2E2E;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #F3F4F6;
}

.alert-form-heading i {
    color: #004F4D;
    margin-right: 0.5rem;
}

.section-description {
    color: #6B7280;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Developments Page Styles */
.developments-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #F9F9F9;
    min-height: calc(100vh - 120px);
}

/* Developments page header - match Buy/Rent theme */
.developments-container .page-header {
    background: linear-gradient(135deg, #004F4D 0%, #188F8B 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.developments-container .page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    color: white;
}

.developments-container .page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-btn {
    background: none;
    border: none;
    color: #004F4D;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.user-dropdown-btn:hover {
    background-color: rgba(0, 79, 77, 0.1);
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1000;
    padding: 0.5rem 0;
}

.user-dropdown-menu.show {
    display: block;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #2E2E2E;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.user-dropdown-menu a:hover {
    background-color: #F9F9F9;
}

.user-dropdown-menu a.active {
    background-color: rgba(0, 79, 77, 0.1);
    color: #004F4D;
}

.user-dropdown-menu i {
    width: 16px;
    color: #004F4D;
}

.dropdown-divider {
    height: 1px;
    background-color: #E5E7EB;
    margin: 0.5rem 0;
}

.logout-link {
    color: #DC2626 !important;
}

.logout-link i {
    color: #DC2626 !important;
}

/* User Settings Page Styles */
.user-settings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #F9F9F9;
    min-height: calc(100vh - 120px);
}

.settings-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.settings-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #6B7280;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.settings-nav-item:hover {
    background-color: rgba(0, 79, 77, 0.1);
    color: #004F4D;
}

.settings-nav-item.active {
    background-color: #004F4D;
    color: white;
}

.settings-nav-item i {
    width: 16px;
}

.settings-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
}

.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
}

.settings-card h2 {
    color: #004F4D;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-group h3 {
    color: #2E2E2E;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #004F4D;
}

.privacy-info {
    margin-bottom: 2rem;
}

.privacy-info ul {
    margin-left: 1.5rem;
    color: #6B7280;
}

.privacy-actions {
    display: flex;
    gap: 1rem;
}

.btn-danger {
    background-color: #DC2626;
    color: white;
    border: 1px solid #DC2626;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #B91C1C;
}

/* User Listings Page Styles */
.user-listings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #F9F9F9;
    min-height: calc(100vh - 120px);
}

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

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card i {
    font-size: 2rem;
    color: #004F4D;
}

.stat-info h3 {
    font-size: 2rem;
    color: #2E2E2E;
    margin: 0;
}

.stat-info p {
    color: #6B7280;
    margin: 0;
}

.listings-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.listing-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
    transition: transform 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-2px);
}

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

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

.no-image {
    width: 100%;
    height: 100%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 2rem;
}

.listing-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-active {
    background: #10B981;
    color: white;
}

.status-inactive {
    background: #6B7280;
    color: white;
}

.status-pending {
    background: #F59E0B;
    color: white;
}

.listing-details {
    padding: 1.5rem;
}

.listing-details h3 {
    color: #2E2E2E;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.listing-location {
    color: #6B7280;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.listing-price {
    color: #004F4D;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.listing-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #6B7280;
    font-size: 0.9rem;
}

.listing-specs span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.listing-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #6B7280;
    font-size: 0.9rem;
}

.listing-metrics span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.listing-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.listing-actions .btn-secondary,
.listing-actions .btn-primary,
.listing-actions .btn-status,
.listing-actions .btn-danger {
    flex: 1;
    min-width: auto;
    padding: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-status {
    background-color: #F59E0B;
    color: white;
    border: 1px solid #F59E0B;
}

.btn-status:hover {
    background-color: #D97706;
}

.no-listings {
    text-align: center;
    padding: 3rem;
    color: #6B7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
    grid-column: 1 / -1; /* Take full width of the grid */
}

.no-listings i {
    font-size: 4rem;
    color: #D1D5DB;
    margin-bottom: 1rem;
}

.no-listings h3 {
    color: #2E2E2E;
    margin-bottom: 1rem;
}

.no-listings p {
    max-width: 400px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* User Favorites Page Styles */
.user-favorites-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #F9F9F9;
    min-height: calc(100vh - 120px);
}

.favorites-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
}

.favorites-count {
    color: #6B7280;
    font-weight: 500;
}

.toolbar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.toolbar-right select {
    padding: 0.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    background: white;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-2px);
}

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

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

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

.favorite-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn.active {
    background: transparent;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn i {
    color: #666;
    font-size: 20px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.favorite-btn.active i {
    color: #FF6B6B;
}

.favorite-btn:hover i {
    color: #FF6B6B;
}



.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #FF9500;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.property-details {
    padding: 1.5rem;
}

.property-details h3 a {
    color: #2E2E2E;
    text-decoration: none;
    font-size: 1.2rem;
}

.property-details h3 a:hover {
    color: #004F4D;
}

.property-location {
    color: #6B7280;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-price {
    color: #188F8B;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.property-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #6B7280;
    font-size: 0.9rem;
}

.property-specs span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-features {
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    background: rgba(0, 79, 77, 0.1);
    color: #004F4D;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.feature-more {
    color: #6B7280;
    font-size: 0.8rem;
}

.property-actions-bottom {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.property-actions-bottom .btn-secondary,
.property-actions-bottom .btn-primary {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.favorite-date {
    color: #9CA3AF;
    font-size: 0.8rem;
    text-align: right;
}

.no-favorites {
    text-align: center;
    padding: 3rem;
    color: #6B7280;
}

.no-favorites i {
    font-size: 4rem;
    color: #D1D5DB;
    margin-bottom: 1rem;
}

.no-favorites h3 {
    color: #2E2E2E;
    margin-bottom: 1rem;
}

.no-favorites-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .settings-layout {
        grid-template-columns: 1fr;
    }
    
    .listings-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .listings-actions {
        flex-direction: column;
    }
    
    .favorites-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .toolbar-right {
        justify-content: space-between;
    }
    
}

/* Buy/Rent page header - restore original styling */
.page-header {
    background: linear-gradient(135deg, #004F4D 0%, #188F8B 100%);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    color: white;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-header .development-icon {
    font-size: 2rem;
    color: #004F4D;
    margin-right: 1rem;
    vertical-align: middle;
}

.page-subtitle {
    color: #6B7280;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.advertise-development-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
    border: 1px solid rgba(0, 79, 77, 0.1);
}

.section-heading {
    font-size: 1.8rem;
    color: #2E2E2E;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #F3F4F6;
}

.section-heading i {
    color: #004F4D;
    margin-right: 0.5rem;
}

.development-form {
    display: grid;
    gap: 2rem;
}

.form-section h3 {
    color: #004F4D;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.amenity-checkbox {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.amenity-checkbox:hover {
    border-color: #004F4D;
    background-color: #F0F9FF;
}

.amenity-checkbox input[type="checkbox"]:checked + label {
    color: #004F4D;
    font-weight: 500;
}

.amenity-checkbox input[type="checkbox"]:checked ~ .amenity-checkbox {
    border-color: #004F4D;
    background-color: rgba(0, 79, 77, 0.05);
}

.amenity-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
}

.amenity-checkbox label {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
}

.amenity-checkbox label i {
    margin-right: 0.5rem;
    color: #004F4D;
}

.file-input {
    width: 100%;
    padding: 1rem;
    border: 2px dashed #D1D5DB;
    border-radius: 8px;
    background: #F9FAFB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input:hover {
    border-color: #004F4D;
    background: #F0F9FF;
}

.file-hint {
    font-size: 0.9rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    background: linear-gradient(135deg, #004F4D, #188F8B);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #188F8B, #004F4D);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 79, 77, 0.3);
}

/* Submit Button Styling for Property Listing Form */
.submit-btn {
    background: linear-gradient(135deg, #004F4D, #188F8B);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.2);
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 0;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #188F8B, #004F4D);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 79, 77, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(0, 79, 77, 0.3);
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: scale(1.1);
}

/* Add ripple effect */
.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
}

.submit-btn:active::before {
    width: 300px;
    height: 300px;
}

.current-developments {
    margin-top: 3rem;
}

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

.development-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
    border: 1px solid rgba(0, 79, 77, 0.1);
    transition: all 0.3s ease;
}

.development-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 79, 77, 0.15);
}

.development-image {
    height: 200px;
    overflow: hidden;
}

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

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #004F4D, #188F8B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.development-info {
    padding: 1.5rem;
}

.development-info h3 {
    color: #2E2E2E;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.developer {
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.location {
    color: #004F4D;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.location i {
    margin-right: 0.3rem;
}

.price {
    color: #188F8B;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.development-status {
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-planning-phase {
    background: #FEF3C7;
    color: #92400E;
}

.status-pre-construction {
    background: #DBEAFE;
    color: #1E40AF;
}

.status-under-construction {
    background: #FEE2E2;
    color: #DC2626;
}

.status-near-completion {
    background: #D1FAE5;
    color: #065F46;
}

.status-move-in-ready {
    background: #D1FAE5;
    color: #065F46;
}

.description {
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.development-actions {
    display: flex;
    gap: 1rem;
}

.btn-contact, .btn-details {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-contact {
    background: #004F4D;
    color: white;
}

.btn-contact:hover {
    background: #188F8B;
}

.btn-details {
    background: #F3F4F6;
    color: #374151;
    border: 1px solid #D1D5DB;
}

.btn-details:hover {
    background: #E5E7EB;
}

.no-developments {
    text-align: center;
    padding: 3rem;
    color: #6B7280;
}

.no-developments i {
    font-size: 4rem;
    color: #D1D5DB;
    margin-bottom: 1rem;
}

.no-developments h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .developments-grid {
        grid-template-columns: 1fr;
    }
    
    .development-actions {
        flex-direction: column;
    }
}

/* Alert Form Styling */
.alert-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    padding: 0.8rem 1rem;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #004F4D;
    box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.form-group input::placeholder {
    color: #9CA3AF;
    font-style: italic;
}

.form-group input:hover:not(:focus),
.form-group select:hover:not(:focus) {
    border-color: #9CA3AF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Optgroup styling for location dropdowns */
.form-group select optgroup {
    font-weight: 600;
    font-size: 0.95rem;
    color: #004F4D;
    background: #F0F8FF;
    padding: 0.5rem 0;
}

.form-group select option {
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
    color: #2E2E2E;
    background: white;
}

.form-group select optgroup option {
    padding-left: 1.5rem;
    color: #4A5568;
}

/* Professional Advert Form Enhanced Styling */
.estimator .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.estimator .form-group label {
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.estimator .form-group label i {
    color: #004F4D;
    width: 16px;
    text-align: center;
}

.estimator .form-group input,
.estimator .form-group select,
.estimator .form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.estimator .form-group input:hover,
.estimator .form-group select:hover,
.estimator .form-group textarea:hover {
    border-color: #C7D2FE;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.estimator .form-group input:focus,
.estimator .form-group select:focus,
.estimator .form-group textarea:focus {
    outline: none;
    border-color: #004F4D;
    background: #FEFFFE;
    box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.estimator .form-group input::placeholder,
.estimator .form-group textarea::placeholder {
    color: #9CA3AF;
    font-style: italic;
}

/* Enhanced styling for the two-column grid */
.estimator form > div[style*="grid-template-columns"] .form-group {
    background: #F8F9FA;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.estimator form > div[style*="grid-template-columns"] .form-group:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.estimator form > div[style*="grid-template-columns"] .form-group input {
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    margin-top: 0.5rem;
}

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

.price-range input {
    text-align: center;
}

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

.feature-checkbox {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-checkbox:hover {
    border-color: #004F4D;
    background: rgba(0, 79, 77, 0.02);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.feature-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    accent-color: #004F4D;
}

.feature-checkbox label {
    font-size: 0.9rem;
    color: #4A5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
}

.feature-checkbox .feature-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: #6B7280;
}

/* Alert Button */
.create-alert-btn {
    background: linear-gradient(135deg, #004F4D, #188F8B);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 2rem auto 0;
    min-width: 200px;
}

.create-alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 79, 77, 0.3);
}

.create-alert-btn:active {
    transform: translateY(0);
}

/* Active Alerts Section */
.alerts-list-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.08);
    border: 1px solid rgba(0, 79, 77, 0.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #6B7280;
}

.empty-state .empty-icon {
    font-size: 4rem;
    color: #D1D5DB;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #4A5568;
    margin-bottom: 1rem;
    font-weight: 400;
}

.empty-state p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Alert Card */
.alert-card {
    background: white;
    border: 4px solid #F3F4F6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.alert-card:hover {
    border-color: #004F4D;
    box-shadow: 0 4px 20px rgba(0, 79, 77, 0.1);
}

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

.alert-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2E2E2E;
    margin: 0;
}

.alert-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: #DCFCE7;
    color: #166534;
}

.status-badge.paused {
    background: #FEF3C7;
    color: #92400E;
}

.alert-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.criteria-item {
    display: flex;
    align-items: center;
    color: #6B7280;
    font-size: 0.9rem;
}

.criteria-item .criteria-icon {
    margin-right: 0.5rem;
    color: #004F4D;
    width: 16px;
}

.alert-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #F3F4F6;
}

.alert-btn {
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.alert-btn.edit {
    background: #F0F9FF;
    color: #0369A1;
    border-color: #BAE6FD;
}

.alert-btn.edit:hover {
    background: #0369A1;
    color: white;
}

.alert-btn.pause {
    background: #FFFBEB;
    color: #D97706;
    border-color: #FED7AA;
}

.alert-btn.pause:hover {
    background: #D97706;
    color: white;
}

.alert-btn.delete {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #FECACA;
}

.alert-btn.delete:hover {
    background: #DC2626;
    color: white;
}

/* Responsive Design for Alerts */
@media (max-width: 768px) {
    .alerts-container {
        padding: 1rem;
    }
    
    .alert-form {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .price-range {
        grid-template-columns: 1fr;
    }
    
    .alert-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .alert-actions {
        flex-wrap: wrap;
    }
}

/* Property Detail Styles */
.property-detail-main {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.back-navigation {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #004F4D;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 1px solid #004F4D;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #004F4D;
    color: white;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.property-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 0.5rem;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6B7280;
    font-size: 1.1rem;
}

.property-price-section .property-price {
    font-size: 2rem;
    font-weight: 700;
    color: #188F8B;
    margin-bottom: 0.25rem;
}

.property-price-section .property-type {
    color: #6B7280;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-gallery {
    margin-bottom: 3rem;
}

.gallery-main {
    margin-bottom: 1rem;
}

/* Updated in earlier section */

/* Updated in earlier section */

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #FF6B6B;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: transparent;
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    width: 70%;
    margin: 0 auto;
}

.thumbnail-image {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    opacity: 1;
    border-color: #004F4D;
    transform: scale(1.02);
}

.property-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.property-key-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 79, 77, 0.08);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2E2E2E;
    font-weight: 500;
    font-size: 1.2rem;
}

.detail-item i {
    color: #004F4D;
    font-size: 1.4rem;
}

.property-description {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 79, 77, 0.08);
    margin-bottom: 2rem;
}

.property-description h3 {
    color: #2E2E2E;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.property-description p {
    color: #4B5563;
    line-height: 1.7;
    font-size: 1.2rem;
    font-weight: 400;
}

.property-features {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 79, 77, 0.08);
}

.property-features h3 {
    color: #2E2E2E;
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2E2E2E;
    font-weight: 500;
    font-size: 1.1rem;
}

.feature-item i {
    color: #90BE6D;
    font-size: 1.2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 79, 77, 0.08);
    position: static !important;
}

/* Ensure the right sidebar scrolls naturally */
.property-details-right {
    position: static !important;
}

.property-details-right .contact-card,
.property-details-right .listing-actions-section {
    position: static !important;
    top: auto !important;
}

.contact-card h3 {
    color: #2E2E2E;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    color: #2E2E2E;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #004F4D;
    box-shadow: 0 0 0 3px rgba(0, 79, 77, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    background: #004F4D;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #188F8B;
    transform: translateY(-1px);
}

.submit-btn:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive - Property Detail */
@media (max-width: 768px) {
    .property-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .property-title {
        font-size: 2rem;
    }
    
    .property-price-section .property-price {
        font-size: 1.75rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .property-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .property-details-left,
    .property-details-right {
        min-width: 0;
        max-width: 100%;
    }

    .property-description,
    .property-features {
        padding: 1.25rem;
    }

    .interactive-map-badge {
        display: none !important;
    }
    
    .property-key-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        position: static;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
        width: 100% !important;
    }
    
    .thumbnail-image {
        width: 100px;
        height: 70px;
    }
    
    /* Mobile fixes for property detail image gallery */
    .main-image-container {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }
    
    .main-image {
        max-height: 300px !important;
        object-fit: contain !important;
    }
    
    /* Mobile fixes for development detail hero gallery */
    .hero-gallery {
        margin-bottom: 1rem !important;
    }
    
    .hero-gallery .gallery-container {
        height: 280px !important;
        border-radius: 8px !important;
    }
    
    .hero-gallery .gallery-image {
        object-fit: contain !important;
    }
    
    .hero-gallery .gallery-prev,
    .hero-gallery .gallery-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .hero-gallery .gallery-prev {
        left: 10px !important;
    }
    
    .hero-gallery .gallery-next {
        right: 10px !important;
    }
    
    /* Prevent content overflow on mobile */
    .property-gallery,
    .hero-gallery,
    .gallery-section {
        overflow: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Fix thumbnail strip on mobile */
    .hero-gallery + div {
        overflow-x: auto !important;
        max-width: 100% !important;
    }
    
    /* CRITICAL: Force single-column layout on development detail pages */
    /* Override inline grid styles */
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns:2fr 1fr"] {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    
    div[style*="grid-template-columns: 2fr 1fr"] > *,
    div[style*="grid-template-columns:2fr 1fr"] > * {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Hide sidebar on mobile or stack it below */
    .development-sidebar,
    .property-sidebar,
    .sidebar-content {
        width: 100% !important;
        position: static !important;
    }
    
    /* Force main content full width */
    .main-content {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Ensure body doesn't overflow */
    body {
        overflow-x: hidden !important;
    }
    
    /* Fix unit tables on mobile - make them scroll horizontally */
    div[style*="grid-template-columns: 2fr 1fr 1fr"],
    div[style*="grid-template-columns: 1.5fr 1fr 1fr"],
    div[style*="grid-template-columns: 1.5fr 1.2fr"] {
        display: block !important;
    }
    
    /* Stats grid on mobile */
    .stats-grid,
    div[style*="stats-grid"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Development detail page - single column on mobile */
    .dev-detail-grid {
        display: block !important;
    }
    
    .dev-detail-grid .main-content,
    .dev-detail-grid .sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .dev-detail-grid .sidebar {
        margin-top: 2rem;
    }
    
    /* Fix stats cards - force single column on mobile */
    .stats-grid,
    div.stats-grid,
    div[style*="stats-grid"] {
        display: block !important;
    }
    
    .stats-grid .stat-card,
    .stat-card {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
    
    /* Fix Explore Other Developments buttons */
    section[style*="padding: 3rem"] > div > div[style*="text-align: center"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    section[style*="padding: 3rem"] > div > div[style*="text-align: center"] a {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }
}

/* Development Detail Grid - Desktop */
.dev-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .dev-detail-grid {
        display: block;
    }
}

/* Development Stats Grid */
.dev-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dev-stats-grid.dev-stats-two {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
}

.dev-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 3px solid #004F4D;
}

.dev-stat-card.dev-stat-units {
    border-top-color: #004F4D;
}

.dev-stat-card.dev-stat-price {
    border-top-color: #FF9500;
}

.dev-stat-card.dev-stat-completion {
    border-top-color: #90BE6D;
}

.dev-stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #004F4D;
    margin-bottom: 0.5rem;
}

.dev-stat-card.dev-stat-units .dev-stat-value {
    font-size: 2rem;
}

.dev-stat-label {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .dev-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Explore Other Developments Buttons */
.explore-dev-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.explore-dev-buttons a {
    text-decoration: none;
    padding: 1rem 2rem;
}

@media (max-width: 768px) {
    .explore-dev-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .explore-dev-buttons a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* User Favorites Page Enhanced Styling */
.user-favorites-container {
    padding: 2rem 0;
    min-height: 60vh;
}

.page-header {
    background: linear-gradient(135deg, #004F4D 0%, #188F8B 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.favorites-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 2px solid #f0f0f0;
}

.favorites-count {
    font-size: 1.1rem;
    color: #2E2E2E;
    font-weight: 600;
}

.toolbar-right select {
    padding: 0.5rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    color: #2E2E2E;
    cursor: pointer;
}

/* Enhanced Favorites Grid - Use Standard Property Cards */
.user-favorites-container .property-ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Favorites specific styling */
.favorite-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

.favorite-date i {
    color: #FF6B6B;
    font-size: 0.7rem;
}

.remove-favourite-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.4rem 0.75rem;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #9ca3af;
    font-size: 0.78rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    width: 100%;
    justify-content: center;
}

.remove-favourite-btn:hover {
    color: #FF6B6B;
    border-color: #FF6B6B;
}

/* No Favorites State */
.no-favorites {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.no-favorites i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 2rem;
}

.no-favorites h3 {
    font-size: 2rem;
    color: #2E2E2E;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.no-favorites p {
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.no-favorites-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.no-favorites-actions .btn-primary,
.no-favorites-actions .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.no-favorites-actions .btn-primary {
    background: linear-gradient(135deg, #004F4D 0%, #188F8B 100%);
    color: white;
}

.no-favorites-actions .btn-primary:hover {
    background: linear-gradient(135deg, #003A37 0%, #136B68 100%);
    transform: translateY(-2px);
}

.no-favorites-actions .btn-secondary {
    background: #f8f9fa;
    color: #2E2E2E;
    border: 2px solid #e9ecef;
}

.no-favorites-actions .btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

/* Responsive Favorites Page */
@media (max-width: 768px) {
    .user-favorites-container .property-ads-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .favorite-card .property-title-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .favorite-card .property-specs {
        gap: 0.8rem;
    }
    
    .no-favorites-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .no-favorites-actions .btn-primary,
    .no-favorites-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}
/* Mobile Responsive for Success/Error Banners */
@media (max-width: 768px) {
    .success,
    .error {
        min-width: 300px;
        max-width: 90%;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        top: 100px;
    }
}

/* Property Search Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: -1px;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.autocomplete-item:hover {
    background-color: #f8f8f8;
}

.autocomplete-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 6px;
}

.autocomplete-title strong {
    color: #004F4D;
    background-color: #E8F5F4;
    padding: 0 2px;
}

.autocomplete-details {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #666;
}

.autocomplete-location {
    color: #666;
}

.autocomplete-badge {
    background-color: #E8F5F4;
    color: #004F4D;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.autocomplete-price {
    color: #90BE6D;
    font-weight: 600;
    margin-left: auto;
}

@media (max-width: 768px) {
    .autocomplete-dropdown {
        border-radius: 0 0 6px 6px;
        max-height: 300px;
    }
    
    .autocomplete-item {
        padding: 10px 12px;
    }
    
    .autocomplete-title {
        font-size: 0.9rem;
    }
    
    .autocomplete-details {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 0.8rem;
    }
}

/* Header nav links - refined sizing */
.header .nav-links a {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.header .nav-links .nav-dropdown a {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

/* Force CSS Update - v196 */

/* ============================================
   MOBILE FIXES - HIGHEST PRIORITY OVERRIDES
   ============================================ */
@media (max-width: 768px) {
    /* CAROUSEL: Force single card display */
    .carousel-wrapper {
        overflow: hidden !important;
    }
    
    .carousel-track {
        gap: 0 !important;
    }
    
    .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    section.featured-properties .carousel-slide,
    section.development-ads-section .carousel-slide,
    #sale-carousel-track .carousel-slide,
    #rent-carousel-track .carousel-slide,
    #dev-carousel-track .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* CAROUSEL CARDS: Vertical layout for mobile */
    .development-ad-card {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .development-ad-card .property-image-gallery {
        width: 100% !important;
        height: 180px !important;
        flex: 0 0 180px !important;
    }
    
    .development-ad-card .property-content {
        width: 100% !important;
        padding: 1rem !important;
        flex: 1 !important;
    }
    
    /* MOBILE NAVIGATION: Full screen overlay */
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        padding: 80px 20px 20px !important;
        gap: 0 !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
    }
    
    .nav-links.mobile-open {
        display: flex !important;
    }
    
    .nav-links .nav-dropdown {
        width: 100% !important;
        display: block !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
    
    .nav-links .nav-dropdown-btn {
        display: block !important;
        width: 100% !important;
        padding: 1rem !important;
        color: #333 !important;
        background: white !important;
        text-align: left !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    /* Direct nav links (Find an Agent, List your property) - match dropdown buttons */
    .nav-links > a:not(.sign-in-btn) {
        display: block !important;
        width: 100% !important;
        padding: 1rem !important;
        color: #333 !important;
        background: white !important;
        text-align: left !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        border-bottom: 1px solid #e0e0e0 !important;
        text-decoration: none !important;
    }
    
    .nav-links .nav-dropdown-menu {
        position: static !important;
        display: none !important;
        box-shadow: none !important;
        background: #f8f9fa !important;
        padding-left: 1rem !important;
    }
    
    .nav-links .nav-dropdown.active .nav-dropdown-menu {
        display: block !important;
    }
    
    .nav-links .currency-selector,
    .nav-links .sign-in-btn,
    .nav-links .user-dropdown {
        width: 100% !important;
        margin: 0.5rem 0 !important;
        padding: 1rem !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        z-index: 10000 !important;
    }
    
    /* Development cards - stack vertically on mobile */
    .development-card {
        flex-direction: column !important;
        display: flex !important;
    }
    
    .development-card .development-visual {
        flex: none !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        aspect-ratio: 16/10 !important;
    }
    
    .development-card .development-content {
        flex: none !important;
        width: 100% !important;
        padding: 1.25rem !important;
    }
    
    .development-card .development-content h3 {
        font-size: 1.3rem !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    
    .development-card .development-content p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}

/* Property Verification Badges */
.badge--verification {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 5;
    color: white;
    background: rgba(0, 79, 77, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
}
.badge--verification i {
    font-size: 0.65rem;
}
.badge--verification-private {
    background: rgba(16, 185, 129, 0.85);
}
.badge--status {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    color: white;
}
.badge--status-under_contract {
    background: rgba(245, 158, 11, 0.9);
}
.badge--status-sold {
    background: rgba(239, 68, 68, 0.9);
}
.badge--status-rented {
    background: rgba(59, 130, 246, 0.9);
}
.badge--status-off_market {
    background: rgba(107, 114, 128, 0.9);
}
.badge--status-withdrawn {
    background: rgba(107, 114, 128, 0.9);
}

/* NEW listing badge */
.badge--new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #C6A75E;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 5;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

/* ----------------------------------------------------------------
   Admin dashboard — mobile responsive navigation
   .navigation-header is only used in admin pages; this is more
   specific than the inline .nav-links rule so no !important needed.
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
    .navigation-header {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    .navigation-header .nav-links {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.2rem;
        padding-bottom: 4px;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.3) transparent;
    }
    .navigation-header .nav-links::-webkit-scrollbar {
        height: 3px;
    }
    .navigation-header .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.3);
        border-radius: 3px;
    }
    .navigation-header .nav-links a {
        font-size: 0.72rem;
        padding: 0.35rem 0.6rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}
