/* Global Styles */
:root {
    /* Color Palette - Premium Black & White */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-dark: #121212;
    /* Slightly darker for better contrast */
    --color-gray-medium: #757575;
    --color-gray-light: #f8f8f8;
    /* Softer light gray */
    --color-border: #e0e0e0;

    /* Semantic Colors */
    --bg-primary: var(--color-white);
    --bg-secondary: var(--color-gray-light);
    --text-main: var(--color-black);
    --text-muted: var(--color-gray-medium);
    --primary: var(--color-black);
    --accent: var(--color-gray-dark);

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing - Increased for Commercial Feel */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    /* Deep sections */

    /* Layout */
    --container-width: 1280px;
    /* Wider container */
    --header-height: 90px;
    --border-radius-sm: 0px;
    /* Sharp corners for premium feel */
    --border-radius-md: 0px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
        --header-height: 80px;
    }

    .container {
        padding: 0 1.5rem;
    }
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.7;
    /* Increased line-height */
    font-size: 16px;
    /* Base font size */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.15;
    font-weight: 600;
    /* Reduced from 700 */
    letter-spacing: -0.025em;
    color: var(--color-black);
}

h1 {
    font-size: 4.5rem;
    /* Massive scale for homepage */
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.85rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    /* Wider tracking */
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.section-title {
    margin-bottom: 1.25rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 640px;
    margin: 0 auto 4rem;
    font-weight: 400;
}

/* Buttons - chunky touch targets */
.btn-primary,
.btn-secondary,
.submit-btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.2rem 2.4rem;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--border-radius-sm);
    /* Sharp */
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
    min-height: 56px;
    /* Functional height */
}

.btn-primary,
.submit-btn-modern {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-primary:hover,
.submit-btn-modern:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border-color: var(--color-black);
}

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

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #ffffff;
    z-index: 1000;
    border-bottom: 3px solid #1a3a52;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-image {
    height: 85px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.01em;
    white-space: nowrap;
    line-height: 1;
}

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

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: -0.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-gray-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.highlight {
    background: var(--color-black);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    margin-left: 0.5rem;
}

.nav-link.highlight:hover::after {
    display: none;
}

.nav-link.highlight:hover {
    background: #333;
}

/* Dropdown */
.dropdown {
    position: relative;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 1px);
    left: -1rem;
    min-width: 240px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    color: var(--color-gray-dark);
}

.dropdown-link:hover {
    background-color: var(--bg-secondary);
    color: var(--color-black);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-black);
    padding: 0.5rem;
}

@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 1000;
    transition: var(--transition-smooth);
    padding-top: var(--header-height);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-container {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--color-black);
    transition: all 0.3s ease;
    z-index: 10;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
    color: var(--primary-color, #4a9d2d);
}


.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-black);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-black);
    padding: 1rem 0;
    background: none;
    border: none;
    border-bottom: none;
    cursor: pointer;
}

.mobile-dropdown-content {
    display: none;
    padding-left: 1rem;
    background: var(--bg-secondary);
    margin-top: -1px;
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--color-gray-dark);
}

.mobile-cta {
    margin-top: 2rem;
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 92vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-black);
    overflow: hidden;
    margin-top: 0;
    /* Sticky header handles offset via padding normally, but this is fixed */
}

