/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #1f2937;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    background: white;
    padding: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

/* Hide mobile-only items on desktop */
.nav-menu .mobile-only {
    display: none;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* Navigation Button Specific Styles */
.nav-buttons .btn-secondary:first-child {
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav-buttons .btn-secondary:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), #ff9800);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-buttons .btn-secondary:first-child:hover::before {
    left: 0;
}

.nav-buttons .btn-secondary:first-child:hover {
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

/* Register Button Styling */
.nav-buttons .btn-secondary:last-child {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 2px solid transparent;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.nav-buttons .btn-secondary:last-child:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
    border-color: transparent;
}

.btn-secondary, .btn-primary {
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.btn-primary {
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    transition: 0.3s;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle.active {
    color: var(--primary-color);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile Menu Overlay */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    animation: fadeIn 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    margin-top: 73px;
    background-color: #0f172a;
    background-image: url('https://images.unsplash.com/photo-1599423300746-b62533397364?auto=format&fit=crop&w=3840&q=80');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    animation: heroSlideshow 32s infinite;
    will-change: opacity, transform;
}

.hero-slide:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1599423300746-b62533397364?auto=format&fit=crop&w=3840&q=80');
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1512914890250-353c97c9e2b6?auto=format&fit=crop&w=3840&q=80');
    animation-delay: 8s;
}

.hero-slide:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=3840&q=80');
    animation-delay: 16s;
}

.hero-slide:nth-child(4) {
    background-image: url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?auto=format&fit=crop&w=3840&q=80');
    animation-delay: 24s;
}

@keyframes heroSlideshow {
    0% {
        opacity: 0;
        transform: scale(1.08);
    }
    5% {
        opacity: 1;
        transform: scale(1.02);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    25% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.25));
    z-index: 1;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.8));
    }
    50% {
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(37, 99, 235, 0.8));
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

/* Search Box */
.search-box {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 32px 60px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(150px, auto);
    gap: 1rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.86);
    text-transform: none;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.2);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search-input-group:focus-within,
.search-input-group:hover {
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 24px 34px rgba(15, 23, 42, 0.26);
    transform: translateY(-2px);
}

.search-input-group i {
    color: rgba(15, 23, 42, 0.6);
    font-size: 1.05rem;
}

.search-input-group input,
.search-input-group select {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.96rem;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.85);
}

.search-input-group input::placeholder {
    color: rgba(100, 116, 139, 0.7);
}

.search-input-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.search-input-group select::-ms-expand {
    display: none;
}

.search-action {
    display: flex;
    align-items: stretch;
}

.search-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 2.2rem;
    background: linear-gradient(135deg, #f97316, #fb8a24);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 18px 30px rgba(249, 115, 22, 0.32);
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 34px rgba(249, 115, 22, 0.36);
}

.search-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(249, 115, 22, 0.32);
}

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

.search-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    text-align: left;
    line-height: 1.5;
}

/* Custom Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 8px;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--bg-secondary);
    transition: background-color 0.2s;
}

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

.search-result-item:hover {
    background-color: var(--bg-secondary);
}

.search-result-item .taluk-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.search-result-item .district-name {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 2px;
}

.search-results-dropdown::-webkit-scrollbar {
    width: 8px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: var(--text-secondary);
    border-radius: 4px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

/* Properties Section */
.properties {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

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

/* Property Card */
.property-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

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

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

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

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

.property-badge.featured {
    background-color: var(--accent-color);
}

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background-color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

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

.property-content {
    padding: 1.5rem;
}

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

.property-price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.property-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.property-location {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agent-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.btn-view {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-view:hover::before {
    left: 100%;
}

.btn-view:hover {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.5);
    transform: translateY(-2px) scale(1.05);
}

.btn-view:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.4);
}

.view-all-btn-wrapper {
    text-align: center;
}