@media (max-width: 768px) {
    .hero {
        min-height: 550px;
        height: 85vh;
    }
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Dark overlay for hero images */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    color: var(--color-white);
    max-width: 1000px;
    padding: 0 2rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    color: var(--color-white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Override Hero Buttons */
.hero-content .btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.hero-content .btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
}

.hero-content .btn-secondary {
    color: var(--color-white);
    border-color: var(--color-white);
}

.hero-content .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* Services Section */
.services {
    padding: var(--spacing-xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* Wider cards */
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    padding: 3rem;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.service-card:hover {
    border-color: var(--color-black);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 0;
    /* Square for commercial look */
    color: var(--color-black);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-description {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-link {
    margin-top: auto;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 2px solid var(--color-black);
    /* Thicker line */
    padding-bottom: 0.25rem;
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.about-image {
    position: relative;
    aspect-ratio: 1/1;
    /* Square for impact */
    overflow: hidden;
    border-radius: 0 !important;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    border-radius: 0 !important;
}

/* Footer (Updated) */
/* Legacy .footer removed */

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    /* Optimized ratios */
    gap: 2rem;
    margin-bottom: rem;
    padding: 0 2rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo-image {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 2rem;
    filter: brightness(0.95);
}

.footer-about {
    line-height: 1.8;
    color: #6b7280;
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1f2937;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color, #4a9d2d);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-link {
    color: #6b7280;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-color, #4a9d2d);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.contact-icon {
    width: 1.5rem;
    color: var(--color-black);
    flex-shrink: 0;
}

.copyright {
    padding: -2.5rem 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Page Header (Internal Pages) */
.page-header {
    height: 400px;
    /* Taller headers */
    padding: 0;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
}

@media (max-width: 768px) {
    .page-header {
        height: 300px;
    }

    .page-header-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .page-header-content p {
        font-size: 0.9rem !important;
    }

    .breadcrumbs {
        font-size: 0.7rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    /* Hide brand text on mobile to avoid duplication with logo */
    @media (max-width: 768px) {
        .brand-name {
            display: inline-block;
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: -0.01em;
            white-space: nowrap;
        }

        .logo-container {
            gap: 0.5rem;
        }

        /* Logo Sizing */
        .logo-image {
            height: 80px;
            width: auto;
        }
    }


    /* Adjust logo size for mobile */
    .logo-image {
        height: 50px;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-header-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.page-header-content h1 {
    color: var(--color-white);
    font-size: 4rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumbs i {
    opacity: 0.5;
}

/* Property Listings */
.search-filter-container {
    background: var(--color-white);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    margin-top: -4rem;
    /* Overlap header more */
    position: relative;
    z-index: 20;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Responsive Search Filter */
@media (max-width: 900px) {
    .search-filter-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        margin-top: -2rem;
    }

    .search-group,
    .filter-group,
    .select-wrapper {
        width: 100%;
    }

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

@media (min-width: 600px) and (max-width: 900px) {
    .filter-group {
        flex-direction: row;
    }
}

.search-group {
    flex: 1.5;
    position: relative;
    display: flex;
    align-items: center;
}

.filter-group {
    flex: 1;
    display: flex;
    gap: 1.5rem;
}

.select-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    /* Ensure centering */
    align-items: center;
}

.search-icon,
.select-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--color-gray-medium);
    pointer-events: none;
    width: 1.2rem;
    height: 1.2rem;
    z-index: 10;
}

.search-input,
.filter-select {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    /* Space for icon */
    border: 1px solid var(--color-border);
    font-family: inherit;
    font-size: 0.95rem;
    /* Refined font size */
    outline: none;
    transition: var(--transition-fast);
    background: var(--bg-secondary);
    border-radius: 0;
    /* Sharp corners */
    height: 54px;
    /* Consistent height */
    appearance: none;
    color: var(--color-black);
    font-weight: 500;
}

.filter-select {
    cursor: pointer;
    background-image: none;
    /* Removed default arrow to use custom if needed, but keeping simple for now or adding chevron separately */
}

/* Custom chevron for select */
.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.8rem;
    height: 0.8rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.search-input:focus,
.filter-select:focus {
    border-color: var(--color-black);
    background: var(--color-white);
}

.property-container {
    padding: 6rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.property-card {
    border: 1px solid var(--color-border);
    background: var(--color-white);
    transition: var(--transition-fast);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    border-color: var(--color-black);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    /* Refined shadow */
}

.property-image-container {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-image {
    transform: scale(1.05);
    /* Slight zoom */
}

.property-status-badge {
    position: absolute;
    top: 1.5rem;
    /* More spacing */
    right: 1.5rem;
    background: var(--color-black);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-occupied {
    background-color: var(--color-gray-dark);
    opacity: 0.9;
}

.property-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
}

.property-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.property-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.action-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    color: var(--color-black);
    transition: var(--transition-fast);
    background: transparent;
    cursor: pointer;
}

.action-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

/* Forms - Chunky & Accessible */
.modern-input-group {
    margin-bottom: 2rem;
}

.modern-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modern-input {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

.modern-input:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: 0 0 0 1px var(--color-black);
    background: #fff;
}

/* Modal Styles kept, simple polish */
.property-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    /* Darker backdrop */
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.property-modal.open {
    display: flex;
}

.modal-content {
    background: var(--color-white);
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    overflow: hidden;
}

@media (max-width: 900px) {
    .modal-content {
        grid-template-columns: 1fr;
        height: 100%;
        overflow-y: auto;
        display: block;
    }

    .modal-gallery {
        height: 50vh;
    }
}

.modal-gallery {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-details {
    padding: 3.5rem;
    overflow-y: auto;
}

.modal-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

/* Animations included from previous step */
.reveal-text {
    opacity: 1;
}

.reveal-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.reveal-word-inner {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-text.animated .reveal-word-inner {
    transform: translateY(0);
    opacity: 1;
}

.reveal-3d {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal-3d.active {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.btn-magnetic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-magnetic span,
.btn-magnetic i {
    display: inline-block;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

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

.section-tag {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    /* Updated to match new hierarchy */
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* FAQ Styles */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    background: var(--color-white);
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--color-black);
}

.faq-question {
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: var(--color-black);
    border: none;
    background: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Form Layout Styles (Rental Application) */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 0;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-section-card {
    margin-bottom: 3rem;
}

.form-section-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    font-weight: 600;
    color: var(--color-black);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    min-height: 50px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

/* File Upload */
.file-upload-wrapper {
    border: 2px dashed var(--color-border);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    background: var(--bg-secondary);
}

.file-upload-wrapper:hover {
    border-color: var(--color-black);
    background: #f0f0f0;
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.submit-btn-modern {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--color-black);
    color: var(--color-white);
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn-modern:hover {
    background: var(--color-gray-dark);
}

/* Contact Us Specifics */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--color-white);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--color-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-black);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.info-link {
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 2px;
}

/* Split Layout for Contact Form */
.modern-viewing-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .modern-viewing-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.viewing-context {
    padding: 2rem 0;
}

.context-list {
    list-style: none;
    margin: 2rem 0;
}

.context-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-gray-dark);
}

.context-list li i {
    color: var(--color-black);
}

/* Map Section */
.map-container {
    border-radius: 0;
    /* Kept generic/sharp */
    overflow: hidden;
    filter: grayscale(100%);
    /* B&W Theme */
    transition: filter 0.3s ease;
    border: 1px solid var(--color-border);
}

.map-container:hover {
    filter: grayscale(0%);
}

.map-frame {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* Success Modal */
.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal.active {
    display: flex;
    opacity: 1;
}

.success-modal-content {
    background: var(--color-white);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.success-modal.active .success-modal-content {
    transform: translateY(0);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon i {
    width: 40px;
    height: 40px;
}

.success-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.success-message {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-btn {
    background: var(--color-black);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.success-btn:hover {
    background: var(--color-gray-dark);
}

/* About Us Specifics */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    /* keep centered vertically */
}

/* Ensure images don't overflow */
.section-grid img {
    max-width: 100%;
    height: auto;
}

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

.about-image-container {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .property-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        /* Slightly smaller */
    }
}

@media (max-width: 600px) {
    .property-container {
        grid-template-columns: 1fr;
        /* Full width on phones */
    }

    .search-filter-container {
        padding: 1.5rem;
        margin-top: -2rem;
        width: 100%;
        /* Ensure fits */
    }
}

/* Mission & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mv-card {
    background: var(--color-white);
    padding: 3rem;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition-smooth);
}

.mv-card:hover {
    border-color: var(--color-black);
    transform: translateY(-5px);
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    justify-content: center;
}

.team-card {
    text-align: center;
    background: transparent;
    border: none;
    max-width: 300px;
    /* Limit width */
    margin: 0 auto;
}

.team-img-container {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 0 !important;
    aspect-ratio: 1;
    /* Make square for uniform look */
    background-color: var(--bg-secondary);
    /* Fill for transparent images */
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 0 !important;
    /* Fix head cutoff */
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-container img {
    transform: scale(1.03);
}

.team-name {
    font-size: 1.35rem;
    /* Slightly larger */
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-black);
}

.team-role {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.team-bio {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer Copyright */
.copyright {
    display: block;
    /* Ensure it behaves as block */
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    /* Dark border for light theme, or adjust if footer is dark */
}

/* Adjust border color if footer is white/light */
.footer .copyright {
    border-top: none;
    /* We apply it to content or wrapper */
}

.copyright-text {
    color: var(--color-gray-medium);
    font-size: 0.9rem;
}

/* Premium Property Modal Styles */
.property-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.property-modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--color-white);
    width: 95%;
    max-width: 1000px;
    height: 90vh;
    max-height: 800px;
    overflow-y: auto;
    position: relative;
    border-radius: 0;
    /* Sharp premium corners */
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--color-white);
    border: none;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    height: 100%;
}

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

/* Modal Gallery */
.modal-gallery {
    background: #f4f4f4;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-main-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.modal-nav {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background: var(--color-white);
    border: none;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}


/* Modal Info/Description */
.modal-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.modal-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
}

.modal-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.modal-price {
    font-size: 1.5rem;
    color: var(--color-gray-medium);
    font-weight: 500;
}

.modal-description-box {
    flex: 1;
    margin-bottom: 2rem;
}

.modal-description {
    line-height: 1.8;
    color: var(--color-gray-dark);
    font-size: 1rem;
    white-space: pre-wrap;
}

.modal-actions-group {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .modal-info {
        padding: 1.5rem;
        /* Reduce padding significantly */
    }

    .modal-title {
        font-size: 1.5rem;
        /* Smaller title */
        word-wrap: break-word;
        /* Ensure wrapping */
    }

    .contact-actions-row {
        grid-template-columns: 1fr;
        /* Stack buttons vertically on small phones */
        gap: 0.75rem;
    }

    .modal-grid {
        display: flex;
        flex-direction: column;
    }

    .modal-gallery {
        height: 300px;
        /* Fixed height for gallery on mobile */
    }

    .btn-primary.modal-action-btn {
        padding: 1rem;
        /* Smaller padding */
        font-size: 0.9rem;
    }
}

.modal-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary.modal-action-btn {
    background: var(--color-black);
    color: var(--color-white);
    padding: 1.25rem;
    text-transform: uppercase;
}

.btn-primary.modal-action-btn:hover {
    background: #333;
}

.btn-outline {
    border-color: var(--color-border);
    color: var(--color-black);
}

.btn-outline:hover {
    border-color: var(--color-black);
    background: #f9f9f9;
}

/* Chatbot Styles - Integrated to prevent FOUC */
:root {
    --chat-primary: #000000;
    --chat-secondary: #f4f4f4;
    --chat-text: #121212;
    --chat-bg: #fff;
    --chat-user-msg: #000000;
    --chat-bot-msg: #f4f4f4;
    --chat-user-text: #fff;
}

.chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 35px;
    outline: none;
    border: none;
    height: 60px;
    width: 60px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: var(--chat-primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.chatbot-toggler:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.chatbot-toggler span {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-toggler span svg {
    color: #fff;
    stroke: #fff;
    width: 28px;
    height: 28px;
}

.chatbot-toggler span:first-child {
    opacity: 1;
    transform: rotate(0deg);
}

.chatbot-toggler span:last-child {
    opacity: 0;
    transform: rotate(90deg);
}

body.show-chatbot .chatbot-toggler span:first-child {
    opacity: 0;
    transform: rotate(90deg);
}

body.show-chatbot .chatbot-toggler span:last-child {
    opacity: 1;
    transform: rotate(0deg);
}

.chatbot {
    position: fixed;
    right: 35px;
    bottom: 100px;
    width: 400px;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transform-origin: bottom right;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

/* Explicitly hide if not shown to prevent footer clutter if basic styles fail */
/* Explicitly hide if not shown to prevent footer clutter if basic styles fail */
body:not(.show-chatbot) .chatbot {
    display: none !important;
    visibility: hidden;
}

body.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.chatbot header {
    padding: 20px;
    position: relative;
    text-align: center;
    color: #fff;
    background: var(--chat-primary);
    border-bottom: 1px solid #333;
}

.chatbot header span {
    position: absolute;
    right: 15px;
    top: 50%;
    display: block;
    cursor: pointer;
    transform: translateY(-50%);
}

.chatbot header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.chatbot .chatbox {
    overflow-y: auto;
    height: 400px;
    padding: 30px 20px 100px;
    background: #fff;
}

.chatbox .chat {
    display: flex;
    list-style: none;
    margin-bottom: 20px;
}

.chatbox .outgoing {
    margin: 20px 0;
    justify-content: flex-end;
}

.chatbox .incoming span {
    width: 32px;
    height: 32px;
    color: #fff;
    cursor: default;
    text-align: center;
    line-height: 32px;
    align-self: flex-end;
    background: var(--chat-primary);
    border-radius: 4px;
    margin: 0 10px 7px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbox .chat p {
    white-space: pre-wrap;
    padding: 12px 16px;
    border-radius: 10px 10px 0 10px;
    max-width: 75%;
    color: #fff;
    font-size: 0.95rem;
    background: var(--chat-primary);
    line-height: 1.5;
}

.chatbox .incoming p {
    border-radius: 10px 10px 10px 0;
    color: #000;
    background: var(--chat-bot-msg);
}

.chatbot .chat-input {
    display: flex;
    gap: 5px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 3px 20px;
    border-top: 1px solid #ddd;
}

.chat-input textarea {
    height: 55px;
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    max-height: 180px;
    padding: 15px 15px 15px 0;
    font-size: 0.95rem;
    font-family: inherit;
}

.chat-input span {
    align-self: flex-end;
    color: var(--chat-primary);
    cursor: pointer;
    height: 55px;
    display: flex;
    align-items: center;
    visibility: hidden;
    font-size: 1.35rem;
}

.chat-input textarea:valid~span {
    visibility: visible;
}

@media (max-width: 490px) {
    .chatbot-toggler {
        right: 20px;
        bottom: 20px;
    }

    .chatbot {
        right: 0;
        bottom: 0;
        height: 100%;
        border-radius: 0;
        width: 100%;
    }

    .chatbot .chatbox {
        height: 90%;
        padding: 25px 15px 100px;
    }

    .chatbot .chat-input {
        padding: 5px 15px;
    }
}

/* =========================================
   Featured Properties Slider
   ========================================= */
.latest-properties {
    padding: var(--section-padding, 4rem 2rem);
    background: #fff;
    overflow: hidden;
}

.property-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    /* Space for arrows */
}

.property-track-container {
    overflow: hidden;
    width: 100%;
}

.property-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 30px;
}

.property-card-slide {
    flex: 0 0 calc(33.333% - 20px);
    /* 3 cards on desktop */
    min-width: 300px;
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

.property-card-slide:hover .p-card-image img {
    transform: scale(1.05);
    /* Zoom effect */
}

.p-card-price {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    font-weight: 700;
    color: var(--secondary-color, #4a9d2d);
    /* Green price like reference */
    font-size: 1.1rem;
}

.p-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.p-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.p-card-address {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.p-card-features {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.p-feature {
    display: flex;
    align-items: center;
    gap: 5px;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* Circle buttons */
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav-btn:hover {
    background: #000;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn.prev {
    left: 0;
}

.slider-nav-btn.next {
    right: 0;
}

/* Responsive break points */
@media (max-width: 900px) {
    .property-card-slide {
        flex: 0 0 calc(50% - 15px);
        /* 2 cards */
    }
}

@media (max-width: 600px) {
    .property-card-slide {
        flex: 0 0 100%;
        /* 1 card */
    }

    .property-slider-wrapper {
        padding: 0;
    }

    .slider-nav-btn {
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.5);
        /* Semi-transparent on mobile */
    }

    .slider-nav-btn.prev {
        left: 10px;
    }

    .slider-nav-btn.next {
        right: 10px;
    }
}

/* =========================================
   CTA Section - Need Assistance
   ========================================= */
.cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(74, 157, 45, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta .btn-primary {
    background: var(--primary-color, #4a9d2d);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta .btn-primary:hover {
    background: #3d8424;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 157, 45, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .cta {
        padding: 4rem 1.5rem;
    }

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

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

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

    .cta .btn-primary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* =========================================
   Additional Mobile Typography Optimizations
   ========================================= */
@media (max-width: 768px) {

    /* Section titles - reduce from 3rem */
    .section-title {
        font-size: 1.75rem !important;
    }

    /* Hero section */
    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 1rem !important;
    }

    /* Page headers - more specific */
    .page-header h1,
    .page-header-content h1 {
        font-size: 1.75rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .page-header p,
    .page-header-content p {
        font-size: 0.9rem !important;
    }

    /* Mobile navigation */
    .mobile-nav-link {
        font-size: 1.25rem !important;
    }

    /* Property cards */
    .property-title {
        font-size: 1.1rem !important;
    }

    /* Service cards */
    .service-card h3 {
        font-size: 1.25rem !important;
    }

    /* About section */
    .about-text p {
        font-size: 0.95rem !important;
    }

    /* Footer */
    .footer h4 {
        font-size: 1rem !important;
    }

    .footer p,
    .footer a {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {

    /* Extra small devices - further reductions */
    .section-title {
        font-size: 1.5rem !important;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .cta-title {
        font-size: 1.5rem !important;
    }

    .mobile-nav-link {
        font-size: 1.1rem !important;
    }

    /* Page headers for very small screens */
    .page-header h1,
    .page-header-content h1 {
        font-size: 1.5rem !important;
    }
}



.breadcrumbs {
    flex-wrap: wrap;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .breadcrumbs {
        white-space: normal;
        row-gap: 0.5rem;
    }
}

/* =========================================
   Premium Dark Footer ("Imagic" Style)
   ========================================= */

/* =========================================
   Premium Dark Footer ("Imagic" Style)
   ========================================= */

/* =========================================
   Premium Dark Footer ("Imagic" Style)
   ========================================= */

.footer {
    background-color: #000000;
    color: #ffffff;
    padding-top: 4rem;
    /* Drastically Reduced */
    padding-bottom: 1rem;
    /* Drastically Reduced */
    border-top: 1.5px solid #ffffff;
}

.footer .container {
    max-width: 1400px;
    /* Wider for this grand layout */
}

/* --- Row 1: Hero Contact & CTAs --- */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    /* Reduced margin */
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-contact-hero {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    /* Tighter gap */
}

.footer-phone {
    font-family: var(--font-primary);
    /* Or a serif if we had one */
    font-size: 2rem;
    /* Medium size */
    font-weight: 300;
    color: #ffffff;
    /* White as requested */
    line-height: 1;
    letter-spacing: -0.02em;
    transition: var(--transition-fast);
}

.footer-phone:hover {
    opacity: 0.8;
}

.footer-email {
    font-size: 2.5rem;
    /* Medium size */
    font-weight: 300;
    color: #ffffff;
    /* White as requested */
    line-height: 1;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-email:hover {
    opacity: 0.8;
}

.footer-ctas {
    display: flex;
    gap: 1rem;
    /* Reduced gap */
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    /* Reduced padding */
    border: 1px solid #ffffff;
    border-radius: 9999px;
    /* Pill shape */
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
    /* Slightly smaller */
    background: transparent;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    background: #ece9e7;
    color: #000000;
    transform: translateY(-2px);
}

.footer-cta-btn i {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.3s ease;
}

.footer-cta-btn:hover i {
    transform: translate(2px, -2px);
    /* Arrow moves up-right */
}

/* --- Row 2: Newsletter & Nav --- */
.footer-middle-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 0.5fr;
    /* Newsletter | Links | Social */
    gap: 1rem;
    /* Reduced gap */
    padding-bottom: 1rem;
    /* Reduced padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    /* Reduced margin */
}

.footer-newsletter {
    max-width: 400px;
}

.newsletter-label {
    display: block;
    color: #666;
    margin-bottom: 0.75rem;
    /* Reduced margin */
    font-size: 0.95rem;
}

.newsletter-form {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    transition: border-color 0.3s ease;
}

.newsletter-form:focus-within {
    border-bottom-color: #d85c27;
}

.newsletter-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    width: 100%;
    outline: none;
    padding: 0.5rem 0;
}

.newsletter-input::placeholder {
    color: #444;
}

.newsletter-submit {
    background: transparent;
    border: none;
    color: #d85c27;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.newsletter-submit:hover {
    transform: translateX(4px);
}

/* Footer Nav Columns */
.footer-nav-group {
    display: flex;
    gap: 2rem;
    /* Reduced gap */
}

.footer-col-header {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    /* Reduced margin */
    font-weight: 400;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    /* Minimal gap */
}

.footer-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-nav-link:hover {
    color: #d85c27;
}

/* Social Icons */
.footer-social-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Reduced gap */
    align-items: flex-end;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: #ffffff;
    color: #000;
    transform: translateY(-2px);
}

/* --- Row 3: Branding & Legal --- */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-brand-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    /* Fallback/Placeholder shape */
    /* object-fit: contain; */
    /* If img */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    /* Square */
}

/* If using image logo: */
.footer-brand-logo-img {
    height: 130px;
    /* Keep enlarged size */
    width: auto;
    /* filter: brightness(0) invert(1); */
    /* Make it white */
}

.footer-legal-text {
    color: #737373;
    font-size: 0.8rem;
    text-align: right;
}

.footer-legal-text>span {
    display: block;
    margin-top: 0.25rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .footer-top-row {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-ctas {
        flex-wrap: wrap;
    }

    .footer-phone,
    .footer-email {
        font-size: 1rem;
    }

    .footer-middle-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-nav-group {
        flex-wrap: wrap;
        gap: 3rem;
    }

    .footer-social-stack {
        flex-direction: row;
        align-items: center;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-legal-text {
        text-align: left;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
    /* Reduced padding */
    margin-bottom: 2rem;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Slider Container */
.testimonial-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    /* Space for arrows */
}

.testimonial-track-container {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    gap: 1.5rem;
}

/* Slide wrapper removed, cards are direct children */

/* Slider Arrows */
/* Slider Arrows - Hero Scoped */
.hero-slides .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    /* Slightly larger for hero */
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-slides .slider-arrow:hover {
    background: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-slides .slider-arrow.prev {
    left: 2rem;
    right: auto;
}

.hero-slides .slider-arrow.next {
    right: 2rem;
    left: auto;
}


/* Slider Arrows - Testimonial Scoped */
.testimonial-slider-container .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.testimonial-slider-container .slider-arrow:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.testimonial-slider-container .slider-arrow.prev {
    left: 0;
    right: auto;
}

.testimonial-slider-container .slider-arrow.next {
    right: 0;
    left: auto;
}

/* Base generic class fallback (optional, reset position to avoid floaters) */
.slider-arrow {
    position: absolute;
    /* Ensure any stray arrows don't break layout */
}


/* Small Testimonial Card */
.testimonial-card.small-card {
    /* 3 cards visible on desktop: (100% - 2 gaps)/3 */
    flex: 0 0 calc((100% - 3rem) / 3);
    background: #ffffff;
    padding: 1.5rem;
    /* Compact padding */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* width: 100%; removed */
    border: 1px solid #f0f0f0;
    height: auto;
    /* height: 100%; */
}

/* Typography Adjustments for "Small" look */
.t-card-header .t-user-name {
    font-size: 1rem;
    font-weight: 700;
}

.t-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.t-rating {
    font-size: 0.9rem;
    color: #FABB05;
}

.t-review-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-black);
}

/* Responsive */
@media (max-width: 900px) {
    .testimonial-track {
        gap: 1rem;
    }

    .testimonial-card.small-card {
        flex: 0 0 100%;
    }

    .testimonial-slider-container {
        padding: 0 1rem;
        /* Less padding on mobile */
    }


    /* If keeping arrows, adjust pos */
    .testimonial-slider-container .slider-arrow.prev {
        left: 0 !important;
    }

    .testimonial-slider-container .slider-arrow.next {
        right: 0 !important;
    }
}


/* Appraisal Section Styles */
.appraisal-section {
    padding: 4rem 0;
    /* Increased to 4rem for balanced top alignment */
    background-color: #ffffff;
}

.appraisal-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 5rem;
    /* Increased to 5rem to move form right */
    align-items: center;
}

/* .agent-column removed as it's no longer sticky */

.agent-image-container {
    margin-bottom: 1rem;
    /* Tight */
    overflow: hidden;
    border-radius: 0 !important;
    /* aspect-ratio: 3/4; */
}

.agent-image {
    width: 100%;
    /* height: 100%; */
    /* object-fit: cover; */
    display: block;
    filter: none;
    /* Ensure no grayscale */
    border-radius: 0 !important;
}

.agent-info {
    text-align: center;
}

.agent-role {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    /* Smaller */
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.agent-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--color-black);
    line-height: 1.2;
}

.agent-email {
    display: block;
    color: var(--color-black);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
    line-height: 1.4;
}

.agent-phone {
    color: var(--color-black);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Appraisal Form */
.appraisal-heading {
    font-size: 2.2rem;
    /* Compact heading */
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--color-black);
    font-weight: 400;
    /* Thin look */
    margin-top: -0.5rem;
    /* Pull up to align with image top */
}

.appraisal-heading em {
    font-family: 'Playfair Display', serif;
    /* Or similar serif */
    font-style: italic;
    font-weight: 400;
}

.appraisal-subtext {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    /* Tighter */
    font-size: 0.95rem;
}

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

.form-group {
    margin-bottom: 0;
    /* Border spacing */
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 0;
    /* Very tight */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-group label {
    flex-basis: 30%;
    color: var(--color-black);
    font-weight: 500;
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    flex-basis: 70%;
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.5rem;
    outline: none;
    color: var(--color-black);
    text-align: left;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
    text-align: left;
    /* Textarea usually left aligned */
}

/* Specific styling for the reference look (labels left, inputs right, line below) */
/* The reference shows fields with red asterisk and clean lines */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    /* No outline, maybe minimal bg change */
}

.radio-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.radio-options {
    display: flex;
    gap: 1.5rem;
}

.radio-options label {
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.checkbox-group {
    border-bottom: none;
    justify-content: flex-start;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.appraisal-submit-btn {
    align-self: flex-start;
    margin-top: 2rem;
    background-color: #000000;
    /* Orange accent */
    border-color: #c0c0c0;
    color: #fff;
    border-radius: 9999px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.appraisal-submit-btn:hover {
    background-color: #ffffff;
    border-color: #000000;
    transform: translateY(-2px);
}

.appraisal-submit-btn i {
    width: 1rem;
    height: 1rem;
}

/* Responsive */
/* Responsive */
@media (max-width: 992px) {
    .appraisal-grid {
        display: flex;
        /* Changed from grid to flex to control order */
        flex-direction: column-reverse;
        /* Form first, Agent second */
        gap: 3rem;
    }

    .agent-column {
        position: static;
        max-width: 100%;
        /* Allow full width */
        display: flex;
        /* Row layout for Agent Card */
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding-top: 2rem;
        border-top: 1px solid #eee;
        /* Visual separation */
    }

    .agent-image-container {
        width: 100px;
        /* Small fixed width */
        min-width: 100px;
        height: 100px;
        /* Square */
        margin-bottom: 0;
        overflow: hidden;
        border-radius: 0 !important;
    }

    .agent-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0 !important;
    }

    .agent-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .agent-role {
        font-size: 0.8rem;
        color: #888;
        margin-bottom: 0.25rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .agent-name {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .agent-email,
    .agent-phone {
        font-size: 0.9rem;
        color: var(--color-black);
    }

    /* Form Styles on Mobile */
    .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .form-group label {
        flex-basis: auto;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea,
    .form-group select {
        flex-basis: auto;
        width: 100%;
        text-align: left;
        padding-left: 0;
    }
}