.btn-primary-outline {
    padding: 0.875rem 2.5rem;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary {
    padding: 0.625rem 1.5rem;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

/* Services Section */
.services {
    padding: 5rem 0;
}

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

.service-card {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
}

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

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

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

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

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-logo .logo-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #c49a2e;
    border: 3px solid #999999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(70, 70, 70, 0.5);
    letter-spacing: -0.5px;
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
}

.footer-column p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-column h4 {
    margin-bottom: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    margin: 0;
    opacity: 0.8;
}

.professional-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.pro-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pro-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.pro-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        background-color: white;
        flex-direction: column;
        padding: 0 2rem;
        gap: 0;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.45s ease, padding 0.3s ease;
        transform-origin: top;
        transform: translateY(-16px);
        opacity: 0;
        z-index: 999;
        overflow: hidden;
        pointer-events: none;
        will-change: transform, opacity, max-height;
    }
    
    .nav-menu.active {
        max-height: calc(100vh - 73px);
        padding: 2rem;
        transform: translateY(0);
        opacity: 1;
        overflow-y: auto;
        pointer-events: auto;
    }
    
    .nav-menu li {
        margin-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    /* Show mobile-only items in mobile menu */
    .nav-menu .mobile-only {
        display: block;
        margin-top: 1rem;
        border-bottom: none;
    }
    
    .mobile-login-btn {
        display: inline-block;
        width: 100%;
        padding: 0.875rem 1.5rem !important;
        border-radius: 10px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
    }
    
    /* Sign In Button (First) */
    .mobile-login-btn:first-of-type {
        background-color: transparent;
        color: var(--secondary-color) !important;
        border: 2px solid var(--secondary-color);
    }
    
    .mobile-login-btn:first-of-type:hover {
        background: linear-gradient(135deg, var(--secondary-color), #ff9800);
        color: white !important;
        border-color: var(--secondary-color);
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    }
    
    /* Register Button (Second) */
    .mobile-login-btn:last-of-type {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white !important;
        border: 2px solid transparent;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    
    .mobile-login-btn:last-of-type:hover {
        background: linear-gradient(135deg, #059669, #047857);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
        transform: scale(1.02);
    }
    
    .mobile-cta-btn {
        display: inline-block;
        width: 100%;
        padding: 0.875rem 1.5rem !important;
        background-color: var(--primary-color);
        color: white !important;
        border: 2px solid var(--primary-color);
        border-radius: 8px;
        font-weight: 600;
        text-align: center;
    }
    
    .mobile-cta-btn:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
    }
    
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        width: 100%;
        right: -100%;
        padding: 1.5rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .professional-info {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .pro-item {
        justify-content: center;
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-content {
    text-align: center;
}

.about-text {
    margin: 2rem auto;
    max-width: 900px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-features {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.features-title {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

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

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.feature-content h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Responsive */
@media (max-width: 768px) {
    .about {
        padding: 3rem 0;
    }
    
    .about-features {
        padding: 1.5rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.newsletter-wrapper {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.newsletter-content {
    margin-bottom: 2.5rem;
}

.newsletter-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.newsletter-input-wrapper {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

.newsletter-btn {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.newsletter-message {
    min-height: 24px;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    color: white;
    font-weight: 500;
}

.newsletter-message.success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.newsletter-message.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.newsletter-privacy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.95rem;
}

.benefit-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

/* Newsletter Responsive */
@media (max-width: 768px) {
    .newsletter {
        padding: 3rem 0;
    }
    
    .newsletter-title {
        font-size: 1.75rem;
    }
    
    .newsletter-subtitle {
        font-size: 1rem;
    }
    
    .newsletter-input-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}
.status-badge.blocked {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.status-badge.admin {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

/* Enhanced Media Modal Styles */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
    animation: fadeIn 0.2s ease-out;
}

.modal-backdrop.show {
    display: flex;
}

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

.property-modal {
    max-width: 900px;
    width: 100%;
    background: linear-gradient(180deg, #fff, #fbfdff);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.4);
    overflow: auto;
    max-height: 90vh;
    animation: slideUp 0.3s ease-out;
}

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

.property-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.property-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--danger-color, #ef4444);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
}

@media (max-width: 900px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .gallery-main {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .gallery-main {
        height: 300px;
    }
    
    .gallery-main img {
        object-fit: cover;
        object-position: center;
    }
}

/* Gallery Styles */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-main {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #e6eef8, #d0e4f7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main img:hover {
    transform: scale(1.02);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #e5e7eb;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.thumb {
    width: 64px;
    height: 48px;
    border-radius: 6px;
    flex: 0 0 auto;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.7;
}

.thumb:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thumb.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

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

/* Property Meta Styles */
.property-meta {
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.property-meta h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
}

.meta-row:last-child {
    border-bottom: none;
}

.meta-row strong {
    color: var(--text-primary);
    font-weight: 600;
}

.meta-row span {
    color: var(--text-secondary);
    text-align: right;
}

/* Media List (Videos) */
#mediaList video {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
}

/* Mobile responsive modal */
@media (max-width: 640px) {
    .modal-backdrop {
        padding: 8px;
    }

    .property-modal {
        padding: 12px;
        max-height: 95vh;
    }

    .gallery-main {
        height: 360px;
    }
    
    .gallery-main img {
        object-fit: cover;
        object-position: center;
    }

    .property-modal .modal-title {
        font-size: 1.1rem;
    }
}